/* Event packs are an additive layer. Operational status colors, map markers,
   job text, controls, and each person's base theme keep their own styles. */
[data-seasonal=halloween]{
  --seasonal-line:#cb792d;--seasonal-secondary:#9463c7;--seasonal-glow:#f6ac4b;
  --seasonal-font:Papyrus,'Kalam',Georgia,fantasy;--seasonal-spacing:.035em;
  --seasonal-pumpkin:url('./assets/seasonal-pumpkin.svg?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851');--seasonal-icon:var(--seasonal-pumpkin);
  --seasonal-corner:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%239463c7' stroke-width='1.3' opacity='.75'%3E%3Cpath d='M0 0h100M0 0v100M0 0l100 100M0 0l100 42M0 0l42 100M22 0Q18 8 20 9Q12 12 9 20Q8 18 0 22M48 0Q40 15 42 18Q27 27 18 42Q15 40 0 48M76 0Q63 24 67 28Q42 42 28 67Q24 63 0 76M100 15Q92 35 93 39Q60 60 39 93Q35 92 15 100'/%3E%3C/g%3E%3C/svg%3E");
  --seasonal-surprise:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M9 40V21C9 2 39 2 39 21v19l-7-5-8 6-8-6z' fill='%23faf4e8' stroke='%239463c7' stroke-width='2'/%3E%3Cellipse cx='18' cy='21' rx='2.5' ry='4' fill='%23372b50'/%3E%3Cellipse cx='30' cy='21' rx='2.5' ry='4' fill='%23372b50'/%3E%3Cpath d='M21 30q3-4 6 0' fill='none' stroke='%23372b50' stroke-width='2'/%3E%3C/svg%3E");
  --seasonal-scatter:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 50'%3E%3Cpath d='M3 7q18 1 25 14l4-9 4 9Q45 7 64 7l-8 18-12 1-12 16-12-16-11-1z' fill='%239463c7'/%3E%3Cpath d='M86 3q10 1 17 8l3-6 3 6q9-8 21-8l-6 12-8 1-10 12-10-12-6-1z' fill='%23cb792d'/%3E%3C/svg%3E");
}
[data-seasonal=christmas]{
  --seasonal-line:#398264;--seasonal-secondary:#bc5965;--seasonal-glow:#e5b753;
  --seasonal-font:'Palatino Linotype',Palatino,'Book Antiqua',Georgia,serif;--seasonal-spacing:.025em;
  --seasonal-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M21 36h6v9h-6z' fill='%23905b39'/%3E%3Cpath d='M24 4 10 22h7L6 36h36L31 22h7z' fill='%23398264' stroke='%231d5943' stroke-width='1.5'/%3E%3Cpath d='m24 0 2 5 5 1-4 3 1 5-4-3-4 3 1-5-4-3 5-1z' fill='%23edbd50'/%3E%3Cg fill='%23f2ca72'%3E%3Ccircle cx='19' cy='20' r='2'/%3E%3Ccircle cx='28' cy='26' r='2'/%3E%3Ccircle cx='16' cy='32' r='2'/%3E%3C/g%3E%3Ccircle cx='31' cy='33' r='2' fill='%23cf6670'/%3E%3C/svg%3E");
  --seasonal-corner:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23398264' stroke-width='3'%3E%3Cpath d='M0 4q46 4 89 70M0 17q38 9 64 72M13 6 8 31m15-16-2 28m14-19 1 31m12-20 1 32M7 19l25-1M18 34l28-1M33 51l27-3'/%3E%3C/g%3E%3Cg fill='%23bc5965'%3E%3Ccircle cx='26' cy='28' r='5'/%3E%3Ccircle cx='36' cy='31' r='5'/%3E%3Ccircle cx='29' cy='38' r='5'/%3E%3C/g%3E%3Cg fill='%23e5b753'%3E%3Ccircle cx='53' cy='62' r='4'/%3E%3Ccircle cx='70' cy='43' r='3'/%3E%3C/g%3E%3C/svg%3E");
  --seasonal-surprise:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect x='8' y='20' width='32' height='24' rx='3' fill='%23bc5965'/%3E%3Crect x='5' y='16' width='38' height='9' rx='2' fill='%23d2767b'/%3E%3Cpath d='M21 16h6v28h-6z' fill='%23f0c96b'/%3E%3Cpath d='M24 16C2 18 12-3 24 16 36-3 46 18 24 16' fill='none' stroke='%23f0c96b' stroke-width='4'/%3E%3C/svg%3E");
  --seasonal-scatter:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 50'%3E%3Cg fill='none' stroke='%237abbd0' stroke-width='2'%3E%3Cpath d='M25 2v40M5 22h40M11 8l28 28M11 36 39 8M20 6l5 6 5-6M20 38l5-6 5 6M9 17l6 5-6 5M41 17l-6 5 6 5M94 8v30M79 23h30M83 12l22 22M83 34l22-22'/%3E%3C/g%3E%3Cg fill='%23e5b753'%3E%3Ccircle cx='65' cy='10' r='2'/%3E%3Ccircle cx='127' cy='36' r='3'/%3E%3C/g%3E%3C/svg%3E");
}
[data-seasonal=halloween][data-seasonal-palette=moonlight]{--seasonal-line:#9463c7;--seasonal-secondary:#cb792d;--seasonal-glow:#ba9de6}
[data-seasonal=christmas][data-seasonal-palette=moonlight]{--seasonal-line:#568eaf;--seasonal-secondary:#8595cd;--seasonal-glow:#b9dfed}
[data-seasonal][data-seasonal-palette=candlelight]{--seasonal-line:#b38439;--seasonal-secondary:#b85c49;--seasonal-glow:#e5bf70}
[data-seasonal]{--seasonal-strength:10%;--seasonal-corner-size:64px}
[data-seasonal-intensity=subtle]{--seasonal-strength:5%;--seasonal-corner-size:40px}
[data-seasonal-intensity=immersive]{--seasonal-strength:18%;--seasonal-corner-size:88px}

/* Only display headings change font, never case content or controls. */
html[data-seasonal][data-seasonal-fonts=true] :is(.auth-card,.sign-in-card,.calendar-toolbar,.settings-page-head,.page-head) h1,
html[data-seasonal][data-seasonal-fonts=true] :is(.settings-card>header,.section-head,.today-group>header) :is(h2,h3),
.seasonal-preview[data-seasonal][data-seasonal-fonts=true] h3{
  font-family:var(--seasonal-font)!important;letter-spacing:var(--seasonal-spacing)!important;line-height:1.3;
}
html[data-seasonal][data-seasonal-accents=true] :is(.auth-card,.sign-in-card){border-color:var(--seasonal-line)!important}
html[data-seasonal][data-seasonal-accents=true] :is(.sidebar,.mobile-bottom-nav,.topbar){border-color:color-mix(in srgb,var(--seasonal-line) 65%,var(--line,#ddd))!important}
html[data-seasonal][data-seasonal-accents=true] :is(.settings-card,.today-group,.team-card,.link-card){border-color:color-mix(in srgb,var(--seasonal-line) 45%,var(--line,#ddd))}
html[data-seasonal][data-seasonal-accents=true] .nav-item.active{box-shadow:inset 3px 0 var(--seasonal-line);background:color-mix(in srgb,var(--seasonal-line) 16%,transparent)!important}
html[data-seasonal][data-seasonal-accents=true] :is(.calendar-toolbar,.settings-page-head){border-bottom:1px solid color-mix(in srgb,var(--seasonal-line) 35%,transparent);padding-bottom:14px}
html[data-seasonal][data-seasonal-accents=true][data-seasonal-intensity=immersive] :is(.sidebar,.auth-card){background-image:radial-gradient(ellipse at top left,color-mix(in srgb,var(--seasonal-secondary) 15%,transparent),transparent 65%)}

/* Decorative pseudo-elements cannot capture taps, focus, or text selection. */
html[data-seasonal][data-seasonal-decorations=true] .auth-scene{position:relative}
html[data-seasonal][data-seasonal-decorations=true] .auth-scene::before{
  content:'';position:absolute;right:24px;bottom:22px;z-index:2;width:110px;height:88px;
  background:var(--seasonal-icon) right bottom / 64px 64px no-repeat,var(--seasonal-icon) left bottom / 40px 40px no-repeat;
  filter:drop-shadow(0 3px 5px #0003);pointer-events:none;
}
html[data-seasonal][data-seasonal-decorations=true] :is(.auth-card,.sign-in-card){position:relative}
html[data-seasonal][data-seasonal-decorations=true] :is(.auth-card,.sign-in-card)::after{
  content:'';position:absolute;top:0;right:0;width:var(--seasonal-corner-size);height:var(--seasonal-corner-size);background:var(--seasonal-corner) center / contain no-repeat;transform:scaleX(-1);pointer-events:none;opacity:.65;
}
html[data-seasonal][data-seasonal-decorations=true] :is(.auth-card,.sign-in-card,.calendar-toolbar,.settings-page-head,.page-head) h1::after,
.seasonal-preview[data-seasonal][data-seasonal-decorations=true] h3::after{
  content:'';display:inline-block;width:28px;height:28px;margin-inline-start:10px;vertical-align:-4px;background:var(--seasonal-icon) center / contain no-repeat;pointer-events:none;
}
html[data-seasonal][data-seasonal-decorations=true] .sidebar .brand-copy::after{content:'';display:block;width:24px;height:24px;margin-top:6px;background:var(--seasonal-icon) center / contain no-repeat;pointer-events:none}
html[data-seasonal][data-seasonal-decorations=true]:not([data-seasonal-intensity=subtle]) :is(.today-group,.settings-card):not(.seasonal-settings-card)>header{
  background-image:var(--seasonal-scatter);background-position:100% 0;background-size:64px 24px;background-repeat:no-repeat;
}
html[data-seasonal][data-seasonal-decorations=true][data-seasonal-intensity=immersive] .sidebar{background-image:var(--seasonal-scatter),radial-gradient(ellipse at top left,color-mix(in srgb,var(--seasonal-secondary) 18%,transparent),transparent 65%);background-size:110px 40px,100% 100%;background-position:center bottom,center;background-repeat:no-repeat}
html[data-seasonal][data-seasonal-eggs=true]:not([data-seasonal-intensity=subtle]) :is(p,div).empty:not(.capacity-empty)::after{
  content:'';display:block;width:38px;height:38px;margin:12px auto 0;background:var(--seasonal-surprise) center / contain no-repeat;pointer-events:none;opacity:.8;
}
html[data-seasonal][data-seasonal-eggs=true]:not([data-seasonal-intensity=subtle]) :is(.calendar-toolbar,.settings-page-head)>div:first-child::after,
.seasonal-preview[data-seasonal][data-seasonal-eggs=true]:not([data-seasonal-intensity=subtle]) .seasonal-preview-sample::after{
  content:'';display:inline-block;width:26px;height:26px;background:var(--seasonal-surprise) center / contain no-repeat;pointer-events:none;opacity:.35;transform:rotate(-12deg);
}
html[data-seasonal][data-seasonal-eggs=true] :is(.calendar-toolbar,.settings-page-head):is(:hover,:focus-within)>div:first-child::after,
.seasonal-preview:is(:hover,:focus-within) .seasonal-preview-sample::after{opacity:1;transform:rotate(8deg)}
@media(prefers-reduced-motion:no-preference){
  html[data-seasonal][data-seasonal-motion=true] :is(.calendar-toolbar,.settings-page-head):is(:hover,:focus-within)>div:first-child::after,
  .seasonal-preview[data-seasonal-motion=true]:is(:hover,:focus-within) .seasonal-preview-sample::after{animation:seasonal-peek 1.4s ease-in-out 2}
}
@keyframes seasonal-peek{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(-5px) rotate(8deg)}}

/* Settings: event cards, independent controls, and a draft-only preview. */
.seasonal-settings-intro p{margin:6px 0 0;color:var(--muted);line-height:1.5}
.seasonal-event-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0;padding:0;margin:0;min-width:0}
.seasonal-event-options legend{font-weight:700;margin-bottom:10px}
.seasonal-event-option{display:flex!important;align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--line,#c7ccd3);border-radius:12px;cursor:pointer;min-width:0;background:var(--panel,transparent)}
.seasonal-event-option:has(input:checked){border-color:var(--text,#304960);box-shadow:inset 0 0 0 1px var(--text,#304960)}
.seasonal-event-option:has(input:focus-visible){outline:2px solid var(--text,#304960);outline-offset:3px}
.seasonal-event-option input,.seasonal-toggle input{width:18px!important;height:18px!important;min-height:18px!important;margin:2px 0 0!important;flex:none;accent-color:var(--text,#304960)}
.seasonal-event-symbol{font-size:25px;line-height:1.1}
.seasonal-event-option b,.seasonal-toggle b{display:block;font-size:14px}
.seasonal-event-option small,.seasonal-toggle small{display:block;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.5;font-weight:400}
.seasonal-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.seasonal-toggle{display:flex!important;gap:10px;align-items:flex-start;cursor:pointer;min-width:0}
.seasonal-preview{position:relative;isolation:isolate;border:1px solid var(--line,#ccc);border-radius:16px;padding:22px;overflow:hidden;background:var(--panel,transparent)}
.seasonal-preview h3{font-family:inherit;font-size:26px;line-height:1.35;margin:10px 0;overflow-wrap:anywhere}
.seasonal-preview p{font-size:13px;color:var(--muted);margin:0 0 16px}
.seasonal-preview>small{display:block;margin-top:16px;color:var(--muted);font-size:12px;line-height:1.5}
.seasonal-preview-sample{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line,#ccc);border-radius:10px;font-size:13px}
.seasonal-preview-dot{width:8px;height:8px;border-radius:50%;background:var(--seasonal-line)}
.seasonal-preview[data-seasonal][data-seasonal-accents=true]{border-color:var(--seasonal-line);background-image:radial-gradient(ellipse at top right,color-mix(in srgb,var(--seasonal-glow) var(--seasonal-strength),transparent),transparent 75%)}
.seasonal-preview[data-seasonal][data-seasonal-decorations=true]::before{content:'';position:absolute;top:0;right:0;width:var(--seasonal-corner-size);height:var(--seasonal-corner-size);background:var(--seasonal-corner) center / contain no-repeat;transform:scaleX(-1);pointer-events:none;opacity:.6;z-index:-1}
.seasonal-preview:not([data-seasonal]){--seasonal-line:var(--line,#82919d)}
.seasonal-preview[data-seasonal-accents=false] .seasonal-preview-dot{background:var(--muted)}
@media(max-width:760px){
  html[data-seasonal][data-seasonal-decorations=true] .auth-scene::before{right:20px;bottom:14px;width:66px;height:48px;background-size:40px 40px,26px 26px}
  .seasonal-event-option{padding:11px;gap:8px}.seasonal-event-symbol{font-size:21px}
  .seasonal-preview{padding:18px}.seasonal-preview h3{font-size:23px}
  .seasonal-toggle-grid{grid-template-columns:1fr}
}
@media(max-width:380px){.seasonal-event-options{grid-template-columns:1fr}}
@media print{
  html[data-seasonal] :is(.auth-scene,.brand-copy,h1,.empty,.calendar-toolbar>div,.settings-page-head>div,.auth-card,.sign-in-card)::after,
  html[data-seasonal] .auth-scene::before,.seasonal-preview::before,.seasonal-preview h3::after,.seasonal-preview-sample::after{display:none!important}
  html[data-seasonal] :is(.sidebar,.auth-card,.settings-card>header,.today-group>header){background-image:none!important}
  html[data-seasonal][data-seasonal-fonts=true] :is(.auth-card,.sign-in-card,.calendar-toolbar,.settings-page-head,.page-head) h1,
  html[data-seasonal][data-seasonal-fonts=true] :is(.settings-card>header,.section-head,.today-group>header) :is(h2,h3){font-family:inherit!important;letter-spacing:normal!important}
}

/* Brighter accents on dark login themes remain readable on every base palette. */
html[data-seasonal][data-seasonal-accents=true][data-theme=auth]:not([data-auth-theme=light]){--auth-accent:var(--seasonal-glow)}
html[data-seasonal][data-seasonal-accents=true] .new-alba-auth{--picker-accent:var(--seasonal-line)}
html[data-seasonal][data-seasonal-decorations=true][data-seasonal-intensity=immersive] .topbar{
  background-image:radial-gradient(circle at 20% 0,var(--seasonal-line) 0 2px,transparent 3px),radial-gradient(circle at 60% 0,var(--seasonal-secondary) 0 2px,transparent 3px),radial-gradient(circle at 90% 0,var(--seasonal-glow) 0 2px,transparent 3px);
  background-size:110px 7px;background-repeat:repeat-x;
}
@media print{html[data-seasonal] .topbar{background-image:none!important}}

/* Fuller event packs: scenes occupy decoration space, never data cells. */
[data-seasonal=halloween]{
  --seasonal-font:Chiller,Papyrus,'Kalam',Georgia,fantasy;
  --seasonal-landscape:url('./assets/seasonal-haunted-scene.svg?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851');
  --seasonal-twine:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40'%3E%3Cpath d='M0 2q80 27 160 0' fill='none' stroke='%23806295' stroke-width='1.5'/%3E%3Cpath d='M30 10v10m70-7v8m40-16v14' stroke='%23806295'/%3E%3Cg fill='%239463c7'%3E%3Cpath d='m16 19 10 3 4-5 4 5 10-3-5 10-6-2-3 5-3-5-6 2z'/%3E%3Cellipse cx='100' cy='25' rx='5' ry='7'/%3E%3C/g%3E%3Cpath d='m95 23-6-4m6 7-8 1m18-4 6-4m-6 7 8 1' stroke='%239463c7' stroke-width='2'/%3E%3Ccircle cx='140' cy='23' r='6' fill='%23dd923f'/%3E%3C/svg%3E");
}
[data-seasonal=christmas]{
  --seasonal-landscape:url('./assets/seasonal-winter-scene.svg?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851');
  --seasonal-twine:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40'%3E%3Cpath d='M0 2q80 27 160 0' fill='none' stroke='%23398264' stroke-width='3'/%3E%3Cpath d='M20 8v10m40-4v8m40-8v8m40-14v10' stroke='%236a8066' stroke-width='2'/%3E%3Crect x='16' y='17' width='8' height='12' rx='4' fill='%23edc771'/%3E%3Crect x='56' y='21' width='8' height='12' rx='4' fill='%23c76273'/%3E%3Crect x='96' y='21' width='8' height='12' rx='4' fill='%236bb89d'/%3E%3Crect x='136' y='17' width='8' height='12' rx='4' fill='%23edc771'/%3E%3C/svg%3E");
}
html[data-seasonal][data-seasonal-decorations=true]:not([data-seasonal-intensity=subtle]) .auth-scene::before{
  width:100%;height:clamp(125px,18vw,230px);inset:auto 0 0;background:var(--seasonal-landscape) center bottom / cover no-repeat;filter:none;opacity:.8;z-index:1;
}
html[data-seasonal][data-seasonal-decorations=true][data-seasonal-intensity=immersive] .auth-scene::before{height:clamp(160px,24vw,300px);opacity:1}
html[data-seasonal][data-seasonal-decorations=true] .auth-scene-copy{z-index:2}
html[data-seasonal][data-seasonal-decorations=true]:not([data-seasonal-intensity=subtle]) .auth-card{background-image:var(--seasonal-twine);background-size:160px 40px;background-position:left top;background-repeat:repeat-x}
html[data-seasonal][data-seasonal-accents=true][data-seasonal-decorations=true][data-seasonal-intensity=immersive] .auth-card{background-image:var(--seasonal-twine),radial-gradient(ellipse at top left,color-mix(in srgb,var(--seasonal-secondary) 22%,transparent),transparent 70%);background-size:160px 40px,100% 100%;background-repeat:repeat-x,no-repeat}
html[data-seasonal][data-seasonal-decorations=true][data-seasonal-intensity=immersive] .sidebar{
  background-image:var(--seasonal-landscape),var(--seasonal-twine),radial-gradient(ellipse at top left,color-mix(in srgb,var(--seasonal-secondary) 18%,transparent),transparent 65%);
  background-size:auto 95px,160px 40px,100% 100%;background-position:center bottom,left top,center;background-repeat:no-repeat,repeat-x,no-repeat;
}
html[data-seasonal][data-seasonal-accents=true] :is(.calendar-toolbar,.settings-page-head) h1{text-shadow:0 2px 15px color-mix(in srgb,var(--seasonal-glow) 22%,transparent)}
html[data-seasonal][data-seasonal-decorations=true]:not([data-seasonal-intensity=subtle]) :is(.month-head,.day-panel-head){background-image:var(--seasonal-scatter);background-size:56px 20px;background-position:right top;background-repeat:no-repeat}
html[data-seasonal][data-seasonal-accents=true] :is(.month-head,.day-panel-head){border-bottom-color:color-mix(in srgb,var(--seasonal-line) 35%,var(--line,#ccc))}
html[data-seasonal][data-seasonal-decorations=true][data-seasonal-intensity=immersive] .topbar{background-image:var(--seasonal-twine);background-size:160px 24px;background-position:0 -9px}

/* Case view: framing and headings only. Comments, quantities, addresses, case
   numbers, status pills, and the action controls retain normal typography. */
html[data-seasonal][data-seasonal-accents=true] .detail-panel{border-color:color-mix(in srgb,var(--seasonal-line) 55%,var(--line,#ccc))!important}
html[data-seasonal][data-seasonal-accents=true] .detail-top{border-bottom:2px solid color-mix(in srgb,var(--seasonal-line) 50%,var(--line,#ccc));background-image:linear-gradient(110deg,color-mix(in srgb,var(--seasonal-line) 8%,transparent),transparent 60%)}
html[data-seasonal][data-seasonal-fonts=true] .detail-scroll>h2{font-family:var(--seasonal-font)!important;letter-spacing:.025em;line-height:1.3}
html[data-seasonal][data-seasonal-accents=true] .detail-panel .detail-section{border-top-color:color-mix(in srgb,var(--seasonal-secondary) 35%,var(--line,#ccc))}
html[data-seasonal][data-seasonal-decorations=true] .detail-panel .section-head h3::after{content:'';display:inline-block;vertical-align:-3px;width:16px;height:16px;margin-left:7px;background:var(--seasonal-icon) center / contain no-repeat;pointer-events:none}
html[data-seasonal][data-seasonal-eggs=true]:not([data-seasonal-intensity=subtle]) .detail-panel .no-comments::after{content:'';display:inline-block;vertical-align:middle;width:24px;height:24px;margin-inline-start:8px;background:var(--seasonal-surprise) center / contain no-repeat;opacity:.6;pointer-events:none}

/* Capacity is deliberately quiet: one faint outside border, no ornaments in
   the boxes, no title font changes, and no changes to bars/counts/state colors. */
html[data-seasonal][data-seasonal-accents=true] .technician-capacity-panel{border-color:color-mix(in srgb,var(--seasonal-line) 15%,var(--line,#ccc))}

/* Tap-to-discover visitors, mounted only in view and case titles. */
.seasonal-visitor{display:inline-flex;align-items:center;gap:6px;max-width:100%;vertical-align:middle;margin-inline-start:8px;font:400 12px/1.45 system-ui,sans-serif;letter-spacing:normal;text-shadow:none}
.seasonal-surprise-button{display:inline-block;flex:none;width:38px;height:38px;margin:0;padding:5px;border:1px solid transparent;border-radius:50%;background:var(--seasonal-surprise) center / 26px 26px no-repeat;cursor:pointer;opacity:.65;transform:rotate(-9deg);box-shadow:none}
.seasonal-surprise-button:is(:hover,:focus-visible){opacity:1;border-color:var(--seasonal-line);background-color:color-mix(in srgb,var(--seasonal-line) 10%,transparent)}
.seasonal-surprise-button:focus-visible{outline:2px solid var(--seasonal-line);outline-offset:2px}
.seasonal-surprise-message:empty{display:none}
.seasonal-surprise-message{max-width:230px;font:400 11px/1.5 system-ui,sans-serif;color:var(--text,inherit);padding:5px 8px;border:1px solid color-mix(in srgb,var(--seasonal-line) 40%,transparent);border-radius:8px;background:var(--panel,transparent);white-space:normal}
.seasonal-visitor.is-discovered .seasonal-surprise-button{opacity:1;transform:rotate(9deg)}
/* Replace the earlier passive peek with the real, accessible discovery button. */
html[data-seasonal][data-seasonal-eggs=true] :is(.calendar-toolbar,.settings-page-head)>div:first-child::after{display:none}
.seasonal-preview[data-seasonal][data-seasonal-decorations=true]:not([data-seasonal-intensity=subtle]){padding-bottom:135px}
.seasonal-preview[data-seasonal][data-seasonal-decorations=true]:not([data-seasonal-intensity=subtle])::after{content:'';position:absolute;inset:auto 0 0;height:125px;background:var(--seasonal-landscape) center bottom / contain no-repeat;pointer-events:none;z-index:-1}
.seasonal-preview[data-seasonal][data-seasonal-intensity=immersive][data-seasonal-decorations=true]{padding-bottom:180px}
.seasonal-preview[data-seasonal][data-seasonal-intensity=immersive][data-seasonal-decorations=true]::after{height:170px}
@media(prefers-reduced-motion:no-preference){
  html[data-seasonal-motion=true] .seasonal-surprise-button:is(:hover,:focus-visible){animation:seasonal-peek 1.4s ease-in-out 2}
  html[data-seasonal-motion=true][data-seasonal-decorations=true] .auth-scene::before{animation:seasonal-scene-arrive 1.8s ease-out both}
}
@keyframes seasonal-scene-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){
  .seasonal-surprise-button{width:44px;height:44px}
  .seasonal-surprise-message{max-width:170px}
  html[data-seasonal][data-seasonal-decorations=true]:not([data-seasonal-intensity=subtle]) .auth-scene::before{height:125px;background-size:auto 125px}
  html[data-seasonal][data-seasonal-decorations=true][data-seasonal-intensity=immersive] .auth-scene::before{height:155px;background-size:auto 155px}
}
@media print{
  .seasonal-visitor,.seasonal-preview::after,
  html[data-seasonal] .detail-panel :is(.section-head h3,.no-comments)::after{display:none!important}
  html[data-seasonal] :is(.month-head,.day-panel-head,.topbar,.detail-top,.auth-card){background-image:none!important}
  html[data-seasonal][data-seasonal-fonts=true] .detail-scroll>h2{font-family:inherit!important}
}


/* Original seasonal key art: the webs, frost and snow are part of the render. */
html[data-seasonal=halloween][data-seasonal-decorations=true]{--brand-emblem:url('./assets/seasonal-halloween-logo.webp?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851');--seasonal-key-art:url('./assets/seasonal-halloween-scene.webp?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851')}
html[data-seasonal=christmas][data-seasonal-decorations=true]{--brand-emblem:url('./assets/seasonal-christmas-logo.webp?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851');--seasonal-key-art:url('./assets/seasonal-christmas-scene.webp?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851')}
.seasonal-logo-image{display:inline-flex;flex:none;vertical-align:middle}
html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth{background-image:none!important}
html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .auth-scene{background:#061322}
html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .auth-scene-photo{opacity:1!important;object-position:64% center;filter:none}
html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .auth-scene::before,
html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .auth-card::after,
html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .auth-card h1::after{content:none!important;display:none!important}
html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .auth-scene::after{background:linear-gradient(90deg,#020b1966,transparent 72%),linear-gradient(0deg,#020b1944,transparent 40%);mask-image:none;-webkit-mask-image:none}
html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .auth-card{background-image:none!important;border-color:color-mix(in srgb,var(--seasonal-line) 45%,var(--auth-border,#d9e0e7))!important}
html[data-seasonal][data-seasonal-fonts=true] .new-alba-auth .auth-card h1{font-family:Georgia,'Times New Roman',serif!important;letter-spacing:-.035em!important;font-weight:400!important}
html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .auth-logo-frame.alba-logo{z-index:3;height:100px}
html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .alba-logo .alba-emblem{width:92px;height:92px;filter:drop-shadow(0 6px 16px #0005)}
html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .alba-wordmark{color:#f2f7ff;text-shadow:0 2px 10px #0008}
html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .alba-wordmark strong{color:#a7ceff}
html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .auth-scene-copy{z-index:3;color:#f0f6ff;text-shadow:0 2px 8px #0009}
html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth :is(.auth-benefits strong,.auth-benefits span,.auth-service-line){color:#eef5ff}
html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .auth-location{color:#edf4ff;text-shadow:0 1px 6px #0009}
html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .auth-location small{color:#d8e3f0}
.seasonal-preview[data-seasonal=halloween]{--seasonal-landscape:url('./assets/seasonal-halloween-scene.webp?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851')}
.seasonal-preview[data-seasonal=christmas]{--seasonal-landscape:url('./assets/seasonal-christmas-scene.webp?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851')}
.seasonal-preview[data-seasonal][data-seasonal-decorations=true]:not([data-seasonal-intensity=subtle])::after{background-size:cover;background-position:center 72%}
@media(max-width:760px){
  html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .auth-logo-frame.alba-logo{height:74px}
  html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .alba-logo .alba-emblem{width:68px;height:68px}
  html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .auth-scene-photo{object-position:62% 44%}
  html[data-seasonal][data-seasonal-decorations=true] .new-alba-auth .auth-scene::after{background:linear-gradient(180deg,#020b1933,transparent 70%)}
}
/* Immersive workspace: the same photographic world as the sign-in artwork.
   Scenery owns a separate strip; working surfaces keep their base palette. */
[data-seasonal=halloween]{--seasonal-font:Georgia,'Times New Roman',serif;--seasonal-scene-ink:#130f1d;--seasonal-scene-light:#f7ce91;--seasonal-key-art:url('./assets/seasonal-halloween-scene.webp?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851');--seasonal-landscape:var(--seasonal-key-art)}
[data-seasonal=christmas]{--seasonal-scene-ink:#061d28;--seasonal-scene-light:#cde9ef;--seasonal-key-art:url('./assets/seasonal-christmas-scene.webp?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851');--seasonal-landscape:var(--seasonal-key-art)}
html[data-seasonal][data-seasonal-accents=true] .content{
  background-image:radial-gradient(ellipse at 0 0,color-mix(in srgb,var(--seasonal-secondary) var(--seasonal-strength),transparent),transparent 52%),radial-gradient(ellipse at 100% 100%,color-mix(in srgb,var(--seasonal-line) var(--seasonal-strength),transparent),transparent 55%);
}
html[data-seasonal][data-seasonal-accents=true] :is(.settings-card,.team-card,.link-card,.today-group,.stat-card){
  box-shadow:0 1px 0 color-mix(in srgb,var(--seasonal-glow) 16%,transparent),0 8px 25px -18px color-mix(in srgb,var(--seasonal-secondary) 30%,transparent);
}
html[data-seasonal][data-seasonal-accents=true] :is(.sidebar,.mobile-bottom-nav){
  box-shadow:inset 0 1px color-mix(in srgb,var(--seasonal-glow) 24%,transparent);
}
html[data-seasonal][data-seasonal-accents=true] .nav-item.active{
  box-shadow:inset 3px 0 var(--seasonal-line),inset 0 0 18px color-mix(in srgb,var(--seasonal-glow) 8%,transparent);
}
/* Horizontal phone navigation marks selection beneath the icon and label. */
@media(max-width:720px){
  html[data-seasonal][data-seasonal-accents=true] .mobile-bottom-nav .nav-item.active{
    box-shadow:inset 0 -3px var(--seasonal-line),inset 0 0 18px color-mix(in srgb,var(--seasonal-glow) 8%,transparent)!important;
  }
}
/* Retire the flat garlands from workspace chrome. The imagery supplies detail. */
html[data-seasonal][data-seasonal-decorations=true][data-seasonal-intensity=immersive] .sidebar{
  background-image:radial-gradient(ellipse at top left,color-mix(in srgb,var(--seasonal-secondary) 12%,transparent),transparent 70%);background-size:100% 100%;background-repeat:no-repeat;
}
html[data-seasonal][data-seasonal-decorations=true] .sidebar .brand-copy::after{display:none}
html[data-seasonal][data-seasonal-decorations=true][data-seasonal-intensity=immersive] .topbar{
  background-image:linear-gradient(90deg,transparent,var(--seasonal-line),var(--seasonal-glow),transparent);background-size:100% 2px;background-position:left top;background-repeat:no-repeat;
}
html[data-seasonal][data-seasonal-decorations=true]:not([data-seasonal-intensity=subtle]) :is(.today-group,.settings-card):not(.seasonal-settings-card)>header,
html[data-seasonal][data-seasonal-decorations=true]:not([data-seasonal-intensity=subtle]) :is(.month-head,.day-panel-head){
  background-image:linear-gradient(100deg,color-mix(in srgb,var(--seasonal-secondary) 6%,transparent),transparent 65%);background-size:100% 100%;background-position:center;
}
html[data-seasonal][data-seasonal-decorations=true] :is(.calendar-toolbar,.settings-page-head,.page-head).has-seasonal-scene{position:relative;padding-top:100px!important}
.seasonal-scene-band{position:relative;isolation:isolate;min-width:0;overflow:hidden;pointer-events:none;user-select:none;border:1px solid #ffffff1a;border-radius:12px;color:#fff;background-color:var(--seasonal-scene-ink);background-image:linear-gradient(90deg,var(--seasonal-scene-ink),color-mix(in srgb,var(--seasonal-scene-ink) 88%,transparent) 28%,transparent 80%),var(--seasonal-key-art);background-size:100% 100%,cover;background-position:center,center 66%;box-shadow:inset 0 1px 0 #ffffff12;contain:paint}
.seasonal-scene-page{position:absolute;inset:0 0 auto;height:84px;display:flex;align-items:center;padding:12px 20px}
.seasonal-scene-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;text-shadow:0 2px 8px #0009}
.seasonal-scene-eyebrow{font:700 9px/1.2 var(--font,system-ui);letter-spacing:.18em;text-transform:uppercase;color:var(--seasonal-scene-light)}
.seasonal-scene-title{font:400 23px/1.15 Georgia,serif;letter-spacing:-.02em;color:#fff4e7}
html[data-seasonal=christmas] .seasonal-scene-title{color:#f0faff}
.seasonal-scene-detail{font:400 10px/1.3 var(--font,system-ui);color:#e5e7eb;letter-spacing:.025em}
.seasonal-scene-case{height:64px;margin:0 0 16px;padding:12px 14px;background-position:center,center 72%}
.seasonal-scene-case .seasonal-scene-title{font-size:19px}
.seasonal-scene-sidebar{height:128px;flex:0 0 128px;margin:8px 0 4px;background-image:linear-gradient(0deg,var(--seasonal-scene-ink),transparent 90%),var(--seasonal-key-art);background-position:center,center 70%;display:flex;align-items:flex-end;padding:14px 10px}
.seasonal-scene-sidebar .seasonal-scene-title{font-size:18px}
html:not([data-seasonal-intensity=immersive]) .seasonal-scene-sidebar{display:none}
/* Collapsed navigation remains as compact as the ordinary theme. */
@media(min-width:931px){.sidebar:not(.sidebar-open)>.seasonal-scene-sidebar{display:none}}
html[data-seasonal-intensity=immersive] .seasonal-scene-page{height:100px}
html[data-seasonal][data-seasonal-decorations=true][data-seasonal-intensity=immersive] :is(.calendar-toolbar,.settings-page-head,.page-head).has-seasonal-scene{padding-top:116px!important}
html[data-seasonal][data-seasonal-fonts=false] .seasonal-scene-title{font-family:var(--font,system-ui);font-size:19px;letter-spacing:normal}
/* Tiny light / snow details are confined to photographic strips, never data. */
.seasonal-spark{position:absolute;z-index:0;left:calc(36% + var(--spark-index)*7%);top:calc(8% + var(--spark-index)*9%);width:2px;height:2px;border-radius:50%;background:var(--seasonal-scene-light);opacity:.55;box-shadow:0 0 5px 1px color-mix(in srgb,var(--seasonal-scene-light) 40%,transparent)}
html[data-seasonal=christmas] .seasonal-spark{width:3px;height:3px;background:#fff;box-shadow:0 0 3px #fff9}
html[data-seasonal-intensity=festive] .seasonal-spark:nth-of-type(even){display:none}
@media(prefers-reduced-motion:no-preference){
  html[data-seasonal-motion=true][data-seasonal=halloween] .seasonal-spark{animation:seasonal-embers calc(5s + var(--spark-index)*.4s) ease-in-out infinite alternate;animation-delay:calc(var(--spark-index)*-.7s)}
  html[data-seasonal-motion=true][data-seasonal=christmas] .seasonal-spark{animation:seasonal-snowfall calc(6s + var(--spark-index)*.6s) linear infinite;animation-delay:calc(var(--spark-index)*-1.1s)}
}
@keyframes seasonal-embers{from{transform:translate(0,8px);opacity:.1}to{transform:translate(-8px,-16px);opacity:.7}}
@keyframes seasonal-snowfall{0%{transform:translate(-8px,-40px);opacity:0}20%,70%{opacity:.8}100%{transform:translate(18px,75px);opacity:0}}
/* The personal switch is available to every role, directly below Theme. */
.theme-setting>label:first-child{display:flex;flex-direction:column;gap:8px}
.appearance-card .personal-seasonal-toggle{position:relative;display:flex!important;align-items:center;gap:12px;margin-top:14px;padding:12px 0 0;border-top:1px solid var(--line);cursor:pointer;min-width:0}
.personal-seasonal-toggle>input{position:absolute;width:1px!important;height:1px!important;min-height:0!important;opacity:0;margin:0!important}
.personal-seasonal-track{width:42px;height:24px;flex:0 0 42px;padding:3px;border-radius:20px;background:var(--muted,#64748b);border:1px solid transparent}
.personal-seasonal-track::after{content:'';display:block;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0004}
.personal-seasonal-toggle input:checked+.personal-seasonal-track{background:var(--blue,#2474d5)}
.personal-seasonal-toggle input:checked+.personal-seasonal-track::after{transform:translateX(17px)}
.personal-seasonal-toggle input:focus-visible+.personal-seasonal-track{outline:2px solid var(--ink,#172b42);outline-offset:3px}
.personal-seasonal-toggle b{display:block;font-size:13px;line-height:1.4;color:var(--ink)}
.personal-seasonal-toggle small{display:block;margin-top:4px;color:var(--muted);font-size:11px;font-weight:400;line-height:1.5}
@media(forced-colors:active){.personal-seasonal-track{border-color:ButtonText;background:Canvas!important}.personal-seasonal-track::after{background:ButtonText}.personal-seasonal-toggle input:checked+.personal-seasonal-track{border-color:Highlight}}
@media(max-width:760px){
  .seasonal-scene-page,html[data-seasonal-intensity=immersive] .seasonal-scene-page{height:70px;padding:10px 14px;background-position:center,center 67%}
  html[data-seasonal][data-seasonal-decorations=true] :is(.calendar-toolbar,.settings-page-head,.page-head).has-seasonal-scene{padding-top:84px!important}
  .seasonal-scene-page .seasonal-scene-title{font-size:20px}
  .seasonal-scene-detail{display:none}
  .seasonal-scene-case{height:56px;padding:10px 12px;margin-bottom:12px}
  .seasonal-scene-case .seasonal-scene-title{font-size:17px}
  .seasonal-scene-eyebrow{font-size:8px;letter-spacing:.13em}
}
@media(max-height:740px) and (min-width:931px){.seasonal-scene-sidebar{display:none}}
@media print{
  .seasonal-scene-band,.seasonal-spark{display:none!important}
  html[data-seasonal][data-seasonal-decorations=true] :is(.calendar-toolbar,.settings-page-head,.page-head).has-seasonal-scene{padding-top:0!important}
  html[data-seasonal][data-seasonal-accents=true] .content{background-image:none!important}
}
.appearance-card .theme-setting{display:flex;flex-direction:column;align-items:stretch;gap:0;grid-column:1/-1;max-width:520px}
/* Avoid duplicating the interactive visitor with the older static title stamp. */
html[data-seasonal][data-seasonal-eggs=true] :is(.calendar-toolbar,.settings-page-head)>div:first-child::after{content:none!important;display:none!important}
html[data-seasonal][data-seasonal-decorations=true] :is(.calendar-toolbar,.settings-page-head,.page-head).has-seasonal-scene h1::after{content:none!important;display:none!important}
/* Mobile uses its fixed bottom navigation; extra sidebar artwork has no slot. */
@media(max-width:930px){.sidebar>.seasonal-scene-sidebar{display:none!important}}
@media(max-width:760px){html[data-seasonal][data-seasonal-decorations=true][data-seasonal-intensity] :is(.calendar-toolbar,.settings-page-head,.page-head).has-seasonal-scene{padding-top:84px!important}}
@media print{html[data-seasonal][data-seasonal-decorations=true][data-seasonal-intensity] :is(.calendar-toolbar,.settings-page-head,.page-head).has-seasonal-scene{padding-top:0!important}}
/* Fine silver webs sit in the edges of selected tiles and beside display titles. */
html[data-seasonal=halloween][data-seasonal-decorations=true]{--seasonal-web-size:52px;--seasonal-web-opacity:.46}
html[data-seasonal=halloween][data-seasonal-intensity=subtle]{--seasonal-web-size:32px;--seasonal-web-opacity:.3}
html[data-seasonal=halloween][data-seasonal-intensity=immersive]{--seasonal-web-size:66px;--seasonal-web-opacity:.56}
.seasonal-cobweb-host{position:relative}
.seasonal-cobweb{position:absolute;inset:1px 1px auto auto;display:block;width:var(--seasonal-web-size);height:var(--seasonal-web-size);max-width:22%;background:url('./assets/seasonal-web-overlay.svg?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851') left top / contain no-repeat;transform:scaleX(-1);opacity:var(--seasonal-web-opacity);pointer-events:none;user-select:none;contain:paint;mask-image:linear-gradient(135deg,#000 38%,transparent 86%)}
html[data-theme=light] .seasonal-cobweb,html[data-theme=auth][data-auth-theme=light] .seasonal-cobweb{filter:sepia(.2) brightness(.55);opacity:calc(var(--seasonal-web-opacity) + .12)}
.seasonal-cobweb-title{padding-inline-start:34px}
.seasonal-cobweb-title>.seasonal-cobweb{inset:0 auto auto 0;width:32px;height:32px;max-width:none;transform:none;opacity:.8;mask-image:none}
html[data-seasonal=halloween] :is(.auth-card,.sign-in-card)>.seasonal-cobweb{width:100px;height:100px;max-width:26%;opacity:.62}
/* Tiles stay easy to scan; the web fades before reaching their working content. */
:is(.technician-case-card,.job-card)>.seasonal-cobweb{width:40px;height:40px;opacity:.32;mask-image:linear-gradient(135deg,#000 10%,transparent 72%)}
.detail-section>.seasonal-cobweb{width:38px;height:38px;opacity:.34}
@media(max-width:760px){html[data-seasonal=halloween] :is(.auth-card,.sign-in-card)>.seasonal-cobweb{width:76px;height:76px}.seasonal-cobweb-title{padding-inline-start:30px}.seasonal-cobweb-title>.seasonal-cobweb{width:28px;height:28px}}
@media print{.seasonal-cobweb{display:none!important}.seasonal-cobweb-title{padding-inline-start:0!important}}

/* Christmas details follow the shape of the workspace, with no viewport
   overlay or animated particles on operational data. All artwork is local. */
[data-seasonal=christmas]{
  --christmas-frost-opacity:.78;
  --christmas-star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 44'%3E%3Cpath d='M16 0v14' stroke='%23dfb45d' stroke-width='1.3'/%3E%3Cpath d='m16 12 4.3 9 9.7 1.4-7 6.8 1.7 9.6-8.7-4.5-8.7 4.5L9 29.2l-7-6.8 9.7-1.4z' fill='%23dfb45d' stroke='%23fff0ba' stroke-width='.8'/%3E%3Cpath d='m16 16 0 16-6 3 3-8-5-3 7-1z' fill='%23fff0ba' opacity='.45'/%3E%3C/svg%3E");
  --christmas-snow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 12'%3E%3Cpath d='M0 4Q10 4 16 2T37 3Q47-1 61 3T86 3Q99 0 112 3T138 3Q154 0 165 3T190 3Q204 0 218 3T240 4V7Q223 7 212 9T184 7Q170 6 157 9T128 7Q113 6 99 8T72 7Q57 6 44 9T18 7Q9 6 0 7Z' fill='%23eef9ff'/%3E%3Cpath d='M0 7Q9 6 18 7T44 9Q57 6 72 7T99 8Q113 6 128 7T157 9Q170 6 184 7T212 9Q223 7 240 7' fill='none' stroke='%23b9dfef' stroke-width='.6'/%3E%3C/svg%3E");
}
[data-seasonal=christmas][data-seasonal-intensity=immersive]{--christmas-frost-opacity:1}
.christmas-detail-host{position:relative}
.christmas-detail{display:block;pointer-events:none;user-select:none;contain:paint}
.christmas-detail-snow{position:absolute;inset:0;border-radius:inherit;overflow:hidden}
.christmas-detail-snow::before{content:'';position:absolute;inset:0 6px auto;height:7px;background:var(--christmas-snow) left -2px / 240px 12px repeat-x;opacity:var(--christmas-frost-opacity)}
/* Spacious cards get an evergreen corner and a small suspended star. */
:is(.settings-card,.team-card,.dash-card,.link-card,.auth-card,.sign-in-card)>.christmas-detail-snow::after{
  content:'';position:absolute;inset:0 9px auto auto;width:20px;height:27px;background:var(--christmas-star) center top / contain no-repeat;opacity:.78;
}
html[data-seasonal=christmas][data-seasonal-decorations=true] :is(.settings-card,.team-card,.dash-card,.link-card)>.christmas-detail-snow{
  background:var(--seasonal-corner) right bottom / 36px 36px no-repeat;
}
/* Heading stars have their own gutter, including long mobile titles. */
.christmas-title-host{padding-inline-start:29px}
.christmas-detail-title{position:absolute;inset:0 auto auto 0;width:22px;height:30px;background:var(--christmas-star) center top / contain no-repeat;filter:drop-shadow(0 2px 5px #b6852330)}
html[data-seasonal=christmas][data-seasonal-decorations=true] .christmas-title-host::after{content:none!important;display:none!important}
/* Presents occupy empty-state space; their controls and text stay separate. */
.christmas-detail-gifts{position:relative;width:96px;height:58px;margin:16px auto 0;background:var(--seasonal-surprise) 6px bottom / 36px 36px no-repeat,var(--seasonal-icon) 37px bottom / 36px 50px no-repeat,var(--seasonal-surprise) right bottom / 29px 29px no-repeat}
.christmas-detail-gifts::after{content:'';position:absolute;inset:0 auto auto 12px;width:14px;height:19px;background:var(--christmas-star) center / contain no-repeat}
/* Warm bulbs sit along the top edge, clear of navigation and search controls. */
.christmas-detail-lights{position:absolute;inset:0 0 auto;height:10px;overflow:hidden;background:radial-gradient(ellipse at 15px 1px,#ffe4a0 0 2px,#e5b75355 3px,transparent 7px),radial-gradient(ellipse at 47px 0,#d97a83 0 2px,#bc596544 3px,transparent 6px),radial-gradient(ellipse at 79px 1px,#92d4b4 0 2px,#39826444 3px,transparent 6px);background-size:96px 10px;background-repeat:repeat-x;opacity:.85}
.auth-scene>.christmas-detail-lights{z-index:3;height:18px;background-size:96px 12px}
/* Frost, stars and gifts also live inside the existing landscape strips. */
html[data-seasonal=christmas] .seasonal-scene-band::after{content:'';position:absolute;inset:0;pointer-events:none;background:var(--christmas-star) right 22px top / 23px 33px no-repeat,var(--christmas-star) right 58px top / 15px 23px no-repeat,var(--seasonal-surprise) right 18px bottom 7px / 30px 30px no-repeat,var(--seasonal-surprise) right 44px bottom 7px / 21px 21px no-repeat;opacity:.9}
html[data-seasonal=christmas] .seasonal-scene-copy{padding-inline-end:62px}
html[data-seasonal=christmas] .seasonal-scene-sidebar .seasonal-scene-copy{padding-inline-end:32px}
html[data-seasonal=christmas] .seasonal-scene-sidebar::after{background-size:20px 28px,13px 20px,23px 23px,16px 16px;background-position:right 15px top,right 42px top,right 10px bottom 10px,right 30px bottom 10px}
html[data-seasonal=christmas][data-seasonal-intensity=immersive] .seasonal-spark{width:4px;height:4px;box-shadow:18px -24px 0 -1px #fff9,-28px 20px 0 -1px #fff8,8px 40px 0 -1px #fffc}
/* The draft preview uses its own attributes, independent of the saved event. */
.seasonal-preview[data-seasonal=christmas][data-seasonal-decorations=true]::before{width:80px;height:42px;transform:none;background:var(--christmas-star) right 12px top / 24px 36px no-repeat,var(--christmas-star) left 12px top / 16px 25px no-repeat;opacity:1}
.seasonal-preview[data-seasonal=christmas][data-seasonal-decorations=true]:not([data-seasonal-intensity=subtle]) .seasonal-preview-sample{position:relative;background:var(--christmas-snow) left -2px / 240px 12px repeat-x;background-clip:padding-box}
.seasonal-preview[data-seasonal=christmas][data-seasonal-decorations=true]:not([data-seasonal-intensity=subtle]) .seasonal-preview-sample::before{content:'';flex:0 0 24px;height:26px;background:var(--seasonal-surprise) center / contain no-repeat}
@media(prefers-reduced-motion:no-preference){
  html[data-seasonal=christmas][data-seasonal-motion=true] .christmas-detail-lights{animation:christmas-lights 4s ease-in-out infinite alternate}
  html[data-seasonal=christmas][data-seasonal-motion=true] .christmas-detail-title{transform-origin:50% 0;animation:christmas-star-sway 5s ease-in-out 2}
  html[data-seasonal=christmas][data-seasonal-motion=true] .seasonal-visitor.is-discovered .seasonal-surprise-button{animation:christmas-gift-open .65s ease-out both}
}
@keyframes christmas-lights{from{opacity:.55}to{opacity:1}}
@keyframes christmas-star-sway{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
@keyframes christmas-gift-open{0%{transform:translateY(0) rotate(-9deg)}45%{transform:translateY(-6px) rotate(12deg)}100%{transform:translateY(0) rotate(0)}}
@media(max-width:760px){
  .christmas-title-host{padding-inline-start:25px}
  .christmas-detail-title{width:19px;height:27px}
  html[data-seasonal=christmas] .seasonal-scene-band::after{background-size:18px 27px,12px 19px,23px 23px,17px 17px;background-position:right 14px top,right 40px top,right 10px bottom 5px,right 30px bottom 5px}
  html[data-seasonal=christmas] .seasonal-scene-copy{padding-inline-end:46px}
}
@media print, (forced-colors:active){
  .christmas-detail,html[data-seasonal=christmas] .seasonal-scene-band::after,.seasonal-preview[data-seasonal=christmas] .seasonal-preview-sample::before{display:none!important}
  .christmas-title-host{padding-inline-start:0!important}
  .seasonal-preview[data-seasonal=christmas] .seasonal-preview-sample{background-image:none!important}
}

/* Albanian November: ruby glass, woven edging and a warm architectural scene.
   Ornaments belong to borders and heading gutters; working content stays clear. */
[data-seasonal=albanian]{
  --seasonal-line:#b62c43;--seasonal-secondary:#a77b45;--seasonal-glow:#e3bf7d;
  --seasonal-font:'Palatino Linotype',Palatino,'Book Antiqua',Georgia,serif;--seasonal-spacing:.012em;
  --seasonal-scene-ink:#26151d;--seasonal-scene-light:#f3d4a2;
  --seasonal-key-art:url('./assets/seasonal-albanian-scene.webp?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851');--seasonal-landscape:var(--seasonal-key-art);
  --seasonal-icon:url('./assets/seasonal-albanian-eagle.svg?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851');--seasonal-surprise:var(--seasonal-icon);
  --seasonal-corner:url('./assets/seasonal-albanian-weave.svg?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851');--seasonal-scatter:var(--seasonal-corner);--seasonal-twine:var(--seasonal-corner);
  --albanian-weave-opacity:.52;--albanian-weave-size:4px;
}
[data-seasonal=albanian][data-seasonal-palette=moonlight]{--seasonal-line:#bd4057;--seasonal-secondary:#9ca9c4;--seasonal-glow:#d7dfef;--seasonal-scene-light:#e4e7f3}
[data-seasonal=albanian][data-seasonal-palette=candlelight]{--seasonal-line:#aa293d;--seasonal-secondary:#b88b4b;--seasonal-glow:#f2d59a;--seasonal-scene-light:#ffe2af}
[data-seasonal=albanian][data-seasonal-intensity=immersive]{--albanian-weave-opacity:.8;--albanian-weave-size:6px}
html[data-seasonal=albanian][data-seasonal-decorations=true]{--brand-emblem:url('./assets/seasonal-albanian-logo.webp?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851')}
html[data-seasonal=albanian][data-seasonal-decorations=true] .new-alba-auth .auth-scene-photo{object-position:62% center}
html[data-seasonal=albanian][data-seasonal-decorations=true] .new-alba-auth .auth-scene::after{background:linear-gradient(90deg,#24121b80,transparent 75%),linear-gradient(0deg,#24121b44,transparent 45%)}
html[data-seasonal=albanian][data-seasonal-decorations=true] .new-alba-auth .alba-wordmark strong{color:#f0c994}
.albanian-detail-host{position:relative}
.albanian-detail{display:block;pointer-events:none;user-select:none;contain:paint}
.albanian-detail-weave{position:absolute;inset:0;border-radius:inherit;overflow:hidden}
.albanian-detail-weave::before{content:'';position:absolute;inset:0 9px auto;height:var(--albanian-weave-size);background:var(--seasonal-corner) center / 80px 12px repeat-x;opacity:var(--albanian-weave-opacity)}
.albanian-detail-weave::after{content:'';position:absolute;inset:auto 9px 0 auto;width:48px;height:3px;background:linear-gradient(90deg,transparent,var(--seasonal-line),var(--seasonal-glow));opacity:.65}
.albanian-title-host{padding-inline-start:33px}
.albanian-detail-title{position:absolute;inset:0 auto auto 0;width:25px;height:29px;background:var(--seasonal-icon) center / contain no-repeat;filter:drop-shadow(0 2px 3px #65213220)}
html[data-seasonal=albanian][data-seasonal-decorations=true] .albanian-title-host::after{content:none!important;display:none!important}
.albanian-detail-ribbon{position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#932138,#ce354b 35%,#d4b273 50%,#ad263e 65%,#3a202a);opacity:.75}
.auth-scene>.albanian-detail-ribbon{z-index:3;height:8px;background:var(--seasonal-corner) center / 160px 24px repeat-x;opacity:.8}
.albanian-detail-crest{position:relative;width:58px;height:58px;margin:18px auto 0;background:var(--seasonal-icon) center / contain no-repeat;filter:drop-shadow(0 4px 7px #69223420)}
html[data-seasonal=albanian] .seasonal-scene-band{background-position:center,center 61%;border-color:#d5b57c45}
html[data-seasonal=albanian] .seasonal-scene-band::after{content:'';position:absolute;inset:auto 0 0;height:6px;background:var(--seasonal-corner) center / 80px 12px repeat-x;opacity:.65;pointer-events:none}
html[data-seasonal=albanian] .seasonal-scene-sidebar{background-position:center,70% center}
html[data-seasonal=albanian] .seasonal-scene-title{color:#fff0d8}
html[data-seasonal=albanian] .seasonal-spark{width:2px;height:2px;box-shadow:0 0 7px 1px #e4c38b66}
html[data-seasonal=albanian][data-seasonal-intensity=immersive] .seasonal-scene-copy{padding-inline-end:8px}
.seasonal-preview[data-seasonal=albanian]{--seasonal-landscape:var(--seasonal-key-art)}
.seasonal-preview[data-seasonal=albanian][data-seasonal-decorations=true]::before{width:48px;height:48px;inset:13px 13px auto auto;background:var(--seasonal-icon) center / contain no-repeat;transform:none;opacity:.3}
.seasonal-preview[data-seasonal=albanian][data-seasonal-decorations=true]:not([data-seasonal-intensity=subtle]) .seasonal-preview-sample{border-top:4px solid var(--seasonal-line);background-image:linear-gradient(90deg,color-mix(in srgb,var(--seasonal-secondary) 7%,transparent),transparent)}
@media(prefers-reduced-motion:no-preference){
  html[data-seasonal=albanian][data-seasonal-motion=true] .seasonal-spark{animation:albanian-lamplight calc(6s + var(--spark-index)*.4s) ease-in-out infinite alternate;animation-delay:calc(var(--spark-index)*-.7s)}
  html[data-seasonal=albanian][data-seasonal-motion=true] .seasonal-visitor.is-discovered .seasonal-surprise-button{animation:albanian-greeting .65s ease-out both}
}
@keyframes albanian-lamplight{from{opacity:.15;transform:translateY(3px)}to{opacity:.7;transform:translateY(-3px)}}
@keyframes albanian-greeting{0%,100%{transform:rotate(0) scale(1)}45%{transform:rotate(6deg) scale(1.09)}}
@media(max-width:760px){.albanian-title-host{padding-inline-start:29px}.albanian-detail-title{width:22px;height:27px}html[data-seasonal=albanian] .seasonal-scene-page{background-position:center,65% center}}
@media print,(forced-colors:active){
  .albanian-detail,html[data-seasonal=albanian] .seasonal-scene-band::after{display:none!important}
  .albanian-title-host{padding-inline-start:0!important}
  .seasonal-preview[data-seasonal=albanian] .seasonal-preview-sample{background-image:none!important;border-top-width:1px}
}

/* Remembrance Day: a complete, still commemorative pack with its own artwork. */
[data-seasonal=remembrance]{
  --seasonal-line:#ad3044;--seasonal-secondary:#75806a;--seasonal-glow:#e3c8aa;
  --seasonal-font:Georgia,'Times New Roman',serif;--seasonal-spacing:0;
  --seasonal-scene-ink:#241f25;--seasonal-scene-light:#ead9c8;
  --seasonal-icon:url('./assets/seasonal-remembrance-poppy.svg?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851');
  --seasonal-corner:none;--seasonal-surprise:none;--seasonal-scatter:none;--seasonal-twine:none;
  --seasonal-key-art:url('./assets/seasonal-remembrance-scene.webp?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851');--seasonal-landscape:var(--seasonal-key-art);
}
[data-seasonal=remembrance][data-seasonal-palette=moonlight]{--seasonal-line:#b54458;--seasonal-secondary:#7d8fa1;--seasonal-glow:#dce5ec;--seasonal-scene-light:#e4ebf1}
[data-seasonal=remembrance][data-seasonal-palette=candlelight]{--seasonal-line:#9f2c3e;--seasonal-secondary:#9c7b50;--seasonal-glow:#edd0a0;--seasonal-scene-light:#f5e2c6}
html[data-seasonal=remembrance][data-seasonal-decorations=true]{--brand-emblem:url('./assets/seasonal-remembrance-logo.webp?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851')}
html[data-seasonal=remembrance][data-seasonal-decorations=true] .new-alba-auth .auth-scene-photo{object-position:62% center}
html[data-seasonal=remembrance][data-seasonal-decorations=true] .new-alba-auth .auth-scene::after{background:linear-gradient(90deg,#20191d99,transparent 85%),linear-gradient(0deg,#20191d66,transparent 60%)}
html[data-seasonal=remembrance][data-seasonal-decorations=true] .new-alba-auth .alba-wordmark strong{color:#f4e4d3}
.remembrance-detail-host{position:relative}
.remembrance-detail{display:block;pointer-events:none;user-select:none;contain:paint}
.remembrance-title-host{padding-inline-start:32px}
.remembrance-detail-title{position:absolute;inset:0 auto auto 0;width:24px;height:29px;background:var(--seasonal-icon) center/contain no-repeat}
html[data-seasonal=remembrance][data-seasonal-decorations=true] .remembrance-title-host::after{content:none!important;display:none!important}
.remembrance-detail-edge{position:absolute;inset:0;border-radius:inherit;overflow:hidden}
.remembrance-detail-edge::before{content:'';position:absolute;inset:0 12px auto;height:2px;background:linear-gradient(90deg,transparent,var(--seasonal-line),var(--seasonal-glow),transparent);opacity:.65}
.remembrance-detail-edge::after{content:'';position:absolute;inset:auto 12px 0 auto;width:42px;height:2px;background:linear-gradient(90deg,transparent,var(--seasonal-secondary));opacity:.45}
.remembrance-detail-ribbon{position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#34242b,var(--seasonal-line) 32%,var(--seasonal-glow) 50%,var(--seasonal-line) 68%,#34242b);opacity:.8}
.auth-scene>.remembrance-detail-ribbon{z-index:3;height:4px}
.remembrance-detail-poppy{position:relative;width:44px;height:52px;margin:16px auto 0;background:var(--seasonal-icon) center/contain no-repeat}
html[data-seasonal=remembrance] .seasonal-scene-band{
  background-image:linear-gradient(90deg,#241f25e6,#241f25b8 42%,#241f2520),var(--seasonal-key-art);
  background-position:center,center 76%;border-color:#c5a89066;
}
html[data-seasonal=remembrance] .seasonal-scene-page{height:100px}
html[data-seasonal=remembrance][data-seasonal-decorations=true][data-seasonal-intensity] :is(.calendar-toolbar,.settings-page-head,.page-head).has-seasonal-scene{padding-top:116px!important}
html[data-seasonal=remembrance] .seasonal-scene-band::after{
  content:'';position:absolute;inset:auto 0 0;height:2px;
  background:linear-gradient(90deg,var(--seasonal-line),var(--seasonal-glow),transparent);opacity:.65;pointer-events:none;
}
html[data-seasonal=remembrance] .seasonal-scene-copy{max-width:92%}
html[data-seasonal=remembrance] .seasonal-scene-detail{max-width:42em}
html[data-seasonal=remembrance] .seasonal-spark{display:none}
html[data-seasonal=remembrance] .seasonal-scene-title{color:#fff4e8;letter-spacing:.01em}
html[data-seasonal=remembrance] .seasonal-scene-sidebar{background-image:linear-gradient(0deg,#241f25ed,transparent 95%),var(--seasonal-key-art);background-position:center,75% center}
.seasonal-preview[data-seasonal=remembrance]{--seasonal-landscape:var(--seasonal-key-art)}
.seasonal-preview[data-seasonal=remembrance][data-seasonal-decorations=true]::before{width:38px;height:46px;inset:12px 12px auto auto;background:var(--seasonal-icon) center/contain no-repeat;transform:none;opacity:.65}
.seasonal-preview[data-seasonal=remembrance][data-seasonal-decorations=true]:not([data-seasonal-intensity=subtle]) .seasonal-preview-sample{border-top:3px solid var(--seasonal-line)}
@media(max-width:600px){
  .remembrance-title-host{padding-inline-start:28px}.remembrance-detail-title{width:21px;height:26px}
  html[data-seasonal=remembrance][data-seasonal-decorations=true][data-seasonal-intensity] :is(.calendar-toolbar,.settings-page-head,.page-head).has-seasonal-scene{padding-top:128px!important}
  html[data-seasonal=remembrance] .seasonal-scene-page{height:112px;background-position:center,66% 74%}
  html[data-seasonal=remembrance] .seasonal-scene-copy{max-width:100%}
}
@media print,(forced-colors:active){
  .remembrance-detail,html[data-seasonal=remembrance] .seasonal-scene-band{display:none!important}
  .remembrance-title-host{padding-inline-start:0!important}
  .seasonal-preview[data-seasonal=remembrance] .seasonal-preview-sample{border-top-width:1px}
  html[data-seasonal=remembrance][data-seasonal-decorations=true][data-seasonal-intensity] :is(.calendar-toolbar,.settings-page-head,.page-head).has-seasonal-scene{padding-top:0!important}
}
/* Seasonal art occupies the existing bar; controls keep their original geometry. */
html[data-seasonal] .topbar.has-seasonal-scene{isolation:isolate;position:relative}
html[data-seasonal] .topbar>.seasonal-scene-header{position:absolute;inset:0;z-index:-1;width:auto;height:auto;min-height:0;margin:0;border:0;border-radius:0;overflow:hidden;pointer-events:none;background-image:linear-gradient(90deg,var(--surface,#211b1d) 0%,transparent 47%,#160e18a6 100%),var(--seasonal-key-art);background-position:center,center 58%;background-size:cover;box-shadow:inset 0 -1px 0 #ffffff1c}
html[data-seasonal] .seasonal-scene-header .seasonal-scene-copy{position:absolute;inset:0 176px 0 max(48%,640px);display:flex;flex-direction:column;justify-content:center;padding:4px 22px;max-width:none;width:auto;background:none;backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-seasonal] .seasonal-scene-header .seasonal-scene-eyebrow{font-size:9px;letter-spacing:.16em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-seasonal] .seasonal-scene-header .seasonal-scene-title{font-size:21px;line-height:1.12;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 12px #0009}
html[data-seasonal] .topbar .global-search,html[data-seasonal] .topbar .role-badge{backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-theme] .topbar .global-search{background:color-mix(in srgb,var(--surface,#fff) 68%,transparent)!important;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ink,#172033) 12%,transparent)}
html .topbar .global-search input{background:transparent;color:var(--ink,#172033)}
@media(max-width:1100px){html[data-seasonal] .seasonal-scene-header .seasonal-scene-copy{display:none}}
@media(prefers-reduced-transparency:reduce){html[data-theme] .topbar .global-search,html[data-seasonal] .topbar .role-badge{background:var(--surface,#211b1d)!important;backdrop-filter:none;-webkit-backdrop-filter:none}}

html[data-seasonal=christmas][data-seasonal-decorations=true]:is([data-theme=dark],[data-theme=auth][data-auth-theme=dark]){--seasonal-key-art:url('./assets/christmas-dark.webp?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851');--seasonal-landscape:var(--seasonal-key-art)}

html[data-seasonal=christmas][data-seasonal-decorations=true]:is([data-theme=gothic],[data-theme=auth][data-auth-theme=gothic]){--seasonal-key-art:url('./assets/christmas-gothic.webp?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851');--seasonal-landscape:var(--seasonal-key-art)}

html[data-seasonal=christmas][data-seasonal-decorations=true]:is([data-theme=dark-days],[data-theme=auth][data-auth-theme=dark-days]){--seasonal-key-art:url('./assets/christmas-dark-days.webp?v=b6de1f1c09bd455058cb683fc3ec018388f8ae20da6c7bf07697ba8a336f1851');--seasonal-landscape:var(--seasonal-key-art)}
