/* «Сиреневое небо»: role tokens and shared components from the supplied guide. */
:root,html:root #atlas-app.atlas-unified{
 --bg:#F2E5F8;--surface:#FFFAFD;--ink:#352244;--muted:#685570;
 --plum:#43245D;--violet:#805296;--gold-accent:#C7A66A;--sand:#D8C7A9;
 --sand-soft:#EEE1CC;--mist:#73769E;--slate:#6F7396;--sage:#8B9A9E;
 --line:rgba(20,37,75,.22);--glass:rgba(255,250,253,.78);--glass-light:rgba(255,250,253,.45);
 --shadow:0 24px 70px rgba(25,31,52,.11);--r-card:22px;--r-input:14px;--r-pill:999px;
 --design-safe-bottom:max(var(--atlas-safe-bottom,0px),env(safe-area-inset-bottom,0px));
 --font-ui:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
 --font-sans:var(--font-ui);--font-display:var(--font-ui);--editorial-serif:var(--font-ui);
 --home-font-heading:var(--font-ui);--home-font-script:var(--font-ui);
 --cream:var(--bg);--cream-2:var(--surface);--berry:var(--plum);--gold:var(--violet);
 --pink:var(--sand);--pink-soft:var(--sand-soft);--peach:var(--gold-accent);
 --lavender:var(--mist);--rose:var(--slate);--mint:var(--sage);
 --reference-ink:var(--ink);--reference-muted:var(--muted);--atlas-ink:var(--ink);--reference-glass:var(--glass);--reference-radius:22px;
 --atlas-accent:var(--violet);--today-font-body:var(--font-ui);--today-font-heading:var(--font-ui);
 --today-type-body:18px;--today-type-meta:16px;--today-type-heading:22px;
 --today-type-title:30px;--today-type-page:var(--today-type-title);
 --home-display:var(--today-type-title);--home-heading:var(--today-type-heading);
 --home-body:var(--today-type-body);--home-meta:var(--today-type-meta);
 --control-fill:rgba(255,255,255,.9);color-scheme:light;
 font:400 18px/1.5 var(--font-ui);color:var(--ink);background-color:var(--bg)!important;
}
/* HTML text inherits one UI family and role. SVG coordinates and decorative glyphs
   keep their own geometry. Smaller screens change layout, never the type scale. */
html:root #atlas-app.atlas-unified :where(:not(svg,svg *,[aria-hidden=true],[aria-hidden=true] *)){
 font-family:var(--font-ui)!important;font-size:inherit!important;font-style:normal!important;
 font-weight:inherit!important;line-height:inherit!important;letter-spacing:normal!important;
}
html:root #atlas-app.atlas-unified :is(.view,dialog){min-width:0;color:var(--ink);font:400 var(--today-type-body)/1.5 var(--font-ui)!important;overflow-wrap:normal;word-break:normal;hyphens:manual}
html:root #atlas-app.atlas-unified :is(p,li,label,legend,button,input,select,textarea,small,time,a,summary){font-family:var(--font-ui)!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:manual!important}
html:root #atlas-app.atlas-unified :is(button,summary,strong,b,th){font-weight:600!important}
html:root #atlas-app.atlas-unified :is(button,summary,a,legend){font-size:var(--today-type-body)!important;line-height:1.5!important}
html:root #atlas-app.atlas-unified :is(p,li){font-size:18px!important;line-height:1.5!important;color:var(--ink)}
html:root #atlas-app.atlas-unified :is(h1,h2,h3,h4){text-wrap:balance;word-break:normal!important;overflow-wrap:normal!important;hyphens:manual!important;color:var(--ink)!important}
html:root #atlas-app.atlas-unified .view h1{font:600 var(--today-type-title)/1.2 var(--font-ui)!important;letter-spacing:0!important}
html:root #atlas-app.atlas-unified :is(.view,dialog) :is(h2,h3,h4){font:600 var(--today-type-heading)/1.3 var(--font-ui)!important;letter-spacing:0!important}
html:root #atlas-app.atlas-unified :is(small,time,label,.atlas-muted,.reference-muted,.form-note,.payment-note,.chat-disclaimer,.form-status,.date-label,.position-row,.positions-head,.reading-minutes,.ask-balance,.today-hero-date,.cabinet-profile-badge){font-size:var(--today-type-meta)!important;line-height:1.45!important;color:var(--muted)!important}
html:root #atlas-app.atlas-unified :is(.eyebrow,.reference-kicker){font-size:var(--today-type-meta)!important;letter-spacing:0!important}
html:root #atlas-app.atlas-unified :is(.payment-note,.chat-disclaimer,.prototype-note){font-size:var(--today-type-meta)!important}
html:root #atlas-app.atlas-unified :is(.atlas-hint,.form-note){border-left:0!important;background:none!important;box-shadow:none!important;color:var(--muted)!important;padding:8px 0!important}
html:root #atlas-app.atlas-unified :is(.atlas-hint,.form-note)::before{display:none!important}
html:root #atlas-app.atlas-unified :is(.reference-glass,.atlas-panel,.chat-card,.daily-plan-card,.today-influences,.today-more,.today-tarot,.today-meditation,.positions-card,.access-intro,.chart-panel,.period-card,.reading-part,dialog){
 background:var(--glass)!important;border:1px solid rgba(255,255,255,.75)!important;border-radius:var(--r-card)!important;
 box-shadow:var(--shadow)!important;backdrop-filter:blur(16px) saturate(1.15)!important;-webkit-backdrop-filter:blur(16px) saturate(1.15)!important;
}
html:root #atlas-app.atlas-unified :is(.reference-glass,.atlas-panel,.daily-plan-card,.chat-card) :is(.reference-glass,.atlas-panel,.reading-part,.mini-card,.reference-menu-row){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;background:rgba(255,250,253,.65)!important}
html:root #atlas-app.atlas-unified .today-more :is(.today-tarot,.daily-moon,.today-calendar-card,.reference-glass){backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html:root #atlas-app.atlas-unified dialog :is(.reading-part,.atlas-panel,.reference-glass){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}
html:root #atlas-app.atlas-unified :is(.reference-page-stack,.atlas-grid,.daily-layout,.chart-layout){gap:12px!important}
html:root #atlas-app.atlas-unified :is(.reference-glass,.atlas-panel,.chat-card,.period-card){padding:18px!important;min-width:0}
html:root #atlas-app.atlas-unified :is(.reference-disclosure,.cabinet-circle){padding:0!important}
html:root #atlas-app.atlas-unified :is(button,a,summary){touch-action:manipulation}
html:root #atlas-app.atlas-unified :is(button,summary){min-height:44px;white-space:normal!important;text-overflow:clip!important}
html:root #atlas-app.atlas-unified :is(.primary-button,.soft-button,.text-button,.atlas-link){font-size:18px!important;line-height:1.35!important;min-height:52px;border-radius:var(--r-pill)!important}
html:root #atlas-app.atlas-unified :is(.primary-button,.soft-button){background:var(--glass)!important;color:var(--ink)!important;border:1px solid rgba(255,255,255,.75)!important;box-shadow:0 4px 14px rgba(67,36,93,.1)!important;backdrop-filter:none!important}
html:root #atlas-app.atlas-unified .view .design-main-action,
html:root #atlas-app.atlas-unified #today #daily-empty .design-main-action{
 min-height:56px!important;border:0!important;border-radius:var(--r-pill)!important;padding:14px 22px!important;
 background:var(--plum)!important;color:var(--surface)!important;font:600 var(--today-type-body)/1.4 var(--font-ui)!important;
 box-shadow:0 10px 24px rgba(67,36,93,.25)!important;backdrop-filter:none!important;
}
html:root #atlas-app.atlas-unified .design-main-action :is(span,strong,small,svg){color:var(--surface)!important}
html:root #atlas-app.atlas-unified :is(input:not([type=checkbox]):not([type=radio]),textarea,select){font:400 18px/1.5 var(--font-ui)!important;min-height:52px!important;max-width:100%;min-width:0;border:1px solid rgba(53,34,68,.25)!important;border-radius:14px!important;background:rgba(255,255,255,.9)!important;color:var(--ink)!important;padding:12px!important}
html:root #atlas-app.atlas-unified textarea{min-height:94px;resize:vertical}
html:root #atlas-app.atlas-unified :is(input,textarea,select):focus{outline:2px solid var(--violet)!important;outline-offset:1px}
html:root #atlas-app.atlas-unified label:has(input[type=checkbox],input[type=radio]){min-height:44px;align-items:center}
html:root #atlas-app.atlas-unified :is(.reading-part,.atlas-details>summary,.insight-part>summary){border-left:0!important}
html:root #atlas-app.atlas-unified :is(.shortcut-copy,.reference-row-copy,.city-card-copy){min-width:0;white-space:normal!important;text-overflow:clip!important;overflow:visible!important}
html:root #atlas-app.atlas-unified :is(.shortcut-copy small,.reference-menu-row small,.plan-value){white-space:normal!important;text-overflow:clip!important;overflow:visible!important;-webkit-line-clamp:unset!important}
html:root #atlas-app.atlas-unified .topbar{min-height:56px!important;padding:calc(8px + max(var(--atlas-safe-top,0px),var(--atlas-fullscreen-top-floor,0px))) 16px 8px!important;grid-template-columns:1fr!important}
html:root #atlas-app.atlas-unified .topbar .brand{font:600 var(--today-type-body)/1.35 var(--font-ui)!important;gap:8px!important;min-height:40px}
html:root #atlas-app.atlas-unified .topbar .brand-mark{width:32px;height:32px;font-size:32px!important}
html:root #atlas-app.atlas-unified .topbar :is(.language-toggle,.credit-badge,.brand-tagline){display:none!important}
html:root #atlas-app.atlas-unified .app-shell{padding:8px 16px calc(92px + var(--design-safe-bottom))!important}
html:root #atlas-app.atlas-unified>.atlas-scene-layer{display:none!important}
html:root #atlas-app.atlas-unified{background-image:url('assets/design-code-v140/atlas-clouds-sky-v121.webp')!important}
html:root #atlas-app.atlas-unified .view:not(#today)>.section-heading{position:relative;min-height:100px!important;max-height:none;margin:0 0 12px!important;padding:14px 16px!important;background:var(--glass)!important;border:1px solid rgba(255,255,255,.75)!important;border-radius:22px!important;overflow:hidden;box-shadow:var(--shadow)!important}
html:root #atlas-app.atlas-unified .view:not(#today)>.section-heading :is(.reference-hero-copy,.atlas-heading-copy){width:calc(100% - 64px)!important;min-width:0}
html:root #atlas-app.atlas-unified .view:not(#today)>.section-heading p{font-size:var(--today-type-meta)!important;line-height:1.4!important;color:var(--muted)!important;margin:6px 0 0!important}
html:root #atlas-app.atlas-unified .view:not(#today)>.section-heading p br{display:none}
html:root #atlas-app.atlas-unified :is(#access,#help)>.section-heading{min-height:100px!important;max-height:none!important}
html:root #atlas-app.atlas-unified :is(#access,#help)>.section-heading :is(h1,h2){font:600 var(--today-type-title)/1.2 var(--font-ui)!important}
html:root #atlas-app.atlas-unified #admin>.section-heading{max-height:none;overflow:visible}
html:root #atlas-app.atlas-unified .view:not(#today)>.section-heading::after{content:''!important;display:block!important;position:absolute;right:10px;top:12px;width:58px;height:80px;border-radius:18px;background:var(--section-cover) 72% 15%/180% auto no-repeat;pointer-events:none;opacity:.9}
#chart{--section-cover:url('assets/design-code-v140/atlas-chart-sky-v121.webp')}
#synastry{--section-cover:url('assets/design-code-v140/atlas-pair-sky-v121.webp')}
#ask{--section-cover:url('assets/design-code-v140/atlas-ask-sky-v121.webp')}
#cabinet{--section-cover:url('assets/design-code-v140/atlas-profile-sky-v121.webp')}
#places{--section-cover:url('assets/design-code-v140/atlas-places-sky-v121.webp')}
html:root #atlas-app.atlas-unified #today .atlas-glass-heading{display:block!important;min-height:220px!important;height:auto!important;padding:18px!important;border-radius:22px!important;background:linear-gradient(90deg,rgba(255,250,253,.91),rgba(255,250,253,.35)),url('assets/design-code-v140/atlas-today-sky-v114.webp') center 8%/cover!important;box-shadow:var(--shadow)!important;overflow:hidden;position:relative}
html:root #atlas-app.atlas-unified #today .atlas-glass-heading-copy{width:100%!important;max-width:none}
html:root #atlas-app.atlas-unified #today #today-main-title{font-size:var(--today-type-title)!important;margin:0 0 6px}
html:root #atlas-app.atlas-unified #today :is(.today-hero-quote,.today-quick-guide,.today-hero-greeting){display:none!important}
html:root #atlas-app.atlas-unified #today .today-hero-date{font-size:var(--today-type-meta)!important;margin:0;color:var(--muted)!important}
html:root #atlas-app.atlas-unified #today #daily-empty{margin:14px 0 0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;color:var(--ink)!important}
html:root #atlas-app.atlas-unified #today #daily-empty :is(h2,p){display:none!important}
html:root #atlas-app.atlas-unified #today #daily-empty .primary-button{width:100%;min-height:56px!important}
html:root #atlas-app.atlas-unified #daily-cover-action{width:100%;margin-top:16px}
html:root #atlas-app.atlas-unified .today-cover-intro{display:block!important;font-size:18px!important;line-height:1.4!important;margin:10px 0 0;color:var(--ink)!important}
html:root #atlas-app.atlas-unified :is(.daily-discover,.cabinet-bonus-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
html:root #atlas-app.atlas-unified .daily-shortcut{min-height:108px!important;padding:14px!important;display:flex!important;flex-wrap:wrap!important;gap:8px}
html:root #atlas-app.atlas-unified .daily-shortcut{background:var(--glass)!important;backdrop-filter:none!important}
html:root #atlas-app.atlas-unified .daily-discover [data-go=transits]{display:none!important}
html:root #atlas-app.atlas-unified .shortcut-copy strong{font:600 var(--today-type-body)/1.4 var(--font-ui)!important}
html:root #atlas-app.atlas-unified .shortcut-copy small{font-size:var(--today-type-meta)!important;line-height:1.4!important}
html:root #atlas-app.atlas-unified .atlas-phase-cycle{display:flex!important;justify-content:space-between;gap:8px!important;padding:12px 0!important}
html:root #atlas-app.atlas-unified .atlas-phase-cycle>span{min-width:0!important;flex:1}
html:root #atlas-app.atlas-unified .atlas-phase-cycle .phase-caption{display:none!important}
html:root #atlas-app.atlas-unified #today-moon-summary{font-size:var(--today-type-meta)!important;line-height:1.4!important;grid-column:1/-1}
html:root #atlas-app.atlas-unified #today-moon-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html:root #atlas-app.atlas-unified #today-moon-metrics p{font-size:var(--today-type-meta)!important}
html:root #atlas-app.atlas-unified #today-moon-metrics strong{font-size:18px!important}
html:root #atlas-app.atlas-unified .today-reward-line{display:flex;flex-wrap:wrap;gap:8px;min-height:52px;padding:12px 16px!important;font-size:var(--today-type-meta)!important}
html:root #atlas-app.atlas-unified .today-balance{max-width:none!important;white-space:normal!important;font-size:var(--today-type-meta)!important;color:var(--muted)!important}
html:root #atlas-app.atlas-unified #ask .ask-compose{display:block}
html:root #atlas-app.atlas-unified #ask .reference-page-stack{display:grid!important;gap:12px}
html:root #atlas-app.atlas-unified #ask .question-form{display:flex!important;flex-direction:column;gap:10px}
html:root #atlas-app.atlas-unified #ask #question{height:94px!important;min-height:94px!important}
html:root #atlas-app.atlas-unified #ask .question-count{font-size:var(--today-type-meta)!important;line-height:20px!important}
html:root #atlas-app.atlas-unified #ask .ask-topic-chips{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;margin:0!important;padding:0!important}
html:root #atlas-app.atlas-unified #ask .ask-topic-chips button{display:flex;flex-direction:row;justify-content:center;gap:5px;width:100%!important;height:auto!important;min-height:44px!important;padding:8px!important;font-size:16px!important;border-radius:999px!important;min-width:0}
html:root #atlas-app.atlas-unified #ask .ask-topic-chips svg{width:18px!important;height:18px!important;flex:none}
html:root #atlas-app.atlas-unified #ask .ask-topic-chips [aria-pressed=true]{background:var(--plum)!important;color:var(--surface)!important}
html:root #atlas-app.atlas-unified #ask .ask-topic-chips [aria-pressed=true]::after{content:'✓';font-size:var(--today-type-meta)}
html:root #atlas-app.atlas-unified #ask #question-submit{width:100%;min-height:56px!important}
html:root #atlas-app.atlas-unified #ask .reference-panel-heading h2{font-size:var(--today-type-heading)!important}
html:root #atlas-app.atlas-unified #ask .ask-compose{padding:18px!important}
html:root #atlas-app.atlas-unified #ask :is(.consult-recovery,.ask-balance){margin-top:8px}
html:root #atlas-app.atlas-unified #cabinet .reference-row-copy strong{font:600 var(--today-type-body)/1.4 var(--font-ui)!important}
html:root #atlas-app.atlas-unified #cabinet .reference-row-copy small{font-size:var(--today-type-meta)!important}
html:root #atlas-app.atlas-unified #cabinet .cabinet-support .reference-row-copy{display:block!important}
html:root #atlas-app.atlas-unified #cabinet .cabinet-group h2{font-size:var(--today-type-heading)!important}
html:root #atlas-app.atlas-unified #cabinet .cabinet-profile h2{font-size:var(--today-type-heading)!important}
html:root #atlas-app.atlas-unified :is(#daily-phase,#tarot-card-name){font-size:var(--today-type-heading)!important}
html:root #atlas-app.atlas-unified .position-row :is(span,small){font-size:var(--today-type-meta)!important}
html:root #atlas-app.atlas-unified #birth .offer-summary{font-size:var(--today-type-meta)!important}
html:root #atlas-app.atlas-unified :is(.synastry-levels,.pair-topic-grid,.access-plans,.mini-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
html:root #atlas-app.atlas-unified .pair-topic-card{min-width:0}
html:root #atlas-app.atlas-unified .pair-topic-card :is(p,strong){font-size:16px!important}
html:root #atlas-app.atlas-unified .pair-topic-card small{font-size:var(--today-type-meta)!important}
html:root #atlas-app.atlas-unified .chart-position-line{font-size:var(--today-type-meta)!important}
html:root #atlas-app.atlas-unified .tarot-art.tarot-card-back{background-image:url('assets/tarot-back-lavender-v137.svg?v=140')!important}
html:root #atlas-app.atlas-unified :is(.retro-label,.orbit-caption){font-size:11px!important}
/* Shared text roles also cover labels rendered as spans, links and disclosures. */
html:root #atlas-app.atlas-unified :is(.reading-panel-title,.chart-planet-name,.chart-accent-row strong,.cabinet-bonus-grid strong,.timeline-head>strong){font:600 var(--today-type-body)/1.4 var(--font-ui)!important}
html:root #atlas-app.atlas-unified :is(.reading-toolbar,.reading-toggle,.reading-number,.chapter-meta,.chapter-preview,.report-access-note,.locked-levels span,.interaction-level-head span,.level-overlays,.synastry-price-note,.chart-tools span,.rub-price,.question-hint,.spend-note,.access-conditions,.planet-dialog-meta,.planet-dialog-note,.planet-dialog-retro){font-size:var(--today-type-meta)!important;line-height:1.5!important}
html:root #atlas-app.atlas-unified .reading-toolbar .reading-toggle{font:600 var(--today-type-meta)/1.5 var(--font-ui)!important}
html:root #atlas-app.atlas-unified :is(.reference-panel-heading,.chart-panel-heading){flex-wrap:wrap;row-gap:10px}
html:root #atlas-app.atlas-unified :is(.reference-panel-heading,.chart-panel-heading)>h2{flex:1 1 160px}
html:root #atlas-app.atlas-unified :is(.reference-quote,.places-map-signature){font:400 var(--today-type-body)/1.5 var(--font-ui)!important}
html:root #atlas-app.atlas-unified .view>.section-heading :is(h1,h2){font:600 var(--today-type-title)/1.2 var(--font-ui)!important}
html:root #atlas-app.atlas-unified .nav-pill :is(.nav-mobile-label,.nav-desktop-label){font:inherit!important}
html:root #atlas-app.atlas-unified #synastry .pair-score-card>.pair-score-value{font:600 var(--today-type-heading)/1.3 var(--font-ui)!important}
html:root #atlas-app.atlas-unified #synastry .pair-score-card>:is(.pair-score-source,.pair-score-link){font-size:var(--today-type-meta)!important;line-height:1.5!important}
html:root #atlas-app.atlas-unified #places .place-city-copy>details>summary{font:600 var(--today-type-meta)/1.5 var(--font-ui)!important}
html:root #atlas-app.atlas-unified #places .place-city-copy>p{font-size:var(--today-type-meta)!important;line-height:1.5!important}
html:root #atlas-app.atlas-unified #places .place-city-copy>h3{font:600 var(--today-type-heading)/1.3 var(--font-ui)!important}
html:root #atlas-app.atlas-unified #places .place-city-copy>.soft-button{font:600 var(--today-type-meta)/1.5 var(--font-ui)!important}
html:root #atlas-app.atlas-unified #transits .timeline-head>strong{font:600 var(--today-type-body)/1.4 var(--font-ui)!important}
html:root #atlas-app.atlas-unified #chart .chart-position-button{font-size:var(--today-type-meta)!important;min-height:48px;flex-wrap:wrap}
html:root #atlas-app.atlas-unified #chart .chart-position-button[data-chart-angle] .chart-position-glyph{font-size:var(--today-type-meta)!important;width:36px}
html:root #atlas-app.atlas-unified #chart .chart-position-retro{position:static;display:block;font-size:var(--today-type-meta)!important;line-height:1.4!important}
html:root #atlas-app.atlas-unified #chart .chart-position-name{overflow-wrap:normal!important}
html:root #atlas-app.atlas-unified #chart :is(.chart-matrix-aspect,.chart-matrix-planet){font:400 16px/1 'Segoe UI Symbol','Noto Sans Symbols 2',serif!important}
/* Matrix cells follow the grid size instead of the 44px form-button minimum. */
/* A single natal calculation serves a life overview and the professional sheet. */
html:root #atlas-app.atlas-unified #chart[data-reading-mode=overview]>:is(#chart-wheel-stage,.chart-data-sheet,.chart-tabs,.chart-key-positions,.chart-summary-grid,#chart-full-positions,#chart-connections,#chart-settings){display:none!important}
html:root #atlas-app.atlas-unified #chart .natal-reading-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:6px;border:1px solid #ffffffd9;border-radius:24px;background:var(--glass);box-shadow:var(--shadow)}
html:root #atlas-app.atlas-unified #chart .natal-reading-switch button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:64px;padding:10px 8px;border:1px solid transparent;border-radius:18px;background:transparent;color:var(--ink)}
html:root #atlas-app.atlas-unified #chart .natal-reading-switch button[aria-pressed=true]{background:var(--plum)!important;color:var(--surface)!important;box-shadow:0 4px 14px #43245d33}
html:root #atlas-app.atlas-unified #chart .natal-reading-switch button small{font-size:var(--today-type-meta)!important;color:inherit!important}
html:root #atlas-app.atlas-unified #chart .natal-reading-switch button:focus-visible{outline:3px solid var(--violet);outline-offset:3px}
html:root #atlas-app.atlas-unified #chart .natal-reading-description{margin:0;padding:0 4px;font-size:var(--today-type-meta)!important;color:var(--muted)!important}
html:root #atlas-app.atlas-unified #chart .chart-life-tools{display:flex;flex-wrap:wrap;gap:10px;order:11}
html:root #atlas-app.atlas-unified #chart .chart-life-tools button{flex:1;min-width:120px}
html:root #atlas-app.atlas-unified #chart[data-reading-mode=pro] #chart-portrait-section{order:10}
html:root #atlas-app.atlas-unified #chart[data-reading-mode=overview] #chart-portrait-section{padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
html:root #atlas-app.atlas-unified #chart[data-reading-mode=overview] #chart-portrait-section>summary{display:none!important}
html:root #atlas-app.atlas-unified #chart[data-reading-mode=overview] .natal-report-shell{padding:0!important;margin-top:0!important}
html:root #atlas-app.atlas-unified #chart .natal-personality-summary{padding:16px;border:1px solid #ffffffd9;border-radius:20px;background:var(--glass);line-height:1.5!important}
html:root #atlas-app.atlas-unified #chart .natal-personality-summary:empty{display:none}
html:root #atlas-app.atlas-unified #chart[data-reading-mode=overview] .natal-report-section-kicker{display:none}
html:root #atlas-app.atlas-unified #chart[data-reading-mode=overview] .natal-report-section-title{font-size:var(--today-type-body)!important;line-height:1.4!important}
html:root #atlas-app.atlas-unified #chart[data-reading-mode=overview] .chapter-preview{font-size:var(--today-type-meta)!important;line-height:1.5!important;-webkit-line-clamp:unset!important;max-height:none!important}
html:root #atlas-app.atlas-unified #chart[data-reading-mode=overview] .natal-report-head{margin:0!important;padding:0 4px!important;background:none!important;border:0!important;box-shadow:none!important}
html:root #atlas-app.atlas-unified #chart[data-reading-mode=overview] .natal-report-head :is(small,#natal-report-intro,.natal-report-emblem){display:none!important}
html:root #atlas-app.atlas-unified #chart[data-reading-mode=overview] :is(#chart-location-status,#natal-report-location){display:none!important}
html:root #atlas-app.atlas-unified #chart[data-reading-mode=overview] #natal-report-location{margin:10px 0;font-size:var(--today-type-meta)!important;border:0;background:none;padding:0}
html:root #atlas-app.atlas-unified #chart .chart-matrix-scroll{--matrix-limit:min(50svh,calc(var(--atlas-viewport-height,100svh) / 2));max-height:var(--matrix-limit)}
html:root #atlas-app.atlas-unified #chart .chart-aspect-matrix{--matrix-cell:min(24px,calc(100cqw / var(--matrix-columns,13)),calc((var(--matrix-limit) - 12px) / var(--matrix-columns,13)))}
html:root #atlas-app.atlas-unified #chart .chart-aspect-matrix :is(th,td){height:var(--matrix-cell)!important;min-height:0!important;padding:0!important;line-height:1!important}
html:root #atlas-app.atlas-unified #chart :is(.chart-matrix-aspect,.chart-matrix-planet){height:calc(var(--matrix-cell) - 1px)!important;min-height:0!important;padding:0!important;line-height:1!important}
html:root #atlas-app.atlas-unified #chart .chart-matrix-aspect.aspect-soft{color:#26745b!important}
html:root #atlas-app.atlas-unified #chart .chart-matrix-aspect.aspect-hard{color:#ac3c70!important}
html:root #atlas-app.atlas-unified #chart .chart-matrix-aspect.aspect-conjunction{color:#6750ad!important}
/* The daily plan gets full-size reading text and room for natural line wraps. */
html:root #atlas-app.atlas-unified #today :is(.daily-plan-card,.today-meditation){height:auto!important;padding:16px!important}
html:root #atlas-app.atlas-unified #today .today-reference-header{gap:10px;min-height:44px!important;margin-bottom:10px}
html:root #atlas-app.atlas-unified #today .today-reference-header .reference-heading-label{font:600 var(--today-type-heading)/1.3 var(--font-ui)!important;text-align:left}
html:root #atlas-app.atlas-unified #today .today-reference-header>.reference-chevron{width:16px;height:22px;flex:none}
html:root #atlas-app.atlas-unified #today #daily-plan-steps{gap:10px!important}
html:root #atlas-app.atlas-unified #today details.daily-plan-step>summary{min-height:72px!important;height:auto!important;gap:10px!important;padding:12px!important}
html:root #atlas-app.atlas-unified #today .daily-step-copy{display:block!important;flex:1;min-width:0;max-height:none;font:400 var(--today-type-body)/1.5 var(--font-ui)!important;white-space:normal!important;overflow:visible!important;-webkit-line-clamp:unset!important}
html:root #atlas-app.atlas-unified #today .daily-step-icon{width:34px;height:34px;flex:none}
html:root #atlas-app.atlas-unified #today .daily-step-icon svg{width:22px;height:22px}
html:root #atlas-app.atlas-unified #today .daily-plan-step .reference-chevron{width:14px;height:20px}
html:root #atlas-app.atlas-unified #today .daily-step-full{padding:0 12px 12px!important}
html:root #atlas-app.atlas-unified #today :is(.meditation-name,.tarot-name){font:600 var(--today-type-heading)/1.3 var(--font-ui)!important}
html:root #atlas-app.atlas-unified #today :is(.meditation-meta,.meditation-basis,.meditation-credits,.tarot-label,.tarot-note,.tarot-meta,.today-influence-badge){font-size:var(--today-type-meta)!important;line-height:1.5!important}
html:root #atlas-app.atlas-unified #today #daily-moon-sign{font:400 var(--today-type-meta)/1.5 var(--font-ui)!important}
html:root #atlas-app.atlas-unified #today .meditation-reason{font-size:var(--today-type-body)!important;line-height:1.5!important}
html:root #atlas-app.atlas-unified #today .meditation-description{grid-template-columns:minmax(0,1fr) 48px;gap:12px}
html:root #atlas-app.atlas-unified #today .meditation-play{width:48px;height:48px;min-height:48px;padding:10px!important}
/* The date strip occupies its own row instead of squeezing the calendar copy. */
html:root #atlas-app.atlas-unified #today .today-calendar{grid-template-columns:minmax(0,1fr)!important;gap:14px!important;padding:16px!important}
html:root #atlas-app.atlas-unified #today .today-calendar-heading{gap:10px!important;min-height:64px!important}
html:root #atlas-app.atlas-unified #today .calendar-icon-badge{width:40px;height:40px;border-radius:14px}
html:root #atlas-app.atlas-unified #today .calendar-icon-badge svg{width:26px;height:26px}
html:root #atlas-app.atlas-unified #today .calendar-heading-copy{flex:1;min-width:0}
html:root #atlas-app.atlas-unified #today .today-calendar .calendar-title{font:600 var(--today-type-heading)/1.3 var(--font-ui)!important}
html:root #atlas-app.atlas-unified #today .today-calendar .calendar-heading-copy>span:not(.calendar-title){font:400 var(--today-type-meta)/1.5 var(--font-ui)!important}
html:root #atlas-app.atlas-unified #today .today-calendar .calendar-heading-copy>.calendar-disclosure-label{font-weight:600!important}
html:root #atlas-app.atlas-unified #today .atlas-week{padding:12px 0 0!important;border-left:0;border-top:1px solid rgba(104,85,112,.16)}
html:root #atlas-app.atlas-unified #today #atlas-week-month{font:400 var(--today-type-meta)/1.5 var(--font-ui)!important;margin-bottom:10px}
html:root #atlas-app.atlas-unified #today .atlas-week-days{gap:8px}
html:root #atlas-app.atlas-unified #today .atlas-week-day{min-height:68px!important;padding:4px!important;gap:4px}
html:root #atlas-app.atlas-unified #today .atlas-week-day .week-number{width:40px;height:40px;max-width:100%;min-height:40px;font:400 var(--today-type-meta)/1.4 var(--font-ui)!important}
html:root #atlas-app.atlas-unified #today .atlas-week-day .week-name{font:600 var(--today-type-meta)/1.4 var(--font-ui)!important}
/* A compact Moon overview leads directly into the calendar, before meditation. */
html:root #atlas-app.atlas-unified #today .today-calendar{order:4!important}
html:root #atlas-app.atlas-unified #today .today-overview>.today-moon{gap:6px!important;padding:14px 16px!important}
html:root #atlas-app.atlas-unified #today .today-moon>.today-reference-header{margin:0!important}
html:root #atlas-app.atlas-unified #today .today-moon-heading{gap:12px!important}
html:root #atlas-app.atlas-unified #today #today-moon-disc{width:56px!important;height:56px!important}
html:root #atlas-app.atlas-unified #today #today-moon-metrics{display:none!important}
html:root #atlas-app.atlas-unified #today .atlas-phase-cycle{grid-row:3!important;padding:8px 0!important}
html:root #atlas-app.atlas-unified #today .atlas-phase-cycle::before{top:26px}
html:root #atlas-app.atlas-unified #today .atlas-phase-cycle i{width:36px!important;height:36px!important}
html:root #atlas-app.atlas-unified #today #today-moon-summary{margin:0!important}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){html:root #atlas-app.atlas-unified :is(.reference-glass,.atlas-panel,.chat-card,.daily-plan-card,.reading-part,dialog){background:rgba(255,250,253,.94)!important}}
@media(max-width:760px){
 html:root #atlas-app.atlas-unified .app-shell{padding-bottom:calc(104px + var(--design-safe-bottom))!important}
 html:root #atlas-app.atlas-unified .main-nav{height:calc(76px + var(--design-safe-bottom))!important;min-height:76px!important;padding:0 4px var(--design-safe-bottom)!important;gap:0!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;background:rgba(255,250,253,.94)!important;border-radius:22px 22px 0 0!important}
 html:root #atlas-app.atlas-unified .nav-pill{min-width:0!important;min-height:72px!important;padding:6px 1px!important;font:600 var(--today-type-meta)/1.4 var(--font-ui)!important;border-radius:18px!important;color:var(--muted)!important;background:none!important;border:0!important;box-shadow:none!important}
 html:root #atlas-app.atlas-unified .nav-pill.active{color:var(--violet)!important;background:rgba(128,82,150,.12)!important}
 html:root #atlas-app.atlas-unified .nav-pill svg{width:26px!important;height:26px!important}
 html:root #atlas-app.atlas-unified :is(.access-plans,.synastry-levels,.pair-topic-grid){grid-template-columns:1fr!important}
 html:root #atlas-app.atlas-unified .section-heading :is(.eyebrow,.reference-kicker){display:none!important}
 html:root #atlas-app.atlas-unified :is(.birth-fields,.form-grid,.date-finder fieldset){grid-template-columns:1fr!important}
 html:root #atlas-app.atlas-unified .topbar .brand{font-size:var(--today-type-body)!important}
 html:root #atlas-app.atlas-unified #chart .chart-tabs{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:20px}
 html:root #atlas-app.atlas-unified #chart .chart-key-grid{grid-template-columns:minmax(0,1fr)}
 html:root #atlas-app.atlas-unified #chart .chart-key-grid>.mini-card{grid-template-columns:34px minmax(0,1fr);min-height:0;padding:12px;gap:10px}
 html:root #atlas-app.atlas-unified #places .places-goal-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
 html:root #atlas-app.atlas-unified #places .place-recommendation{grid-template-columns:minmax(0,1fr)}
 html:root #atlas-app.atlas-unified #places .place-city-photo{height:160px;min-height:0;border-right:0;border-bottom:1px solid rgba(255,255,255,.58)}
 html:root #atlas-app.atlas-unified #ask .ask-steps{grid-template-columns:minmax(0,1fr);gap:10px}
 html:root #atlas-app.atlas-unified #ask .ask-steps>article{padding:12px 12px 12px 54px;min-height:72px}
 html:root #atlas-app.atlas-unified #ask .ask-steps .reference-round-icon{position:absolute;left:12px;top:12px;width:30px;height:30px}
 html:root #atlas-app.atlas-unified #ask .ask-step-number{display:none}
 html:root #atlas-app.atlas-unified #ask .ask-steps h3{font:600 var(--today-type-body)/1.4 var(--font-ui)!important}
 html:root #atlas-app.atlas-unified #cabinet .reference-menu-row{padding:10px 6px!important}
 html:root #atlas-app.atlas-unified #synastry #synastry-form,
 html:root #atlas-app.atlas-unified #synastry #synastry-form .field-row{grid-template-columns:minmax(0,1fr)}
 /* Long relationship readings each use a full row on phones. */
 html:root #atlas-app.atlas-unified #synastry .pair-dashboard>:is(.pair-harmony-panel,.pair-story-panel){grid-column:1 / -1;min-width:0}
 html:root #atlas-app.atlas-unified #synastry .pair-harmony-item p{min-width:0;flex:1}
}
@media(max-width:359px){
 html:root #atlas-app.atlas-unified .main-nav{grid-template-columns:1.2fr 1fr .9fr 1.2fr .8fr!important}
 html:root #atlas-app.atlas-unified #cabinet .reference-menu-row>.reference-round-icon{display:none}
}
