.ha-atlas-preview{--atlas-night:var(--paper);--atlas-card-surface:var(--card);--atlas-controls-surface:var(--paper);--atlas-ink:#43556d;--atlas-grid:#d5dce7;--atlas-muted:#657d98;--atlas-star:#203149;--atlas-lines:#6982a0;--atlas-horizon:#89a3bf;--atlas-star-label:#64748b;--atlas-ecliptic:#6746ca}html[data-theme=dark] .ha-atlas-preview{--atlas-night:var(--paper);--atlas-card-surface:var(--card);--atlas-controls-surface:var(--paper);--atlas-ink:#c4d5ea;--atlas-grid:#30445d;--atlas-muted:#9cb3cf;--atlas-star:#f2f6fd;--atlas-lines:#8ba5c8;--atlas-horizon:#728eb0;--atlas-star-label:#aebbd0}.ha-atlas-preview .resource-heading{padding:0 0 24px}.ha-atlas-preview .ha-atlas-card{background:var(--atlas-card-surface);border:1px solid var(--line);box-shadow:none;border-radius:13px;overflow:hidden}.ha-atlas-preview .ha-atlas-head{border-bottom:0;padding:22px 26px 0}.ha-atlas-preview .ha-atlas-kicker{color:var(--orange-text);letter-spacing:.14em;text-transform:uppercase;font:800 12px/1.45 Inter,system-ui,sans-serif}.ha-atlas-preview .ha-atlas-head h2{color:var(--ink);margin:6px 0 0;font:500 clamp(1.5rem,2.05vw,1.75rem)/1.16 Georgia,Times New Roman,serif}.ha-atlas-preview .ha-atlas-control-caption{text-transform:uppercase;letter-spacing:.09em;color:var(--muted);margin-bottom:9px;font:700 11px/1.4 Inter,system-ui,sans-serif;display:block}.ha-atlas-preview .ha-atlas-magnitude-panel{border-top:1px solid var(--line);background:var(--atlas-controls-surface);flex-wrap:nowrap;justify-content:space-between;align-items:flex-start;gap:16px 22px;padding:18px 26px;display:flex}.ha-atlas-preview .ha-atlas-magnitude-primary{min-width:0}.ha-atlas-preview .ha-atlas-magnitude-controls{align-items:flex-start;gap:14px;min-width:0;display:flex}.ha-atlas-preview .ha-atlas-scale-line{flex-direction:column;align-items:center;gap:8px;min-width:0;display:flex}.ha-atlas-preview .ha-atlas-mags.mm-nightlights-tools{flex-wrap:nowrap;justify-content:flex-start;align-items:flex-start;gap:7px;min-width:0;margin:0;display:flex}.ha-atlas-preview .ha-atlas-star-count{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font:400 13px/1.5 Inter,system-ui,sans-serif}.ha-atlas-preview .ha-atlas-star-count strong{color:var(--ink);font-weight:700}.ha-atlas-preview .ha-atlas-magnitude-item{flex-direction:column;justify-content:flex-start;align-items:center;gap:5px;width:46px;display:flex}.ha-atlas-preview .ha-atlas-mags .mm-button.ha-atlas-mag-button{box-sizing:border-box;border-radius:8px;justify-content:center;align-items:center;width:42px;height:42px;min-height:42px;padding:0;display:flex}.ha-atlas-preview .ha-atlas-magnitude-dot{width:var(--atlas-dot);height:var(--atlas-dot);background:var(--atlas-star);border-radius:50%;flex:none;display:block}.ha-atlas-preview .ha-atlas-mags .mm-button.ha-atlas-mag-button[aria-pressed=true],.ha-atlas-preview .ha-atlas-mags .mm-button.ha-atlas-mag-button:hover{border-color:var(--blue);color:var(--blue);background:0 0}.ha-atlas-preview .ha-atlas-mag-button[aria-pressed=true] .ha-atlas-magnitude-dot{background:var(--orange-text)}.ha-atlas-preview .ha-atlas-mags .mm-button.ha-atlas-mag-button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.ha-atlas-preview .ha-atlas-magnitude-value{font-variant-numeric:tabular-nums;color:var(--muted);text-align:center;font:500 12px/1 Inter,system-ui,sans-serif}.ha-atlas-preview .ha-atlas-actions.mm-nightlights-tools{flex-wrap:nowrap;align-items:center;gap:6px;min-height:42px;margin:0;display:flex}.ha-atlas-preview .ha-atlas-actions.mm-nightlights-tools .mm-button[aria-pressed=true],.ha-atlas-preview .ha-atlas-actions.mm-nightlights-tools .mm-button:hover{color:var(--blue);border-color:var(--blue);background:0 0}.ha-atlas-preview .ha-atlas-time-panel{background:var(--atlas-card-surface);padding:16px 26px 0}.ha-atlas-preview .ha-atlas-clock{justify-content:center;width:100%;min-width:0;margin:0;display:flex}.ha-atlas-preview .ha-atlas-clock .ha-selector-strip{box-sizing:border-box;border:1px solid var(--line);background:var(--atlas-controls-surface);width:100%;min-width:0;box-shadow:none;border-radius:13px;margin:0;padding:10px 14px}.ha-atlas-preview .ha-atlas-stage{text-align:center;background:var(--atlas-card-surface);padding:20px 26px 16px}.ha-atlas-preview .ha-atlas-label-toolbar{flex-wrap:nowrap;flex:none;justify-content:flex-end;align-items:center;gap:10px 14px;margin:24px 0 0;display:flex}.ha-atlas-preview .ha-atlas-label-group{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px 12px;display:flex}.ha-atlas-preview .ha-atlas-layer-options.mm-nightlights-tools{justify-content:center;align-items:center;margin:0;display:flex}.ha-atlas-preview .ha-atlas-ecliptic-toggle{cursor:pointer;white-space:nowrap;min-height:44px;color:var(--ink);justify-content:center;align-items:center;gap:10px;font:400 13px/1.45 Inter,system-ui,sans-serif;display:inline-flex;position:relative}.ha-atlas-preview .ha-atlas-ecliptic-toggle input{opacity:0;pointer-events:none;width:1px;height:1px;margin:0;position:absolute}.ha-atlas-preview .ha-atlas-ecliptic-track{box-sizing:border-box;background:#cbd5e1;border:1px solid #9caabd;border-radius:99px;flex:none;width:44px;height:26px;transition:background-color .18s,border-color .18s;display:inline-block;position:relative}html[data-theme=dark] .ha-atlas-preview .ha-atlas-ecliptic-track{background:#586981;border-color:#8fa1bd}.ha-atlas-preview .ha-atlas-ecliptic-thumb{background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .18s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #0003}.ha-atlas-preview .ha-atlas-ecliptic-toggle input:checked+.ha-atlas-ecliptic-track{border-color:var(--atlas-ecliptic);background:var(--atlas-ecliptic)}.ha-atlas-preview .ha-atlas-ecliptic-toggle input:checked+.ha-atlas-ecliptic-track .ha-atlas-ecliptic-thumb{transform:translate(18px)}.ha-atlas-preview .ha-atlas-ecliptic-toggle input:focus-visible+.ha-atlas-ecliptic-track{outline:2px solid var(--blue);outline-offset:3px}@media (width<=560px){.ha-atlas-preview .ha-atlas-ecliptic-toggle{font-size:12px}}@media (prefers-reduced-motion:reduce){.ha-atlas-preview .ha-atlas-ecliptic-track,.ha-atlas-preview .ha-atlas-ecliptic-thumb{transition:none}}.ha-atlas-preview .ha-atlas-label-caption{color:var(--muted);text-align:center;font:400 13px/1.45 Inter,system-ui,sans-serif}.ha-atlas-preview .ha-atlas-label-options.mm-nightlights-tools{flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:6px;margin:0;display:flex}.ha-atlas-preview .ha-atlas-label-options.mm-nightlights-tools .mm-button[aria-pressed=true],.ha-atlas-preview .ha-atlas-label-options.mm-nightlights-tools .mm-button:hover{color:var(--blue);border-color:var(--blue);background:0 0}.ha-atlas-preview .ha-atlas-viewport{background:0 0;border:0;border-radius:0;width:100%;max-width:none;margin:0 auto;position:relative;overflow:visible}.ha-atlas-preview .ha-atlas-viewport canvas{aspect-ratio:1;background:0 0;width:100%;height:auto;display:block}.ha-atlas-preview .ha-atlas-viewport canvas:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.ha-atlas-preview .ha-atlas-object-card{z-index:5;box-sizing:border-box;border:1px solid var(--line);background:var(--card);min-width:185px;max-width:min(240px,100% - 12px);color:var(--ink);text-align:left;pointer-events:none;border-radius:10px;padding:12px 14px;font:400 13px/1.45 Inter,system-ui,sans-serif;position:absolute;box-shadow:0 6px 25px #0002}.ha-atlas-preview .ha-atlas-object-card[hidden]{display:none}.ha-atlas-preview .ha-atlas-object-title{color:var(--ink);margin-bottom:8px;font:700 15px/1.3 Inter,system-ui,sans-serif;display:block}.ha-atlas-preview .ha-atlas-object-card dl{grid-template-columns:minmax(0,1fr) auto;gap:5px 9px;margin:0;display:grid}.ha-atlas-preview .ha-atlas-object-card dt{color:var(--muted);margin:0}.ha-atlas-preview .ha-atlas-object-card dd{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;margin:0}.ha-atlas-preview .ha-atlas-a11y-help{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width>=1001px){.ha-atlas-preview .ha-atlas-viewport{width:min(100%,800px,82vh)}}.ha-atlas-preview .ha-atlas-viewport canvas.ha-atlas-theme-ghost{pointer-events:none;animation:.9s cubic-bezier(.22,.61,.36,1) forwards ha-atlas-theme-fade;position:absolute;inset:0}@keyframes ha-atlas-theme-fade{0%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.ha-atlas-preview .ha-atlas-viewport canvas.ha-atlas-theme-ghost{animation:none}}.ha-atlas-preview .ha-atlas-stage-status{color:var(--ink);margin:10px auto 0;font:400 13px/1.5 Inter,system-ui,sans-serif}.ha-atlas-preview .ha-atlas-stage-status:empty{display:none}@media (width<=1200px){.ha-atlas-preview .ha-atlas-label-toolbar{flex-wrap:wrap;flex:100%;justify-content:center;width:100%;margin:0}.ha-atlas-preview .ha-atlas-label-group,.ha-atlas-preview .ha-atlas-label-options.mm-nightlights-tools{justify-content:center}.ha-atlas-preview .ha-atlas-magnitude-panel{flex-wrap:wrap;justify-content:center}.ha-atlas-preview .ha-atlas-magnitude-primary{flex-direction:column;align-items:center;width:100%;min-width:0;display:flex}.ha-atlas-preview .ha-atlas-scale-line{flex-direction:column;align-items:center;gap:8px;width:100%;max-width:417px}.ha-atlas-preview .ha-atlas-mags.mm-nightlights-tools{justify-content:center}.ha-atlas-preview .ha-atlas-magnitude-controls{flex-direction:column;align-items:center;gap:12px;width:100%}.ha-atlas-preview .ha-atlas-clock{justify-content:center}}@media (width<=760px){.ha-atlas-preview .resource-heading{padding-bottom:20px}.ha-atlas-preview .ha-atlas-head{padding:18px 18px 0}.ha-atlas-preview .ha-atlas-time-panel{padding:14px 18px 0}.ha-atlas-preview .ha-atlas-magnitude-panel{gap:12px;padding:14px 16px 16px}.ha-atlas-preview .ha-atlas-mags.mm-nightlights-tools{grid-template-columns:repeat(8,minmax(0,1fr));gap:clamp(2px,.75vw,5px);width:100%;display:grid}.ha-atlas-preview .ha-atlas-magnitude-item{width:100%;min-width:0}.ha-atlas-preview .ha-atlas-mags .mm-button.ha-atlas-mag-button{width:100%;height:clamp(32px,10vw,39px);min-height:32px}.ha-atlas-preview .ha-atlas-stage{padding:14px 12px 16px}.ha-atlas-preview .ha-atlas-label-toolbar{justify-content:center;gap:8px}}@media (width<=420px){.ha-atlas-preview .ha-atlas-stage{padding:12px 8px 14px}.ha-atlas-preview .ha-atlas-label-toolbar{flex-direction:column;align-items:center;gap:6px}.ha-atlas-preview .ha-atlas-label-group{flex-direction:column;align-items:center;gap:6px;width:100%}.ha-atlas-preview .ha-atlas-label-options.mm-nightlights-tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;width:100%;display:grid}.ha-atlas-preview .ha-atlas-label-options .mm-button{white-space:nowrap;min-width:0;padding:9px 5px;font-size:12px}.ha-atlas-preview .ha-atlas-actions.mm-nightlights-tools{justify-content:center}.ha-atlas-preview .ha-atlas-clock,.ha-atlas-preview .ha-atlas-clock .ha-selector-strip{width:100%}}.ha-atlas-preview .ha-atlas-orientation-explain{border-top:1px solid var(--line);margin:0;padding:15px 26px 14px}@media (width<=760px){.ha-atlas-preview .ha-atlas-orientation-explain{padding:14px 18px}}