/* R51.8: solid surfaces, readable text and predictable layout. Theme colors remain user-controlled. */
html[data-atlas-premium] body{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;font-size:max(16px,1rem)!important;-webkit-text-size-adjust:100%;text-size-adjust:100%}
html[data-atlas-premium] body :is(button,input,select,textarea){font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}
html[data-atlas-premium] body :is(p,.field-help,.result-warning,.ai-message){line-height:1.6}
html[data-atlas-premium] body :is(.input,textarea){font-size:16px!important}
html[data-atlas-premium] body #appScreen #atlasMain{gap:20px!important;padding-top:22px!important}
html[data-atlas-premium] body #appScreen #atlasMain>.atlas-welcome-center{order:1!important;margin:0!important;padding:12px 4px!important;min-height:0!important;height:auto!important;background:none!important;box-shadow:none!important;border:0!important}
html[data-atlas-premium] body #appScreen #atlasMain>.atlas-welcome-center .hero-content{padding:0!important;margin:0!important}
html[data-atlas-premium] body #appScreen #atlasMain>.atlas-welcome-center h1{font-size:clamp(28px,5vw,38px)!important;line-height:1.2!important;margin:0!important;letter-spacing:-.035em!important}
html[data-atlas-premium] body #appScreen #atlasMain>.atlas-welcome-center p{font-size:15px!important}
html[data-atlas-premium] body #appScreen #atlasMain>.atlas-people-center{order:2!important;padding:16px!important;margin:0!important;background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:20px!important;box-shadow:0 8px 24px #00000005!important;content-visibility:visible!important;contain:none!important;contain-intrinsic-size:none!important}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .atlas-people-head{display:flex!important;align-items:center!important;gap:8px!important;margin-bottom:12px!important}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .atlas-people-head>div{flex:1;min-width:0}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .atlas-people-head h2{font-size:16px!important;line-height:1.25!important;margin:0!important}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .atlas-people-head .eyebrow,
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .atlas-selected-person-row{display:none!important}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center :is(#editSelectedProfile,#managePeople){display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;margin:0!important;padding:8px 10px!important;font-size:13px!important;border:1px solid var(--line)!important;border-radius:11px!important;background:var(--surface-1,var(--panel))!important;color:var(--text)!important;white-space:nowrap}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center #managePeople{order:3}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center #editSelectedProfile{order:2}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .profile-tabs{gap:10px!important;margin:0!important;padding:2px!important;display:flex!important;overflow-x:auto!important;overflow-y:hidden!important}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .profile-tab.atlas-profile-mini{flex:0 0 240px!important;width:240px!important;min-width:240px!important;max-width:240px!important;height:82px!important;min-height:82px!important;padding:12px!important;grid-template-columns:40px minmax(0,1fr) 20px!important;grid-template-rows:1fr!important;gap:10px!important;border-radius:14px!important;background:var(--surface-1,var(--panel))!important;box-shadow:none!important;transform:none!important}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .profile-tab.active{border-color:var(--accent)!important;background:color-mix(in srgb,var(--accent) 8%,var(--panel))!important}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .profile-avatar{grid-row:1!important;width:40px!important;height:40px!important;font-size:17px!important}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .profile-tab-copy{grid-row:1!important;min-width:0!important;gap:5px!important}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .profile-tab-copy b{font:600 15px/1.3 system-ui!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .profile-tab-copy small{display:block!important;font:12px/1.3 system-ui!important}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .profile-selected-badge{position:static!important;grid-column:3!important;grid-row:1!important;display:grid!important;place-items:center!important;font:600 14px/1 system-ui!important;color:var(--text)!important;width:20px!important;height:20px!important;padding:0!important;border:0!important;background:none!important;transform:none!important}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .profile-selected-badge::before,
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .profile-selected-badge::after{content:none!important;display:none!important}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .profile-tabs>.profile-add-tab{flex:0 0 132px!important;width:132px!important;min-width:132px!important;max-width:132px!important;height:82px!important;min-height:82px!important;padding:12px!important;display:flex!important;gap:8px!important;border:1px dashed var(--line)!important;border-radius:14px!important;box-shadow:none!important;background:var(--panel)!important}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .profile-add-icon{flex:0 0 28px!important;width:28px!important;height:28px!important;min-width:28px!important;font-size:22px!important}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-people-center .profile-add-tab b{font:600 13px/1.4 system-ui!important;white-space:normal!important;overflow:visible!important}
html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary{order:3!important;margin:0!important;padding:0!important;background:none!important;content-visibility:visible!important;contain:none!important;contain-intrinsic-size:none!important}
html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary>.module-group-head{margin-bottom:12px!important}
html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary>.module-group-head h2{font-size:21px!important;margin:0!important;line-height:1.25!important}
html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary>.card-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary .analysis-card.obsidian-primary-card{display:grid!important;grid-template-columns:minmax(0,1fr) 24px!important;grid-template-rows:44px auto auto!important;align-content:start!important;align-items:start!important;height:156px!important;min-height:156px!important;padding:16px!important;gap:9px!important;background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:18px!important;box-shadow:0 8px 24px #00000004!important;contain:none!important;content-visibility:visible!important;transition:border-color .12s ease!important;cursor:pointer}
html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary .analysis-card::before{display:none!important}
html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary .analysis-card::after{grid-column:2!important;grid-row:1!important;position:static!important;align-self:center!important;justify-self:end!important;content:'↗'!important;font:18px/1 system-ui!important;opacity:.55!important}
html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary .analysis-card .card-top{grid-column:1!important;grid-row:1!important;width:44px!important;height:44px!important;margin:0!important}
html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary .analysis-card :is(.card-icon,.themed-card-icon){width:44px!important;height:44px!important;min-width:44px!important;border-radius:12px!important;background:color-mix(in srgb,var(--accent) 7%,var(--panel))!important;box-shadow:none!important}
html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary .analysis-card h3{grid-column:1/3!important;grid-row:2!important;font:650 17px/1.3 system-ui!important;letter-spacing:-.02em!important;margin:0!important;min-height:0!important;display:block!important}
html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary .premium-card-caption{grid-column:1/3;grid-row:3;font:13px/1.4 system-ui;color:var(--muted)}
html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary .analysis-card :is(p,.mini-stats,.card-status,.card-scope-details,.module-option,.calculation-action-area){display:none!important}
html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary .analysis-card:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary .analysis-card .card-icon img{display:block!important;visibility:visible!important;width:40px!important;height:40px!important;max-width:40px!important;max-height:40px!important;opacity:1!important;object-fit:contain!important}
html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary .analysis-card .card-icon .card-icon-fallback{display:none!important}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-mobile-app-section-tabs{order:4!important;margin:0!important}
html[data-atlas-premium] body #appScreen #atlasMain .atlas-start-dashboard{order:5!important;margin:0!important}
html[data-atlas-premium] body #appScreen #atlasMain>.atlas-ai-home-entry{order:6!important}
html[data-atlas-premium] body #appScreen #atlasMain>#experienceModePanel{order:7!important}
html[data-atlas-premium] body #appScreen #atlasMain>#advancedAstrologyHome{order:8!important}
html[data-atlas-premium] body #appScreen #atlasMain>.atlas-live-sky-entry{order:9!important}
html[data-atlas-premium] body #appScreen #atlasMain>#professionalHomeGateway{order:10!important}
html[data-atlas-premium] body #appScreen #atlasMain>#commerceCenter{order:11!important}
html[data-atlas-premium] body #appScreen #atlasMain :is(.atlas-start-dashboard>.atlas-today-overview,.atlas-start-dashboard>.weekly-transit-card){padding:20px!important;border-radius:20px!important;background:var(--panel)!important}
html[data-atlas-premium] body #appScreen #atlasMain :is(.atlas-today-transit-item,.weekly-event,.weekly-transit-day-panel,.atlas-today-transit-empty,.weekly-transit-loading){font:15px/1.55 system-ui!important}
html[data-atlas-premium] body #appScreen #atlasMain :is(.atlas-today-transit-item,.weekly-event) :is(b,strong,p,span){font-size:15px!important;line-height:1.5!important;letter-spacing:normal!important}
html[data-atlas-premium] body #appScreen #atlasMain :is(.atlas-today-transit-item,.weekly-event) small{font-size:13px!important;line-height:1.45!important}
html[data-atlas-premium] body #appScreen #atlasMain :is(.atlas-today-theme b,.weekly-transit-theme p){font-size:17px!important;line-height:1.55!important}
html[data-atlas-premium] body #appScreen #atlasMain :is(.atlas-today-head p,.atlas-today-transits-head b,.weekly-transit-person){font-size:15px!important;line-height:1.5!important}
html[data-atlas-premium] body #appScreen #atlasMain :is(.atlas-today-transits-head small,.atlas-today-theme small,.weekly-transit-calendar small,.weekly-transit-legend){font-size:12px!important;line-height:1.4!important}
html[data-atlas-premium] body #appScreen #atlasMain :is(.atlas-mobile-app-section-tabs button,.advanced-astrology-action,.atlas-experience-toggle){font-size:14px!important;min-height:44px!important;height:auto!important}
html[data-atlas-premium] body #appScreen #atlasMain #advancedAstrologyHome .advanced-astrology-card h3{font-size:17px!important;line-height:1.3!important;min-height:0!important}
html[data-atlas-premium] body #appScreen #atlasMain #advancedAstrologyHome .advanced-astrology-head h2{font-size:21px!important}
html[data-atlas-premium] body #appScreen #atlasMain #advancedAstrologyHome{content-visibility:visible!important;contain:none!important;contain-intrinsic-size:none!important}
html[data-atlas-premium] body #appScreen #atlasMain #advancedAstrologyHome .advanced-astrology-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
html[data-atlas-premium] body #appScreen #atlasMain #advancedAstrologyHome .advanced-astrology-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:space-between!important;gap:12px!important;height:auto!important;min-height:140px!important;padding:16px!important;overflow:visible!important;contain:none!important;content-visibility:visible!important;border-radius:18px!important}
html[data-atlas-premium] body #appScreen #atlasMain #advancedAstrologyHome .advanced-astrology-card::before,
html[data-atlas-premium] body #appScreen #atlasMain #advancedAstrologyHome .advanced-astrology-card::after{pointer-events:none!important}
html[data-atlas-premium] body #appScreen #atlasMain #advancedAstrologyHome .advanced-astrology-action{position:static!important;margin:0!important;width:100%!important;height:auto!important;min-height:44px!important;flex:0 0 auto!important;white-space:normal!important;line-height:1.4!important;padding:10px!important}
html[data-atlas-premium] body #appScreen>.topbar{box-sizing:border-box!important;max-width:100%!important;overflow:visible!important;background:var(--bg-0,var(--panel))!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-atlas-premium] body #appScreen>.topbar .header-actions{gap:8px!important;flex-wrap:nowrap!important;flex-shrink:0!important}
html[data-atlas-premium] body #appScreen>.topbar :is(#openProfessionalCenter:not(.hidden),#logoutBtn){display:inline-flex!important;align-items:center!important;justify-content:center!important;height:40px!important;min-height:40px!important;min-width:56px!important;width:auto!important;padding:8px 12px!important;font:600 14px/1 system-ui!important;letter-spacing:normal!important;color:var(--text)!important;opacity:1!important;border:1px solid var(--line)!important;border-radius:11px!important;background:var(--panel)!important;text-indent:0!important;visibility:visible!important;transform:none!important}
html[data-atlas-premium] body #mobileBottomNav b{font:600 12px/1.1 system-ui!important}
/* Chat keeps its composer in the layout, with only the conversation scrolling. */
#aiModal.atlas-ai-page[data-premium-chat][data-mobile-pane="chat"] .atlas-ai-page-card{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;overflow:hidden!important}
#aiModal.atlas-ai-page[data-premium-chat][data-mobile-pane="chat"] .atlas-ai-head{position:relative!important;flex:0 0 auto!important;min-height:46px!important;padding:8px 14px!important;box-shadow:none!important}
#aiModal.atlas-ai-page[data-premium-chat][data-mobile-pane="chat"] .atlas-ai-head h2{font:600 17px/1.3 system-ui!important}
#aiModal.atlas-ai-page[data-premium-chat][data-mobile-pane="chat"] .atlas-ai-quick-status--compact{display:none!important}
#aiModal.atlas-ai-page[data-premium-chat][data-mobile-pane="chat"] .atlas-ai-profile-strip--compact{margin:4px auto 8px!important;flex:0 0 auto!important}
#aiModal.atlas-ai-page[data-premium-chat][data-mobile-pane="chat"] .atlas-ai-layout{display:flex!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;width:100%!important;margin:0!important;padding:0!important;overflow:hidden!important}
#aiModal.atlas-ai-page[data-premium-chat][data-mobile-pane="chat"] .atlas-ai-chat-pane{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;height:100%!important;max-height:none!important;width:min(900px,100%)!important;margin:0 auto!important;padding:0!important;overflow:hidden!important;background:color-mix(in srgb,var(--accent) 3%,var(--bg-0,var(--panel)))!important;border:0!important;border-radius:0!important}
#aiModal.atlas-ai-page[data-premium-chat][data-mobile-pane="chat"] .atlas-ai-chat-head{order:1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex:0 0 auto!important;min-height:52px!important;padding:8px 16px!important;margin:0!important;background:var(--panel)!important;border-bottom:1px solid var(--line)!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-ai-chat-identity{display:flex!important;align-items:center!important;gap:10px!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-ai-chat-avatar{width:32px!important;height:32px!important;min-width:32px!important;font-size:18px!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-ai-chat-identity h3{font:600 17px/1.3 system-ui!important;margin:0!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-ai-chat-identity :is(p,div>span),
#aiModal.atlas-ai-page[data-premium-chat] .atlas-ai-composer-hint,
#aiModal.atlas-ai-page[data-premium-chat] #aiChatSuggestions{display:none!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-ai-chat-head-actions{display:flex!important;gap:6px!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-ai-chat-head-actions button{min-height:36px!important;font-size:13px!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-chat-options{order:2;flex:0 0 auto;background:var(--panel);border-bottom:1px solid var(--line);max-height:45%;overflow:auto}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-chat-options>summary{padding:10px 16px;cursor:pointer;font:13px/1.4 system-ui;color:var(--muted)}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-chat-options .atlas-ai-chat-controls{display:flex!important;flex-wrap:wrap!important;height:auto!important;max-height:none!important;min-height:0!important;margin:0!important;padding:10px 16px!important;border:0!important;border-radius:0!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-chat-options .atlas-ai-chat-scope-summary{display:none!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-chat-options .atlas-ai-chat-depth-control{display:block!important;width:100%!important;height:auto!important;min-height:0!important;padding:0!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-chat-options #aiChatDepthChoices{display:grid!important;height:auto!important;min-width:0!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-chat-options #aiConversationPanel{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:12px 16px!important;border:0!important;min-height:0!important;height:auto!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-chat-options #aiConversationPanel :is(label,select,button,i){display:block!important;font-size:13px!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-chat-options #aiConversationPanel #toggleAiConversationPanel{display:none!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-chat-option-actions{display:flex;gap:8px;padding:0 16px 12px}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-ai-chat-route{order:2!important;flex:0 0 auto;font-size:12px!important;padding:6px 16px!important}
#aiModal.atlas-ai-page[data-premium-chat][data-mobile-pane="chat"] #aiChatMessages{order:3!important;flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;width:100%!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;margin:0!important;padding:18px 16px!important;display:flex!important;flex-direction:column!important;gap:14px!important;scroll-behavior:auto!important;background:none!important;contain:none!important}
#aiModal.atlas-ai-page[data-premium-chat] #aiChatMessages .ai-message{flex:0 0 auto!important;width:fit-content!important;max-width:88%!important;min-width:0!important;padding:12px 14px!important;margin:0!important;border:1px solid var(--line)!important;border-radius:4px 16px 16px 16px!important;background:var(--panel)!important;box-shadow:0 2px 5px #00000003!important;font:15px/1.6 system-ui!important;overflow-wrap:anywhere}
#aiModal.atlas-ai-page[data-premium-chat] #aiChatMessages .ai-message.user{align-self:flex-end!important;border-radius:16px 4px 16px 16px!important;background:color-mix(in srgb,var(--accent) 13%,var(--panel))!important}
#aiModal.atlas-ai-page[data-premium-chat] #aiChatMessages .ai-message.assistant{align-self:flex-start!important}
#aiModal.atlas-ai-page[data-premium-chat] #aiChatMessages .ai-message>span{display:block!important;margin:0 0 5px!important;font:600 12px/1.3 system-ui!important;color:var(--muted)!important}
#aiModal.atlas-ai-page[data-premium-chat] #aiChatMessages .ai-message.user>span{display:none!important}
#aiModal.atlas-ai-page[data-premium-chat] #aiChatMessages .atlas-ai-message-body,
#aiModal.atlas-ai-page[data-premium-chat] #aiChatMessages .atlas-ai-message-body :is(p,li){font:15px/1.6 system-ui!important;color:var(--text)!important}
#aiModal.atlas-ai-page[data-premium-chat] #aiChatMessages .atlas-ai-message-actions{display:flex;justify-content:flex-end;gap:10px;font:12px/1.4 system-ui!important;color:var(--muted)}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-ai-chat-welcome{width:min(420px,100%);margin:auto!important;padding:16px 0!important;text-align:center;border:0!important;background:none!important;box-shadow:none!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-ai-chat-welcome>b{font:600 20px/1.3 system-ui!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-ai-chat-welcome p{font:14px/1.6 system-ui!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-ai-chat-welcome-prompts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-ai-chat-welcome-prompts button{min-height:44px!important;font:13px/1.4 system-ui!important;padding:8px!important;border-radius:12px!important;white-space:normal!important}
#aiModal.atlas-ai-page[data-premium-chat][data-mobile-pane="chat"] #aiChatForm{order:4!important;position:relative!important;flex:0 0 auto!important;margin:0!important;padding:10px 12px!important;bottom:auto!important;width:100%!important;background:var(--panel)!important;border-top:1px solid var(--line)!important;box-shadow:none!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-ai-composer{display:flex!important;align-items:flex-end!important;gap:10px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
#aiModal.atlas-ai-page[data-premium-chat] #aiChatInput{flex:1;min-width:0!important;min-height:46px!important;max-height:96px!important;padding:12px 14px!important;margin:0!important;font:16px/1.4 system-ui!important;border:1px solid var(--line)!important;border-radius:20px!important;background:var(--surface-1,var(--panel))!important;resize:none!important}
#aiModal.atlas-ai-page[data-premium-chat] #aiChatSubmit{flex:0 0 46px!important;min-width:46px!important;width:46px!important;height:46px!important;min-height:46px!important;padding:0!important;border-radius:50%!important;display:grid!important;place-items:center!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-ai-send-label{display:none!important}
#aiModal.atlas-ai-page[data-premium-chat] .atlas-ai-send-icon{display:block!important;font:24px/1 system-ui!important}
@media(max-width:900px){
 html[data-atlas-premium] body #newcomerGuide{bottom:var(--atlas-dock-height,64px)!important;height:auto!important;padding:16px!important}
 html[data-atlas-premium] body #newcomerGuide .atlas-newcomer-guide-card{max-height:calc(100dvh - 112px - env(safe-area-inset-bottom))!important;overflow-y:auto!important}
 html.atlas-mobile-app-v1[data-atlas-premium] body #appScreen>.topbar .header-actions{width:auto!important;min-width:0!important;flex:0 0 auto!important;gap:8px!important}
 html.atlas-mobile-app-v1[data-atlas-premium] body #appScreen>.topbar .header-actions #openProfessionalCenter:not(.hidden),
 html.atlas-mobile-app-v1[data-atlas-premium] body #appScreen>.topbar .header-actions #logoutBtn{display:inline-flex!important;flex:0 0 auto!important;min-width:56px!important;width:auto!important;height:40px!important;min-height:40px!important;padding:8px 12px!important;font-size:14px!important}
 html[data-atlas-premium] body #appScreen>.topbar{padding-left:14px!important;padding-right:14px!important;gap:10px!important}
 html[data-atlas-premium] body #appScreen>.topbar .brand{flex:1!important;min-width:0!important}
 html[data-atlas-premium] body #appScreen>.topbar .brand-copy strong{font:700 12px/1.3 system-ui!important;letter-spacing:.025em!important}
 html[data-atlas-premium] body #appScreen>.topbar .brand-mark{width:30px!important;height:30px!important;min-width:30px!important}
 html[data-atlas-premium] body #appScreen #atlasMain{padding-left:16px!important;padding-right:16px!important;gap:18px!important}
 html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary>.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary .analysis-card.obsidian-primary-card{padding:14px!important;height:158px!important;min-height:158px!important}
 html[data-atlas-premium] body #appScreen #atlasMain .module-group-primary .analysis-card h3{font-size:16px!important}
 body:is(.atlas-keyboard-open,.atlas-stable-keyboard-open) #aiModal.atlas-ai-page[data-premium-chat][data-mobile-pane="chat"] :is(.atlas-ai-head,.atlas-ai-profile-strip--compact,.atlas-chat-options:not([open])){display:none!important}
}
@media(prefers-reduced-motion:reduce){html[data-atlas-premium] body #appScreen #atlasMain .analysis-card{transition:none!important}}
@media(min-width:901px){
 html[data-atlas-premium] body #mobileBottomNav.mobile-bottom-nav:not([hidden]){position:fixed!important;inset:auto 0 0!important;left:0!important;right:0!important;bottom:0!important;z-index:2147483646!important;display:flex!important;justify-content:space-around!important;gap:8px!important;width:100%!important;max-width:none!important;height:76px!important;min-height:76px!important;margin:0!important;padding:6px max(16px,calc((100vw - 560px)/2))!important;background:var(--panel)!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;box-shadow:0 -4px 20px #00000008!important;transform:none!important}
 html[data-atlas-premium] body #mobileBottomNav button{display:flex!important;flex:1;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-height:48px!important;color:var(--muted)!important;background:none!important;border:0!important;border-radius:12px!important}
 html[data-atlas-premium] body #mobileBottomNav button.active{color:var(--text)!important;background:color-mix(in srgb,var(--accent) 12%,var(--panel))!important}
 html[data-atlas-premium] body #mobileBottomNav svg{width:20px!important;height:20px!important}
 html[data-atlas-premium] body #appScreen #atlasMain{padding-bottom:104px!important}
 html[data-atlas-premium] body :is(#aiModal.atlas-ai-page,#settingsModal,#reportsPage,#supportPage,#trustCenterPage,#professionalPage,#adminCenter,#astrologyCenterModal,#resultModal.atlas-report-page,.modal.atlas-tool-page):not(.hidden){height:calc(var(--atlas-stable-visual-height,100dvh) - 76px)!important;max-height:calc(var(--atlas-stable-visual-height,100dvh) - 76px)!important}
}
