/* The existing live-region data stays mounted; only its surrounding layout folds. */
.thermometer-home[data-collapse-ready] .thermometer-heading{position:relative;padding-right:42px}
.thermometer-home .thermometer-collapse{position:absolute;right:0;top:0;width:44px;height:44px;min-height:44px;padding:0;display:grid;place-items:center;font-size:1rem}
.thermometer-home .thermometer-restore{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;gap:.5rem;color:var(--accent);border:1px solid var(--line);background:var(--surface);border-radius:10px 0 0 10px;font-size:.8rem;box-shadow:0 4px 16px #0003}
.thermometer-home>.thermometer-content{transform:translateX(0);opacity:1;visibility:visible;transition:transform .24s ease,opacity .2s ease,visibility 0s}
.thermometer-home[data-collapsed=true]>.thermometer-content{position:absolute;right:0;top:0;width:280px;transform:translateX(calc(100% + 20px));opacity:0;visibility:hidden;pointer-events:none;transition:transform .24s ease,opacity .2s ease,visibility 0s linear .24s}
.home-live-layout>.thermometer-home[data-collapsed=true]{position:relative;justify-self:end;width:auto;min-width:0;max-width:none;max-height:none;height:44px;padding:0;border:0;background:none;box-shadow:none;overflow:clip}
.thermometer-home [hidden]{display:none!important}
@media(min-width:1400px){
 .home-live-layout:has(>.thermometer-home[data-collapsed=true]){grid-template-columns:clamp(350px,25vw,480px) minmax(0,1fr);padding-right:36px}
 .home-live-layout>.thermometer-home[data-collapsed=true]{position:fixed;right:0;top:35dvh;grid-column:auto;grid-row:auto;width:44px;height:150px;z-index:50;overflow:clip;border-radius:10px 0 0 10px}
 .thermometer-home[data-collapsed=true] .thermometer-restore{writing-mode:vertical-rl;width:44px;height:150px;padding:.65rem .3rem}
}
@media(prefers-reduced-motion:reduce){.thermometer-home>.thermometer-content,.thermometer-home[data-collapsed=true]>.thermometer-content{transition:none;transform:none}}
.home-live-layout>.thermometer-home{overflow-x:clip}
