/* All festive presentation is scoped to the opt-in class. No neighborhood rules. */
body.tap-christmas-theme{--bg:#f5f4ec;--ink:#203f35;--text:#344c43;--muted:#78877c;--line:#e4e7dc;--green:#1f6851;--dark:#154c3c;--soft:#edf3ed;background:#f5f4ec}
body.tap-christmas-theme .sidebar{background:linear-gradient(163deg,#183e33 0%,#12382d 66%,#1c4d3d 100%);border-right:1px solid #284e40;color:#f5f0dd;isolation:isolate}
body.tap-christmas-theme .sidebar .brand{position:relative;z-index:1;margin-bottom:24px}
body.tap-christmas-theme .sidebar .brandname{color:#fff7e0;letter-spacing:.6px}
body.tap-christmas-theme .sidebar .brandmark{color:#e6bb72;filter:drop-shadow(0 0 10px #f0c36928)}
body.tap-christmas-theme .sidebar .navitem{color:#d6e4da;border-radius:9px}
body.tap-christmas-theme .sidebar .navitem svg{color:#a4bdae}
body.tap-christmas-theme .sidebar .navitem:hover{background:#ffffff0e;color:#fff8e5}
body.tap-christmas-theme .sidebar .navitem.active{background:linear-gradient(115deg,#f0e4c7,#e5d3a8);color:#244c3b;box-shadow:inset 0 1px 0 #fff7e6;font-weight:700}
body.tap-christmas-theme .sidebar .navitem.active svg{color:#46674e}
body.tap-christmas-theme .sidebar .navdivider{background:#ffffff17}
body.tap-christmas-theme .sidebar .sidebarfoot{color:#a4bfb2}
body.tap-christmas-theme .tap-sidebar-hide{background:#ffffff08;color:#d2e3d7;border-color:#ffffff25}
body.tap-christmas-theme .tap-sidebar-hide:hover{background:#ffffff14}
body.tap-christmas-theme .sidebar .nav{scrollbar-color:#61796a transparent;position:relative;z-index:1}
body.tap-christmas-theme #tap-sidebar-rail{background:#193f33;border-right-color:#315848}
body.tap-christmas-theme #tap-sidebar-rail>button{background:#28513f;border-color:#57735d;color:#fff0d1}
body.tap-christmas-theme .topbar{position:relative;isolation:isolate;background:#fffdf7;border-bottom-color:#e4dfcf;box-shadow:0 2px 12px #294b3405}
body.tap-christmas-theme .topbar .avatar{background:#eef0df;color:#49674b;border-color:#fffdf7}
body.tap-christmas-theme .topbar .btn.icon{background:#f7f6ed;border-color:#e6e3d6;color:#4e6c57}
body.tap-christmas-theme .reference-search10{background:#f5f4eb;border-color:#e6e2d3;color:#6d7d6c}
body.tap-christmas-theme .panel,body.tap-christmas-theme .reference-panel10{border-color:#e1e5d8;box-shadow:0 5px 20px #344f3610}
body.tap-christmas-theme .btn.primary{background:#23654f;border-color:#245b46;box-shadow:0 3px 7px #16483212}
body.tap-christmas-theme .btn.primary:hover{background:#184c3b}
body.tap-christmas-theme .btn.text{color:#3c7155}
body.tap-christmas-theme .pageheading h1{color:#214937}
body.tap-christmas-theme .reference-module-icon10{background:#eff1e4;color:#56754b}
body.tap-christmas-theme .reference-quote10{background:#f5f0df;border-color:#e8dfc9;color:#6c7451}
body.tap-christmas-theme .sidebar .sidehelp{background:#ffffff0a;color:#dbe8d7;border:1px solid #fff3c71a}
body.tap-christmas-theme .sidebar .sidehelp strong{color:#f4e4bc}
body.tap-christmas-theme .sidebar #communication-alerts{color:#f0eadb}
body.tap-christmas-theme .sidebar .ca-shortcut{background:#f9f8ed}
#christmas-sidebar-decor{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden}
#christmas-sidebar-decor::after{content:"";position:absolute;width:175px;height:160px;left:35px;bottom:210px;background:url('/static/christmas-tree.svg') center/contain no-repeat;opacity:.13}
#christmas-sidebar-decor .christmas-sprig{position:absolute;top:-12px;right:-58px;width:250px;height:85px;background:url('/static/christmas-garland.svg') left top/cover no-repeat;opacity:.6;transform:rotate(12deg)}
#christmas-sidebar-decor .christmas-star{position:absolute;width:4px;height:4px;right:26px;top:78px;background:#edc67b;box-shadow:-24px 490px #edc67b88,-125px 580px #edc67b66,-42px 602px #edc67b88;transform:rotate(45deg)}
#christmas-header-decor{position:absolute;inset:0;pointer-events:none;z-index:-1;overflow:hidden}
#christmas-header-decor::before{content:"";position:absolute;left:0;right:0;top:-20px;height:62px;background:url('/static/christmas-garland.svg') center top/680px 82px repeat-x;opacity:.45}
.christmas-header-greeting{position:absolute;left:50%;top:28px;transform:translateX(-50%);font:italic 15px Georgia,serif;letter-spacing:.5px;color:#987744;white-space:nowrap}
#christmas-home-banner{position:relative;display:flex;align-items:center;min-height:200px;margin:0 0 22px;padding:28px 40px;border:1px solid #d9e0cb;border-radius:17px;overflow:hidden;background:linear-gradient(105deg,#f1eedf 0%,#f9f5e7 49%,#e9eedf 100%);isolation:isolate;box-shadow:0 8px 25px #334e3410}
#christmas-home-banner::before{content:"";position:absolute;inset:12px;border:1px solid #a8966026;border-radius:9px;z-index:-1;pointer-events:none}
#christmas-home-banner::after{content:"";position:absolute;right:24%;top:-45px;width:230px;height:260px;border-radius:50%;background:radial-gradient(ellipse,#ffffff90,transparent 65%);z-index:-1;pointer-events:none}
.christmas-home-copy{position:relative;z-index:1;max-width:65%}
.christmas-eyebrow{display:flex;align-items:center;gap:10px;font-size:10px;font-weight:750;letter-spacing:.2em;color:#9a6d44;margin-bottom:13px}
.christmas-eyebrow::before{content:"";width:22px;height:1px;background:#b5945e}
#christmas-home-banner h2{font-family:Cambria,"Times New Roman",serif;font-size:36px;font-weight:400;line-height:1.16;letter-spacing:-.4px;color:#234b39;margin:0 0 13px}
#christmas-home-banner p{color:#707f68;margin:0;font-size:12px;letter-spacing:.15px}
.christmas-home-signoff{display:block;margin-top:17px;color:#9d4b40;font-size:8px;font-weight:700;letter-spacing:.28em}
.christmas-home-art{position:absolute;right:10px;top:-12px;bottom:-8px;width:40%;background:url('/static/christmas-tree.svg') center/contain no-repeat;pointer-events:none;z-index:0}
body.tap-christmas-theme .reference-panel-head10 h2{color:#315440}
@media(min-width:1600px){#christmas-home-banner{padding-left:48px;min-height:220px}.christmas-home-art{right:6%;width:35%}#christmas-home-banner h2{font-size:41px}}
@media(max-width:1180px){.christmas-header-greeting{display:none}#christmas-home-banner{padding:24px 28px;min-height:185px}#christmas-home-banner h2{font-size:30px}.christmas-home-copy{max-width:62%}.christmas-home-art{right:-6px;width:43%}}
@media(max-width:760px){#christmas-home-banner{padding:20px;min-height:183px;margin-bottom:16px}#christmas-home-banner h2{font-size:26px;max-width:250px}.christmas-home-copy{max-width:73%}.christmas-home-art{right:-46px;top:18px;bottom:-6px;width:57%;opacity:.8}.christmas-eyebrow{font-size:8px;letter-spacing:.12em;gap:6px}#christmas-home-banner p{font-size:11px;max-width:175px}.christmas-home-signoff{font-size:7px;margin-top:13px}#christmas-header-decor::before{opacity:.3}}
@media(prefers-reduced-motion:reduce){#christmas-home-banner *,#christmas-header-decor *,#christmas-sidebar-decor *{animation:none!important;transition:none!important}}

/* A local presentation preference; the existing CRM action group is preserved. */
#christmas-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;min-height:34px;padding:6px 9px;border:1px solid #d6dccc;border-radius:10px;background:#fffdf4;color:#466749;font:600 11px/1.2 "Segoe UI",sans-serif;cursor:pointer}
#christmas-theme-toggle[aria-pressed="true"]{background:#f8eed9;border-color:#cfb678;color:#864636}
#christmas-theme-toggle:hover{background:#f2e7cd}
#christmas-theme-toggle:focus-visible{outline:3px solid #6a9579;outline-offset:2px}
.christmas-toggle-icon{font-size:16px;color:#ac8336;line-height:1}
@media(max-width:480px){
  #christmas-theme-toggle{width:32px;min-width:32px;height:34px;padding:5px}
  #christmas-theme-toggle .christmas-toggle-label{display:none}
  body.tap-christmas-theme .topbar .rcp-panel-restore{width:34px;height:34px;min-width:34px;font-size:0;line-height:0;padding:8px;gap:0}
  body.tap-christmas-theme .topbar .rcp-panel-restore::before{font-size:16px;line-height:1}
}
