/* Affordances only: keep the reference paintings, vivid icon tones and glass cards. */
body.atlas-unified{
 --cue-edge:#ae7aca;--cue-highlight:#ffffffeb;
 --cue-raised:inset 0 2px 2px #fffffff0,inset 0 -2px 3px #9966b53b,0 3px 0 #9e72b65c,0 7px 15px #75519224;
 --cue-card-depth:inset 0 1px 2px #ffffffed,0 2px 0 #a77bb942,0 5px 12px #76539417;
 --cue-field:#fffaffed;--cue-field-edge:#ae84c4;--cue-field-inset:inset 0 2px 5px #7b4a9717;
 --cue-hint:#e8dcf24d;--cue-hint-line:#aa84c06b;
}
/* A physical glass edge belongs to controls; surrounding illustration stays untouched. */
body.atlas-unified :is(.view,dialog) :is(.primary-button,.soft-button,.chart-report-button,.chart-edit,.reading-toggle,#question-submit,button[type=submit]){
 border-color:var(--cue-edge)!important;box-shadow:var(--cue-raised)!important;
}
body.atlas-unified :is(.view,dialog) :is(.primary-button,#question-submit,button[type=submit]):not(:where(.dialog-close,.checkout-close,.planet-dialog-heading *)){
 background:linear-gradient(180deg,#ffffff9c 0%,#ffffff12 52%,#b875d838 100%),var(--primary-glass)!important;color:var(--reference-ink)!important;
}
body.atlas-unified :is(.view,dialog) .action-with-arrow{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;text-align:left}
body.atlas-unified :is(.view,dialog) .action-with-arrow::after{content:'→';display:grid;place-items:center;flex:0 0 26px;box-sizing:border-box;width:26px;height:26px;border:1px solid #9873b04d;border-radius:50%;background:#ffffff66;color:var(--reference-ink);font:400 18px/1 var(--today-font-body);pointer-events:none}
body.atlas-unified #today .daily-empty .action-with-arrow{gap:6px;padding-inline:9px!important}
body.atlas-unified #today .daily-empty .action-with-arrow::after{flex-basis:20px;width:20px;height:20px;font-size:16px}
/* Raise actual clickable cards without changing their coloured illustrations or glyphs. */
body.atlas-unified :is(#today,#chart,#synastry,#ask,#cabinet,#places) :is(button.daily-shortcut,button.mini-card,button.chart-accent-row,button.chart-planet-row,button.reference-menu-row,button.reference-insight-row,button.pair-score-card,button.ask-history-row,button.saved-city-open,button.place-recommendation,[data-question-route]){
 border-color:#b798ca9c!important;box-shadow:var(--cue-card-depth)!important;
}
body.atlas-unified #ask [data-question-route][aria-pressed=true],body.atlas-unified :is(.view,dialog) button[aria-selected=true]{border-color:var(--atlas-accent)!important;box-shadow:var(--cue-card-depth),0 0 0 2px #b989d64d!important}
/* A light, inset writing surface is different from raised clickable glass. */
body.atlas-unified :is(.view,dialog,#ask,#chart,#synastry,#cabinet,#places,#birth,#start,#access,#help,#transits) :is(textarea,select,input:not(:where([type=checkbox],[type=radio],[type=range],[type=color],[type=hidden],[type=submit],[type=button],[type=file]))){
 background:var(--cue-field)!important;border:1px solid var(--cue-field-edge)!important;box-shadow:var(--cue-field-inset)!important;color:var(--reference-ink)!important;
}
body.atlas-unified :is(.view,dialog,#ask,#chart,#synastry,#cabinet,#places,#birth,#start,#access,#help,#transits) :is(textarea,select,input):focus-visible{outline:2px solid #8a54ad!important;outline-offset:2px;box-shadow:var(--cue-field-inset),0 0 0 4px #bb8ed433!important}
body.atlas-unified :is(.view,dialog) :is(textarea,input)::placeholder{color:var(--reference-muted);opacity:.8}
/* Help is a quiet text band, with no button edge, hover response or action arrow. */
body.atlas-unified :is(.view,dialog) p.atlas-hint:not(:empty){position:relative;box-sizing:border-box;min-width:0;max-width:100%;margin:12px 0 0;padding:10px 12px 10px 35px!important;border:0!important;border-left:2px solid var(--cue-hint-line)!important;border-radius:0 10px 10px 0!important;background:var(--cue-hint)!important;box-shadow:none!important;backdrop-filter:none;cursor:default;overflow-wrap:anywhere;font:400 12px/1.5 var(--today-font-body)!important;color:var(--reference-muted)!important}
body.atlas-unified :is(.view,dialog) p.atlas-hint:not(:empty)::before{content:'ⓘ';position:absolute;left:11px;top:11px;color:var(--reference-muted);font:400 16px/1.2 var(--today-font-body);pointer-events:none}
/* The marker belongs to the disclosure, away from its text and existing artwork. */
body.atlas-unified details>summary:not(:has(.reference-chevron))::after,body.atlas-unified button[aria-expanded]:not(:has(.reference-chevron))::after{content:'⌄'!important;border-radius:50%!important;font-family:var(--today-font-body)!important}
body.atlas-unified details[open]>summary:not(:has(.reference-chevron))::after,body.atlas-unified button[aria-expanded=true]:not(:has(.reference-chevron))::after{content:'⌃'!important}
body.atlas-unified #chart #toggle-wheel-size{display:inline-grid;grid-template-columns:minmax(0,1fr) 22px;gap:8px;align-items:center;padding:7px 10px!important;box-shadow:var(--cue-card-depth)!important}
body.atlas-unified #chart #toggle-wheel-size::after{position:static;grid-column:2;grid-row:1;transform:none;box-sizing:border-box;width:22px;height:22px}
@media(hover:hover){
 body.atlas-unified :is(.view,dialog) :is(.primary-button,.soft-button,.chart-report-button,.chart-edit,.reading-toggle,#question-submit,button[type=submit]):hover:not(:disabled){box-shadow:var(--cue-raised),0 0 0 2px #cfb0e32e!important}
 body.atlas-unified :is(#today,#chart,#synastry,#ask,#cabinet,#places) :is(button.daily-shortcut,button.mini-card,button.chart-accent-row,button.reference-menu-row,button.reference-insight-row,button.pair-score-card,button.ask-history-row,button.saved-city-open,[data-question-route]):hover:not(:disabled){border-color:var(--cue-edge)!important;box-shadow:var(--cue-card-depth),0 0 0 2px #cfb0e32e!important}
}
body.atlas-unified :is(.view,dialog) :is(.primary-button,.soft-button,.chart-report-button,.chart-edit,.reading-toggle,#question-submit,button[type=submit]):active:not(:disabled){box-shadow:inset 0 2px 5px #66358238,inset 0 -1px 1px #fff8!important}
body.atlas-unified :is(.view,dialog) :is(button,#question-submit):disabled{border-color:var(--atlas-rule)!important;background:var(--chip-fill)!important;box-shadow:inset 0 1px #ffffff38!important;color:var(--reference-muted)!important;cursor:not-allowed}
html.tg-dark body.atlas-unified{
 --cue-edge:#c4a2d9;--cue-highlight:#e8cbfa80;
 --cue-raised:inset 0 2px 2px #f4ddff4d,inset 0 -2px 3px #16091e5c,0 3px 0 #25132e8c,0 7px 15px #0b03162e;
 --cue-card-depth:inset 0 1px 2px #eacaff40,0 2px 0 #1c0b2b70,0 5px 12px #11071d29;
 --cue-field:#493457f5;--cue-field-edge:#c4a1d4a6;--cue-field-inset:inset 0 2px 5px #0b031e33;
 --cue-hint:#9b76b524;--cue-hint-line:#c1a1d55c;
}
html.tg-dark body.atlas-unified :is(.view,dialog) :is(.primary-button,#question-submit,button[type=submit]):not(:where(.dialog-close,.checkout-close,.planet-dialog-heading *)){background:linear-gradient(180deg,#f5d8ff30,#ffffff00 52%,#1c072829),var(--primary-glass)!important}
html.tg-dark body.atlas-unified :is(.view,dialog) .action-with-arrow::after{background:#ead2fa26;border-color:#dec0f24d}
