body  {
      font: 100% Verdana, Arial, Helvetica, sans-serif;
	  background-image:url(../img/bg_blue6.jpg);    
      margin: 0; 
      padding: 0;
      text-align: center;
      color: #000000;
} 

/* ส่วน Page Header */
.thrColFixHdr #header { 
	  background-image:url(../img/header.png);
      padding: 10px 10px;  
	  height: 160px;
	  box-shadow: 0 0 10px rgba(10, 0, 0, 0.65);/*ขนาดเงา*/
} 

/* ส่วน Page Body  ที่บรรจุเนื้อหา */
.thrColFixHdr #container { 
      width: 1200px;  
      background: #FFFFFF;
      margin:  auto; /* the auto margins (in conjunction with a width) center the page */
      border: 1px solid #FFF;
      text-align: left; /* this overrides the text-align: center on the body element. */
	  box-shadow: 0 0 10px rgba(10, 0, 0, 0.65);/*ขนาดเงา*/
	  
} 
 
/* ส่วน คอลัมน์ด้านซ้าย */
.thrColFixHdr #sidebar1 {
      float: left; 
      width: 200px;
	  height: 520px;
      background: #EBEBEB; 
      padding: 0px 0px 0px 0px; 
}
            
/* ส่วนเนื้อหา อยู่ระหว่าง sidebar */
.thrColFixHdr #mainContent {
	width: 400;
      margin: 0 20px; 
      padding: 10 10px 10 20px
} 
 
/* ส่วน Page Footer */
.thrColFixHdr #footer { 
      padding: 0 10px 0 20px; 
	  height: 50px;
      background:#e2e2e0;
	  color: #d8d8d8;
	  font-size: 15px;

} 
 
.clearfloat { 
      clear:both;
}

/*-ปฏิทิน-*/
#calendar_css {
background-color:#F0F0F0;
border-style:solid;
border-width:0px;
border-right-width:0px;
border-bottom-width:0px;
border-color:#cccccc;
}
#calendar_css td{
text-align:center;
font:11px tahoma;
width:2%;
height:18px;
}
#calendar_css thead{
text-align:center;
font:11px tahoma;
width:2%;
height:18px;
background-color:#333333;
color:#FFFFFF;
}
#calendar_css .current{
text-align:center;
font:11px tahoma;
width:2%;
height:18px;
background-color:#FF0000;
color:#FFFFFF;
}
col.holidayCol{
background-color:#FDDFE4;
color:#FF0000;
}
td.monthTitle{
background-color:#666666;
text-align:center;
font:11px bold tahoma;	
}
/*-ปฏิทิน-*/

/*----------------เมนู----------------*/

/* Some stylesheet reset */
#cssmenu > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  line-height: 1;
}
/* The container */
#cssmenu > ul {
  display: block;
  position: relative;
  width: 200px;
  /* The list elements which contain the links */

}
#cssmenu > ul li {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
}
/* General link styling */
#cssmenu > ul li a {
  /* Layout */

  display: block;
  position: relative;
  margin: 0;
  border-top: 1px dotted #3a3a3a;
  border-bottom: 1px dotted #1b1b1b;
  padding: 11px 20px;
  /* Typography */

  font-family: Helvetica, Arial, sans-serif;
  color: #d8d8d8;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 1px 1px #000;
  font-size: 15px;
  font-weight: 300;
  /* Background & effects */

  background: #282828;
}
/* Rounded corners for the first link of the menu/submenus */
#cssmenu > ul li:first-child > a {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-top: 0;
}
/* Rounded corners for the last link of the menu/submenus */
#cssmenu > ul li:last-child > a {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom: 0;
}
/* The hover state of the menu/submenu links */
#cssmenu > ul li > a:hover,
#cssmenu > ul li:hover > a {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
  background: #47ddff;
  background: -webkit-linear-gradient(#67e2fd, #47ddff);
  background: -moz-linear-gradient(#67e2fd, #47ddff);
  background: linear-gradient(#67e2fd, #47ddff);
  border-color: transparent;
}
/* The arrow indicating a submenu */
#cssmenu > ul .has-sub > a::after {
  content: '';
  position: absolute;
  top: 16px;
  right: 10px;
  width: 0px;
  height: 0px;
  /* Creating the arrow using borders */

  border: 4px solid transparent;
  border-left: 4px solid #d8d8d8;
}
/* The same arrow, but with a darker color, to create the shadow effect */
#cssmenu > ul .has-sub > a::before {
  content: '';
  position: absolute;
  top: 17px;
  right: 10px;
  width: 0px;
  height: 0px;
  /* Creating the arrow using borders */

  border: 4px solid transparent;
  border-left: 4px solid #000;
}
/* Changing the color of the arrow on hover */
#cssmenu > ul li > a:hover::after,
#cssmenu > ul li:hover > a::after {
  border-left: 4px solid #ffffff;
}
#cssmenu > ul li > a:hover::before,
#cssmenu > ul li:hover > a::before {
  border-left: 4px solid rgba(0, 0, 0, 0.3);
}
/* THE SUBMENUS */
#cssmenu > ul ul {
  position: absolute;
  left: 100%;
  top: -9999px;
  padding-left: 5px;
  opacity: 0;
  width: 180px;
  /* The fade effect, created using an opacity transition */

  -webkit-transition: opacity 0.3s ease-in;
  -moz-transition: opacity 0.3s ease-in;
  transition: opacity 0.3s ease-in;
}
/* Showing the submenu when the user is hovering the parent link */
#cssmenu > ul li:hover > ul {
  top: 0px;
  opacity: 1;
}
/*----------------เมนู----------------*/


/* ========================================================================
   ZDOC / BUU-ERP — 2026 Modern Blue UI, drop-in visual-only enhancement
   Install: zdoc/fn/temp_css.css   |   2026-10-25
   NO changes to PHP, JS, database, workflow, menu links or form field names.
   Existing background and banner file paths remain unchanged.
   ======================================================================== */

:root {
  --z-blue-950: #0b2545;
  --z-blue-900: #113657;
  --z-blue-800: #13466e;
  --z-blue-700: #0867a8;
  --z-blue-600: #087fc8;
  --z-blue-500: #15a3e6;
  --z-cyan-300: #84dbf9;
  --z-cyan-100: #e0f6ff;
  --z-canvas: #f2f8fe;
  --z-panel: #fff;
  --z-text: #17324e;
  --z-muted: #61778c;
  --z-line: #d8e6f2;
  --z-shadow: 0 18px 56px rgba(17, 53, 86, .14), 0 3px 12px rgba(19, 72, 111, .07);
  --z-radius: 15px;
}

*, *::before, *::after { box-sizing: border-box; }

body.thrColFixHdr {
  margin: 0;
  min-height: 100vh;
  color: var(--z-text);
  background-color: #ccefff;
  background-image:
    radial-gradient(900px 480px at 100% 0%, rgba(87, 192, 245, .52), transparent 70%),
    radial-gradient(850px 440px at 0% 85%, rgba(158, 224, 254, .48), transparent 66%),
    linear-gradient(145deg, #e1f5ff 0%, #edf8ff 48%, #d3f0ff 100%);
  background-attachment: fixed;
  font: 14px/1.65 "Segoe UI", Tahoma, "Noto Sans Thai", Arial, sans-serif;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

.thrColFixHdr #container {
  width: calc(100% - 40px);
  max-width: 1320px;
  min-width: 0;
  margin: 22px auto 28px;
  background: var(--z-panel);
  color: var(--z-text);
  border: 1px solid rgba(139, 194, 228, .45);
  border-radius: 19px;
  box-shadow: var(--z-shadow);
  text-align: left;
  /* Leave dropdowns visible: menu sub-items extend outside sidebar. */
  overflow: visible;
}

/* Keep the original BUU image exactly as the header background. */
.thrColFixHdr #header {
  height: 174px;
  padding: 0;
  border-radius: 18px 18px 0 0;
  border-bottom: 3px solid rgba(66, 180, 231, .55);
  background-color: #63c7ec;
  background-image: url(../img/header.png);
  background-position: center center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 6px 18px rgba(8, 84, 145, .12);
  position: relative;
}

.thrColFixHdr #sidebar1 {
  float: left;
  width: 220px;
  height: auto;
  min-height: 435px;
  margin: 18px 0 20px 18px;
  padding: 0 0 16px;
  border: 1px solid var(--z-line);
  border-radius: 14px;
  background: linear-gradient(180deg, #f3f9ff, #e9f3fc);
  box-shadow: 0 5px 18px rgba(13, 62, 105, .07);
  position: relative;
  z-index: 20;
}

/* Do not change the names or nested structure of the original menu. */
#cssmenu,
#cssmenu > ul { width: 100%; }
#cssmenu > ul { padding: 7px; margin: 0; list-style: none; }
#cssmenu > ul li { width: 100%; }
#cssmenu > ul > li + li { margin-top: 3px; }
#cssmenu > ul li > a {
  display: block;
  min-height: 42px;
  padding: 11px 34px 11px 15px;
  font: 500 13.5px/1.5 "Segoe UI", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
  color: #dceeff;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  background: var(--z-blue-900);
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 8px;
  transition: background-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
#cssmenu > ul li:first-child > a,
#cssmenu > ul li:last-child > a { border-radius: 8px; border-top: 1px solid rgba(255,255,255,.055); }
#cssmenu > ul li > a:hover,
#cssmenu > ul li:hover > a,
#cssmenu > ul li > a:focus-visible,
#cssmenu > ul li.active > a,
#cssmenu > ul li.current > a,
#cssmenu > ul li.selected > a {
  color: #fff;
  background: linear-gradient(110deg, #087bbd, #24b5e8);
  border-color: rgba(105, 209, 255, .75);
  box-shadow: 0 4px 13px rgba(24, 143, 205, .24);
  text-shadow: none;
}
#cssmenu > ul li > a:focus-visible,
.thrColFixHdr input:focus-visible,
.thrColFixHdr select:focus-visible,
.thrColFixHdr button:focus-visible,
.thrColFixHdr a:focus-visible {
  outline: 3px solid rgba(25, 170, 235, .5);
  outline-offset: 2px;
}
#cssmenu > ul li.has-sub > a::after {
  border-left-color: #aee5ff;
  top: 17px;
  right: 12px;
}
#cssmenu > ul li.has-sub > a::before {
  display: none;
}
#cssmenu > ul ul {
  width: 222px;
  left: 100%;
  padding: 6px;
  border: 1px solid #d5e8f8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(12, 57, 94, .2);
  z-index: 100;
  transition: opacity .13s ease;
}
#cssmenu > ul li:hover > ul,
#cssmenu > ul li:focus-within > ul {
  top: 0;
  opacity: 1;
}
#cssmenu > ul ul li > a {
  color: #204b6c;
  background: #f5fafe;
  border: 1px solid transparent;
  padding: 10px 24px 10px 11px;
}
#cssmenu > ul ul li > a:hover,
#cssmenu > ul ul li:hover > a,
#cssmenu > ul ul li > a:focus-visible {
  background: #dff4ff;
  color: #075989;
  border-color: #c0e5fa;
  box-shadow: none;
}

/* White content canvas. Keep legacy fixed-width form tables usable. */
.thrColFixHdr #mainContent {
  width: auto;
  min-width: 0;
  min-height: 390px;
  margin: 0 24px 20px 257px;
  padding: 22px 0 26px;
  overflow-x: auto;
  scrollbar-color: #a9d7ec transparent;
}
.thrColFixHdr #content_right {
  min-width: 0;
  margin: 22px 24px 16px 257px;
  padding: 0;
}
.thrColFixHdr #mainContent #content_right {
  margin: 0 0 18px;
}
.thrColFixHdr #content_right h3,
.thrColFixHdr #mainContent h3 {
  color: var(--z-blue-900);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 700;
  border-left: 4px solid var(--z-blue-500);
  padding: 7px 0 7px 13px;
  margin: 0 0 14px;
}

/* Small upgrades across existing HTML forms without changing any field names. */
.thrColFixHdr input[type="text"],
.thrColFixHdr input[type="password"],
.thrColFixHdr input[type="number"],
.thrColFixHdr input[type="date"],
.thrColFixHdr input[type="search"],
.thrColFixHdr select,
.thrColFixHdr textarea {
  max-width: 100%;
  color: #183d5d;
  font: 14px/1.5 "Segoe UI", Tahoma, Arial, sans-serif;
  background-color: #fff;
  border: 1px solid #b7d3e7;
  border-radius: 8px;
  padding: 7px 9px;
  box-shadow: 0 1px 2px rgba(15, 83, 127, .045);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.thrColFixHdr input[type="text"]:focus,
.thrColFixHdr input[type="password"]:focus,
.thrColFixHdr input[type="number"]:focus,
.thrColFixHdr select:focus,
.thrColFixHdr textarea:focus {
  outline: none;
  border-color: var(--z-blue-500);
  box-shadow: 0 0 0 3px rgba(21, 163, 230, .17);
}
.thrColFixHdr input[type="checkbox"],
.thrColFixHdr input[type="radio"] { accent-color: #087fc8; }
.thrColFixHdr input[type="submit"],
.thrColFixHdr input[type="button"],
.thrColFixHdr button:not(.dpButton):not(.dpTodayButton) {
  color: #fff;
  font: 600 13.5px "Segoe UI", Tahoma, Arial, sans-serif;
  cursor: pointer;
  border: 1px solid #087fbd;
  border-radius: 8px;
  background: linear-gradient(115deg, #087fc8, #18a8e2);
  padding: 9px 17px;
  box-shadow: 0 4px 12px rgba(4, 122, 187, .14);
  transition: filter .16s ease, box-shadow .16s ease;
}
.thrColFixHdr input[type="submit"]:hover,
.thrColFixHdr input[type="button"]:hover,
.thrColFixHdr button:not(.dpButton):not(.dpTodayButton):hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 16px rgba(4, 122, 187, .22);
}
.thrColFixHdr input[type="reset"] {
  font: 600 13px "Segoe UI", Tahoma, Arial, sans-serif;
  color: #49657a;
  background: #edf5fa;
  border: 1px solid #c7deee;
  border-radius: 8px;
  padding: 9px 15px;
  cursor: pointer;
}
.thrColFixHdr a { color: #066da9; }
.thrColFixHdr a:hover { color: #004d7a; }

/* Preserve status colors: existing bgcolor cells (green, yellow, red) are meaningful. */
.thrColFixHdr table[bgcolor="#C2CFDF" i] {
  border: 1px solid #cbdde9;
  background: #ebf3fb;
  font-size: 13px;
}
.thrColFixHdr table[bgcolor="#C2CFDF" i] td,
.thrColFixHdr table[bgcolor="#C2CFDF" i] th {
  padding: 5px 7px;
  border-color: #c6dbea;
  vertical-align: middle;
}
.thrColFixHdr table[bgcolor="#FFFFCC" i] {
  background-color: #f0f9ff;
  border: 1px solid #96d1ef;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(16, 122, 186, .065);
}
.thrColFixHdr table[bgcolor="#99FF99" i] {
  background-color: #e9fbf5;
  border-color: #8ddbc4;
  border-radius: 12px;
}
.thrColFixHdr table[bgcolor="#b3e5fc" i] {
  background-color: #e2f5ff;
  border-color: #9ccdec;
  border-radius: 12px;
}

.thrColFixHdr #footer {
  height: auto;
  min-height: 62px;
  padding: 17px 22px;
  border-radius: 0 0 18px 18px;
  border-top: 1px solid #d8e8f5;
  color: #55718b;
  background: linear-gradient(90deg, #eff8ff, #e1f1fd);
  text-align: center;
  font: 13px/1.5 "Segoe UI", Tahoma, Arial, sans-serif;
}
.thrColFixHdr #footer p { margin: 0; color: #55718b; }
.thrColFixHdr #footer a { color: #0871aa; }

/* Responsive: mobile keeps old oversized report tables scrollable, not squashed. */
@media (max-width: 1100px) {
  .thrColFixHdr #container { width: calc(100% - 24px); margin: 12px auto 20px; }
  .thrColFixHdr #sidebar1 { width: 206px; margin-left: 12px; }
  .thrColFixHdr #mainContent { margin-left: 233px; margin-right: 16px; }
  .thrColFixHdr #content_right { margin-left: 233px; margin-right: 16px; }
}
@media (max-width: 760px) {
  .thrColFixHdr #container { width: calc(100% - 12px); border-radius: 12px; margin: 6px auto 12px; }
  /* On narrow phones, the old bitmap banner would be cut off. Render a readable
     blue-brand header using CSS only; desktop still shows the original BUU image. */
  .thrColFixHdr #header {
    height: 114px;
    border-radius: 11px 11px 0 0;
    background-image: linear-gradient(120deg, #0d649c 0%, #0a96cd 57%, #5acdec 100%);
    background-size: cover;
    display: flex;
    align-items: center;
  }
  .thrColFixHdr #header::before {
    content: "BUU";
    position: absolute;
    left: 14px;
    top: 25px;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255,255,255,.8);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 17px/1 "Segoe UI", sans-serif;
    letter-spacing: 1px;
    background: rgba(255,255,255,.13);
  }
  .thrColFixHdr #header::after {
    content: "ระบบติดตามเอกสารการเงิน\A กองคลังและทรัพย์สิน มหาวิทยาลัยบูรพา";
    position: absolute;
    left: 84px;
    right: 10px;
    color: #fff;
    font: 700 14px/1.8 "Segoe UI", Tahoma, sans-serif;
    white-space: pre-line;
    text-shadow: 0 1px 3px rgba(2,59,92,.25);
  }
  .thrColFixHdr #sidebar1 {
    float: none;
    width: auto;
    min-height: 0;
    margin: 12px 12px 0;
    padding-bottom: 5px;
  }
  #cssmenu > ul { width: auto; }
  #cssmenu > ul li > a { min-height: 39px; padding-top: 9px; padding-bottom: 9px; }
  #cssmenu > ul ul {
    display: none;
    position: static;
    top: auto;
    left: auto;
    width: auto;
    opacity: 1;
    margin: 4px 0 8px 12px;
    border-radius: 8px;
    box-shadow: none;
  }
  #cssmenu > ul li:hover > ul,
  #cssmenu > ul li:focus-within > ul { display: block; }
  #cssmenu > ul li.has-sub > a::after {
    transform: rotate(90deg);
  }
  .thrColFixHdr #content_right,
  .thrColFixHdr #mainContent { margin: 0 12px; padding-top: 18px; }
  .thrColFixHdr #mainContent {
    min-height: 220px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .thrColFixHdr #mainContent #content_right { margin: 0 0 14px; }
  .thrColFixHdr #content_right h3,
  .thrColFixHdr #mainContent h3 { font-size: 15px; }
  .thrColFixHdr #footer { border-radius: 0 0 11px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  #cssmenu > ul li > a,
  .thrColFixHdr input,
  .thrColFixHdr select,
  .thrColFixHdr button,
  .thrColFixHdr textarea { transition: none !important; }
}

/* ZDOC 2026 — User photo BETWEEN the menu and the existing username/role.
   The legacy role menus render #cssmenu before the name block.
   Attach the photo to the menu, NOT the whole sidebar, so it appears
   before the name and role on every legacy page. */
.thrColFixHdr #sidebar1::after {
    content: none !important; /* remove the old, wrongly positioned photo */
    display: none !important;
}
.thrColFixHdr #sidebar1 #cssmenu::after {
    content: "";
    display: block;
    box-sizing: border-box;
    width: calc(100% - 26px);
    height: 216px;
    margin: 20px auto 14px;
    border: 5px solid #fff;
    border-radius: 13px;
    background-color: #fff;
    background-image: url("zdoc_sidebar_photo.php?v=20261026c");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    box-shadow: 0 8px 22px rgba(13, 66, 113, .15);
    clear: both;
}
/* No sidebar photo on HOME: the personal dashboard already has a large photo. */
.thrColFixHdr #container.zh-shell #sidebar1::after,
.thrColFixHdr #container.zh-shell #sidebar1 #cssmenu::after {
    content: none !important;
    display: none !important;
}
@media (max-width: 760px) {
    .thrColFixHdr #sidebar1 #cssmenu::after {
        width: min(194px, calc(100% - 28px));
        height: 220px;
        margin: 15px auto 10px;
    }
}


/* แสดง Mascot ที่มุมขวาล่างของ Footer */
.thrColFixHdr #footer {
    position: relative;
    min-height: 150px;
    padding-right: 180px;
}

/* รูป Mascot */
.thrColFixHdr #footer::after {
    content: "";
    position: absolute;
    right: 20px;
    bottom: 5px;

    width: 150px;
    height: 145px;

    background-image: url("../img/mascot.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;

    pointer-events: none;
}

/* ปรับขนาดบนมือถือ */
@media (max-width: 760px) {
    .thrColFixHdr #footer {
        padding-right: 105px;
    }

    .thrColFixHdr #footer::after {
        width: 90px;
        height: 90px;
        right: 8px;
        bottom: 8px;
    }
}

/* ========================================================================
   Finance Workflow System | Gentle, random weather in the OUTER SIDE GUTTERS
   2026-10-26 | purely cosmetic, no dependencies and no workflow changes
   JavaScript from footer.php sets the .zdoc-weather-* class and lane widths.
   ======================================================================== */
body.thrColFixHdr.zdoc-weather-sunny {
    background-color: #d8f2ff;
    background-image: radial-gradient(ellipse at 95% 15%, #c4edff 0%, transparent 42%),
                      linear-gradient(150deg, #e4f6ff, #c7eaff 58%, #e7f8ff);
}
body.thrColFixHdr.zdoc-weather-sunrise {
    background-color: #e9eaff;
    background-image: radial-gradient(ellipse at 0% 92%, rgba(255,188,135,.65), transparent 53%),
                      linear-gradient(165deg, #d4eafe, #e5f1ff 52%, #ffebd5);
}
body.thrColFixHdr.zdoc-weather-rain {
    background-color: #b4d0e3;
    background-image: linear-gradient(150deg, #90bdd7, #d2e5f3 60%, #b8d8ea);
}
body.thrColFixHdr.zdoc-weather-snow {
    background-color: #dcefff;
    background-image: linear-gradient(155deg, #fbfeff, #d0e9fb 50%, #e7f7ff);
}

/* Weather is behind the white application, never above forms, menus or footer. */
body.thrColFixHdr #container {
    position: relative;
    z-index: 2;
}
#zdoc-weather-layer {
    position: fixed;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}
#zdoc-weather-layer .zdoc-weather-lane {
    position: absolute;
    top: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}
#zdoc-weather-layer .zdoc-weather-left { left: 0; }
#zdoc-weather-layer .zdoc-weather-right { right: 0; }

/* Snow: brighter, larger flakes so they are clearly visible in the side gutters. */
#zdoc-weather-layer .zdoc-weather-flake {
    position: absolute;
    top: -28px;
    display: block;
    border-radius: 50%;
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 0 10px rgba(255,255,255,.95), 0 0 18px rgba(116,191,255,.55), 0 0 26px rgba(116,191,255,.25);
    animation: zdoc-snow-fall linear infinite;
    pointer-events: none;
}
@keyframes zdoc-snow-fall {
    from { transform: translate3d(0,-22px,0); }
    to   { transform: translate3d(16px,110vh,0); }
}

/* Rain: stronger, brighter drops so the effect is clearly visible. */
#zdoc-weather-layer .zdoc-weather-drop {
    position: absolute;
    top: -42px;
    display: block;
    width: 2px;
    background: linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.92) 45%, rgba(181,227,255,.95) 100%);
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(255,255,255,.45), 0 0 10px rgba(121,196,255,.28);
    transform: rotate(14deg);
    animation: zdoc-rain-fall linear infinite;
    pointer-events: none;
}
@keyframes zdoc-rain-fall {
    from { transform: translate3d(0,-42px,0) rotate(14deg); }
    to   { transform: translate3d(-17px,110vh,0) rotate(14deg); }
}

/* Sunny/sunrise: a gentle luminous orb and a couple of drifting clouds. */
#zdoc-weather-layer .zdoc-weather-sun {
    position: absolute;
    display: block;
    width: 165px;
    height: 165px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,250,207,.98) 0% 17%,
                  rgba(255,228,136,.86) 31%, rgba(255,226,130,.27) 54%, transparent 74%);
    filter: drop-shadow(0 0 18px rgba(255,223,135,.30));
    pointer-events: none;
}
#zdoc-weather-layer .zdoc-weather-sun.zdoc-weather-sunrise-orb {
    background: radial-gradient(circle, rgba(255,243,193,.98) 0% 16%,
                  rgba(255,180,126,.80) 35%, rgba(255,160,132,.20) 59%, transparent 76%);
}
#zdoc-weather-layer .zdoc-weather-cloud {
    position: absolute;
    display: block;
    width: 92px;
    height: 31px;
    border-radius: 90px;
    background: rgba(255,255,255,.45);
    filter: blur(1.2px);
    box-shadow: -20px 7px 0 5px rgba(255,255,255,.20),
                 22px 6px 0 9px rgba(255,255,255,.24);
    opacity: .7;
    animation: zdoc-cloud-drift 23s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes zdoc-cloud-drift {
    from { transform: translateX(-9px); }
    to   { transform: translateX(15px); }
}

/* Respect accessible reduced-motion settings. */
@media (prefers-reduced-motion: reduce) {
    #zdoc-weather-layer .zdoc-weather-flake,
    #zdoc-weather-layer .zdoc-weather-drop,
    #zdoc-weather-layer .zdoc-weather-cloud { animation: none !important; }
}

/* Narrow displays have almost no side gutters: do not animate them. */
@media (max-width: 1100px) {
    #zdoc-weather-layer { display: none !important; }
}


/* =====================================================================
   Finance Workflow System | TWO EXTRA SIDE THEMES | 2026-10-28
   Night: twinkling stars, moon, shooting stars
   Space: bright stars, nebulae, planets with rings
   All effects are clipped to #zdoc-weather-layer's outer lanes.
   ===================================================================== */
body.thrColFixHdr.zdoc-weather-night {
    background-color: #0a1834;
    background-image:
        radial-gradient(ellipse at 10% 16%, rgba(70, 111, 190, .45), transparent 35%),
        radial-gradient(ellipse at 94% 72%, rgba(24, 91, 153, .34), transparent 44%),
        linear-gradient(158deg, #09152d 4%, #10244b 48%, #07152e 100%);
    background-attachment: fixed;
}
body.thrColFixHdr.zdoc-weather-space {
    background-color: #060923;
    background-image:
        radial-gradient(ellipse at 4% 50%, rgba(119, 56, 188, .43), transparent 29%),
        radial-gradient(ellipse at 96% 25%, rgba(19, 111, 191, .46), transparent 38%),
        radial-gradient(ellipse at 92% 90%, rgba(169, 57, 130, .30), transparent 32%),
        linear-gradient(140deg, #05091e, #121035 53%, #06132d);
    background-attachment: fixed;
}

#zdoc-weather-layer .zdoc-weather-star {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 5px 1px rgba(226,240,255,.60);
    opacity: .9;
    animation: zdoc-star-twinkle ease-in-out infinite alternate;
}
#zdoc-weather-layer .zdoc-weather-star.zdoc-weather-star-bright {
    background: #faffff;
    box-shadow: 0 0 8px 2px rgba(232,250,255,.90), 0 0 16px rgba(121,197,255,.70);
}
#zdoc-weather-layer .zdoc-weather-star.zdoc-weather-star-bright::before,
#zdoc-weather-layer .zdoc-weather-star.zdoc-weather-star-bright::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, transparent, rgba(246,252,255,.78), transparent);
    pointer-events: none;
}
#zdoc-weather-layer .zdoc-weather-star.zdoc-weather-star-bright::before {
    width: 17px; height: 1px;
}
#zdoc-weather-layer .zdoc-weather-star.zdoc-weather-star-bright::after {
    width: 1px; height: 17px;
    background: linear-gradient(180deg, transparent, rgba(246,252,255,.78), transparent);
}
@keyframes zdoc-star-twinkle {
    0% { opacity: .27; transform: scale(.7); }
    100% { opacity: 1; transform: scale(1.17); }
}

/* Shooting stars: an occasional bright comet streak, not constant flashing. */
#zdoc-weather-layer .zdoc-weather-shooting {
    position: absolute;
    display: block;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, rgba(182,219,255,0), rgba(184,228,255,.68) 57%, #fff 100%);
    box-shadow: 0 0 5px rgba(178,225,255,.87), 0 0 14px rgba(142,206,255,.55);
    opacity: 0;
    animation: zdoc-shooting-star linear infinite;
    pointer-events: none;
}
#zdoc-weather-layer .zdoc-weather-shooting::after {
    content: '';
    position: absolute;
    right: 0; top: -2px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px 3px rgba(235,248,255,.92);
}
@keyframes zdoc-shooting-star {
    0%, 69% { opacity: 0; transform: translate3d(0,0,0) rotate(-31deg); }
    73% { opacity: .96; transform: translate3d(-10px,10px,0) rotate(-31deg); }
    84% { opacity: .9; transform: translate3d(-48px,70px,0) rotate(-31deg); }
    91%, 100% { opacity: 0; transform: translate3d(-74px,102px,0) rotate(-31deg); }
}

#zdoc-weather-layer .zdoc-weather-moon {
    position: absolute;
    display: block;
    border-radius: 50%;
    background:
        radial-gradient(circle at 37% 27%, rgba(230,236,252,.82) 0 8%, transparent 9%),
        radial-gradient(circle at 64% 66%, rgba(214,226,247,.72) 0 7%, transparent 8%),
        radial-gradient(circle at 55% 38%, rgba(216,225,245,.59) 0 5%, transparent 6%),
        radial-gradient(circle at 33% 29%, #fff 0%, #f5f9ff 43%, #b9d4f5 100%);
    box-shadow: 0 0 22px 7px rgba(215,232,255,.33), 0 0 54px 23px rgba(150,198,255,.13);
    opacity: .96;
}

/* Nebulae and ringed planets distinguish SPACE from the night sky. */
#zdoc-weather-layer .zdoc-weather-nebula {
    position: absolute;
    display: block;
    width: 95%;
    height: 32%;
    border-radius: 50%;
    filter: blur(23px);
    background: radial-gradient(ellipse, rgba(151,75,234,.36) 0%, rgba(45,95,224,.24) 38%, transparent 73%);
    opacity: .86;
    pointer-events: none;
}
#zdoc-weather-layer .zdoc-weather-nebula-blue {
    background: radial-gradient(ellipse, rgba(53,190,233,.42) 0%, rgba(67,90,217,.21) 41%, transparent 75%);
}
#zdoc-weather-layer .zdoc-weather-planet {
    position: absolute;
    display: block;
    border-radius: 50%;
    box-shadow: inset -13px -10px 22px rgba(3,8,42,.68), inset 7px 6px 13px rgba(255,255,255,.20), 0 0 25px rgba(140,162,255,.28);
    pointer-events: none;
}
#zdoc-weather-layer .zdoc-weather-planet-ringed {
    background:
        repeating-linear-gradient(160deg, transparent 0 14px, rgba(255,230,201,.13) 15px 20px),
        radial-gradient(circle at 32% 26%, #f7d9a9 0%, #c19fc8 32%, #755eaf 65%, #3b3067 100%);
}
#zdoc-weather-layer .zdoc-weather-planet-ringed::after {
    content: '';
    position: absolute;
    left: -28%; top: 38%;
    width: 156%; height: 28%;
    border: 5px solid rgba(240,208,169,.82);
    border-left-color: rgba(193,174,255,.48);
    border-bottom-color: rgba(255,241,206,.89);
    border-radius: 50%;
    transform: rotate(-26deg);
    box-shadow: 0 0 9px rgba(255,231,181,.44);
}
#zdoc-weather-layer .zdoc-weather-planet-blue {
    background:
        radial-gradient(circle at 30% 28%, rgba(220,251,255,.86), transparent 32%),
        repeating-linear-gradient(155deg, transparent 0 14px, rgba(28,53,173,.20) 15px 24px),
        radial-gradient(circle at 32% 26%, #6ae9ed, #3585d9 52%, #262d87 100%);
}

@media (prefers-reduced-motion: reduce) {
    #zdoc-weather-layer .zdoc-weather-star,
    #zdoc-weather-layer .zdoc-weather-shooting { animation: none !important; }
    #zdoc-weather-layer .zdoc-weather-shooting { display: none !important; }
    #zdoc-weather-layer .zdoc-weather-star { opacity: .9 !important; transform: none !important; }
}


/* ===========================================================================
   FINANCE WORKFLOW SYSTEM • MERRY CHRISTMAS & HAPPY NEW YEAR 2027
   Season: Nov 15 – Jan 10 | Decoration only, preserves all forms and content.
   Layer position is always OUTSIDE #container; no overlay on application text.
   ========================================================================= */
body.thrColFixHdr.zdoc-festive {
    background-color: #062e2a;
    background-image:
      radial-gradient(ellipse at 0% 20%, rgba(210,38,64,.24), transparent 32%),
      radial-gradient(ellipse at 100% 72%, rgba(227,182,66,.21), transparent 31%),
      radial-gradient(ellipse at 10% 95%, rgba(10,111,74,.48), transparent 41%),
      linear-gradient(135deg,#03151b 0%,#073d34 47%,#112630 100%);
    background-attachment: fixed;
}
/* The existing university header image remains fully visible. */
body.thrColFixHdr.zdoc-festive #container {
    position: relative;
    z-index: 2;
    background: #fff;
    border: 2px solid #d8b35d;
    box-shadow: 0 0 0 6px rgba(231,197,103,.12),
                0 16px 60px rgba(0,10,15,.44),
                0 0 55px rgba(223,183,75,.20);
}
body.thrColFixHdr.zdoc-festive #header {
    border-bottom: 5px solid #d0a64c;
    box-shadow: 0 5px 16px rgba(88,53,10,.12);
}
body.thrColFixHdr.zdoc-festive #header::after {
    content: "";
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 5px;
    background: repeating-linear-gradient(90deg,#a92138 0 20px,#f3d88a 20px 29px,#087348 29px 49px,#f3d88a 49px 58px);
    opacity: .92;
    pointer-events: none;
}
/* Keep every status label, colored scan table, chart and AP number readable. */
body.thrColFixHdr.zdoc-festive #sidebar1 {
    border-color: #d5dfcc;
    background: linear-gradient(180deg,#f3faf3,#fef9ee);
    box-shadow: 0 5px 22px rgba(20,78,54,.10);
}
body.thrColFixHdr.zdoc-festive #cssmenu > ul li > a {
    background: linear-gradient(106deg,#0b493b,#11634a);
    color: #fff;
    border-color: rgba(224,197,125,.22);
}
body.thrColFixHdr.zdoc-festive #cssmenu > ul li > a:hover,
body.thrColFixHdr.zdoc-festive #cssmenu > ul li:hover > a,
body.thrColFixHdr.zdoc-festive #cssmenu > ul li > a:focus-visible,
body.thrColFixHdr.zdoc-festive #cssmenu > ul li.active > a,
body.thrColFixHdr.zdoc-festive #cssmenu > ul li.current > a {
    color: #fff;
    background: linear-gradient(105deg,#a42638,#cf4654);
    border-color: #e8bd6e;
    box-shadow: 0 4px 15px rgba(139,27,44,.22);
}
/* Dropdown submenus remain legible; preserve existing layout. */
body.thrColFixHdr.zdoc-festive #cssmenu > ul ul { border-color: #d0dfd2; }
body.thrColFixHdr.zdoc-festive #cssmenu > ul ul li > a {
    background: #f4faf5; color: #1b513b;
}
body.thrColFixHdr.zdoc-festive #cssmenu > ul ul li > a:hover {
    background: #e9f3dc; color: #8b2837;
}
body.thrColFixHdr.zdoc-festive #footer {
    border-top: 3px solid #e3bc64;
    background: linear-gradient(90deg,#f5faf1,#fff9eb,#f5faf1);
    color: #32564b;
}
body.thrColFixHdr.zdoc-festive #footer p { color: #32564b; }
/* The old 6 random weather themes are hidden during the holiday theme. */
body.thrColFixHdr.zdoc-festive #zdoc-weather-layer { display: none !important; }

/* Fixed visual canvas; the ONLY content it contains is the two outside lanes. */
#zdoc-christmas-layer {
    position: fixed;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}
#zdoc-christmas-layer .zxm-lane {
    position: absolute;
    top: 0; bottom: 0;
    overflow: hidden;
    pointer-events: none;
    isolation: isolate;
}
#zdoc-christmas-layer .zxm-lane-left { left: 0; }
#zdoc-christmas-layer .zxm-lane-right { right: 0; }
#zdoc-christmas-layer .zxm-lane::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at 50% 88%,rgba(50,174,108,.18),transparent 46%);
}
/* Shimmering string-light cable and hanging bulb shapes */
#zdoc-christmas-layer .zxm-lights {
    position: absolute;
    top: 9px; left: 1px; right: 1px;
    height: 52px;
    border-top: 2px solid rgba(226,187,104,.90);
    border-radius: 50% 50% 0 0;
}
#zdoc-christmas-layer .zxm-light {
    position: absolute;
    top: 7px;
    width: 9px; height: 13px;
    border-radius: 48% 48% 54% 54%;
    background: var(--bulb-color,#ffe59b);
    box-shadow: 0 0 8px 2px var(--bulb-glow,rgba(255,232,155,.8));
    animation: zxm-bulb 2.3s ease-in-out infinite alternate;
}
#zdoc-christmas-layer .zxm-light::before {
    content: "";
    position: absolute; top: -6px; left: 3px;
    width: 3px; height: 6px;
    border-left: 1px solid #cba85b;
}
@keyframes zxm-bulb { 0% { opacity: .62; filter: brightness(.76); }
                      100% { opacity: 1; filter: brightness(1.42); } }
/* Each snowflake is clipped inside its own outside lane. */
#zdoc-christmas-layer .zxm-flake {
    position: absolute;
    top: -25px;
    border-radius: 50%;
    background: #f9fdff;
    box-shadow: 0 0 7px rgba(255,255,255,.88),0 0 16px rgba(178,229,255,.52);
    animation: zxm-snow-fall linear infinite;
}
@keyframes zxm-snow-fall {
    from { transform: translate3d(0,-28px,0) rotate(0deg); }
    to { transform: translate3d(21px,110vh,0) rotate(270deg); }
}
#zdoc-christmas-layer .zxm-twinkle {
    position: absolute;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: #fff1b8;
    box-shadow: 0 0 8px 3px rgba(255,222,145,.58);
    animation: zxm-twinkle 2.8s ease-in-out infinite alternate;
}
@keyframes zxm-twinkle { from { opacity: .18; transform: scale(.6); }
                          to { opacity: 1; transform: scale(1.5); } }
/* Premium holiday greeting plaques: placed only in side margins. */
#zdoc-christmas-layer .zxm-greeting {
    position: absolute;
    left: 50%; top: 17%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 210px;
    border: 1.5px solid #eac879;
    border-radius: 14px;
    padding: 16px 8px 12px;
    text-align: center;
    color: #fff9e8;
    background: linear-gradient(140deg,rgba(118,19,39,.96),rgba(34,85,61,.97));
    box-shadow: 0 9px 26px rgba(1,9,16,.34),inset 0 0 15px rgba(255,210,97,.10);
    font-family: Georgia,"Segoe UI",sans-serif;
    letter-spacing: .05em;
    font-size: clamp(11px,1.1vw,17px);
    font-weight: 800;
    line-height: 1.35;
    text-shadow: 0 2px 6px rgba(0,0,0,.36);
}
#zdoc-christmas-layer .zxm-greeting::before {
    content: "✦  ✧  ✦";
    display: block;
    margin-bottom: 7px;
    color: #ffe8a3;
    font-size: 14px;
    line-height: 1;
}
#zdoc-christmas-layer .zxm-greeting em {
    display:block;
    font-style:normal;
    font-size: .88em;
    color: #ffe6ac;
}
/* Seasonal tree drawn entirely with CSS, no third-party image/network request. */
#zdoc-christmas-layer .zxm-tree {
    position: absolute;
    bottom: 7%; left: 50%;
    transform: translateX(-50%);
    width: var(--tree-width,180px);
    height: calc(var(--tree-width,180px) * 1.44);
    filter: drop-shadow(0 9px 16px rgba(0,0,0,.40));
}
#zdoc-christmas-layer .zxm-tree-trunk {
    position:absolute;
    width: 15%; height: 21%;
    left: 42.5%; bottom: 1%;
    background:linear-gradient(90deg,#65401e,#a27637,#634019);
    border-radius: 3px;
}
#zdoc-christmas-layer .zxm-tree-tier {
    position: absolute;
    clip-path: polygon(50% 0%,100% 100%,0% 100%);
    background: repeating-linear-gradient(120deg,rgba(225,255,176,.08) 0 5px,transparent 6px 12px),
                linear-gradient(115deg,#07573c,#0f9260 50%,#04392c);
    filter: drop-shadow(0 2px 4px rgba(9,35,23,.65));
}
#zdoc-christmas-layer .zxm-tier-1 { top: 12%; left: 27%; width: 46%; height: 40%; z-index: 3; }
#zdoc-christmas-layer .zxm-tier-2 { top: 30%; left: 15%; width: 70%; height: 43%; z-index: 2; }
#zdoc-christmas-layer .zxm-tier-3 { top: 48%; left: 3%; width: 94%; height: 46%; z-index: 1; }
#zdoc-christmas-layer .zxm-tree-top {
    position: absolute;
    left: 50%; top: 4%; z-index: 6;
    transform:translateX(-50%);
    color:#ffe190;
    font:900 34px/1 Georgia,serif;
    text-shadow:0 0 12px #ffe57e,0 0 28px rgba(255,210,81,.9);
    animation:zxm-tree-star 3s ease-in-out infinite alternate;
}
@keyframes zxm-tree-star {from{filter:brightness(.9); transform:translateX(-50%) scale(.96)}
                           to{filter:brightness(1.55);transform:translateX(-50%) scale(1.08)}}
#zdoc-christmas-layer .zxm-ornament {
    position:absolute;
    width:10px;height:10px;
    border-radius:50%;
    z-index:7;
    background:radial-gradient(circle at 32% 28%,#fff9df,var(--orn-color,#e84b58) 38%,#5c2227 100%);
    box-shadow: 0 0 8px var(--orn-glow,rgba(255,190,117,.65));
    animation: zxm-ornament-glow 3.2s ease-in-out infinite alternate;
}
@keyframes zxm-ornament-glow {from{filter:brightness(.78)}to{filter:brightness(1.32)}}
#zdoc-christmas-layer .zxm-gift {
    position:absolute;
    bottom:0; z-index:9;
    width:27%;height:17%;
    background:linear-gradient(110deg,var(--gift-primary,#b52d42),var(--gift-secondary,#e24d62));
    border-radius:4px;
    box-shadow:0 4px 7px rgba(0,0,0,.22);
}
#zdoc-christmas-layer .zxm-gift::before {
    content:"";position:absolute;left:42%;top:-5%;bottom:0;width:17%;background:#fbe6a7;
}
#zdoc-christmas-layer .zxm-gift::after {
    content:"";position:absolute;left:0;right:0;top:37%;height:18%;background:#fbe6a7;
}
#zdoc-christmas-layer .zxm-gift-one { left:6%;transform:rotate(-8deg); }
#zdoc-christmas-layer .zxm-gift-two { right:3%;transform:rotate(6deg);--gift-primary:#1c79a6;--gift-secondary:#3aafc2; }
/* Fireworks: slow, occasional gold/blue bursts on the OUTER margins only. */
#zdoc-christmas-layer .zxm-firework {
    position:absolute;
    width:110px;height:110px;
    transform:translate(-50%,-50%);
    animation:zxm-burst-opacity 9s ease-out infinite;
}
#zdoc-christmas-layer .zxm-firework i {
    position:absolute;
    left:50%;top:50%;
    width:3px;height:27px;
    border-radius:99px;
    transform:rotate(var(--ray-angle,0deg)) translateY(-40px);
    background:linear-gradient(180deg,rgba(255,255,255,0),var(--ray-color,#f7d982));
    box-shadow:0 0 8px var(--ray-color,#f7d982);
}
@keyframes zxm-burst-opacity {
    0%,52% {opacity:0;filter:blur(4px) brightness(.6);transform:translate(-50%,-50%) scale(.28)}
    58% {opacity:.98;filter:blur(0) brightness(1.2);transform:translate(-50%,-50%) scale(.85)}
    70% {opacity:.70;filter:blur(1px) brightness(1);transform:translate(-50%,-50%) scale(1.3)}
    78%,100% {opacity:0;filter:blur(4px);transform:translate(-50%,-50%) scale(1.52)}
}
@media (max-width:1450px) {
    /* Side gutters become narrow at standard laptop resolutions. */
    #zdoc-christmas-layer .zxm-greeting {font-size:11px;padding:10px 5px;}
    #zdoc-christmas-layer .zxm-firework {display:none;}
}
@media (max-width:1100px) {
    #zdoc-christmas-layer {display:none!important;}
    body.thrColFixHdr.zdoc-festive #container {box-shadow:0 5px 22px rgba(0,33,20,.13);}
}
/* On mobile the existing CSS puts the readable BUU title in #header::after.
   Restore that text instead of applying the desktop 5px decorative stripe. */
@media (max-width:760px) {
    body.thrColFixHdr.zdoc-festive #header::after {
        content: "ระบบติดตามเอกสารการเงิน\A กองคลังและทรัพย์สิน มหาวิทยาลัยบูรพา";
        position: absolute;
        left: 84px; right: 10px; top: auto; bottom: auto;
        width: auto; height: auto;
        background: none;
        opacity: 1;
        color: #fff;
        font: 700 14px/1.8 "Segoe UI",Tahoma,sans-serif;
        white-space: pre-line;
        text-shadow: 0 1px 3px rgba(2,59,92,.25);
    }
}
@media (prefers-reduced-motion:reduce) {
    #zdoc-christmas-layer .zxm-flake,
    #zdoc-christmas-layer .zxm-twinkle,
    #zdoc-christmas-layer .zxm-light,
    #zdoc-christmas-layer .zxm-tree-top,
    #zdoc-christmas-layer .zxm-ornament,
    #zdoc-christmas-layer .zxm-firework {animation:none!important;}
    #zdoc-christmas-layer .zxm-firework {display:none!important;}
}


/* =====================================================================
   Seasonal background music controls: deliberately placed INSIDE footer,
   never floating over forms, labels, tables, or the central workspace.
   ===================================================================== */
body.thrColFixHdr.zdoc-festive #footer .zxm-music-controls {
    position: relative;
    display: flex;
    width: fit-content;
    max-width: 100%;
    gap: 11px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 13px auto 4px;
    padding: 8px 13px;
    color: #fff6d9;
    background: linear-gradient(115deg, #084c3d, #146c51);
    border: 1px solid rgba(252, 219, 136, .7);
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(1, 52, 37, .13);
    font: 600 13px/1.5 "Segoe UI", Tahoma, Arial, sans-serif;
}
body.thrColFixHdr.zdoc-festive #footer .zxm-music-label {
    color: #fff6d9;
    font-size: 13px;
    white-space: normal;
}
body.thrColFixHdr.zdoc-festive #footer .zxm-music-toggle {
    color: #fff;
    background: linear-gradient(120deg, #a82436, #d83d4f);
    border: 1px solid #ffd687;
    border-radius: 999px;
    padding: 7px 15px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.45;
    min-width: 114px;
    cursor: pointer;
    box-shadow: none;
}
body.thrColFixHdr.zdoc-festive #footer .zxm-music-toggle:hover {
    filter: brightness(1.1);
}
body.thrColFixHdr.zdoc-festive #footer .zxm-music-toggle:focus-visible {
    outline: 3px solid #ffe3a5;
    outline-offset: 3px;
}
@media (max-width: 760px) {
    body.thrColFixHdr.zdoc-festive #footer .zxm-music-controls {
        margin: 10px auto 2px;
        padding: 8px 10px;
        border-radius: 16px;
    }
    body.thrColFixHdr.zdoc-festive #footer .zxm-music-label {
        font-size: 12px;
    }
}

/* Christmas music first-visit consent: only appears if browser rejects autoplay.
   Compact dismissible panel; all normal content, menu and scan fields remain untouched. */
body.thrColFixHdr.zdoc-festive .zxm-audio-consent {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 101;
    width: 295px;
    max-width: calc(100vw - 24px);
    padding: 13px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
    color: #163c31;
    background: #fffdf7;
    border: 2px solid #d6ac57;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(12, 42, 32, .21);
    font: 13px/1.5 "Segoe UI", Tahoma, Arial, sans-serif;
}
body.thrColFixHdr.zdoc-festive .zxm-audio-consent strong {font-size: 14px; color: #155c3c;}
body.thrColFixHdr.zdoc-festive .zxm-audio-consent-actions {display: flex; flex-wrap: wrap; gap: 7px; margin-top: 5px;}
body.thrColFixHdr.zdoc-festive .zxm-audio-consent button {
    font: 700 12.5px/1.5 "Segoe UI", Tahoma, sans-serif;
    padding: 7px 10px;
    border-radius: 9px;
    cursor: pointer;
}
body.thrColFixHdr.zdoc-festive .zxm-audio-consent .zxm-audio-allow {
    color: #fff;
    background: #11764e;
    border: 1px solid #11603f;
}
body.thrColFixHdr.zdoc-festive .zxm-audio-consent .zxm-audio-decline {
    color: #41554d;
    background: #f0f4f1;
    border: 1px solid #cbd9d1;
}
@media(max-width:760px) {
    body.thrColFixHdr.zdoc-festive .zxm-audio-consent {right: 10px; bottom: 10px; width: 260px; padding: 10px;}
}
