/**/.hamburgerButton{display:block;background-color:transparent;border:0;padding:0;margin:0}.hamburgerButton,.hamburgerButton svg{width:100%;height: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}/**/#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%}/**/.graphicWidget{width:200px;height:200px;margin:10px auto;text-align:center}.graphicWidget svg.svg{width:100%;height:100%;color:#000;fill:#000}.graphicWidgetV2{width:60px;height:60px}.graphicWidgetV3{font-size:0}/**/#dm .dmDivider{display:block;min-height:2px;margin:0;border:0;color:gray;background:0}#dm .dmDividerWrapper{display:block;margin:10px 0}/**/.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}
/* Custom Widgets Styles */
@charset "UTF-8";
/* ============================================================
   Smart Home Hero Slider — widget-b58420
   Flat CSS only (no nesting), fully responsive
   ============================================================ */
.widget-b58420 {
  --accent: #00f5d4;
  --accent2: #7b5ea7;
  --accent3: #ff9f43;
  --dark: #0d0f1a;
  --glass: rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.13);
  --text-1: #ffffff;
  --text-2: rgba(255,255,255,0.82);
  --header-h: 70px;
  position: relative;
  font-family: inherit;
  background: var(--dark);
}

/* ── SCREEN-READER LIVE REGION ────────────────────────────── */
.widget-b58420 .ha-sr-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ── HEADER ──────────────────────────────────────────────── */
.widget-b58420 .ha-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 200;
}

.widget-b58420 .ha-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 40px;
  background: rgba(13, 15, 26, 0.75);
  /* backdrop-filter is a GPU compositing layer — acceptable on header only */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
}

.widget-b58420 .ha-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.widget-b58420 .ha-logo-img {
  display: block;
  /* Explicit max dims prevent CLS when image loads */
  height: 44px;
  width: auto;
  max-width: 180px;
  max-height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.widget-b58420 .ha-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  outline: none;
  border-radius: 6px;
}

.widget-b58420 .ha-logo a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.widget-b58420 .ha-logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 10px;
  padding: 6px;
  flex-shrink: 0;
}

.widget-b58420 .ha-logo-icon svg {
  width: 100%;
  height: 100%;
  fill: #fff;
}

.widget-b58420 .ha-logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: 0.5px;
}

.widget-b58420 .ha-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.widget-b58420 .ha-nav-item {
  position: relative;
}

.widget-b58420 .ha-nav-item a,
.widget-b58420 .ha-nav-item span {
  display: block;
  padding: 8px 14px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.widget-b58420 .ha-nav-item a:hover,
.widget-b58420 .ha-nav-item span:hover {
  color: var(--text-1);
  background: var(--glass);
}

.widget-b58420 .ha-nav-item a:focus-visible,
.widget-b58420 .ha-nav-item span:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}

.widget-b58420 .ha-nav-item.active a,
.widget-b58420 .ha-nav-item.active span {
  color: var(--text-1);
}

.widget-b58420 .ha-nav-item.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

/* Header CTA — visually distinct pill, not a plain nav link */
.widget-b58420 .ha-nav-cta {
  margin-left: 12px;
  height: 40px !important;
  padding: 0 18px !important;
  background: rgba(0, 245, 212, 0.1) !important;
  color: var(--accent) !important;
  border: 1px solid rgba(0, 245, 212, 0.35) !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  cursor: pointer !important;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s, gap 0.2s !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  touch-action: manipulation !important;
}

/* Arrow icon — hidden by default, slides in on hover */
.widget-b58420 .ha-nav-cta .ha-cta-arrow {
  display: inline-flex;
  align-items: center;
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition: width 0.22s ease, opacity 0.22s ease;
  flex-shrink: 0;
}

.widget-b58420 .ha-nav-cta .ha-cta-arrow svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: currentColor;
}

.widget-b58420 .ha-nav-cta:hover .ha-cta-arrow {
  width: 18px;
  opacity: 1;
}

.widget-b58420 .ha-nav-cta:hover {
  background: rgba(0, 245, 212, 0.2) !important;
  border-color: var(--accent) !important;
  color: var(--text-1) !important;
  box-shadow: 0 0 14px rgba(0, 245, 212, 0.2) !important;
  transform: none !important;
}

.widget-b58420 .ha-nav-cta:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 3px !important;
}

/* ── HAMBURGER BUTTON ────────────────────────────────────── */
.widget-b58420 .ha-hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  -webkit-appearance: none;
  touch-action: manipulation;
}

.widget-b58420 .ha-hamburger:hover {
  background: rgba(0, 245, 212, 0.12);
  border-color: rgba(0, 245, 212, 0.4);
}

.widget-b58420 .ha-hamburger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.widget-b58420 .ha-hb-line {
  display: block;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: width 0.25s ease, transform 0.3s ease, opacity 0.25s ease;
  transform-origin: center;
}

.widget-b58420 .ha-hb-line-1 {
  width: 18px;
}

.widget-b58420 .ha-hb-line-2 {
  width: 14px;
  align-self: flex-start;
  margin-left: 11px;
}

.widget-b58420 .ha-hb-line-3 {
  width: 18px;
}

.widget-b58420 .ha-hamburger:hover .ha-hb-line-2 {
  width: 18px;
  margin-left: 0;
}

/* Open state — morphs to X */
.widget-b58420 .ha-hamburger.open {
  background: rgba(0, 245, 212, 0.1);
  border-color: rgba(0, 245, 212, 0.35);
}

.widget-b58420 .ha-hamburger.open .ha-hb-line-1 {
  transform: translateY(7px) rotate(45deg);
  width: 18px;
}

.widget-b58420 .ha-hamburger.open .ha-hb-line-2 {
  opacity: 0;
  width: 0;
}

.widget-b58420 .ha-hamburger.open .ha-hb-line-3 {
  transform: translateY(-7px) rotate(-45deg);
  width: 18px;
}

/* ── MOBILE MENU OVERLAY ─────────────────────────────────── */
.widget-b58420 .ha-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 198;
  /* Removed backdrop-filter — backdrop blur on full-screen overlay is very expensive */
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.widget-b58420 .ha-mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ── MOBILE MENU PANEL ───────────────────────────────────── */
.widget-b58420 .ha-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 90vw);
  height: 100vh;
  height: 100dvh;
  background: rgba(11, 13, 24, 0.98);
  /* Removed backdrop-filter from mobile menu — it triggers expensive compositing on every scroll */
  border-left: 1px solid var(--glass-border);
  z-index: 199;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.38s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  /* GPU layer only when menu is open — managed via .open class */
}

.widget-b58420 .ha-mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
  will-change: transform;
}

/* Panel header */
.widget-b58420 .ha-mm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 18px;
  border-bottom: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.widget-b58420 .ha-mm-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.widget-b58420 .ha-mm-logo-img {
  height: 36px;
  width: auto;
  max-width: 140px;
  max-height: 36px;
  object-fit: contain;
}

.widget-b58420 .ha-mm-logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 9px;
  padding: 5px;
  flex-shrink: 0;
}

.widget-b58420 .ha-mm-logo-icon svg {
  width: 100%;
  height: 100%;
  fill: #fff;
}

.widget-b58420 .ha-mm-logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: 0.3px;
}

/* Close button */
.widget-b58420 .ha-mm-close {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  -webkit-appearance: none;
  touch-action: manipulation;
}

.widget-b58420 .ha-mm-close svg {
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.widget-b58420 .ha-mm-close:hover {
  background: rgba(255, 80, 80, 0.14);
  border-color: rgba(255, 80, 80, 0.4);
  color: #ff6b6b;
}

.widget-b58420 .ha-mm-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Nav list */
.widget-b58420 .ha-mm-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  gap: 2px;
}

.widget-b58420 .ha-mobile-nav-item a,
.widget-b58420 .ha-mobile-nav-item span {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 12px;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
  position: relative;
}

.widget-b58420 .ha-mobile-nav-item a::before,
.widget-b58420 .ha-mobile-nav-item span::before {
  content: "";
  display: block;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--accent), #00c9a7);
  border-radius: 2px;
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  transition: height 0.2s ease;
  flex-shrink: 0;
}

.widget-b58420 .ha-mobile-nav-item a:hover,
.widget-b58420 .ha-mobile-nav-item span:hover {
  color: var(--text-1);
  background: var(--glass);
  padding-left: 22px;
}

.widget-b58420 .ha-mobile-nav-item a:hover::before,
.widget-b58420 .ha-mobile-nav-item span:hover::before {
  height: 18px;
}

.widget-b58420 .ha-mobile-nav-item a:focus-visible,
.widget-b58420 .ha-mobile-nav-item span:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 12px;
}

/* Home item — accent bar uses accent color */
.widget-b58420 .ha-mobile-home-item a::before,
.widget-b58420 .ha-mobile-home-item span::before {
  background: linear-gradient(180deg, var(--accent), #00c9a7);
}

/* Divider between main nav items and mobile-only items */
.widget-b58420 .ha-mm-extra-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 8px 16px;
  flex-shrink: 0;
}

/* Mobile-only nav items — subtle distinction with a faint tint */
.widget-b58420 .ha-mobile-only-item a,
.widget-b58420 .ha-mobile-only-item span {
  opacity: 0.85;
}

.widget-b58420 .ha-mobile-only-item a::before,
.widget-b58420 .ha-mobile-only-item span::before {
  background: linear-gradient(180deg, var(--accent3), #e07a00);
}

/* Panel footer — CTA + tagline */
.widget-b58420 .ha-mm-footer {
  padding: 16px 22px 32px;
  border-top: 1px solid var(--glass-border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.widget-b58420 .ha-mobile-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 48px !important;
  padding: 0 20px !important;
  background: linear-gradient(135deg, var(--accent), #00c9a7) !important;
  color: var(--dark) !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  text-align: center !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  touch-action: manipulation !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  letter-spacing: 0.2px !important;
  text-decoration: none !important;
}

.widget-b58420 .ha-mobile-cta:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 28px rgba(0, 245, 212, 0.38) !important;
}

.widget-b58420 .ha-mobile-cta:active {
  transform: scale(0.97) !important;
  box-shadow: none !important;
}

.widget-b58420 .ha-mobile-cta:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 3px !important;
}

.widget-b58420 .ha-mm-tagline {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.28);
  text-align: center;
  margin: 0;
  letter-spacing: 0.2px;
  font-style: italic;
}

/* ── SLIDER WRAPPER ──────────────────────────────────────── */
.widget-b58420 .ha-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--dark);
}

/* ── SLIDES CONTAINER — crossfade stack ─────────────────── */
.widget-b58420 .ha-slides-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.widget-b58420 .ha-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  /* Removed content-visibility toggling — it forces layout recalc and causes CLS */
  transition: opacity 0.85s ease;
}

.widget-b58420 .ha-slide.active {
  opacity: 1;
  pointer-events: all;
  z-index: 2;
  /* will-change only while transitioning — managed by JS */
}

/* Directional slide transition cues */
.widget-b58420 .ha-slide.ha-slide-enter-left {
  transform: translateX(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.widget-b58420 .ha-slide.ha-slide-enter-right {
  transform: translateX(-24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.widget-b58420 .ha-slide.active.ha-slide-enter-left,
.widget-b58420 .ha-slide.active.ha-slide-enter-right {
  transform: translateX(0);
}

.widget-b58420 .ha-slide.ha-no-transition {
  transition: none !important;
}

/* ── SLIDE BACKGROUND LAYERS ─────────────────────────────── */
.widget-b58420 .ha-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.85s ease;
  z-index: 0;
}

.widget-b58420 .ha-slide-bg.ha-bg-active {
  opacity: 1;
}

/* Ken Burns zoom — only on active slide's active layer, uses transform on GPU */
.widget-b58420 .ha-slide.active .ha-slide-bg.ha-bg-active {
  animation: ha-kb 9s ease forwards;
  will-change: transform;
}

@keyframes ha-kb {
  from {
    transform: scale(1.07);
  }
  to {
    transform: scale(1);
  }
}
/* Thin gradient scrim — keeps text readable against any photo */
.widget-b58420 .ha-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.38) 55%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 3;
  pointer-events: none;
}

/* ── ORBS ────────────────────────────────────────────────── */
.widget-b58420 .ha-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s ease 0.2s;
  z-index: 4;
  /* will-change removed from base rule; only active slide needs GPU layer */
}

.widget-b58420 .ha-slide.active .ha-orb {
  opacity: 1;
  will-change: opacity;
}

.widget-b58420 .ha-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.18) 0%, transparent 70%);
  top: -120px;
  left: -80px;
}

.widget-b58420 .ha-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(123, 94, 167, 0.22) 0%, transparent 70%);
  bottom: -80px;
  right: 8%;
}

/* Night orbs */
.widget-b58420 .ha-slide.ha-is-night .ha-orb-1 {
  background: radial-gradient(circle, rgba(0, 245, 212, 0.18) 0%, transparent 70%);
}

.widget-b58420 .ha-slide.ha-is-night .ha-orb-2 {
  background: radial-gradient(circle, rgba(123, 94, 167, 0.22) 0%, transparent 70%);
}

/* ── SLIDE INNER: two-column layout ─────────────────────── */
.widget-b58420 .ha-slide-inner {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: var(--header-h) 6vw 80px 6vw;
  gap: 40px;
  box-sizing: border-box;
}

/* ── SLIDE CONTENT (left column) ────────────────────────── */
.widget-b58420 .ha-slide-content {
  flex: 1;
  min-width: 0;
  max-width: 680px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}

.widget-b58420 .ha-slide.active .ha-slide-content {
  opacity: 1;
  transform: translateY(0);
}

.widget-b58420 .ha-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  /* Removed backdrop-filter from badge — not visible enough to justify compositing layer */
  padding: 7px 16px;
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.widget-b58420 .ha-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: ha-pulse 2s infinite;
}

@keyframes ha-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 245, 212, 0.55);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 245, 212, 0);
  }
}
.widget-b58420 .ha-slide-title {
  font-size: clamp(1.9rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -1px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.widget-b58420 .ha-slide-subtitle {
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  color: var(--text-2);
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 460px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* Stats row */
.widget-b58420 .ha-stats-row {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--glass-border);
  /* Removed backdrop-filter — stats bar is small, solid bg is indistinguishable */
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 28px;
  width: fit-content;
  max-width: 100%;
  gap: 0;
}

.widget-b58420 .ha-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}

.widget-b58420 .ha-stat-item:first-child {
  padding-left: 0;
}

.widget-b58420 .ha-stat-item:last-child {
  padding-right: 0;
}

/* Per-icon color tinting for visual hierarchy */
.widget-b58420 .ha-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.widget-b58420 .ha-stat-icon--1 {
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.22), rgba(0, 245, 212, 0.08));
}

.widget-b58420 .ha-stat-icon--1 svg {
  width: 17px;
  height: 17px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

.widget-b58420 .ha-stat-icon--2 {
  background: linear-gradient(135deg, rgba(123, 94, 167, 0.28), rgba(123, 94, 167, 0.1));
}

.widget-b58420 .ha-stat-icon--2 svg {
  width: 17px;
  height: 17px;
  stroke: #c4a0ff;
  fill: none;
  stroke-width: 2;
}

.widget-b58420 .ha-stat-icon--3 {
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.28), rgba(255, 159, 67, 0.1));
}

.widget-b58420 .ha-stat-icon--3 svg {
  width: 17px;
  height: 17px;
  stroke: var(--accent3);
  fill: none;
  stroke-width: 2;
}

.widget-b58420 .ha-stat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.widget-b58420 .ha-stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1;
}

.widget-b58420 .ha-stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.widget-b58420 .ha-stat-divider {
  width: 1px;
  height: 34px;
  background: var(--glass-border);
  flex-shrink: 0;
}

/* CTA buttons — flexible width via min-width + padding */
.widget-b58420 .ha-slide-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.widget-b58420 .ha-btn-primary {
  height: 46px !important;
  width: auto !important;
  min-width: 160px !important;
  max-width: 100% !important;
  padding: 0 28px !important;
  background: linear-gradient(135deg, var(--accent), #00c9a7) !important;
  color: var(--dark) !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  transition: transform 0.25s, box-shadow 0.25s !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  touch-action: manipulation !important;
}

/* Arrow icon inside slide CTA buttons */
.widget-b58420 .ha-btn-primary .ha-btn-arrow,
.widget-b58420 .ha-btn-secondary .ha-btn-arrow {
  display: inline-flex;
  align-items: center;
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition: width 0.22s ease, opacity 0.22s ease;
  flex-shrink: 0;
}

.widget-b58420 .ha-btn-primary .ha-btn-arrow svg,
.widget-b58420 .ha-btn-secondary .ha-btn-arrow svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: currentColor;
}

.widget-b58420 .ha-btn-primary:hover .ha-btn-arrow,
.widget-b58420 .ha-btn-secondary:hover .ha-btn-arrow {
  width: 20px;
  opacity: 1;
}

.widget-b58420 .ha-btn-primary:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 12px 36px rgba(0, 245, 212, 0.45) !important;
}

.widget-b58420 .ha-btn-primary:active {
  transform: scale(0.97) !important;
}

.widget-b58420 .ha-btn-primary:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 3px !important;
}

.widget-b58420 .ha-btn-secondary {
  height: 46px !important;
  width: auto !important;
  min-width: 140px !important;
  max-width: 100% !important;
  padding: 0 24px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--text-1) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  /* Removed backdrop-filter — each filter triggers compositing */
  cursor: pointer !important;
  transition: background 0.25s, border-color 0.25s, transform 0.25s !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  touch-action: manipulation !important;
}

.widget-b58420 .ha-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: var(--accent) !important;
  transform: translateY(-2px) !important;
}

.widget-b58420 .ha-btn-secondary:active {
  transform: scale(0.97) !important;
}

.widget-b58420 .ha-btn-secondary:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 3px !important;
}

/* ── DEVICE CARD (right column) ─────────────────────────── */
.widget-b58420 .ha-device-card {
  width: clamp(250px, 22vw, 310px);
  flex-shrink: 0;
  background: rgba(18, 21, 38, 0.92);
  /* Removed backdrop-filter — expensive compositing layer, replaced with solid-ish bg */
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s;
  position: relative;
}

.widget-b58420 .ha-slide.active .ha-device-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  will-change: transform, opacity;
}

/* "Try it" interactive hint — fades out after first interaction */
.widget-b58420 .ha-card-try-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  position: absolute;
  top: -12px;
  right: 18px;
  background: linear-gradient(135deg, var(--accent), #00c9a7);
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  pointer-events: none;
  animation: ha-try-bounce 2.5s ease 1.2s infinite;
  transition: opacity 0.4s ease;
}

.widget-b58420 .ha-card-try-hint.ha-hint-hidden {
  opacity: 0;
  pointer-events: none;
}

.widget-b58420 .ha-card-try-hint svg {
  width: 11px;
  height: 11px;
  stroke: var(--dark);
  fill: none;
  flex-shrink: 0;
}

@keyframes ha-try-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
.widget-b58420 .ha-device-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.widget-b58420 .ha-device-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent2), #5a4080);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.widget-b58420 .ha-device-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
  stroke: white;
  stroke-width: 0.5;
}

.widget-b58420 .ha-device-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.widget-b58420 .ha-device-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widget-b58420 .ha-device-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--accent);
}

.widget-b58420 .ha-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: ha-pulse 2s infinite;
}

/* Main device toggle (Smart Climate AI) */
.widget-b58420 .ha-device-toggle {
  width: 42px;
  height: 22px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s;
  outline: none;
}

.widget-b58420 .ha-device-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.widget-b58420 .ha-device-toggle.active {
  background: linear-gradient(90deg, var(--accent), #00c9a7);
  border-color: var(--accent);
}

.widget-b58420 .ha-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.widget-b58420 .ha-device-toggle.active .ha-toggle-knob {
  left: 22px;
}

.widget-b58420 .ha-device-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.widget-b58420 .ha-metric {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.4s, background 0.4s;
}

.widget-b58420 .ha-slide.ha-ai-active .ha-metric {
  border-color: rgba(0, 245, 212, 0.3);
  background: rgba(0, 245, 212, 0.06);
}

.widget-b58420 .ha-metric-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.widget-b58420 .ha-metric-name {
  font-size: 0.68rem;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.widget-b58420 .ha-device-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 4px;
}

.widget-b58420 .ha-bar-label {
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.widget-b58420 .ha-device-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
}

.widget-b58420 .ha-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 1.2s ease 0.5s;
}

/* ── SMART CONTROLS (lighting + day/night toggles) ──────── */
.widget-b58420 .ha-smart-controls {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  margin: 0 0 14px;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.widget-b58420 .ha-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid transparent;
  transition: background 0.2s;
}

.widget-b58420 .ha-control-row:hover {
  background: rgba(255, 255, 255, 0.07);
}

.widget-b58420 .ha-control-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.widget-b58420 .ha-control-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.4s;
}

.widget-b58420 .ha-control-icon--lights {
  background: rgba(255, 190, 60, 0.22);
}

.widget-b58420 .ha-control-icon--lights svg {
  stroke: #ffbe3c;
  width: 17px;
  height: 17px;
  transition: stroke 0.4s, opacity 0.4s;
}

.widget-b58420 .ha-slide.ha-lights-off .ha-control-icon--lights {
  background: rgba(255, 255, 255, 0.05);
}

.widget-b58420 .ha-slide.ha-lights-off .ha-control-icon--lights svg {
  stroke: rgba(255, 255, 255, 0.3);
}

.widget-b58420 .ha-control-icon--daynight {
  background: rgba(0, 200, 255, 0.14);
  transition: background 0.6s;
}

.widget-b58420 .ha-control-icon--daynight svg {
  width: 17px;
  height: 17px;
  stroke: #60d0ff;
  transition: stroke 0.4s;
}

.widget-b58420 .ha-slide.ha-is-night .ha-control-icon--daynight {
  background: rgba(123, 94, 167, 0.22);
}

.widget-b58420 .ha-slide.ha-is-night .ha-control-icon--daynight svg {
  stroke: #c4a0ff;
}

.widget-b58420 .ha-control-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.widget-b58420 .ha-control-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-1);
}

.widget-b58420 .ha-control-value {
  font-size: 0.68rem;
  color: var(--text-2);
  transition: color 0.3s;
}

/* Wrapper around each smart toggle — for tooltip positioning */
.widget-b58420 .ha-ctrl-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Pre-emptive AI tooltip shown on hover of disabled toggles */
.widget-b58420 .ha-ai-ctrl-tooltip {
  display: none;
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 15, 26, 0.95);
  border: 1px solid rgba(0, 245, 212, 0.3);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  pointer-events: none;
  /* Removed backdrop-filter from tooltip */
}

/* Show tooltip on hover of the ctrl-wrap when AI is active */
.widget-b58420 .ha-slide.ha-ai-active .ha-ctrl-wrap:hover .ha-ai-ctrl-tooltip {
  display: block;
}

/* Smart control toggle pill */
.widget-b58420 .ha-ctrl-toggle {
  width: 46px;
  height: 26px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.35s, border-color 0.35s;
  outline: none;
}

.widget-b58420 .ha-ctrl-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.widget-b58420 .ha-ctrl-toggle.active {
  background: linear-gradient(90deg, var(--accent), #00c9a7);
  border-color: var(--accent);
}

.widget-b58420 .ha-lights-toggle.active {
  background: linear-gradient(90deg, #ffbe3c, #ff8c00);
  border-color: #ffbe3c;
}

.widget-b58420 .ha-daynight-toggle.active {
  background: linear-gradient(90deg, var(--accent2), #4a2a80);
  border-color: var(--accent2);
}

/* AI-controlled: disable pointer on smart control toggles */
.widget-b58420 .ha-slide.ha-ai-active .ha-ctrl-toggle {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.45;
}

.widget-b58420 .ha-slide.ha-ai-active .ha-control-row {
  background: rgba(0, 245, 212, 0.06);
  border: 1px solid rgba(0, 245, 212, 0.14);
}

/* AI lock hint — shown below controls when AI is active */
.widget-b58420 .ha-ai-lock-hint {
  display: none;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(0, 245, 212, 0.07);
  border: 1px solid rgba(0, 245, 212, 0.18);
  margin-top: 2px;
  font-size: 0.67rem;
  font-weight: 600;
  color: rgba(0, 245, 212, 0.75);
  letter-spacing: 0.2px;
}

.widget-b58420 .ha-ai-lock-hint svg {
  width: 11px;
  height: 11px;
  stroke: rgba(0, 245, 212, 0.75);
  flex-shrink: 0;
}

.widget-b58420 .ha-slide.ha-ai-active .ha-ai-lock-hint {
  display: flex;
}

.widget-b58420 .ha-ctrl-knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.widget-b58420 .ha-ctrl-toggle.active .ha-ctrl-knob {
  left: 24px;
}

/* AI status text on the device card header */
.widget-b58420 .ha-ai-status-badge {
  display: none;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid rgba(0, 245, 212, 0.25);
  margin-top: 6px;
  width: fit-content;
}

.widget-b58420 .ha-slide.ha-ai-active .ha-ai-status-badge {
  display: flex;
}

.widget-b58420 .ha-ai-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: ha-pulse 1.5s infinite;
}

.widget-b58420 .ha-ai-status-text {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ── AI Toast notification ───────────────────────────────── */
.widget-b58420 .ha-ai-toast {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(0, 245, 212, 0.15);
  border: 1px solid rgba(0, 245, 212, 0.35);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.widget-b58420 .ha-ai-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── WEATHER ERROR NOTICE ────────────────────────────────── */
.widget-b58420 .ha-weather-error {
  display: none;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 159, 67, 0.1);
  border: 1px solid rgba(255, 159, 67, 0.25);
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 159, 67, 0.9);
  letter-spacing: 0.15px;
}

.widget-b58420 .ha-weather-error svg {
  width: 11px;
  height: 11px;
  stroke: rgba(255, 159, 67, 0.9);
  flex-shrink: 0;
}

/* ── MOBILE SCROLL HINT ──────────────────────────────────── */
.widget-b58420 .ha-scroll-hint {
  display: none;
  position: absolute;
  bottom: 76px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(13, 15, 26, 0.8);
  /* Removed backdrop-filter */
  border: 1px solid var(--glass-border);
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  animation: ha-bounce 2s ease infinite;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.widget-b58420 .ha-scroll-hint.ha-hint-hidden {
  opacity: 0;
}

.widget-b58420 .ha-scroll-hint svg {
  width: 16px;
  height: 16px;
}

@keyframes ha-bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(5px);
  }
}
/* ── SLIDER CONTROLS ─────────────────────────────────────── */
.widget-b58420 .ha-slider-controls {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(13, 15, 26, 0.75);
  /* Removed backdrop-filter from controls bar — high paint cost for small benefit */
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 8px 18px;
  white-space: nowrap;
}

.widget-b58420 .ha-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  outline: none;
}

.widget-b58420 .ha-arrow svg {
  width: 18px;
  height: 18px;
}

.widget-b58420 .ha-arrow:hover {
  background: rgba(0, 245, 212, 0.16);
  border-color: var(--accent);
  transform: scale(1.1);
}

.widget-b58420 .ha-arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.widget-b58420 .ha-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.widget-b58420 .ha-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: width 0.32s ease, background 0.32s ease, border-radius 0.32s ease;
  outline: none;
}

.widget-b58420 .ha-dot.active {
  width: 26px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #00c9a7);
}

.widget-b58420 .ha-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.6);
}

.widget-b58420 .ha-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 50%;
}

/* ── PLAY / PAUSE BUTTON ─────────────────────────────────── */
.widget-b58420 .ha-playpause {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  outline: none;
  padding: 0;
}

.widget-b58420 .ha-playpause svg {
  width: 12px;
  height: 12px;
  pointer-events: none;
}

.widget-b58420 .ha-playpause:hover {
  background: rgba(0, 245, 212, 0.16);
  border-color: var(--accent);
  color: var(--text-1);
}

.widget-b58420 .ha-playpause:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.widget-b58420 .ha-counter {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 600;
}

.widget-b58420 .ha-counter-current {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-1);
  transition: opacity 0.15s ease;
}

.widget-b58420 .ha-counter-current.ha-counter-flip {
  opacity: 0;
}

.widget-b58420 .ha-counter-sep {
  opacity: 0.35;
}

/* Progress bar — slightly thicker track for better visibility */
.widget-b58420 .ha-progress-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 50;
}

.widget-b58420 .ha-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 0 2px 2px 0;
}

.widget-b58420 .ha-progress-bar.paused {
  background: rgba(255, 255, 255, 0.2);
}

/* Pause indicator (desktop hover) */
.widget-b58420 .ha-pause-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.75);
  z-index: 60;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(13, 15, 26, 0.85);
  /* Removed backdrop-filter */
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.widget-b58420 .ha-pause-indicator svg {
  width: 20px;
  height: 20px;
}

.widget-b58420 .ha-pause-indicator.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ── REAL-TIME LIVE BADGE ────────────────────────────────── */
.widget-b58420 .ha-rt-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid rgba(0, 245, 212, 0.22);
  width: fit-content;
}

.widget-b58420 .ha-rt-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: ha-pulse 2s infinite;
}

.widget-b58420 .ha-rt-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ══════════════════════════════════════════════════════════
   COMPACT / INNER-PAGE MODE
   ══════════════════════════════════════════════════════════ */
.widget-b58420 .ha-slider-wrapper.ha-compact {
  height: 560px !important;
  min-height: 560px !important;
  max-height: 560px !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-hide-compact {
  display: none !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-slide-inner {
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: calc(var(--header-h) + 24px) 32px 70px 32px !important;
  gap: 0 !important;
  overflow: hidden !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-slide-content {
  max-width: 700px !important;
  width: 100% !important;
  text-align: left !important;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-slide.active .ha-slide-content {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-slide-badge {
  margin-bottom: 14px !important;
  padding: 6px 14px !important;
  font-size: 0.74rem !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-slide-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.4px !important;
  line-height: 1.15 !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-slide-subtitle {
  font-size: 0.92rem !important;
  margin-bottom: 22px !important;
  line-height: 1.6 !important;
  max-width: 100% !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-slide-ctas {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 300px !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-btn-primary {
  height: 44px !important;
  width: 100% !important;
  min-width: unset !important;
  max-width: 300px !important;
  padding: 0 20px !important;
  font-size: 0.9rem !important;
  white-space: nowrap !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-btn-secondary {
  height: 44px !important;
  width: 100% !important;
  min-width: unset !important;
  max-width: 300px !important;
  padding: 0 20px !important;
  font-size: 0.9rem !important;
  white-space: nowrap !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-slider-controls {
  bottom: 16px !important;
  padding: 6px 14px !important;
  gap: 10px !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-arrow {
  width: 30px !important;
  height: 30px !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-arrow svg {
  width: 14px !important;
  height: 14px !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-dot {
  width: 6px !important;
  height: 6px !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-dot.active {
  width: 20px !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-progress-wrap {
  height: 2px !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-orb-1 {
  width: 250px !important;
  height: 250px !important;
  top: -80px !important;
  left: -60px !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-orb-2 {
  width: 200px !important;
  height: 200px !important;
}

.widget-b58420 .ha-slider-wrapper.ha-compact .ha-pause-indicator {
  display: none !important;
}

/* ── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .widget-b58420 .ha-slide {
    transition: opacity 0.2s ease !important;
    transform: none !important;
  }
  .widget-b58420 .ha-slide-bg {
    transition: opacity 0.2s ease !important;
    animation: none !important;
    transform: none !important;
  }
  .widget-b58420 .ha-slide-content {
    transition: opacity 0.2s ease !important;
  }
  .widget-b58420 .ha-device-card {
    transition: opacity 0.2s ease !important;
  }
  .widget-b58420 .ha-orb {
    transition: none !important;
  }
  .widget-b58420 .ha-badge-dot {
    animation: none !important;
  }
  .widget-b58420 .ha-status-dot {
    animation: none !important;
  }
  .widget-b58420 .ha-rt-dot {
    animation: none !important;
  }
  .widget-b58420 .ha-ai-status-dot {
    animation: none !important;
  }
  .widget-b58420 .ha-bar-fill {
    transition: width 0.3s ease !important;
  }
  .widget-b58420 .ha-ctrl-knob {
    transition: left 0.15s ease !important;
  }
  .widget-b58420 .ha-toggle-knob {
    transition: left 0.15s ease !important;
  }
  .widget-b58420 .ha-card-try-hint {
    animation: none !important;
  }
}
/* ── TABLET  768px – 1024px ──────────────────────────────── */
@media (min-width: 768px) and (max-width: 1024px) {
  .widget-b58420 .ha-header-inner {
    padding: 0 24px;
  }
  .widget-b58420 .ha-nav {
    display: none;
  }
  .widget-b58420 .ha-hamburger {
    display: flex;
  }
  .widget-b58420 .ha-mobile-menu {
    display: flex;
  }
  .widget-b58420 .ha-mobile-overlay {
    display: block;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) {
    height: 100svh;
    min-height: 620px;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-inner {
    flex-direction: row;
    align-items: center;
    padding: calc(var(--header-h) + 24px) 4vw 80px 4vw;
    gap: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    box-sizing: border-box;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-content {
    flex: 1;
    min-width: 0;
    max-width: 100%;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-title {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    letter-spacing: -0.5px;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-subtitle {
    font-size: 0.95rem;
    margin-bottom: 22px;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-badge {
    font-size: 0.73rem;
    margin-bottom: 16px;
  }
  .widget-b58420 .ha-stats-row {
    padding: 12px 14px;
    margin-bottom: 22px;
  }
  .widget-b58420 .ha-stat-item {
    padding: 0 10px;
    gap: 8px;
  }
  .widget-b58420 .ha-stat-item:first-child {
    padding-left: 0;
  }
  .widget-b58420 .ha-stat-item:last-child {
    padding-right: 0;
  }
  .widget-b58420 .ha-stat-icon {
    width: 30px;
    height: 30px;
  }
  .widget-b58420 .ha-stat-value {
    font-size: 0.92rem;
  }
  .widget-b58420 .ha-stat-label {
    font-size: 0.65rem;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-ctas {
    gap: 12px;
    flex-wrap: wrap;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-btn-primary {
    height: 44px !important;
    width: auto !important;
    min-width: 150px !important;
    max-width: 100% !important;
    padding: 0 24px !important;
    font-size: 0.9rem !important;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-btn-secondary {
    height: 44px !important;
    width: auto !important;
    min-width: 140px !important;
    max-width: 100% !important;
    padding: 0 22px !important;
    font-size: 0.9rem !important;
  }
  .widget-b58420 .ha-device-card {
    width: clamp(230px, 30vw, 280px);
    flex-shrink: 0;
    padding: 18px;
  }
  .widget-b58420 .ha-device-name {
    font-size: 0.82rem;
  }
  .widget-b58420 .ha-device-metrics {
    gap: 6px;
  }
  .widget-b58420 .ha-metric {
    padding: 8px 4px;
  }
  .widget-b58420 .ha-metric-val {
    font-size: 0.9rem;
  }
  .widget-b58420 .ha-metric-name {
    font-size: 0.64rem;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slider-controls {
    bottom: 22px;
    padding: 7px 16px;
    gap: 10px;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-arrow {
    width: 36px;
    height: 36px;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-arrow svg {
    width: 17px;
    height: 17px;
  }
  .widget-b58420 .ha-counter {
    font-size: 0.78rem;
  }
  .widget-b58420 .ha-counter-current {
    font-size: 1rem;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-dot {
    width: 7px;
    height: 7px;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-dot.active {
    width: 24px;
  }
  .widget-b58420 .ha-orb-1 {
    width: 340px;
    height: 340px;
  }
  .widget-b58420 .ha-orb-2 {
    width: 260px;
    height: 260px;
  }
}
/* ── TABLET PORTRAIT  768px – 900px ── */
@media (min-width: 768px) and (max-width: 900px) {
  /* already handled by tablet block above */
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 20px) 5vw 100px 5vw;
    gap: 20px;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-content {
    max-width: 100%;
    width: 100%;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-title {
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  }
  .widget-b58420 .ha-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    padding: 12px 12px;
    margin-bottom: 20px;
    gap: 0;
  }
  .widget-b58420 .ha-stat-divider {
    display: none;
  }
  .widget-b58420 .ha-stat-item {
    padding: 0 8px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
  }
  .widget-b58420 .ha-stat-item:first-child {
    padding-left: 8px;
  }
  .widget-b58420 .ha-stat-item:last-child {
    padding-right: 8px;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-btn-primary {
    height: 48px !important;
    width: 100% !important;
    min-width: unset !important;
    font-size: 0.92rem !important;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-btn-secondary {
    height: 48px !important;
    width: 100% !important;
    min-width: unset !important;
    font-size: 0.92rem !important;
  }
  .widget-b58420 .ha-device-card {
    width: 100%;
    position: relative;
  }
}
/* ── MOBILE  ≤ 767px ─────────────────────────────────────── */
@media (max-width: 767px) {
  .widget-b58420 .ha-header-inner {
    padding: 0 16px;
  }
  .widget-b58420 .ha-nav {
    display: none;
  }
  .widget-b58420 .ha-hamburger {
    display: flex;
  }
  .widget-b58420 .ha-mobile-menu {
    display: flex;
  }
  .widget-b58420 .ha-mobile-overlay {
    display: block;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) {
    height: 100svh;
    min-height: 580px;
    overflow: hidden;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 20px) 20px 100px 20px;
    gap: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    box-sizing: border-box;
    touch-action: pan-y;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-content {
    max-width: 100%;
    width: 100%;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    letter-spacing: -0.5px;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-subtitle {
    font-size: 0.92rem;
    margin-bottom: 20px;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-badge {
    font-size: 0.7rem;
    margin-bottom: 14px;
  }
  .widget-b58420 .ha-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    padding: 12px 10px;
    margin-bottom: 20px;
  }
  .widget-b58420 .ha-stat-divider {
    display: none;
  }
  .widget-b58420 .ha-stat-item {
    padding: 0 4px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
  }
  .widget-b58420 .ha-stat-item:first-child {
    padding-left: 4px;
  }
  .widget-b58420 .ha-stat-item:last-child {
    padding-right: 4px;
  }
  .widget-b58420 .ha-stat-icon {
    width: 28px;
    height: 28px;
  }
  .widget-b58420 .ha-stat-value {
    font-size: 0.88rem;
  }
  .widget-b58420 .ha-stat-label {
    font-size: 0.62rem;
  }
  /* CTA buttons — full width on mobile non-compact */
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-ctas {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-btn-primary {
    height: 52px !important;
    width: 100% !important;
    min-width: unset !important;
    font-size: 1rem !important;
    padding: 0 20px !important;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-btn-secondary {
    height: 52px !important;
    width: 100% !important;
    min-width: unset !important;
    font-size: 1rem !important;
    padding: 0 20px !important;
  }
  .widget-b58420 .ha-device-card {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    transform: none !important;
    opacity: 0;
    transition: opacity 0.55s ease 0.3s !important;
  }
  .widget-b58420 .ha-slide.active .ha-device-card {
    opacity: 1;
    transform: none !important;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slider-controls {
    bottom: 18px;
    padding: 7px 14px;
    gap: 10px;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-arrow {
    width: 34px;
    height: 34px;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-arrow svg {
    width: 16px;
    height: 16px;
  }
  .widget-b58420 .ha-counter {
    display: flex;
    font-size: 0.75rem;
  }
  .widget-b58420 .ha-counter-current {
    font-size: 0.95rem;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-dot {
    width: 8px;
    height: 8px;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-dot.active {
    width: 22px;
  }
  .widget-b58420 .ha-scroll-hint {
    display: flex;
  }
  .widget-b58420 .ha-pause-indicator {
    display: none;
  }
  .widget-b58420 .ha-orb-1 {
    width: 280px;
    height: 280px;
  }
  .widget-b58420 .ha-orb-2 {
    width: 220px;
    height: 220px;
  }
  /* AI tooltip repositioned above toggle on mobile */
  .widget-b58420 .ha-ai-ctrl-tooltip {
    right: auto;
    left: 50%;
    top: auto;
    bottom: calc(100% + 6px);
    transform: translateX(-50%);
  }
  /* ── COMPACT on mobile ── */
  .widget-b58420 .ha-slider-wrapper.ha-compact {
    height: 560px !important;
    min-height: 560px !important;
    max-height: 560px !important;
    overflow: hidden !important;
  }
  .widget-b58420 .ha-slider-wrapper.ha-compact .ha-slide-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: calc(var(--header-h) + 16px) 20px 60px 20px !important;
    gap: 0 !important;
    overflow: hidden !important;
    height: 100% !important;
    touch-action: pan-x !important;
  }
  .widget-b58420 .ha-slider-wrapper.ha-compact .ha-slide-content {
    max-width: 100% !important;
    width: 100% !important;
  }
  .widget-b58420 .ha-slider-wrapper.ha-compact .ha-slide-title {
    font-size: clamp(1.3rem, 5.5vw, 1.8rem) !important;
    margin-bottom: 10px !important;
  }
  .widget-b58420 .ha-slider-wrapper.ha-compact .ha-slide-subtitle {
    font-size: 0.85rem !important;
    margin-bottom: 16px !important;
    -webkit-line-clamp: 2 !important;
  }
  .widget-b58420 .ha-slider-wrapper.ha-compact .ha-slide-badge {
    font-size: 0.68rem !important;
    margin-bottom: 10px !important;
    padding: 5px 12px !important;
  }
  .widget-b58420 .ha-slider-wrapper.ha-compact .ha-slide-ctas {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 9px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 300px !important;
  }
  .widget-b58420 .ha-slider-wrapper.ha-compact .ha-btn-primary {
    height: 44px !important;
    width: 100% !important;
    min-width: unset !important;
    max-width: 300px !important;
    padding: 0 16px !important;
    font-size: 0.88rem !important;
    white-space: nowrap !important;
  }
  .widget-b58420 .ha-slider-wrapper.ha-compact .ha-btn-secondary {
    height: 44px !important;
    width: 100% !important;
    min-width: unset !important;
    max-width: 300px !important;
    padding: 0 16px !important;
    font-size: 0.88rem !important;
    white-space: nowrap !important;
  }
  .widget-b58420 .ha-slider-wrapper.ha-compact .ha-slider-controls {
    bottom: 14px !important;
    padding: 5px 12px !important;
    gap: 8px !important;
  }
  .widget-b58420 .ha-scroll-hint {
    display: none;
  }
}
/* ── VERY SMALL  ≤ 380px ─────────────────────────────────── */
@media (max-width: 380px) {
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-inner {
    padding: calc(var(--header-h) + 14px) 16px 90px 16px;
  }
  .widget-b58420 .ha-slider-wrapper:not(.ha-compact) .ha-slide-title {
    font-size: 1.55rem;
  }
  .widget-b58420 .ha-device-card {
    padding: 16px;
  }
  .widget-b58420 .ha-metric-val {
    font-size: 0.88rem;
  }
  .widget-b58420 .ha-device-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }
  .widget-b58420 .ha-slider-wrapper.ha-compact .ha-slide-inner {
    padding: calc(var(--header-h) + 18px) 14px 56px 14px !important;
  }
  .widget-b58420 .ha-slider-wrapper.ha-compact .ha-slide-title {
    font-size: 1.2rem !important;
  }
  .widget-b58420 .ha-slider-wrapper.ha-compact .ha-slide-ctas {
    max-width: 260px !important;
  }
  .widget-b58420 .ha-slider-wrapper.ha-compact .ha-btn-primary,
  .widget-b58420 .ha-slider-wrapper.ha-compact .ha-btn-secondary {
    height: 42px !important;
    width: 100% !important;
    min-width: unset !important;
    max-width: 260px !important;
    padding: 0 14px !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
  }
}

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