/**/.dmNewParagraph[data-version] .text-align-left{text-align:left!important}.dmNewParagraph[data-version] .text-align-center{text-align:center!important}.dmNewParagraph[data-version] .text-align-right{text-align:right!important}
.dmNewParagraph[data-version] .text-align-justify{text-align:justify!important}.dmNewParagraph[data-version] .ql-indent-1{padding:0 1em;padding-inline-end:0;padding-inline-start:3em}.dmNewParagraph[data-version] .ql-indent-2{padding:0 2em;padding-inline-end:0;padding-inline-start:6em}
.dmNewParagraph[data-version] .ql-indent-3{padding:0 3em;padding-inline-end:0;padding-inline-start:9em}.dmNewParagraph[data-version] .ql-indent-4{padding:0 4em;padding-inline-end:0;padding-inline-start:12em}
.dmNewParagraph[data-version] .ql-indent-5{padding:0 5em;padding-inline-end:0;padding-inline-start:15em}.dmNewParagraph[data-version] .ql-indent-6{padding:0 6em;padding-inline-end:0;padding-inline-start:18em}
.dmNewParagraph[data-version] .ql-indent-7{padding:0 7em;padding-inline-end:0;padding-inline-start:21em}.dmNewParagraph[data-version] .ql-indent-8{padding:0 8em;padding-inline-end:0;padding-inline-start:24em}
.dmNewParagraph[data-version] .ql-indent-9{padding:0 9em;padding-inline-end:0;padding-inline-start:27em}.dmNewParagraph[data-version]{line-height:initial}.dmNewParagraph[data-version] [class*=size-]{width:auto!important;height:auto!important}
.dmNewParagraph[data-version] h1,.dmNewParagraph[data-version] h2,.dmNewParagraph[data-version] h3,.dmNewParagraph[data-version] h4,.dmNewParagraph[data-version] h5,.dmNewParagraph[data-version] h6,.dmNewParagraph[data-version] ol,.dmNewParagraph[data-version] p,.dmNewParagraph[data-version] ul{margin-top:0;margin-bottom:0}
.dmNewParagraph[data-version] ol,.dmNewParagraph[data-version] ul{padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.dmNewParagraph[data-version] ol>li,.dmNewParagraph[data-version] ul>li{list-style-type:none;text-indent:-1.5em;margin:0 1em;margin-inline-end:0;margin-inline-start:2em}
.dmNewParagraph[data-version] ol>li:before,.dmNewParagraph[data-version] ul>li:before{min-width:1em;display:inline-block;margin-right:.5em;margin-inline-start:0;margin-inline-end:.5em;text-align:right;text-align:end}
.dmNewParagraph[data-version] ul .ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-1}.dmNewParagraph[data-version] ul .ql-indent-1:before{font-weight:700;content:"○"}
.dmNewParagraph[data-version] ul .ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-2}.dmNewParagraph[data-version] ul .ql-indent-2:before,.dmNewParagraph[data-version] ul .ql-indent-3:before,.dmNewParagraph[data-version] ul .ql-indent-4:before,.dmNewParagraph[data-version] ul .ql-indent-5:before,.dmNewParagraph[data-version] ul .ql-indent-6:before,.dmNewParagraph[data-version] ul .ql-indent-7:before,.dmNewParagraph[data-version] ul .ql-indent-8:before,.dmNewParagraph[data-version] ul .ql-indent-9:before{font-weight:700;content:"■"}
.dmNewParagraph[data-version] ul .ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-3}.dmNewParagraph[data-version] ul .ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9;counter-increment:list-4}
.dmNewParagraph[data-version] ul .ql-indent-5{counter-reset:list-6 list-7 list-8 list-9;counter-increment:list-5}.dmNewParagraph[data-version] ul .ql-indent-6{counter-reset:list-7 list-8 list-9;counter-increment:list-6}
.dmNewParagraph[data-version] ul .ql-indent-7{counter-reset:list-8 list-9;counter-increment:list-7}.dmNewParagraph[data-version] ul .ql-indent-8{counter-reset:list-9;counter-increment:list-8}.dmNewParagraph[data-version] ul .ql-indent-9{counter-reset:list-10 list-9;counter-increment:list-9}
.dmNewParagraph[data-version] ul>li:before{font-weight:700;content:"•";font-family:Arial}.dmNewParagraph[data-version] ul.custom-list-1>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"○";transform:scale(1);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-2>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"★";transform:scale(.7);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-3>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"➞";transform:scale(.8);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-4>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"＋";transform:scale(.7);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-5>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"－";transform:scale(.7);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-6>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"✓";transform:scale(.8);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-7>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"✗";transform:scale(.8);transform-origin:center right}
.dmNewParagraph[data-version] ol .ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-1}.dmNewParagraph[data-version] ol .ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}
.dmNewParagraph[data-version] ol .ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-2}.dmNewParagraph[data-version] ol .ql-indent-2:before{content:counter(list-2,lower-roman) ". "}
.dmNewParagraph[data-version] ol .ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-3}.dmNewParagraph[data-version] ol .ql-indent-3:before{content:counter(list-3,decimal) ". "}
.dmNewParagraph[data-version] ol .ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9;counter-increment:list-4}.dmNewParagraph[data-version] ol .ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}
.dmNewParagraph[data-version] ol .ql-indent-5{counter-reset:list-6 list-7 list-8 list-9;counter-increment:list-5}.dmNewParagraph[data-version] ol .ql-indent-5:before{content:counter(list-5,lower-roman) ". "}
.dmNewParagraph[data-version] ol .ql-indent-6{counter-reset:list-7 list-8 list-9;counter-increment:list-6}.dmNewParagraph[data-version] ol .ql-indent-6:before{content:counter(list-6,decimal) ". "}
.dmNewParagraph[data-version] ol .ql-indent-7{counter-reset:list-8 list-9;counter-increment:list-7}.dmNewParagraph[data-version] ol .ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}
.dmNewParagraph[data-version] ol .ql-indent-8{counter-reset:list-9;counter-increment:list-8}.dmNewParagraph[data-version] ol .ql-indent-8:before{content:counter(list-8,lower-roman) ". "}
.dmNewParagraph[data-version] ol .ql-indent-9{counter-reset:list-10 list-9;counter-increment:list-9}.dmNewParagraph[data-version] ol .ql-indent-9:before{content:counter(list-9,decimal) ". "}
.dmNewParagraph[data-version] ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.dmNewParagraph[data-version] ol li:before{content:counter(list-0,decimal) ". "}
.dmNewParagraph[data-version] a{vertical-align:initial}@media(min-width:768px) and (max-width:1024px){.dmNewParagraph[data-version] .t-text-align-left{text-align:left!important}.dmNewParagraph[data-version] .t-text-align-center{text-align:center!important}
.dmNewParagraph[data-version] .t-text-align-right{text-align:right!important}.dmNewParagraph[data-version] .t-text-align-justify{text-align:justify!important}}@media(max-width:767px){.dmRoot .dmNewParagraph[data-version] .m-text-align-left{text-align:left!important}
.dmRoot .dmNewParagraph[data-version] .m-text-align-center{text-align:center!important}.dmRoot .dmNewParagraph[data-version] .m-text-align-right{text-align:right!important}.dmRoot .dmNewParagraph[data-version] .m-text-align-justify{text-align:justify!important}
}.inlineBindingLink{color:inherit!important;text-decoration:inherit!important}/**/#dm .dmSocialHub:not(.gapSpacing) .socialHubInnerDiv a:not(:last-child){margin-right:5px}.socialHubIcon{display:flex!important;align-items:center;justify-content:center}.socialHubIcon svg{fill:currentColor;width:80%;height:80%}
.socialHubIcon.style1,.socialHubIcon.style4,.socialHubIcon.style6,.socialHubIcon.style7{background:#617379}.socialHubIcon.style7{box-shadow:0 5px 0 0 #475459}.style1.dmSocialTiktok,.style4.dmSocialTiktok{background:#000}
.style1.dmSocialFacebook,.style4.dmSocialFacebook{background:#1877f2}.style1.dmSocialTwitter,.style4.dmSocialTwitter{background:#0f1419}.style1.dmSocialGooglePlus,.style4.dmSocialGooglePlus{background:#da4835}
.style1.dmSocialInstagram,.style4.dmSocialInstagram{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)!important}.style1.dmSocialYoutube,.style4.dmSocialYoutube{background:red}
.style1.dmSocialLinkedin,.style4.dmSocialLinkedin{background:#2867b2}.style1.dmSocialYelp,.style4.dmSocialYelp{background:#e43340}.style1.dmSocialPinterest,.style4.dmSocialPinterest{background:#c8232c}
.style1.dmSocialVimeo,.style4.dmSocialVimeo{background:#1ab7ea}.style1.dmSocialPicasa,.style4.dmSocialPicasa{background:#be81d1}.style1.dmSocialFoursquare,.style4.dmSocialFoursquare{background:#ef4b78}
.style1.dmSocialRss,.style4.dmSocialRss{background:#f39200}.style1.dmSocialReddit,.style4.dmSocialReddit{background:#ff4500}.style1.dmSocialEmail,.style4.dmSocialEmail{background:#617379}.style1.dmSocialSnapchat,.style4.dmSocialSnapchat{background:#fffc00}
.style1.dmSocialTripadvisor,.style4.dmSocialTripadvisor{background:#589442}.style1.dmSocialWaze,.style4.dmSocialWaze{background:#56cbe7}.style1.dmSocialGoogleMyBusiness,.style4.dmSocialGoogleMyBusiness{background:#477cdf}
.style1.dmSocialWhatsapp,.style4.dmSocialWhatsapp{background:#25d366}.style1.dmSocialPhone,.style4.dmSocialPhone{background:#616c79}.style1:after{content:"";width:44px;height:28px;display:block;position:absolute;top:0;left:0;z-index:-1;border-radius:10px}
.style1.dmSocialEmail:after,.style1.dmSocialFacebook:after,.style1.dmSocialFoursquare:after,.style1.dmSocialGoogleMyBusiness:after,.style1.dmSocialGooglePlus:after,.style1.dmSocialInstagram:after,.style1.dmSocialLinkedin:after,.style1.dmSocialPhone:after,.style1.dmSocialPicasa:after,.style1.dmSocialPinterest:after,.style1.dmSocialReddit:after,.style1.dmSocialRss:after,.style1.dmSocialSnapchat:after,.style1.dmSocialTripadvisor:after,.style1.dmSocialTwitter:after,.style1.dmSocialVimeo:after,.style1.dmSocialYelp:after,.style1.dmSocialYoutube:after{background:#fff;opacity:.2}
.style2.dmSocialTiktok{color:#000}.style2.dmSocialFacebook{color:#1877f2}.style2.dmSocialTwitter{color:#0f1419}.style2.dmSocialGooglePlus{color:#da4835}.style2.dmSocialInstagram:before{background-image:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)!important;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.style2.dmSocialYoutube{color:red}.style2.dmSocialLinkedin{color:#2867b2}.style2.dmSocialYelp{color:#e43340}.style2.dmSocialPinterest{color:#c8232c}.style2.dmSocialVimeo{color:#1ab7ea}.style2.dmSocialPicasa{color:#be81d1}
.style2.dmSocialFoursquare{color:#ef4b78}.style2.dmSocialRss{color:#f39200}.style2.dmSocialReddit{color:#ff4500}.style2.dmSocialEmail{color:#617379}.style2.dmSocialSnapchat{color:#fffc00}.style2.dmSocialTripadvisor{color:#589442}
.style2.dmSocialGoogleMyBusiness:before{color:#477cdf}.style2.dmSocialWaze:before{color:#56cbe7}.style2.dmSocialWhatsapp:before{color:#25d366}.style2.dmSocialPhone{color:#616c79}.style6.dmSocialTiktok{background:#000}
.style6.dmSocialFacebook{background:#1877f2}.style6.dmSocialTwitter{background:#0f1419}.style6.dmSocialGooglePlus{background:#da4835}.style6.dmSocialInstagram{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)!important}
.style6.dmSocialYoutube{background:red}.style6.dmSocialLinkedin{background:#2867b2}.style6.dmSocialYelp{background:#e43340}.style6.dmSocialPinterest{background:#c8232c}.style6.dmSocialVimeo{background:#1ab7ea}
.style6.dmSocialPicasa{background:#be81d1}.style6.dmSocialFoursquare{background:#ef4b78}.style6.dmSocialRss{background:#f39200}.style6.dmSocialReddit{background:#ff4500}.style6.dmSocialEmail{background:#617379}
.style6.dmSocialSnapchat{background:#fffc00}.style6.dmSocialTripadvisor{background:#589442}.style6.dmSocialWaze{background:#56cbe7}.style6.dmSocialGoogleMyBusiness{background:#477cdf}.style6.dmSocialWhatsapp{background:#25d366}
.style6.dmSocialPhone{background:#616c79}.style7.dmSocialTiktok{background:#000}.style7.dmSocialFacebook{background:#1877f2;box-shadow:0 5px 0 0 #4b68a5}.style7.dmSocialTwitter{background:#0f1419}.style7.dmSocialGooglePlus{background:#da4835;box-shadow:0 5px 0 0 #c44130}
.style7.dmSocialInstagram{box-shadow:0 5px 0 0 #ad2271;background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)!important}.style7.dmSocialYoutube{background:red;box-shadow:0 5px 0 0 #b3392c}
.style7.dmSocialLinkedin{background:#2867b2;box-shadow:0 5px 0 0 #1278b1}.style7.dmSocialYelp{background:#e43340;box-shadow:0 5px 0 0 #b62933}.style7.dmSocialPinterest{background:#c8232c;box-shadow:0 5px 0 0 #a21a2d}
.style7.dmSocialVimeo{background:#1ab7ea;box-shadow:0 5px 0 0 #1592bb}.style7.dmSocialPicasa{background:#be81d1;box-shadow:0 5px 0 0 #9867a7}.style7.dmSocialFoursquare{background:#ef4b78;box-shadow:0 5px 0 0 #da3b67}
.style7.dmSocialRss{background:#f39200;box-shadow:0 5px 0 0 #c27500}.style7.dmSocialReddit{background:#ff4500;box-shadow:0 5px 0 0 #ae5534}.style7.dmSocialEmail{background:#617379;box-shadow:0 5px 0 0 #475459}
.style7.dmSocialSnapchat{background:#fffc00;box-shadow:0 5px 0 0 #d1d05d}.style7.dmSocialTripadvisor{background:#589442;box-shadow:0 5px 0 0 #4e7b3e}.style7.dmSocialWaze{background:#56cbe7;box-shadow:0 5px 0 0 #475459}
.style7.dmSocialGoogleMyBusiness{background:#477cdf;box-shadow:0 5px 0 0 #475459}.style7.dmSocialWhatsapp{background:#25d366;box-shadow:0 5px 0 0 #475459}.style7.dmSocialPhone{background:#616c79;box-shadow:0 5px 0 0 #4a5458}/**/.dmSocialHub{clear:both}#dm .dmSocialHub .horizontal a,#dm .dmSocialHub.gapSpacing .socialHubWrapper{display:block}#dm .dmSocialHub.gapSpacing .socialHubInnerDiv{display:flex;flex-wrap:wrap;column-gap:5px;justify-content:center}
#dm .dmSocialHub.alignedLeft .socialHubInnerDiv,#dm .dmSocialHub.alignedLeft h3,.dmSocialHub>div.horizontal{text-align:left}#dm .dmSocialHub a{display:inline-block;text-decoration:none;margin:0;vertical-align:bottom}
#dm .dmSocialHub>h3,.dmSocialHub>div{text-align:inherit}#dm .dmSocialHub.alignedCenter .socialHubInnerDiv,#dm .dmSocialHub.alignedCenter h3{text-align:center}#dm .dmSocialHub.alignedRight .socialHubInnerDiv,#dm .dmSocialHub.alignedRight h3{text-align:right}
a span.socialHubIcon{width:44px;height:44px;font-size:27px;display:inline-block;text-align:center;margin-right:0;margin-bottom:5px;line-height:44px;box-sizing:border-box;background-image:none!important}
.socialHubIcon[class^=icon-]:before,[class*=" icon-"]:before{cursor:pointer}.socialHubIcon.style1{font-size:24px;border-radius:10px;color:#fff;position:relative;z-index:1}.socialHubIcon.style2{font-size:29px}
.socialHubIcon.style3{font-size:24px;border-radius:50%;border:3px solid #fff;color:#fff}.socialHubIcon.style4{font-size:24px;border-radius:10px;color:#fff;position:relative}.socialHubIcon.style5{color:#fff}
.socialHubIcon.style6,.socialHubIcon.style7{font-size:24px;border-radius:50%;color:#fff}.socialHubIcon.style7{border-radius:10px;position:relative;margin-bottom:10px}.socialHubIcon.style8{font-size:24px;border-radius:50%;color:#fff;background:#000}
.socialHubIcon.style9{color:#333;font-size:29px}@media(min-width:768px) and (max-width:1024px){.dmRoot #dm .dmStandardTablet .dmSocialHub.dmSocialHome .socialHubIcon{width:36px;height:36px;background-size:auto}
}#dm .dmSocialHub .socialHubWrapper{display:inline-block;max-width:100%}/**/.imageWidget{position:relative}.imageWidget a,.imageWidget span.image-caption{font-style:italic;text-align:center}.imageWidget a[data-caption]::after,.imageWidget span[data-caption]::after{content:attr(data-caption);display:block;line-height:100%}
.imageWidget.with-caption a::after,.imageWidget.with-caption span.image-caption::after{margin-top:12px}.imageWidget img[width][height]{height:auto}[data-flex-site] #fcontainer .imageWidget:after,[data-flex-site] #flex-footer .imageWidget:after,[data-flex-site] #flex-header .imageWidget:after{content:none}
[data-flex-site] #fcontainer .imageWidget:before,[data-flex-site] #flex-footer .imageWidget:before,[data-flex-site] #flex-header .imageWidget:before{font-size:80px;transform:none}.imageWidget.hover img.hover-image,.imageWidget:hover img.hover-image{display:initial}
.imageWidget.hover.hasHover img:not(.hover-image),.imageWidget:hover.hasHover img:not(.hover-image){display:none!important}.imageWidget img.hover-image,.imageWidget img.logo-on-scroll{display:none}/**/.hamburgerButton{display:block;background-color:transparent;border:0;padding:0;margin:0}.hamburgerButton,.hamburgerButton svg{width:100%;height:100%}
/* Custom Widgets Styles */
.widget-0faf43 {
  font-family: 'Google Sans', Roboto, Arial, sans-serif;

  /* ─── Root shell ─────────────────────────────────────────────────── */
  .cal-widget {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    position: relative;
    width: 100%;
    box-sizing: border-box;
  }

  /* ===== HEADER ===== */
  .cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid #dadce0;
    background: #fff;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 52px;
    box-sizing: border-box;
  }

  .cal-header-left {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    min-width: 0;
    flex: 1;
  }

  /* ── Sidebar toggle button ── */
  .cal-sidebar-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    transition: background 0.15s;
  }

  .cal-sidebar-toggle:hover { background: #f1f3f4; }

  .sidebar-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: #5f6368;
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease, width 0.22s ease;
    transform-origin: center;
  }

  /* Active state: morph into an × */
  .cal-widget.sidebar-open .cal-sidebar-toggle .sidebar-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .cal-widget.sidebar-open .cal-sidebar-toggle .sidebar-toggle-bar:nth-child(2) {
    opacity: 0;
    width: 0;
  }
  .cal-widget.sidebar-open .cal-sidebar-toggle .sidebar-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .cal-header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }

  .cal-nav-btn {
    background: none;
    border: 1px solid #dadce0;
    border-radius: 4px;
    cursor: pointer;
    padding: 6px 12px;
    font-size: 14px;
    color: #5f6368;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .cal-nav-btn:hover {
    background: #f1f3f4;
    color: #202124;
  }

  .cal-nav-arrow {
    font-size: 22px;
    padding: 2px 8px;
  }

  .cal-title {
    font-size: 18px;
    font-weight: 400;
    color: #3c4043;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 2px;
    min-width: 0;
    flex: 1;
  }

  /* ── Calendar legend (shown in header when sidebar is closed) ── */
  .cal-header-legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
  }

  .cal-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .cal-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
  }

  .cal-legend-label {
    font-size: 12px;
    color: #5f6368;
    line-height: 1;
  }

  .cal-add-event-btn {
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: background 0.15s, box-shadow 0.15s;
    white-space: nowrap;
    line-height: 1;
    flex-shrink: 0;
  }

  .cal-add-event-btn:hover {
    background: #1557b0;
    box-shadow: 0 2px 8px rgba(26,115,232,0.3);
  }

  .cal-view-switcher {
    display: flex;
    border: 1px solid #dadce0;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .cal-view-btn {
    background: none;
    border: none;
    border-right: 1px solid #dadce0;
    cursor: pointer;
    padding: 6px 12px;
    font-size: 13px;
    color: #3c4043;
    transition: background 0.15s;
    white-space: nowrap;
  }

  .cal-view-btn:last-child { border-right: none; }
  .cal-view-btn:hover { background: #f1f3f4; }
  .cal-view-btn.active {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 500;
  }

  /* ===== BODY ===== */
  .cal-body {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }

  /* ===== SIDEBAR ===== */
  .cal-sidebar {
    width: 0;
    min-width: 0;
    max-width: 220px;
    border-right: 0px solid #dadce0;
    padding: 0;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
    transition: width 0.25s ease, min-width 0.25s ease, padding 0.25s ease, border-width 0.25s ease;
  }

  /* Sidebar open state — toggled by JS adding .sidebar-open on .cal-widget */
  .cal-widget.sidebar-open .cal-sidebar {
    width: 200px;
    min-width: 180px;
    border-right-width: 1px;
    padding: 12px 8px;
    overflow-y: auto;
  }

  /* Legacy .hidden class still works (e.g., narrow/responsive override) */
  .cal-sidebar.hidden {
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    border-right-width: 0 !important;
    overflow: hidden !important;
  }

  /* Mini Calendar */
  .mini-cal { margin-bottom: 16px; }

  .mini-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
  }

  .mini-cal-title {
    font-size: 12px;
    font-weight: 500;
    color: #3c4043;
  }

  .mini-nav {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #5f6368;
    padding: 2px 4px;
    border-radius: 50%;
    line-height: 1;
    transition: background 0.15s;
  }

  .mini-nav:hover { background: #f1f3f4; }

  .mini-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
  }

  .mini-cal-day-header {
    font-size: 10px;
    text-align: center;
    color: #70757a;
    padding: 2px 0;
    font-weight: 500;
  }

  .mini-cal-day {
    font-size: 11px;
    text-align: center;
    padding: 3px 2px;
    border-radius: 50%;
    cursor: pointer;
    color: #3c4043;
    transition: background 0.1s;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
  }

  .mini-cal-day:hover { background: #f1f3f4; }
  .mini-cal-day.today { background: #4285F4; color: #fff; font-weight: 500; }
  .mini-cal-day.selected { background: #e8f0fe; color: #1a73e8; font-weight: 500; }
  .mini-cal-day.today.selected { background: #4285F4; color: #fff; }
  .mini-cal-day.other-month { color: #b0b0b0; }
  .mini-cal-day.empty { pointer-events: none; }

  /* Calendar list */
  .cal-list-section { margin-top: 8px; }

  .cal-list-heading {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #70757a;
    letter-spacing: 0.5px;
    padding: 4px 8px 6px;
  }

  .cal-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.1s;
  }

  .cal-list-item:hover { background: #f1f3f4; }

  .cal-list-checkbox {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
    border: 2px solid;
    position: relative;
    transition: background 0.1s;
    cursor: pointer;
  }

  .cal-list-checkbox.checked::after {
    content: '';
    position: absolute;
    left: 1px;
    top: -1px;
    width: 6px;
    height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
  }

  .cal-list-label {
    font-size: 13px;
    color: #3c4043;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
  }

  /* Feed status badge */
  .cal-feed-badge {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: default;
  }

  .cal-feed-badge--loading {
    background: #e8f0fe;
    color: #1a73e8;
    animation: cal-spin 1s linear infinite;
  }

  .cal-feed-badge--ok {
    background: #e6f4ea;
    color: #137333;
  }

  .cal-feed-badge--error {
    background: #fce8e6;
    color: #c5221f;
    cursor: help;
  }

  @keyframes cal-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }

  /* ===== MAIN AREA ===== */
  .cal-main-area {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .cal-grid {
    flex: 1;
    overflow: auto;
    min-height: 0;
  }

  /* ===== MONTH VIEW ===== */
  .month-view {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
  }

  .month-day-headers {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-bottom: 1px solid #dadce0;
    flex-shrink: 0;
  }

  .month-day-headers.no-weekends { grid-template-columns: repeat(5, 1fr); }

  .cal-day-header {
    text-align: center;
    padding: 8px 4px;
    font-size: 11px;
    font-weight: 500;
    color: #70757a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    flex: 1;
    border-left: 1px solid #dadce0;
    border-top: 1px solid #dadce0;
  }

  .month-grid.no-weekends { grid-template-columns: repeat(5, 1fr); }

  .cal-cell {
    border-right: 1px solid #dadce0;
    border-bottom: 1px solid #dadce0;
    padding: 4px;
    min-height: 80px;
    overflow: hidden;
    position: relative;
    background: #fff;
    cursor: pointer;
    transition: background 0.1s;
    box-sizing: border-box;
  }

  .cal-cell:hover { background: #f8f9fa; }
  .cal-cell:hover .cal-cell-add-btn { opacity: 1; }
  .cal-cell.other-month { background: #f8f9fa; }

  .cal-cell.today .cal-day-num {
    background: #4285F4;
    color: #fff;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cal-day-num {
    font-size: 12px;
    color: #3c4043;
    font-weight: 400;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    margin-bottom: 2px;
    transition: background 0.1s;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
  }

  .cal-day-num:hover { background: #e8eaed; }
  .cal-cell.other-month .cal-day-num { color: #b0b0b0; }

  /* Add button inside cell */
  .cal-cell-add-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1a73e8;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s, background 0.1s;
    z-index: 2;
    font-weight: 300;
  }

  .cal-cell-add-btn:hover { background: #1557b0; }

  /* ===== EVENTS ===== */
  .cal-event {
    font-size: 11px;
    padding: 1px 4px;
    border-radius: 3px;
    margin-bottom: 1px;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    transition: opacity 0.1s, filter 0.1s;
    line-height: 1.5;
  }

  .cal-event:hover { filter: brightness(0.9); }
  .cal-event.hidden-cal { display: none; }

  .more-events {
    font-size: 11px;
    color: #70757a;
    cursor: pointer;
    padding: 1px 4px;
    border-radius: 3px;
  }

  .more-events:hover { background: #f1f3f4; }

  /* ===== WEEK / DAY VIEW ===== */
  .week-view,
  .day-view {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
  }

  .week-header-row {
    display: grid;
    border-bottom: 1px solid #dadce0;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
  }

  .week-header-cell {
    text-align: center;
    padding: 8px 2px;
    border-right: 1px solid #dadce0;
    border-left: 1px solid #dadce0;
    min-width: 0;
  }

  .week-header-cell:first-child { border-left: none; }

  .week-header-day-name {
    font-size: 11px;
    font-weight: 500;
    color: #70757a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .week-header-day-num {
    font-size: 20px;
    font-weight: 400;
    color: #3c4043;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px auto 0;
    transition: background 0.1s;
    cursor: pointer;
  }

  .week-header-day-num:hover { background: #f1f3f4; }
  .week-header-day-num.today { background: #4285F4; color: #fff; }

  .week-allday-row {
    display: grid;
    border-bottom: 1px solid #dadce0;
    flex-shrink: 0;
    min-height: 24px;
  }

  .week-allday-label {
    font-size: 10px;
    color: #70757a;
    padding: 4px 4px 0;
    text-align: right;
    white-space: nowrap;
  }

  .week-allday-cell {
    border-left: 1px solid #dadce0;
    padding: 2px;
    min-height: 24px;
    cursor: pointer;
  }

  .week-allday-cell:hover { background: #f8f9fa; }

  .week-time-col {
    width: 48px;
    min-width: 48px;
    flex-shrink: 0;
  }

  .time-label {
    font-size: 10px;
    color: #70757a;
    text-align: right;
    padding-right: 6px;
    height: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    box-sizing: border-box;
    margin-top: -8px;
  }

  .time-slot {
    height: 60px;
    border-bottom: 1px solid #f0f0f0;
    border-left: 1px solid #dadce0;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
    transition: background 0.1s;
  }

  .time-slot:hover { background: #f8f9fa; }

  .week-time-slots-col { position: relative; }

  .week-event-absolute {
    position: absolute;
    left: 2px;
    right: 2px;
    border-radius: 3px;
    padding: 2px 4px;
    font-size: 11px;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    box-sizing: border-box;
    transition: filter 0.1s;
    line-height: 1.3;
  }

  .week-event-absolute:hover { filter: brightness(0.9); z-index: 2; }
  .week-event-absolute.hidden-cal { display: none; }

  .current-time-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #4285F4;
    z-index: 3;
    pointer-events: none;
  }

  .current-time-line::before {
    content: '';
    position: absolute;
    left: -4px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4285F4;
  }

  /* ===== LIST VIEW ===== */
  .list-view { padding: 0 8px 16px; }

  .list-empty {
    text-align: center;
    color: #70757a;
    padding: 40px 20px;
    font-size: 15px;
  }

  .list-date-header {
    font-size: 13px;
    font-weight: 600;
    color: #3c4043;
    padding: 14px 8px 6px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 4px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }

  .list-date-header.today { color: #4285F4; }

  .list-event-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.1s;
    margin-bottom: 2px;
  }

  .list-event-item:hover { background: #f1f3f4; }
  .list-event-item.hidden-cal { display: none; }

  .list-event-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
  }

  .list-event-info { flex: 1; min-width: 0; }

  .list-event-title {
    font-size: 14px;
    color: #3c4043;
    font-weight: 500;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .list-event-time { font-size: 12px; color: #70757a; margin-top: 1px; }
  .list-event-location { font-size: 12px; color: #70757a; margin-top: 1px; }

  .list-event-cal-tag {
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 10px;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
  }

  /* ===== MODALS (shared base) ===== */
  .cal-modal {
    display: none;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9000;
    background: rgba(0,0,0,0.35);
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 8px;
  }

  .cal-modal.open { display: flex; }

  .cal-modal-content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.24);
    max-width: 420px;
    width: 100%;
    max-height: 85%;
    overflow-y: auto;
    position: relative;
    box-sizing: border-box;
  }

  .cal-modal-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 12px 4px;
  }

  .cal-modal-actions {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  /* Edit button in view modal */
  .cal-modal-edit-btn {
    background: none;
    border: none;
    font-size: 17px;
    cursor: pointer;
    color: #5f6368;
    padding: 0 4px;
    line-height: 1;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.1s;
    flex-shrink: 0;
  }

  .cal-modal-edit-btn:hover { background: #f1f3f4; color: #1a73e8; }

  .cal-modal-color-bar {
    height: 4px;
    position: absolute;
    top: 0; left: 0; right: 0;
    border-radius: 10px 10px 0 0;
  }

  .cal-modal-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #5f6368;
    padding: 0 4px;
    line-height: 1;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.1s;
    flex-shrink: 0;
  }

  .cal-modal-close:hover { background: #f1f3f4; }

  .cal-modal-title {
    font-size: 20px;
    font-weight: 500;
    color: #202124;
    padding: 0 20px 8px;
    line-height: 1.3;
    word-break: break-word;
  }

  .cal-modal-body {
    padding: 0 20px 20px;
    font-size: 14px;
    color: #3c4043;
  }

  .modal-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
  }

  .modal-icon { font-size: 16px; color: #70757a; flex-shrink: 0; margin-top: 1px; }

  .modal-row-text {
    font-size: 14px;
    color: #3c4043;
    line-height: 1.5;
    word-break: break-word;
  }

  .modal-cal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
  }

  /* ===== MODAL RICH TEXT DETAILS ===== */
  .modal-details-divider {
    height: 1px;
    background: #e8eaed;
    margin: 12px 0;
  }

  .modal-details-section {
    font-size: 14px;
    color: #3c4043;
    line-height: 1.6;
    word-break: break-word;
  }

  .modal-details-section p {
    margin: 0 0 8px;
  }

  .modal-details-section p:last-child {
    margin-bottom: 0;
  }

  .modal-details-section h1,
  .modal-details-section h2,
  .modal-details-section h3,
  .modal-details-section h4 {
    margin: 0 0 6px;
    color: #202124;
    font-weight: 600;
    line-height: 1.3;
  }

  .modal-details-section h1 { font-size: 18px; }
  .modal-details-section h2 { font-size: 16px; }
  .modal-details-section h3 { font-size: 15px; }
  .modal-details-section h4 { font-size: 14px; }

  .modal-details-section ul,
  .modal-details-section ol {
    margin: 0 0 8px;
    padding-left: 20px;
  }

  .modal-details-section li { margin-bottom: 3px; }

  .modal-details-section a {
    color: #1a73e8;
    text-decoration: underline;
  }

  .modal-details-section a:hover { color: #1557b0; }

  .modal-details-section strong,
  .modal-details-section b { font-weight: 600; }

  .modal-details-section em,
  .modal-details-section i { font-style: italic; }

  .modal-details-section img {
    max-width: 100%;
    border-radius: 4px;
    margin: 6px 0;
  }

  .modal-details-section blockquote {
    border-left: 3px solid #dadce0;
    margin: 6px 0;
    padding: 4px 12px;
    color: #70757a;
    font-style: italic;
  }

  /* ===== ADD EVENT MODAL ===== */
  .cal-add-modal-content { max-width: 480px; padding: 0; }

  .cal-add-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid #f0f0f0;
  }

  .cal-add-modal-heading {
    font-size: 17px;
    font-weight: 500;
    color: #202124;
  }

  .cal-add-modal-body { padding: 14px 20px 20px; }

  .cal-add-field { margin-bottom: 14px; }

  .cal-add-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 5px;
  }

  .cal-add-required { color: #d93025; }

  .cal-add-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dadce0;
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 14px;
    color: #202124;
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
  }

  .cal-add-input:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.15);
  }

  .cal-add-datetime-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .cal-add-date-input { flex: 1 1 120px; min-width: 110px; }
  .cal-add-time-input { flex: 1 1 90px; min-width: 80px; }

  .cal-add-allday-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .cal-add-allday-row .cal-add-label { margin-bottom: 0; }

  /* Calendar selector */
  .cal-add-cal-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .cal-add-cal-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 2px solid #dadce0;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    color: #3c4043;
    transition: border-color 0.15s, background 0.15s;
    background: #fff;
    user-select: none;
  }

  .cal-add-cal-option:hover { background: #f8f9fa; border-color: #b0b0b0; }

  .cal-add-cal-option.selected {
    border-color: #1a73e8;
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 600;
    box-shadow: 0 0 0 1px #1a73e8;
  }

  .cal-add-cal-option.selected .cal-add-cal-dot {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
  }

  .cal-add-cal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
  }

  .cal-add-cal-label { line-height: 1; }

  /* Error */
  .cal-add-error {
    font-size: 13px;
    color: #d93025;
    min-height: 18px;
    margin-bottom: 4px;
  }

  .cal-add-cancel-btn {
    background: none;
    border: 1px solid #dadce0;
    border-radius: 6px;
    padding: 9px 18px;
    font-size: 14px;
    color: #5f6368;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
  }

  .cal-add-cancel-btn:hover { background: #f1f3f4; border-color: #b0b0b0; }

  .cal-add-save-btn {
    background: #1a73e8;
    border: none;
    border-radius: 6px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
  }

  .cal-add-save-btn:hover { background: #1557b0; }

  /* Rich text editor */
  .cal-rte-wrap {
    border: 1px solid #dadce0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
  }

  .cal-rte-wrap:focus-within {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.15);
  }

  .cal-rte-toolbar {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px 6px;
    border-bottom: 1px solid #f0f0f0;
    background: #f8f9fa;
    flex-wrap: wrap;
  }

  .cal-rte-btn {
    background: none;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    padding: 3px 7px;
    color: #3c4043;
    line-height: 1.4;
    font-family: inherit;
    transition: background 0.1s, border-color 0.1s;
    flex-shrink: 0;
  }

  .cal-rte-btn:hover { background: #e8eaed; border-color: #dadce0; }
  .cal-rte-btn:active { background: #d2d4d7; }

  .cal-rte-sep {
    width: 1px;
    height: 18px;
    background: #dadce0;
    margin: 0 3px;
    flex-shrink: 0;
  }

  .cal-rte-editor {
    min-height: 100px;
    max-height: 200px;
    overflow-y: auto;
    padding: 9px 12px;
    font-size: 14px;
    color: #202124;
    line-height: 1.5;
    outline: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    word-break: break-word;
  }

  .cal-rte-editor:empty::before {
    content: attr(data-placeholder);
    color: #9aa0a6;
    pointer-events: none;
  }

  .cal-rte-editor img {
    max-width: 100%;
    border-radius: 4px;
  }

  /* ===== RICH TEXT EDITOR (Details field) ===== */
  .cal-rte-toolbar {
    display: flex;
    gap: 2px;
    background: #f8f9fa;
    border: 1px solid #dadce0;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    padding: 4px 6px;
    flex-wrap: wrap;
  }

  .cal-rte-btn {
    background: none;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    padding: 3px 7px;
    font-size: 13px;
    color: #3c4043;
    line-height: 1.4;
    transition: background 0.1s, border-color 0.1s;
    font-family: inherit;
  }

  .cal-rte-btn:hover { background: #e8eaed; border-color: #dadce0; }
  .cal-rte-btn.active { background: #e8f0fe; color: #1a73e8; border-color: #1a73e8; }

  .cal-rte-editor {
    min-height: 90px;
    max-height: 220px;
    overflow-y: auto;
    border-radius: 0 0 6px 6px;
    line-height: 1.5;
    outline: none;
    white-space: pre-wrap;
    word-break: break-word;
  }

  .cal-rte-editor:empty::before {
    content: attr(data-placeholder);
    color: #aaa;
    pointer-events: none;
  }

  .cal-rte-editor:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.15);
  }

  .cal-rte-editor img {
    max-width: 100%;
    border-radius: 4px;
    margin: 4px 0;
    display: block;
  }

  /* Delete button (edit mode) */
  .cal-add-delete-btn {
    background: none;
    border: 1px solid #d93025;
    border-radius: 6px;
    padding: 9px 16px;
    font-size: 14px;
    color: #d93025;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
    margin-right: auto;
  }

  .cal-add-delete-btn:hover { background: #fce8e6; }

  /* ── All-day JS toggle ── */
  .cal-allday-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    user-select: none;
  }

  .cal-allday-track {
    width: 36px;
    height: 20px;
    background: #ccc;
    border-radius: 20px;
    position: relative;
    transition: background 0.2s;
  }

  .cal-allday-toggle.active .cal-allday-track {
    background: #1a73e8;
  }

  .cal-allday-thumb {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: left 0.2s;
  }

  .cal-allday-toggle.active .cal-allday-thumb {
    left: 18px;
  }

  /* ── Custom date display button ── */
  .cal-date-display {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dadce0;
    border-radius: 6px;
    padding: 9px 12px 9px 36px;
    font-size: 14px;
    color: #9aa0a6;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f6368' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") no-repeat 10px center;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
    line-height: 1.4;
  }

  .cal-date-display:hover {
    border-color: #b0b0b0;
    background-color: #fafafa;
  }

  .cal-date-display.has-value {
    color: #202124;
  }

  /* ── Custom date picker popup ── */
  .cal-date-picker-popup {
    position: relative;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 10px;
    z-index: 9999;
    width: 100%;
    box-sizing: border-box;
    margin-top: 4px;
    user-select: none;
  }

  .cdp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }

  .cdp-nav-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #5f6368;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.15s;
    padding: 0;
    flex-shrink: 0;
  }

  .cdp-nav-btn:hover { background: #f1f3f4; }

  .cdp-month-label {
    font-size: 13px;
    font-weight: 600;
    color: #3c4043;
    text-align: center;
    flex: 1;
  }

  .cdp-dow-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 2px;
  }

  .cdp-dow-cell {
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: #70757a;
    padding: 2px 0;
    text-transform: uppercase;
  }

  .cdp-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
  }

  .cdp-day-cell {
    text-align: center;
    font-size: 12px;
    color: #3c4043;
    padding: 5px 2px;
    border-radius: 50%;
    cursor: pointer;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.1s;
    line-height: 1;
    box-sizing: border-box;
  }

  .cdp-day-cell.empty {
    pointer-events: none;
    cursor: default;
  }

  .cdp-day-cell:not(.empty):hover {
    background: #f1f3f4;
  }

  .cdp-day-cell.today {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 600;
  }

  .cdp-day-cell.selected {
    background: #1a73e8 !important;
    color: #fff !important;
    font-weight: 600;
  }

  .cdp-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
  }

  .cdp-today-btn,
  .cdp-clear-btn {
    background: none;
    border: none;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: inherit;
    transition: background 0.15s;
  }

  .cdp-today-btn {
    color: #1a73e8;
    font-weight: 500;
  }

  .cdp-today-btn:hover { background: #e8f0fe; }

  .cdp-clear-btn {
    color: #5f6368;
  }

  .cdp-clear-btn:hover { background: #f1f3f4; }

  /* ── Repeat days of week — button-based ── */
  .cal-repeat-days {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
  }

  .cal-repeat-day-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 500;
    border: 2px solid #dadce0;
    color: #3c4043;
    background: #fff;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    box-sizing: border-box;
    padding: 0;
    line-height: 1;
    /* Ensure pointer events always work regardless of parent visibility */
    pointer-events: auto;
    position: relative;
    z-index: 1;
  }

  .cal-repeat-day-btn:hover {
    border-color: #1a73e8;
    background: #e8f0fe;
  }

  .cal-repeat-day-btn.active {
    background: #1a73e8;
    border-color: #1a73e8;
    color: #fff;
  }

  /* ── Repeat select ── */
  .cal-add-select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235f6368' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
  }

  /* Actions row: delete on left, cancel+save on right */
  .cal-add-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 6px;
  }

  .cal-add-actions-right {
    display: flex;
    gap: 10px;
  }

  .cal-feed-badge--preview {
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 11px;
  }

  /* Editor-only notice banner inside Add Event modal */
  .cal-editor-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fef7e0;
    border: 1px solid #f9c74f;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #5a4000;
    box-sizing: border-box;
  }

  .cal-editor-notice-icon {
    font-size: 15px;
    flex-shrink: 0;
    line-height: 1.4;
  }

  .cal-editor-notice-text {
    flex: 1;
    line-height: 1.5;
  }

  /* Feed notice banner */
  .cal-feed-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #e8f0fe;
    border: 1px solid #c5d9f8;
    border-radius: 6px;
    padding: 10px 12px;
    margin: 8px 8px 0;
    font-size: 13px;
    color: #1a4a8a;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .cal-feed-notice-icon {
    font-size: 16px;
    flex-shrink: 0;
    line-height: 1.4;
  }

  .cal-feed-notice-text {
    flex: 1;
    line-height: 1.5;
  }

  .cal-feed-notice-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #1a4a8a;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.15s;
  }

  .cal-feed-notice-close:hover { opacity: 1; }

  /* ===== READ-ONLY MODE (published site) ===== */
  /* Applied via JS when not in editor — disables add-event cursors */
  &.cal-readonly {
    .cal-cell { cursor: default; }
    .cal-cell:hover { background: #fff; }
    .cal-cell.other-month:hover { background: #f8f9fa; }
    .time-slot { cursor: default; }
    .time-slot:hover { background: transparent; }
    .week-allday-cell { cursor: default; }
    .week-allday-cell:hover { background: transparent; }
  }

  /* Overflow popup */
  .overflow-popup {
    position: absolute;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    padding: 8px;
    z-index: 500;
    min-width: 180px;
    max-width: 240px;
  }

  .overflow-popup-header {
    font-size: 12px;
    font-weight: 600;
    color: #70757a;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid #f0f0f0;
  }

  .overflow-popup-close {
    float: right;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #70757a;
    line-height: 1;
  }

  /* =====================================================
     MEDIUM LAYOUT  (widget width ≤ 800px)
     Applied via JS ResizeObserver → class "cal-medium"
  ===================================================== */
  &.cal-medium {
    &.sidebar-open .cal-sidebar {
      width: 170px;
      min-width: 160px;
    }

    .cal-view-btn {
      padding: 5px 9px;
      font-size: 12px;
    }

    .cal-title { font-size: 16px; }

    .cal-cell { min-height: 70px; }

    .week-header-day-num {
      font-size: 17px;
      width: 32px;
      height: 32px;
    }
  }

  /* =====================================================
     NARROW LAYOUT  (widget width ≤ 560px)
     Applied via JS ResizeObserver → class "cal-narrow"
  ===================================================== */
  &.cal-narrow {
    /* Hide sidebar entirely on narrow — toggle button still works as a visual cue */
    .cal-sidebar,
    &.sidebar-open .cal-sidebar {
      width: 0 !important;
      min-width: 0 !important;
      padding: 0 !important;
      border-right-width: 0 !important;
      overflow: hidden !important;
    }

    /* Tighten header */
    .cal-header {
      padding: 6px 10px;
      gap: 4px;
    }

    .cal-header-left { gap: 2px; }
    .cal-header-right { gap: 4px; }

    .cal-nav-btn {
      padding: 5px 8px;
      font-size: 13px;
    }

    .cal-nav-arrow {
      font-size: 18px;
      padding: 2px 6px;
    }

    .cal-title { font-size: 14px; }

    /* Show only icon on add-event button */
    .cal-add-event-btn {
      padding: 6px 10px;
      font-size: 12px;
      border-radius: 50%;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
    }

    .cal-add-event-btn .btn-label { display: none; }

    /* Hide legend on narrow — not enough room */
    .cal-header-legend { display: none !important; }

    /* View switcher: shrink labels */
    .cal-view-btn {
      padding: 5px 7px;
      font-size: 11px;
    }

    /* Month cells — more compact */
    .cal-cell {
      min-height: 52px;
      padding: 2px;
    }

    .cal-day-num {
      font-size: 11px;
      width: 22px;
      height: 22px;
    }

    .cal-cell.today .cal-day-num {
      width: 22px;
      height: 22px;
    }

    /* Events in cells — very small */
    .cal-event {
      font-size: 10px;
      padding: 0 3px;
      line-height: 1.4;
    }

    .more-events { font-size: 10px; }

    /* Hide the hover add-btn on narrow (no hover on touch) */
    .cal-cell-add-btn { display: none; }

    /* Day headers — single letter */
    .cal-day-header {
      font-size: 10px;
      padding: 5px 2px;
    }

    /* Week/Day view — smaller time column */
    .week-time-col { width: 36px; min-width: 36px; }

    .time-label {
      font-size: 9px;
      padding-right: 3px;
      height: 48px;
    }

    .time-slot { height: 48px; }

    .week-header-day-name { font-size: 10px; letter-spacing: 0; }

    .week-header-day-num {
      font-size: 15px;
      width: 28px;
      height: 28px;
    }

    /* List view */
    .list-date-header { font-size: 12px; padding: 10px 6px 5px; }
    .list-event-title { font-size: 13px; }
    .list-event-cal-tag { display: none; }

    /* Modals — slide up from bottom as a sheet */
    .cal-modal {
      align-items: flex-end;
      justify-content: center;
      padding: 0;
    }

    .cal-modal-content,
    .cal-add-modal-content {
      border-radius: 16px 16px 0 0;
      max-width: 100%;
      width: 100%;
      max-height: 90%;
    }

    /* Full-width action buttons in Add Modal */
    .cal-add-actions {
      flex-direction: column;
      gap: 8px;
    }

    .cal-add-actions-right {
      width: 100%;
      flex-direction: column-reverse;
      gap: 8px;
    }

    .cal-add-delete-btn,
    .cal-add-save-btn,
    .cal-add-cancel-btn {
      width: 100%;
      text-align: center;
      padding: 12px;
      margin-right: 0;
    }
  }

  /* =====================================================
     VERY NARROW (≤ 380px)  — class "cal-xnarrow"
  ===================================================== */
  &.cal-xnarrow {
    .cal-header-left { flex-wrap: nowrap; }

    /* Stack header into two rows */
    .cal-header {
      flex-direction: column;
      align-items: flex-start;
    }

    .cal-header-right { width: 100%; justify-content: space-between; }

    .cal-title { font-size: 13px; }

    /* Month view: only dot for events */
    .cal-event {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      padding: 0;
      margin: 1px auto;
      font-size: 0;
      display: inline-block;
    }

    .cal-cell { min-height: 40px; padding: 1px; }
    .cal-day-num { font-size: 10px; width: 20px; height: 20px; }
    .cal-cell.today .cal-day-num { width: 20px; height: 20px; }
    .cal-day-header { font-size: 9px; padding: 3px 1px; }
  }
}


.widget-1f5975 .copyright {
    font-size: 13px;
    display: flex;
    text-align: left;
    justify-content: flex-start;
}
