/* Shared weather surfaces use Atlas theme tokens, independent of Today layout. */
.atlas-weather-summary,.atlas-hourly{--weather-ink:var(--ui-color-text,#302d29);--weather-muted:var(--ui-color-muted,#716b63);--weather-border:var(--ui-color-border,#ddd6cc);--weather-accent:var(--ui-color-link,#806943);--weather-surface:var(--ui-color-surface,#fff);color:var(--weather-ink);border:1px solid var(--weather-border);border-radius:16px;min-width:0}
.atlas-weather-icon{display:block;width:24px;height:24px;flex-shrink:0}
.atlas-weather-icon[data-weather-icon=sun],.atlas-weather-icon[data-weather-icon=partly]{color:var(--ui-color-weather-sun,#a57623)}
.atlas-weather-icon[data-weather-icon=rain],.atlas-weather-icon[data-weather-icon=snow],.atlas-weather-icon[data-weather-icon=drop]{color:var(--ui-color-weather-rain,#51778b)}
.atlas-weather-summary{display:grid;grid-template-columns:minmax(240px,1fr) minmax(280px,1fr);gap:2rem;padding:1.5rem 1.75rem;background:var(--ui-color-panel,#f1eee8)}
.atlas-weather-summary p,.atlas-hourly p,.atlas-hourly h3{margin:0}
.atlas-weather-eyebrow{font-size:.8rem;font-weight:600;letter-spacing:.02em}
.atlas-weather-reading{display:flex;gap:1.1rem;align-items:center;margin:.9rem 0 .45rem}
.atlas-weather-symbol>.atlas-weather-icon{width:52px;height:52px;stroke-width:1.4}
.atlas-weather-reading strong{display:block;font-size:3.25rem;font-weight:500;line-height:1;letter-spacing:-.06em;font-variant-numeric:tabular-nums}
.atlas-weather-reading p{font-size:.8rem;color:var(--weather-muted);margin-top:.4rem}
.atlas-weather-description{font-size:.95rem}
.atlas-weather-context{display:flex;flex-direction:column;justify-content:center;border-left:1px solid var(--weather-border);padding-left:1.75rem}
.atlas-weather-basis{font-size:.9rem;line-height:1.5;max-width:26rem}
.atlas-weather-metrics{display:flex;gap:2rem;margin:1rem 0 .6rem}
.atlas-weather-metric{display:flex;align-items:center;gap:.6rem}
.atlas-weather-metric span{display:block;font-size:.75rem;color:var(--weather-muted)}
.atlas-weather-metric strong{display:block;font-size:.95rem;font-weight:500}
.atlas-weather-note{font-size:.72rem;line-height:1.5;color:var(--weather-muted)}
.atlas-hourly{background:var(--weather-surface);padding:1.2rem 1.25rem 1rem;overflow:hidden}
.atlas-hourly-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.1rem}
.atlas-hourly-header h3{font-size:1rem;font-weight:600;line-height:1.4}
.atlas-hourly-header p{font-size:.75rem;color:var(--weather-muted);margin-top:.2rem}
.atlas-hourly-controls{display:flex;gap:.4rem}
.atlas-hourly-controls button{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid var(--weather-border);background:var(--weather-surface);color:var(--weather-ink);font:inherit;font-size:20px;line-height:1;cursor:pointer}
.atlas-hourly-controls button:disabled{opacity:.3;cursor:default}
.atlas-hourly-controls button:focus-visible,.atlas-hourly-viewport:focus-visible{outline:2px solid var(--weather-accent);outline-offset:2px}
.atlas-hourly-viewport{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;border-radius:8px}
.atlas-hourly-viewport::-webkit-scrollbar{display:none}
.atlas-hourly-track{position:relative}
.atlas-hourly-list{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(88px,1fr);list-style:none!important;padding:0!important;margin:0!important}
.atlas-hourly-list>.atlas-hour{position:relative;text-align:center;padding:8px 0 0;margin:0;min-width:0;list-style:none}
.atlas-hour[data-outfit-basis]{background:var(--ui-color-weather-selected,color-mix(in srgb,var(--weather-accent) 7%,transparent));border-radius:9px}
.atlas-hour time{display:block;font-size:.75rem;line-height:20px;color:var(--weather-muted)}
.atlas-hour-choice>.atlas-weather-icon{margin:10px auto 0}
.atlas-hour-plot{height:110px;position:relative;margin-top:8px}
.atlas-hour-degree{position:absolute;left:0;right:0;transform:translateY(-25px);font-size:1rem;font-weight:500;line-height:20px;font-variant-numeric:tabular-nums}
.atlas-hour-date{display:block;height:24px;line-height:20px;font-size:.68rem;font-weight:600;color:var(--weather-accent)}
.atlas-hour[data-date-boundary]::before{content:"";position:absolute;left:0;top:0;bottom:0;border-left:1px dashed var(--weather-border);pointer-events:none}
.atlas-hourly-chart{position:absolute;left:0;top:94px;width:100%;height:110px;pointer-events:none;z-index:1;overflow:visible}
.atlas-trend-line{fill:none;stroke:var(--weather-accent);stroke-width:2;vector-effect:non-scaling-stroke}
.atlas-trend-area{fill:var(--weather-accent);opacity:.045}
.atlas-trend-dot{fill:var(--weather-accent);stroke:var(--weather-surface);stroke-width:1.5;vector-effect:non-scaling-stroke}
.atlas-hour-rain{display:flex;align-items:center;justify-content:center;gap:3px;font-size:.72rem;line-height:20px;color:var(--weather-muted)}
.atlas-hour-rain>.atlas-weather-icon{width:12px;height:12px}
.atlas-hour-basis{display:block;height:21px;font-size:.62rem;line-height:21px;color:var(--weather-accent);font-weight:600}
.atlas-hourly-legend{display:flex;align-items:center;justify-content:center;gap:.4rem;font-size:.7rem;color:var(--weather-muted);margin-top:.7rem!important}
.atlas-hourly-legend>span:first-child{height:2px;width:16px;background:var(--weather-accent)}
.atlas-weather-sr{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.atlas-weather-icon-gallery{display:flex;flex-wrap:wrap;gap:1.5rem;margin:1.5rem 0}.atlas-weather-icon-gallery>div{display:grid;justify-items:center;gap:.4rem;font-size:.75rem}
@media(max-width:640px){.atlas-weather-summary{grid-template-columns:1fr;gap:1rem;padding:1.25rem}.atlas-weather-main{position:relative;padding-right:45%}.atlas-weather-reading{gap:.7rem}.atlas-weather-reading strong{font-size:3rem}.atlas-weather-symbol>.atlas-weather-icon{width:40px;height:40px}.atlas-weather-description{position:absolute;right:0;top:50%;width:40%;font-size:.9rem}.atlas-weather-eyebrow{white-space:nowrap;font-size:.75rem}.atlas-weather-context{border-left:0;border-top:1px solid var(--weather-border);padding:1rem 0 0}.atlas-weather-metrics{justify-content:space-between;gap:1rem;margin:.8rem 0 .4rem}.atlas-weather-basis{font-size:.8rem}.atlas-hourly{padding:1rem .75rem}.atlas-hourly-controls button{width:40px;height:40px}.atlas-hourly-header{gap:.5rem}.atlas-hourly-header p{font-size:.7rem}.atlas-hourly-controls{gap:.25rem}}
@media print{.atlas-hourly-controls{display:none}.atlas-hourly-viewport{overflow:visible}.atlas-hourly-track{min-width:0!important}.atlas-hourly-list{grid-auto-columns:minmax(0,1fr)}.atlas-hour{font-size:8pt}}

.atlas-hourly-list>.atlas-hour{padding-top:0}
.atlas-hour-choice{display:block;width:100%;border:0;border-radius:9px;background:transparent;color:inherit;font:inherit;padding:8px 0 0;cursor:pointer;text-align:center;touch-action:pan-x pan-y}
.atlas-hour-choice:hover{background:color-mix(in srgb,var(--weather-accent) 5%,transparent)}
.atlas-hour-choice:focus-visible{outline:2px solid var(--weather-accent);outline-offset:-3px}
.atlas-hour-choice[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--ui-color-weather-selection-border,color-mix(in srgb,var(--weather-accent) 45%,transparent))}
.atlas-hour-choice:disabled{cursor:wait;opacity:.6}
.atlas-hourly-hint{font-size:.75rem;color:var(--weather-muted);text-align:center;margin-top:.7rem!important}

.atlas-weather-icon[data-weather-icon=moon],.atlas-weather-icon[data-weather-icon=nightCloud]{color:var(--ui-color-weather-night,currentColor)}

/* Compact presentation when paired with a result summary. */
.atlas-summary-grid .atlas-weather-summary{grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:1rem;padding:1rem}
.atlas-summary-grid .atlas-weather-context{padding-left:1rem}
.atlas-summary-grid .atlas-weather-basis{font-size:.78rem}
.atlas-summary-grid .atlas-weather-metrics{gap:.75rem;margin:.6rem 0;flex-wrap:wrap}
.atlas-summary-grid .atlas-weather-reading strong{font-size:2.6rem}
.atlas-summary-grid .atlas-weather-symbol>.atlas-weather-icon{width:36px;height:36px}
.atlas-summary-grid .atlas-weather-reading{gap:.65rem;margin:.6rem 0 .35rem}
@media(max-width:760px){
 .atlas-summary-grid .atlas-weather-summary{gap:.65rem;padding:.85rem}
 .atlas-summary-grid .atlas-weather-context{padding-left:.65rem}
 .atlas-summary-grid .atlas-weather-note{font-size:.65rem}
 .atlas-summary-grid .atlas-weather-eyebrow{font-size:.7rem}
 .atlas-summary-grid .atlas-weather-basis{font-size:.7rem}
 .atlas-summary-grid .atlas-weather-metric span{font-size:.65rem}
 .atlas-summary-grid .atlas-weather-metric strong{font-size:.8rem}
}

@media(max-width:760px){
 .atlas-summary-grid .atlas-weather-main{padding-right:0}
 .atlas-summary-grid .atlas-weather-description{position:static;width:auto;font-size:.8rem}
 .atlas-summary-grid .atlas-weather-context{border-top:0;border-left:1px solid var(--weather-border);padding-block:0}
 .atlas-summary-grid .atlas-weather-eyebrow{white-space:normal;line-height:1.35}
 .atlas-summary-grid .atlas-weather-reading strong{font-size:2.2rem}
}

/* Shared interactive controls. Scope prevents changes to existing reading pages. */
[data-atlas-controls]{--control-height:var(--atlas-control-comfortable-height,3rem);--control-radius:var(--atlas-control-radius,4px);--control-gap:var(--atlas-popover-padding,1rem);--control-surface:var(--ui-color-surface,#fff);--control-text:var(--ui-color-text,#242323);--control-muted:var(--ui-color-muted,#625e58);--control-border:var(--ui-color-border,#d5d0c8);--control-accent:var(--ui-color-accent,#65594d);--control-on-accent:var(--ui-color-on-accent,#fff);color:var(--control-text)}
[data-atlas-controls] *,[data-atlas-controls] *::before,[data-atlas-controls] *::after{box-sizing:border-box}
[data-atlas-controls] [hidden]{display:none!important}
[data-atlas-controls] :is(button,input,select,summary,a):focus-visible{outline:2px solid var(--ui-color-focus,var(--control-accent));outline-offset:3px}
[data-atlas-controls] .atlas-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:var(--control-height);height:auto;max-width:100%;padding:.65rem 1.1rem;border:1px solid var(--control-border);border-radius:var(--control-radius);font:inherit;font-size:.95rem;font-weight:600;white-space:normal;box-shadow:none;cursor:pointer;transition:none;background:var(--control-accent);color:var(--control-on-accent);margin:0;line-height:1.4}
[data-atlas-controls] .atlas-button:not(.bg-primary){background:var(--control-surface);color:var(--control-text)}
[data-atlas-controls] .atlas-button:hover:not(:disabled){border-color:var(--control-accent);text-decoration:underline;text-underline-offset:3px}
[data-atlas-controls] .atlas-button:disabled{opacity:.55;cursor:default}
[data-atlas-controls] .atlas-field{min-width:0;display:grid;align-content:start;gap:.5rem}
[data-atlas-controls] .atlas-field label{font-size:.9rem;font-weight:600;line-height:1.4}
[data-atlas-controls] .atlas-input{width:100%;min-width:0;min-height:var(--control-height);border:1px solid var(--ui-color-border-strong,var(--control-border));border-radius:var(--control-radius);background:var(--control-surface);color:var(--control-text);padding:.7rem .8rem;font:inherit;font-size:1rem;margin:0}
[data-atlas-controls] .atlas-input[aria-invalid=true]{border-color:var(--ui-color-focus,var(--control-accent));border-width:2px}
[data-atlas-controls] .atlas-input:disabled{opacity:.6;cursor:not-allowed}
[data-atlas-controls] :is(.atlas-field-hint,.atlas-field-error){font-size:.85rem;line-height:1.5;margin:0;color:var(--control-muted)}
[data-atlas-controls] .atlas-field-error{font-weight:600;color:var(--control-text)}
[data-atlas-controls] .atlas-choice-group{display:inline-flex;gap:.25rem;padding:.25rem;margin:0;border:1px solid var(--control-border);border-radius:calc(var(--control-radius) + 2px);min-width:0;background:var(--control-surface)}
[data-atlas-controls] .atlas-choice-group label{position:relative;cursor:pointer;flex:1}
[data-atlas-controls] .atlas-choice-group input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
[data-atlas-controls] .atlas-choice-group span{display:flex;align-items:center;justify-content:center;min-height:var(--control-height);padding:.5rem 1.1rem;font-size:.95rem;border-radius:var(--control-radius)}
[data-atlas-controls] .atlas-choice-group input:checked+span{background:var(--control-accent);color:var(--control-on-accent);font-weight:600}
[data-atlas-controls] .atlas-choice-group input:focus-visible+span{outline:2px solid var(--ui-color-focus,var(--control-accent));outline-offset:2px}
[data-atlas-controls] .atlas-status{margin:0;font-size:.9rem;line-height:1.5;color:var(--control-muted)}
[data-atlas-controls] .atlas-disclosure{border:1px solid var(--control-border);border-radius:var(--control-radius);background:var(--control-surface)}
[data-atlas-controls] .atlas-disclosure>summary{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.25rem;min-height:var(--control-height);cursor:pointer;list-style:none;font-weight:600}
[data-atlas-controls] .atlas-disclosure>summary::-webkit-details-marker{display:none}
[data-atlas-controls] .atlas-disclosure[open]>summary>.atlas-disclosure-symbol{transform:none}
[data-atlas-controls] .atlas-disclosure-body{padding:0 1.25rem 1.25rem}
[data-atlas-controls] .atlas-dialog{margin:auto;inset:0;width:min(35rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);padding:1.5rem;border:1px solid var(--control-border);border-radius:calc(var(--control-radius) * 2);background:var(--control-surface);color:var(--control-text);box-shadow:0 18px 80px #0003;overflow:auto}
[data-atlas-controls] .atlas-dialog::backdrop{background:#24232366}
[data-atlas-controls] .atlas-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}
[data-atlas-controls] .atlas-dialog-heading h2{margin:0;font-size:1.5rem;line-height:1.2}
[data-atlas-controls] .atlas-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:540px){[data-atlas-controls] .atlas-dialog{margin:auto;inset:0;width:100%;max-width:100%;max-height:90dvh;margin:auto 0 0;border-radius:12px 12px 0 0;padding:1.25rem}}

/* Shared result feedback and quick choices. */
.atlas-result-peek{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;border:1px solid var(--control-border);border-radius:12px;background:var(--control-surface);color:var(--control-text,inherit)}
.atlas-result-peek>div{min-width:0}.atlas-result-peek p{margin:0;font-size:.88rem;line-height:1.45}.atlas-result-peek .atlas-peek-label{font-size:.72rem;font-weight:600;color:var(--control-muted);margin-bottom:.25rem}.atlas-result-peek .atlas-button{flex-shrink:0;white-space:nowrap}
.atlas-quick-choices{display:flex;flex-wrap:wrap;gap:.5rem;margin:.8rem 0}.atlas-quick-choices .atlas-button{min-height:44px}
.atlas-result-peek[data-result-peek=floating]{display:none}
@media(max-width:760px){.atlas-result-peek{padding:.8rem;gap:.65rem}.atlas-result-peek p{font-size:.8rem}.atlas-result-peek .atlas-button{font-size:.75rem;padding:.6rem;min-height:44px}.atlas-result-peek[data-result-peek=floating]{display:flex;position:fixed;z-index:40;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));margin:0;box-shadow:0 5px 28px #0002}.atlas-result-peek[data-result-peek=floating] [data-peek-summary]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}}
@media print{.atlas-result-peek,.atlas-quick-choices{display:none!important}}

/* One disclosure treatment for tool settings and reading examples. */
[data-atlas-controls] .atlas-disclosure{border-color:var(--ui-color-border-strong,var(--control-border));border-radius:10px;overflow:clip}
[data-atlas-controls] .atlas-disclosure>summary{background:color-mix(in srgb,var(--ui-color-panel) 48%,var(--control-surface));gap:1.25rem;line-height:1.5;min-height:60px}
[data-atlas-controls] .atlas-disclosure>summary:hover{background:var(--ui-color-panel)}
[data-atlas-controls] .atlas-disclosure>summary:focus-visible{outline-offset:-4px}
.atlas-disclosure-label{min-width:0}.atlas-disclosure-symbol{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border:1px solid var(--ui-color-border-strong);border-radius:50%;background:var(--ui-color-surface);color:var(--ui-color-accent);font-size:20px;line-height:1}
[data-atlas-controls] .atlas-disclosure[open]>summary{border-bottom:1px solid var(--control-border)}
[data-atlas-controls] .atlas-disclosure[open]>.atlas-disclosure-body{padding-top:1.25rem}
.atlas-content-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:2rem;padding:1.75rem;border:1px solid var(--ui-color-border);border-left:4px solid var(--ui-color-accent);border-radius:12px;background:var(--ui-color-surface);margin-block:2rem;min-width:0}
.atlas-content-panel-heading,.atlas-content-panel-body{min-width:0}.atlas-content-panel-heading>h3{margin:0!important;font-size:1.35rem!important;line-height:1.45!important;color:var(--ui-color-text)}
.atlas-content-panel-body>p{margin:0!important;max-width:65ch;line-height:1.8}.atlas-content-panel-body>*+*{margin-top:1rem}
@media(max-width:640px){.atlas-content-panel{grid-template-columns:minmax(0,1fr);gap:1rem;padding:1.25rem}.atlas-content-panel-heading>h3{font-size:1.2rem!important}[data-atlas-controls] .atlas-disclosure>summary{padding:1rem;gap:.75rem}.atlas-disclosure-label{font-size:.88rem}}

/* Optional reading presentations, shared by source adapters and local previews. */
.atlas-reading-prose{max-width:78ch;min-width:0;font-size:1rem;line-height:1.85}
.atlas-reading-prose>p{max-width:none!important;margin:0 0 1.5rem!important}
.atlas-reading-prose>p:last-child{margin-bottom:0!important}
.guide-v2 .atlas-section .atlas-reading-prose :is(p,li),.guide-v2 .guide-intro .atlas-reading-prose .answer{font-size:1rem;line-height:1.85}
.atlas-reading-overview{padding:1.5rem;border:1px solid var(--ui-color-border);border-radius:12px;background:var(--ui-color-surface);margin-block:2rem}
.atlas-reading-prose .atlas-reading-steps{list-style:decimal;list-style-position:outside;display:grid;gap:1rem;padding:0 0 0 2.1rem;margin:1.5rem 0 2rem;max-width:none}
.guide-v2 .atlas-section .atlas-reading-prose .atlas-reading-steps{max-width:none}
.atlas-reading-steps>li{margin:0!important;padding:1.1rem 1.25rem;border:1px solid var(--ui-color-border);border-radius:10px;background:var(--ui-color-surface);line-height:1.8}
.atlas-reading-steps>li::marker{font-weight:700;color:var(--ui-color-accent)}
.atlas-paragraph-flow{padding-top:1.5rem;border-top:1px solid var(--ui-color-border)}
.atlas-paragraph-flow>span{display:block}.atlas-paragraph-flow>span+span{margin-top:1.25rem}
.guide-v2 .guide-intro .atlas-contents-panel{margin:1.5rem 0 2rem;font:inherit}
.guide-v2 .atlas-contents-panel .atlas-disclosure{border:1px solid var(--ui-color-border-strong);border-radius:10px}
.guide-v2 .atlas-contents-panel .atlas-disclosure>summary{display:flex;list-style:none;padding:1rem 1.25rem;font-size:1rem;margin-bottom:0}
.guide-v2 .atlas-contents-panel .atlas-disclosure-body>ol{margin:0;gap:.3rem 1.5rem}
.guide-v2 .atlas-contents-panel a{padding:.6rem .75rem;border-radius:6px;line-height:1.5}
.guide-v2 .atlas-contents-panel a:hover{background:var(--ui-color-panel)}
.guide-v2 .atlas-reading-introduction{margin-top:1rem}
@media(max-width:640px){.atlas-reading-overview{padding:1.25rem}.atlas-reading-prose .atlas-reading-steps{padding-left:1.7rem}.atlas-reading-steps>li{padding:1rem}.guide-v2 .atlas-contents-panel .atlas-disclosure>summary{padding:1rem}.guide-v2 .atlas-reading-introduction>h2{font-size:1.8rem;line-height:1.25}}

.atlas-disclosure-minus{display:none}.atlas-disclosure[open]>summary .atlas-disclosure-plus{display:none}.atlas-disclosure[open]>summary .atlas-disclosure-minus{display:inline}
.guide-v2 .atlas-section.atlas-reading-chapter{padding-block:2rem;border-top:1px solid var(--ui-color-border);margin-block:1rem}
.atlas-reading-chapter .atlas-reading-prose h3{margin-top:2rem!important;padding-top:1rem;border-top:1px solid var(--ui-color-border)}
.atlas-reading-chapter .atlas-reading-prose .atlas-table-scroll{margin-block:1.5rem;max-width:100%}

.guide-v2 .guide-intro :is(.atlas-contents-panel,.today-tool){width:100%;max-width:64rem}

[data-atlas-controls] .atlas-disclosure:not([open])>.atlas-disclosure-body{display:none}
[data-atlas-controls] .atlas-disclosure>summary{background:var(--ui-color-panel);color:var(--ui-color-link);font-weight:600}
[data-atlas-controls] .atlas-disclosure>summary:hover{background:color-mix(in srgb,var(--ui-color-accent) 12%,var(--ui-color-surface));text-decoration:none}
[data-atlas-controls] .atlas-disclosure>summary:active{background:color-mix(in srgb,var(--ui-color-accent) 18%,var(--ui-color-surface))}
[data-atlas-controls] .atlas-disclosure-symbol{background:var(--ui-color-accent);color:var(--ui-color-on-accent);border-color:var(--ui-color-accent)}

[data-atlas-controls] .atlas-disclosure>summary:hover .atlas-disclosure-label{text-decoration:underline;text-underline-offset:.2em}

/* Shared first-screen summary: paired panels collapse naturally when one is unavailable. */
.atlas-summary-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;align-items:stretch}
.atlas-summary-grid:not(:has(> :not([hidden]))){display:none}
.atlas-summary-grid:has(> [hidden]:not([data-summary-loading])){grid-template-columns:1fr}
.atlas-result-peek-featured{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:.75rem 1rem;padding:1rem}
.atlas-result-peek-featured [data-peek-image]{width:100%;height:auto;aspect-ratio:2/1;object-fit:contain;border-radius:8px;background:var(--control-panel)}
.atlas-result-peek-featured>img{grid-row:1/3;align-self:center}
.atlas-result-peek-featured .atlas-button{justify-self:start;align-self:end;min-height:44px}
.atlas-result-peek-featured:has(>img[hidden]){grid-template-columns:1fr}
.atlas-result-peek-featured [data-peek-summary]{font-size:1rem;line-height:1.45;font-weight:550}
@media(max-width:760px){
 .atlas-summary-grid{grid-template-columns:1fr;gap:.75rem}
 .atlas-result-peek-featured{grid-template-columns:96px minmax(0,1fr);gap:.5rem .75rem}
 .atlas-result-peek-featured [data-peek-summary]{font-size:.9rem}
}

@media(max-width:760px){.atlas-summary-grid>.atlas-result-peek-featured{order:-1}}

.atlas-summary-grid{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr)}
.atlas-summary-grid>.atlas-result-peek-featured{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);min-height:230px}
.atlas-summary-grid>.atlas-result-peek-featured:has(>img[hidden]){grid-template-columns:1fr}
.atlas-result-peek-featured [data-peek-image]{min-width:0}
.atlas-summary-skeleton{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:1rem}
.atlas-summary-grid:has(>[data-summary-loading]:not([hidden])){grid-template-columns:1fr}
.atlas-summary-skeleton>div{min-width:0;min-height:230px;padding:1rem;border:1px solid var(--control-border);border-radius:16px;background:var(--control-surface)}
.atlas-summary-skeleton span,.atlas-summary-skeleton i{display:block;border-radius:6px;background:var(--ui-color-panel);animation:atlas-skeleton-pulse 1.4s ease-in-out infinite alternate}
.atlas-skeleton-weather span{height:14px;width:70%;margin:8px 0 20px}.atlas-skeleton-weather span:nth-child(2){height:64px;width:55%}
.atlas-summary-skeleton .atlas-skeleton-outfit{display:grid;grid-template-columns:1.4fr 1fr;gap:1rem;align-items:center}
.atlas-skeleton-outfit i{width:100%;aspect-ratio:2/1}.atlas-skeleton-outfit span{height:14px;margin:10px 0}.atlas-skeleton-outfit span:last-child{height:36px;width:75%}
@keyframes atlas-skeleton-pulse{to{opacity:.45}}
@media(prefers-reduced-motion:reduce){.atlas-summary-skeleton span,.atlas-summary-skeleton i{animation:none}}
@media(max-width:760px){
 .atlas-summary-grid,.atlas-summary-skeleton{grid-template-columns:1fr}
 [data-today-tool] .atlas-summary-grid>.atlas-result-peek-featured{
  grid-template-columns:minmax(0,1fr);
  min-height:0;
  gap:.5rem;
 }
 [data-today-tool] .atlas-summary-grid>.atlas-result-peek-featured>img{grid-row:auto}
 [data-today-tool] .atlas-summary-grid>.atlas-result-peek-featured [data-peek-action]{
  min-height:44px;
  padding:.375rem .625rem;
 }
 [data-today-tool] .atlas-summary-skeleton .atlas-skeleton-outfit{
  order:-1;
  grid-template-columns:minmax(0,1fr);
  gap:.5rem;
 }
 .atlas-summary-skeleton .atlas-skeleton-weather{min-height:155px}
 .atlas-skeleton-weather span{height:10px;margin:6px 0 12px}.atlas-skeleton-weather span:nth-child(2){height:46px}
}

/* Small supplement for the existing GarmentPlate callout contract.
 * Load with the current Atlas content-figures.css when these assets are wired. */
.atlas-production .batch-2-a-figure {
  --wtw-paper: #FAF9F6;
  --wtw-panel: #F2F2F2;
  --wtw-panel-rule: #DCDCDC;
  --wtw-chip-edge: #6F6F6F;
  --wtw-rule: #DAD6CE;
  --wtw-ink: var(--ui-color-text, #1C1B19);
  --wtw-ink-2: var(--ui-color-muted, #5E5B55);
  --wtw-note: var(--ui-color-muted, #4F4C47);
  --wtw-font-sans: var(--atlas-font-body, 'Atlas Inter', sans-serif);
}
.atlas-production .atlas-figure .batch-2-a-figure .plate .callout circle {
  fill: var(--wtw-paper); stroke: var(--wtw-ink); stroke-width: 1.5;
}
.atlas-production .atlas-figure .batch-2-a-figure .plate .callout text {
  fill: var(--wtw-ink);
  font-family: 'Schibsted Grotesk', 'Atlas Inter', sans-serif;
  font-size: 20px; font-weight: 600;
  text-anchor: middle; dominant-baseline: central;
}
.atlas-production .batch-2-a-figure .bridal-chip-floral {
  background:
    radial-gradient(circle at 20% 30%, #F2E8D4 0 2px, transparent 2.5px),
    radial-gradient(circle at 70% 75%, #E7BA49 0 1.5px, transparent 2px),
    var(--c);
  background-size: 12px 12px;
}
.atlas-production .batch-2-a-figure .bridal-chip-reserved {
  background: linear-gradient(135deg, transparent 47%, var(--wtw-ink) 48% 52%, transparent 53%), var(--c);
}
@media print {
  .atlas-production .atlas-figure .batch-2-a-figure .plate svg { display: none; }
  .atlas-production .atlas-figure .batch-2-a-figure .key { display: block; }
}

/* Local supplement: preserve .atlas-figure > .batch-2-b-figure when integrating. */
.atlas-production .batch-2-b-figure {
  --wtw-paper:#FAF9F6; --wtw-panel:#F2F2F2; --wtw-panel-rule:#DCDCDC;
  --wtw-chip-edge:#6F6F6F; --wtw-rule:#DAD6CE;
  --wtw-ink:var(--ui-color-text,#1C1B19); --wtw-ink-2:var(--ui-color-muted,#5E5B55);
  --wtw-note:var(--ui-color-muted,#4F4C47);
  --wtw-font-sans:var(--atlas-font-body,'Atlas Inter',sans-serif);
}
.atlas-production .atlas-figure .batch-2-b-figure .plate .callout circle {fill:var(--wtw-paper);stroke:var(--wtw-ink);stroke-width:1.5}
.atlas-production .atlas-figure .batch-2-b-figure .plate .callout text {fill:var(--wtw-ink);font-family:'Schibsted Grotesk','Atlas Inter',sans-serif;font-size:20px;font-weight:600;text-anchor:middle;dominant-baseline:central}
.atlas-production .batch-2-b-figure .try-on-checklist {padding-inline-start:1.5rem}
.atlas-production .batch-2-b-figure .try-on-checklist li {padding:.5rem 0;border-bottom:1px solid var(--wtw-rule);overflow-wrap:break-word}
.atlas-production .batch-2-b-figure .graduation-palette ul {
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:.75rem;
  list-style:none;margin:0 0 1rem;padding:0;
}
.atlas-production .batch-2-b-figure .graduation-palette li {
  display:grid;justify-items:start;align-content:start;gap:.25rem;padding:.75rem;
  background:var(--wtw-panel);border:1px solid var(--wtw-panel-rule);
}
@media print {
  .atlas-production .atlas-figure .batch-2-b-figure .plate svg {display:none}
  .atlas-production .atlas-figure .batch-2-b-figure .key {display:block}
  .atlas-production .batch-2-b-figure .try-on-checklist {display:block}
}

/* Local supplement: preserve .atlas-figure > .batch-2-c-figure when integrating. */
.atlas-production .batch-2-c-figure {
  --wtw-paper:#FAF9F6; --wtw-panel:#F2F2F2; --wtw-panel-rule:#DCDCDC;
  --wtw-chip-edge:#6F6F6F; --wtw-rule:#DAD6CE;
  --wtw-ink:var(--ui-color-text,#1C1B19); --wtw-ink-2:var(--ui-color-muted,#5E5B55);
  --wtw-note:var(--ui-color-muted,#4F4C47);
  --wtw-font-sans:var(--atlas-font-body,'Atlas Inter',sans-serif);
}
.atlas-production .atlas-figure .batch-2-c-figure .plate .callout circle {fill:var(--wtw-paper);stroke:var(--wtw-ink);stroke-width:1.5}
.atlas-production .atlas-figure .batch-2-c-figure .plate .callout text {fill:var(--wtw-ink);font-family:'Schibsted Grotesk','Atlas Inter',sans-serif;font-size:20px;font-weight:600;text-anchor:middle;dominant-baseline:central}
.atlas-production .batch-2-c-figure .clothing-checklist {padding-inline-start:1.5rem}
.atlas-production .batch-2-c-figure .clothing-checklist li {padding:.5rem 0;border-bottom:1px solid var(--wtw-rule);overflow-wrap:break-word}
@media print {
  .atlas-production .atlas-figure .batch-2-c-figure .plate svg {display:none}
  .atlas-production .atlas-figure .batch-2-c-figure .key {display:block}
  .atlas-production .batch-2-c-figure .clothing-checklist {display:block}
}

/* Local supplement: preserve .atlas-figure > .batch-2-d-figure when integrating. */
.atlas-production .batch-2-d-figure {
  --wtw-paper:#FAF9F6; --wtw-panel:#F2F2F2; --wtw-panel-rule:#DCDCDC;
  --wtw-chip-edge:#6F6F6F; --wtw-rule:#DAD6CE;
  --wtw-ink:var(--ui-color-text,#1C1B19); --wtw-ink-2:var(--ui-color-muted,#5E5B55);
  --wtw-note:var(--ui-color-muted,#4F4C47);
  --wtw-font-sans:var(--atlas-font-body,'Atlas Inter',sans-serif);
}
.atlas-production .atlas-figure .batch-2-d-figure .plate .callout circle {fill:var(--wtw-paper);stroke:var(--wtw-ink);stroke-width:1.5}
.atlas-production .atlas-figure .batch-2-d-figure .plate .callout text {fill:var(--wtw-ink);font-family:'Schibsted Grotesk','Atlas Inter',sans-serif;font-size:20px;font-weight:600;text-anchor:middle;dominant-baseline:central}
.atlas-production .batch-2-d-figure .clothing-checklist {padding-inline-start:1.5rem}
.atlas-production .batch-2-d-figure .clothing-checklist li {padding:.5rem 0;border-bottom:1px solid var(--wtw-rule);overflow-wrap:break-word}
@media print {
  .atlas-production .atlas-figure .batch-2-d-figure .plate svg {display:none}
  .atlas-production .atlas-figure .batch-2-d-figure .key {display:block}
  .atlas-production .batch-2-d-figure .clothing-checklist {display:block}
}

.atlas-production .batch-2-d-figure .d-outfit-group > figure + figure {margin-block-start:2rem}
.atlas-production .batch-2-d-figure .trench-timeline ol {
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr));gap:.75rem;
  list-style:none;margin:1rem 0;padding:0;
}
.atlas-production .batch-2-d-figure .trench-timeline li {
  padding:.75rem;border:1px solid var(--wtw-panel-rule);background:var(--wtw-panel);
}
.atlas-production .batch-2-d-figure .trench-timeline li b {display:block;margin-bottom:.25rem}

/* Family-only semantic palette boards; no effect on the 70-degree figures. */
.atlas-production .batch-2-d-figure .family-palette {background:#F2F2F2;padding:1rem;color:var(--wtw-ink)}
.atlas-production .batch-2-d-figure .family-palette h3 {margin:0 0 1rem;font:600 1.125rem/1.35 var(--wtw-font-sans)}
.atlas-production .batch-2-d-figure .family-colors {list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;padding:0;margin:0 0 1rem;font-size:.875rem}
.atlas-production .batch-2-d-figure .family-colors li {min-width:0;overflow-wrap:break-word}
.atlas-production .batch-2-d-figure .family-color-chip {display:block;height:3.5rem;background:var(--family-color);border:1px solid #6F6F6F;margin-bottom:.4rem}
.atlas-production .batch-2-d-figure .family-members {margin:0;font-size:.875rem;line-height:1.5}
.atlas-production .batch-2-d-figure .family-members > div {display:grid;grid-template-columns:1.6rem minmax(0,1fr);gap:.5rem;border-top:1px solid #DCDCDC;padding:.6rem 0;break-inside:avoid}
.atlas-production .batch-2-d-figure .family-members dt {font-weight:600}
.atlas-production .batch-2-d-figure .family-members dd {margin:0;overflow-wrap:break-word}
.atlas-production .batch-2-d-figure .family-change {display:block;margin-top:.25rem}
.atlas-production .batch-2-d-figure .family-option-label {font-weight:600}
.atlas-production .batch-2-d-figure .family-palette figcaption {margin-top:.75rem;padding-top:.75rem;border-top:1px solid #DCDCDC}
@media print {
  .atlas-production .batch-2-d-figure .family-palette {background:transparent;padding:0;break-inside:avoid}
  .atlas-production .batch-2-d-figure .family-colors {display:grid}
  .atlas-production .batch-2-d-figure .family-members {display:block}
}

.today-tool{margin:1.5rem 0 2.5rem;color:inherit;min-width:0}
.today-tool :is(h2,h3,p,figure,dl){margin:0}
.today-tool> *+*{margin-top:1.5rem}
.today-tool form>fieldset{border:0;padding:0;margin:0;min-width:0}
.today-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;border-bottom:1px solid var(--control-border);padding-bottom:1.5rem}
.today-overline{font-size:.8rem;font-weight:600;color:var(--control-muted);margin-bottom:.4rem!important}
.today-tool .today-location-trigger{border:0!important;background:transparent!important;padding:0!important;justify-content:flex-start!important;gap:1rem!important;font-size:1.4rem!important;min-height:2.6rem!important;text-align:left}
.today-change{font-size:.85rem;font-weight:500;color:var(--ui-color-link,var(--control-accent));white-space:nowrap}
.today-location-source{font-size:.8rem;color:var(--control-muted)}
.today-feedback{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.85rem}
.today-tool[data-loading=true] .today-feedback{border-left:3px solid var(--control-accent);padding-left:.75rem}
.today-empty{padding:2rem;border:1px dashed var(--control-border);border-radius:var(--control-radius);background:var(--control-surface)}
.today-empty h2{font-size:1.65rem;line-height:1.25;margin-bottom:.75rem}.today-empty p{max-width:42rem;font-size:1rem;line-height:1.6;color:var(--control-muted)}
.today-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}.today-actions>.atlas-button{flex:1}
.today-result{padding-top:.5rem}
.today-result-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem}
.today-result-heading h2{font-size:clamp(1.5rem,2.8vw,2.1rem);line-height:1.2;max-width:40rem;letter-spacing:-.02em}
.today-result-heading>.atlas-button{flex:0 0 auto}
.today-result-temperature,.today-range{font-size:.85rem;color:var(--control-muted);margin-top:.65rem!important}
.today-outfit-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(15rem,1fr);align-items:start;gap:1.5rem;margin-top:1.5rem}
.today-outfit-layout:has(figure[hidden]){grid-template-columns:1fr}
.today-outfit-figure{min-width:0;background:var(--control-surface);border:1px solid var(--control-border);border-radius:var(--control-radius);overflow:hidden}
.today-outfit-figure img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:contain}
.today-outfit-figure figcaption{font-size:.8rem;line-height:1.5;padding:.85rem 1rem;border-top:1px solid var(--control-border);color:var(--control-muted)}
.today-piece-list{display:grid;gap:0}
.today-piece-list>div{display:grid;grid-template-columns:6rem 1fr;gap:.75rem;padding:.65rem 0;border-bottom:1px solid var(--control-border)}
.today-piece-list>div:first-child{padding-top:0}
.today-result dt{font-size:.8rem;color:var(--control-muted);font-weight:500}
.today-result dd{margin:0;font-size:.95rem;line-height:1.45}
.today-origin{display:block;font-size:.7rem;color:var(--control-muted);margin-top:.2rem}
.today-reasons{margin-top:1.25rem!important}.today-reasons dl>div{padding:.75rem 0;border-bottom:1px solid var(--control-border)}.today-reasons .atlas-disclosure-body>*+*{margin-top:1rem}.today-reasons p,.today-reasons a{font-size:.9rem;line-height:1.6}
.today-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.today-preferences-intro{font-size:.9rem;line-height:1.5;color:var(--control-muted);margin-bottom:1.25rem!important}
.today-form-actions{display:flex;align-items:center;gap:1rem;margin-top:1.25rem}
.today-source,.today-forecast{font-size:.8rem;line-height:1.65;color:var(--control-muted)}
.today-data-details .atlas-disclosure-body>*+*{margin-top:.75rem}
.today-dialog-intro{font-size:.95rem;margin-bottom:1rem!important;color:var(--control-muted)}
.today-tool [data-location-status]{margin-top:1rem}
.today-tool [data-city-list]{list-style:none;padding:0;max-height:18rem;overflow:auto;margin:.5rem 0}
.today-tool [data-city-list] .atlas-button{width:100%;justify-content:flex-start;margin:.3rem 0;text-align:left}
.today-popular{border-top:1px solid var(--control-border);padding-top:1rem;margin-top:1rem}
.today-popular h3{font-size:.85rem;margin-bottom:.75rem}.today-popular>div{display:flex;gap:.5rem;flex-wrap:wrap}.today-popular .atlas-button{font-size:.85rem;padding:.5rem .75rem}
.today-tool .atlas-dialog>.today-source{margin-top:1rem}
.today-temperature-table nav{display:flex;gap:.65rem 1rem;flex-wrap:wrap;margin:1rem 0}
.today-temperature-table .table-wrap{overflow-x:auto;max-width:100%;margin:1rem 0}
.today-temperature-table table{border-collapse:collapse;min-width:650px;width:100%}
.today-temperature-table th,.today-temperature-table td{text-align:left;vertical-align:top;padding:.75rem;border-bottom:1px solid var(--ui-color-border,#bbb)}
.today-temperature-table caption{text-align:left;font-weight:650;padding-bottom:.75rem}
.today-temperature-table thead th{border-top:2px solid currentColor;border-bottom:2px solid currentColor}
.today-examples .atlas-disclosure{padding:0;margin-bottom:2rem}
.today-examples .today-outfit-figure{margin:1rem 0}
@media(max-width:760px){.today-outfit-layout{grid-template-columns:1fr}.today-toolbar{align-items:flex-start;flex-direction:column}.today-tool .today-toolbar .atlas-choice-group{width:100%}.today-result-heading{flex-direction:column;gap:.75rem}.today-result-heading>.atlas-button{align-self:flex-start}}
@media(max-width:540px){.today-fields{grid-template-columns:1fr}.today-empty{padding:1.25rem}.today-tool .today-location-trigger{font-size:1.2rem!important}.today-form-actions{align-items:stretch;flex-direction:column}.today-actions>.atlas-button{min-width:8rem}}
@media print{.today-toolbar,.today-feedback,.today-empty,.today-preferences,.today-data-details,.today-tool button,.today-tool dialog{display:none!important}.today-temperature-table .table-wrap{overflow:visible}.today-temperature-table table{min-width:0;font-size:10pt}}

.today-result h2{scroll-margin-top:1.5rem}.today-empty .today-temperature-note{font-size:.75rem;margin-bottom:1rem}.today-feedback{min-height:2rem}

#today-article>p{margin-block:1.25rem}

/* Keep the tool's result overview above the hourly exploration. */
.today-tool{margin-top:1rem}
.today-tool .today-toolbar{padding-bottom:.65rem;gap:.65rem}
.today-tool .today-feedback{margin-top:.5rem;min-height:1.5rem;font-size:.8rem}
.today-tool>.atlas-summary-grid{margin-top:.65rem}
@media(max-width:760px){
 .today-tool .today-toolbar{flex-direction:row;align-items:center;flex-wrap:wrap}
 .today-tool .today-toolbar .atlas-choice-group{width:auto}
 .today-tool .today-location-trigger{font-size:1.1rem!important;min-height:2rem!important;gap:.65rem!important}
 .today-tool .today-overline{font-size:.7rem}
 .today-tool .today-location-source{font-size:.7rem}
 .today-tool .today-toolbar .atlas-choice-group label{padding:0}
 .today-tool .today-toolbar .atlas-choice-group span{padding:.4rem .75rem;min-height:44px;font-size:.85rem}
}

/* Quiet success/loading status remains available to assistive technology. */
.today-tool:has([data-outfit-result]:not([hidden])) .today-feedback:has([data-retry-weather][hidden]),
.today-tool:has([data-summary-loading]:not([hidden])) .today-feedback{position:absolute;width:1px;height:1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0}
.today-loading-actions{margin-top:.65rem!important}
.today-tool .today-toolbar .atlas-choice-group span{min-height:36px;padding:.35rem .7rem;font-size:.8rem}
.today-tool .today-toolbar .atlas-choice-group{padding:.2rem;gap:.15rem}
@media(pointer:coarse){.today-tool .today-toolbar .atlas-choice-group span{min-height:44px}}

.atlas-production .batch-2-d-figure .d-outfit-group{display:grid;gap:1.5rem}.atlas-production .guide-v2[data-guide-page] .today-tool{max-width:64rem}.atlas-production .today-tool [hidden]{display:none!important}.atlas-production .today-tool a{font:inherit}.atlas-production .today-source{max-width:100%}
