.christmas-decor { display: none; }
html[data-season="christmas"] .christmas-decor {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  overflow: hidden;
}
.christmas-lights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  display: flex;
  justify-content: space-around;
  border-top: 3px solid #214b3c;
}
.christmas-lights i {
  position: relative;
  width: 8px;
  height: 11px;
  margin-top: 9px;
  border-radius: 55% 55% 60% 60%;
  background: #da514e;
  box-shadow: 0 0 12px 3px #da514e88;
  animation: christmas-twinkle 2.8s ease-in-out infinite;
}
.christmas-lights i::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 3px;
  height: 9px;
  border-left: 1px solid #214b3c;
}
.christmas-lights i:nth-child(3n+2) { background: #e5b64f; box-shadow: 0 0 12px 3px #e5b64f88; animation-delay: -.9s; }
.christmas-lights i:nth-child(3n) { background: #62b896; box-shadow: 0 0 12px 3px #62b89688; animation-delay: -1.8s; }
.christmas-snow span {
  position: absolute;
  top: -30px;
  left: var(--snow-left);
  color: #70b8ac;
  opacity: .48;
  font-size: var(--snow-size);
  text-shadow: 0 0 8px #fff;
  animation: christmas-fall var(--snow-time) linear infinite;
  animation-delay: var(--snow-delay);
}
html[data-season="christmas"] body {
  background-image: radial-gradient(circle at 4% 16%, #e7f4ed 0, transparent 31%), radial-gradient(circle at 97% 8%, #fff0e8 0, transparent 28%);
  background-attachment: fixed;
}
html[data-season="christmas"] body .topbar,
html[data-season="christmas"] body .login-card {
  border: 1px solid #d9e6d8;
  box-shadow: 0 10px 34px #234a3917, 0 2px 0 #bd4752;
}
html[data-season="christmas"] body .topbar { background: linear-gradient(105deg, #fffdf8, #f0f8f2); }
html[data-season="christmas"] body .brand-kicker,
html[data-season="christmas"] body .login-card .eyebrow { color: #9f3041 !important; }
html[data-season="christmas"] body #brand-logo { content: url('/icons/home-christmas-180.png?v=7'); }
html[data-season="christmas"] body :is(.team-btn.active, .company-tabs button[aria-selected="true"], .company-employee-tabs button[aria-selected="true"]) {
  background: #9e3041 !important;
  color: #fff !important;
}
html[data-season="christmas"] body :is(.team-btn, .company-tabs button, .company-employee-tabs button):focus-visible { outline: 3px solid #d6b26a; outline-offset: 2px; }
html[data-season="christmas"] body .login-card::after {
  content: '✦  ✧  ✦';
  position: absolute;
  right: 22px;
  bottom: 15px;
  color: #b34b57;
  font-size: 13px;
  letter-spacing: .3em;
  opacity: .72;
  animation: christmas-twinkle 3.5s ease-in-out infinite;
}
html[data-season="christmas"] body .login-card::before {
  content: '✦';
  position: absolute;
  left: -13px;
  top: -14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #a93848;
  color: #fff8df;
  box-shadow: 0 3px 10px #5d2b3b35;
}
html[data-season="christmas"][data-style="malam"] body .topbar { background: linear-gradient(105deg, #18282b, #32262d) !important; border-color: #735d60; }
html[data-season="christmas"][data-style="malam"] body .login-card { border-color: #735d60; }
@keyframes christmas-twinkle { 50% { opacity: .45; } }
@keyframes christmas-fall {
  0% { transform: translate3d(0, -20px, 0) rotate(0); opacity: 0; }
  10% { opacity: .48; }
  88% { opacity: .48; }
  100% { transform: translate3d(30px, calc(100vh + 40px), 0) rotate(180deg); opacity: 0; }
}
@media (max-width: 640px) {
  .christmas-lights i:nth-child(2n) { display: none; }
  .christmas-snow span:nth-child(n+6) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-season="christmas"] .christmas-lights i,
  html[data-season="christmas"] .christmas-snow span,
  html[data-season="christmas"] body .login-card::after { animation: none !important; }
  html[data-season="christmas"] .christmas-snow span { display: none; }
}
html[data-scroll-motion="off"][data-season="christmas"] .christmas-lights i,
html[data-scroll-motion="off"][data-season="christmas"] body .login-card::after { animation: none !important; }
html[data-scroll-motion="off"][data-season="christmas"] .christmas-snow span { display: none; }

/* The four seasonal palettes sit alongside the existing 1–4 workspace themes. */
.christmas-welcome, .christmas-theme-picker { display: none; }
html[data-season="christmas"] {
  --xmas-paper: #fff9ee;
  --xmas-surface: #fffdf7;
  --xmas-ink: #284239;
  --xmas-muted: #64776a;
  --xmas-accent: #aa3442;
  --xmas-pine: #214d3a;
  --xmas-gold: #cda655;
  --xmas-light: #e3bd67;
  --xmas-flake: #a7c3af;
}
html[data-season="christmas"][data-christmas-choice="snow"] {
  --xmas-paper: #e8f5f6; --xmas-surface: #f8feff; --xmas-ink: #164551;
  --xmas-muted: #5a7d85; --xmas-accent: #4d99b4; --xmas-pine: #256b74;
  --xmas-gold: #8ebeca; --xmas-light: #c4e9ef; --xmas-flake: #ffffff;
}
html[data-season="christmas"][data-christmas-choice="night"] {
  --xmas-paper: #112a32; --xmas-surface: #1c3940; --xmas-ink: #f8eed6;
  --xmas-muted: #c0d0c2; --xmas-accent: #d6ac59; --xmas-pine: #b5d7bd;
  --xmas-gold: #e5c877; --xmas-light: #f1cc80; --xmas-flake: #e9c76d;
}
html[data-season="christmas"][data-christmas-choice="candy"] {
  --xmas-paper: #f7d5dc; --xmas-surface: #fff8f4; --xmas-ink: #582936;
  --xmas-muted: #704751; --xmas-accent: #ae3152; --xmas-pine: #276a5c;
  --xmas-gold: #e7a976; --xmas-light: #ffc5d0; --xmas-flake: #ffffff;
}
html[data-season="christmas"] body,
html[data-season="christmas"] body[data-team] {
  background: radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--xmas-gold), transparent 79%), transparent 30%), var(--xmas-paper) !important;
}
html[data-season="christmas"][data-christmas-choice="candy"] body,
html[data-season="christmas"][data-christmas-choice="candy"] body[data-team] { background: var(--xmas-paper) !important; }
/* Keep each workspace theme visible across the full page during Christmas. */
html[data-season="christmas"][data-style] body,
html[data-season="christmas"][data-style] body[data-team] { background: var(--style-bg) !important; }
html[data-season="christmas"][data-style="arsip"] body,
html[data-season="christmas"][data-style="arsip"] body[data-team] {
  background: linear-gradient(150deg, #bed7cb 0%, #e6f0e8 52%, #cbded7 100%) !important;
}
html[data-season="christmas"][data-style="pasar"] body,
html[data-season="christmas"][data-style="pasar"] body[data-team] { background: #d7674c !important; }
/* On the sign-in page, the Christmas choice owns the full backdrop. Workspace styles resume after sign-in. */
html[data-season="christmas"] body:not(.hub-signed-in) {
  background: radial-gradient(circle at 5% 10%, #e4eedf 0, transparent 34%), #fff9ee !important;
}
html[data-season="christmas"][data-christmas-choice="snow"] body:not(.hub-signed-in) {
  background: radial-gradient(circle at 78% 10%, #ffffff 0, transparent 32%), linear-gradient(160deg, #d8edf6, #effbfc) !important;
}
html[data-season="christmas"][data-christmas-choice="night"] body:not(.hub-signed-in) {
  background: radial-gradient(circle at 75% 5%, #34464a 0, transparent 39%), #101c26 !important;
}
html[data-season="christmas"][data-christmas-choice="candy"] body:not(.hub-signed-in) {
  background: repeating-linear-gradient(135deg, #f7d5dc 0 88px, #ffe9e1 88px 176px) !important;
}
html[data-season="christmas"]:is([data-style="arsip"], [data-style="pasar"]) body .company-hero :is(h1, h2, h3) {
  color: #fffdf7 !important;
}
html[data-season="christmas"][data-style="malam"] #team-internalperusahaan :is(.company-tabs, .company-service, .company-employee-tabs button) {
  background: #1b2230 !important;
  border-color: #394353 !important;
  color: #f4f6f1 !important;
}
html[data-season="christmas"][data-style="malam"] #team-internalperusahaan :is(.company-tabs button, .company-service strong, .company-service h4) {
  color: #f4f6f1 !important;
}
html[data-season="christmas"][data-style="malam"] #team-internalperusahaan .company-service span {
  color: #becbc8 !important;
}
html[data-season="christmas"][data-style="malam"] #team-internalperusahaan .company-service :is(b, a) {
  color: #9dd8bc !important;
}
html[data-season="christmas"][data-style="malam"] #team-internalperusahaan :is(.company-tabs button[aria-selected="true"], .company-employee-tabs button[aria-selected="true"]) {
  background: #9e3041 !important;
  color: #fff !important;
}
html[data-season="christmas"] .christmas-lights { border-color: var(--xmas-pine); }
html[data-season="christmas"] .christmas-lights i,
html[data-season="christmas"] .christmas-lights i:nth-child(3n+2) {
  background: var(--xmas-light); box-shadow: 0 0 13px 3px var(--xmas-light);
}
html[data-season="christmas"] .christmas-lights i:nth-child(3n) {
  background: var(--xmas-accent); box-shadow: 0 0 13px 3px var(--xmas-accent);
}
html[data-season="christmas"] .christmas-lights i::before { border-color: var(--xmas-pine); }
html[data-season="christmas"] .christmas-snow span { color: var(--xmas-flake); }
html[data-season="christmas"][data-christmas-choice="candy"] .christmas-lights i {
  opacity: .68; box-shadow: 0 0 6px 1px var(--xmas-light);
}
html[data-season="christmas"][data-christmas-choice="candy"] .christmas-lights i:nth-child(3n) {
  box-shadow: 0 0 6px 1px var(--xmas-accent);
}
html[data-season="christmas"] body .topbar,
html[data-season="christmas"] body .login-card {
  background: var(--xmas-surface) !important;
  border-color: color-mix(in srgb, var(--xmas-accent), transparent 67%) !important;
  color: var(--xmas-ink) !important;
}
html[data-season="christmas"] body .topbar :is(#brand-title, .user-badge),
html[data-season="christmas"] body .login-card :is(h2, label) { color: var(--xmas-ink) !important; }
html[data-season="christmas"] body .login-card .muted { color: var(--xmas-muted) !important; }
html[data-season="christmas"] body .login-card :is(.eyebrow, .home-icon-picker > p),
html[data-season="christmas"] body .topbar .brand-kicker { color: var(--xmas-accent) !important; }
html[data-season="christmas"] body :is(.login-form button[type="submit"], .login-mode-switch button[aria-selected="true"]) {
  background: var(--xmas-pine) !important; color: var(--xmas-surface) !important; border-color: var(--xmas-pine) !important;
}
html[data-season="christmas"][data-christmas-choice="night"] body .login-card :is(input, .login-mode-switch button),
html[data-season="christmas"][data-christmas-choice="night"] body .login-card .home-icon-options button {
  background: #29474b !important; color: #f8eed6 !important; border-color: #6b7774 !important;
}
html[data-season="christmas"][data-christmas-choice="night"] body .login-card input::placeholder { color: #c0d0c2 !important; }
html[data-season="christmas"][data-christmas-choice="candy"] body .login-card {
  border: 3px solid transparent !important;
  background: linear-gradient(var(--xmas-surface), var(--xmas-surface)) padding-box,
    repeating-linear-gradient(45deg, #af7b82 0 9px, #ede1d6 9px 18px) border-box !important;
}
html[data-season="christmas"] body .login-card::before { background: var(--xmas-accent); }
html[data-season="christmas"] body .login-card::after { color: var(--xmas-accent); }
html[data-season="christmas"] #app:has(#screen-login:not(.hidden)) { max-width: 1120px; }
html[data-season="christmas"] #screen-login {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  align-items: center; gap: 18px 44px; padding: 42px 20px 20px;
}
html[data-season="christmas"] #screen-login.hidden { display: none; }
html[data-season="christmas"] .christmas-welcome { display: block; position: relative; padding: 0 0 60px; }
.christmas-welcome-kicker { color: var(--xmas-accent); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.christmas-welcome h1 { max-width: 590px; margin: 16px 0 20px; color: var(--xmas-ink) !important; font: 800 clamp(43px, 5vw, 72px)/.98 "Bricolage Grotesque", sans-serif !important; letter-spacing: -.055em; }
.christmas-welcome h1 em { display: block; color: var(--xmas-accent); font: italic 500 1em/1 "Newsreader", Georgia, serif; letter-spacing: -.035em; }
.christmas-welcome p { max-width: 520px; color: var(--xmas-muted); font-size: 15px; line-height: 1.65; }
.christmas-welcome-ornament { display: grid; place-items: center; width: 106px; height: 106px; margin-top: 31px; border: 9px solid var(--xmas-pine); border-radius: 50%; color: var(--xmas-accent); font-size: 43px; box-shadow: 0 0 0 10px color-mix(in srgb, var(--xmas-gold), transparent 60%); animation: christmas-ornament-float 5s ease-in-out infinite; }
html[data-season="christmas"] #screen-login .login-card { width: 100%; margin-top: 0; }
html[data-season="christmas"] .christmas-theme-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; grid-column: 1 / -1; padding: 13px; border: 1px solid color-mix(in srgb, var(--xmas-accent), transparent 70%); border-radius: 15px; background: var(--xmas-surface); color: var(--xmas-ink); }
html[data-season="christmas"] .christmas-theme-picker-login { position: relative; z-index: 90; padding: 16px 18px; border: 2px solid color-mix(in srgb, var(--xmas-accent), transparent 55%); background: linear-gradient(105deg, var(--xmas-surface), color-mix(in srgb, var(--xmas-gold), var(--xmas-surface) 88%)); box-shadow: 0 12px 30px #271d211b; }
.christmas-theme-intro { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 11px; width: 100%; }
.christmas-theme-intro strong { color: var(--xmas-ink); font-size: 16px; line-height: 1.2; }
.christmas-theme-intro small { width: 100%; color: var(--xmas-muted); font-size: 12px; }
.christmas-new-badge { padding: 5px 8px; border-radius: 99px; background: var(--xmas-accent); color: var(--xmas-surface); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.christmas-theme-picker > span { width: 100%; color: var(--xmas-muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.christmas-theme-picker button { border: 1px solid color-mix(in srgb, var(--xmas-accent), transparent 67%); border-radius: 99px; background: var(--xmas-surface); color: var(--xmas-ink); padding: 8px 12px; font: 800 12px/1.2 "DM Sans", sans-serif; cursor: pointer; }
.christmas-theme-picker button[aria-pressed="true"] { background: var(--xmas-pine); border-color: var(--xmas-pine); color: var(--xmas-surface); box-shadow: 0 0 0 2px var(--xmas-gold); }
.christmas-theme-picker button:focus-visible { outline: 3px solid var(--xmas-gold); outline-offset: 2px; }
html[data-season="christmas"] body:not(.hub-signed-in) .christmas-welcome h1,
html[data-season="christmas"] body:not(.hub-signed-in) .login-card h2 {
  color: var(--xmas-ink) !important;
}
html[data-season="christmas"] body:not(.hub-signed-in) .christmas-welcome h1 em {
  color: var(--xmas-accent) !important;
}
html[data-season="christmas"] body:not(.hub-signed-in) :is(.christmas-welcome p, .christmas-theme-intro small) {
  color: var(--xmas-muted) !important;
}
html[data-season="christmas"] body:not(.hub-signed-in) .login-card :is(.muted, label) {
  color: var(--xmas-ink) !important;
}
html[data-season="christmas"] .appearance-panel .christmas-theme-picker-compact { max-width: 288px; padding: 8px; }
@keyframes christmas-ornament-float { 50% { transform: translateY(-9px) rotate(4deg); } }
@media (max-width: 790px) {
  html[data-season="christmas"] #screen-login { grid-template-columns: 1fr; padding: 36px 0 15px; gap: 17px; }
  html[data-season="christmas"] .christmas-theme-picker-login { padding: 13px; }
  html[data-season="christmas"] .christmas-welcome { padding: 0; }
  .christmas-welcome h1 { font-size: clamp(38px, 9vw, 58px) !important; }
  .christmas-welcome p { font-size: 13px; }
  .christmas-welcome-ornament { display: none; }
}
@media (prefers-reduced-motion: reduce) { .christmas-welcome-ornament { animation: none; } }
html[data-scroll-motion="off"] .christmas-welcome-ornament { animation: none; }

/* The sign-in palette must win over a saved workspace theme. */
html[data-season="christmas"] body:not(.hub-signed-in) #screen-login .login-card {
  background: var(--xmas-surface) !important;
  color: var(--xmas-ink) !important;
}
html[data-season="christmas"] body:not(.hub-signed-in) #screen-login .login-card :is(h2, label, .muted) {
  color: var(--xmas-ink) !important;
}
html[data-season="christmas"] body:not(.hub-signed-in) #screen-login .login-card :is(.eyebrow, .home-icon-picker > p) {
  color: var(--xmas-accent) !important;
}
html[data-season="christmas"] body:not(.hub-signed-in) #screen-login .login-card input {
  background: #fff !important;
  color: #284239 !important;
}
html[data-season="christmas"] body:not(.hub-signed-in) #screen-login .login-card input::placeholder {
  color: #657c70 !important;
  opacity: 1;
}
html[data-season="christmas"][data-christmas-choice="night"] body:not(.hub-signed-in) #screen-login .login-card input {
  background: #29474b !important;
  color: #f8eed6 !important;
}
html[data-season="christmas"][data-christmas-choice="night"] body:not(.hub-signed-in) #screen-login .login-card input::placeholder {
  color: #c0d0c2 !important;
}
