/* One top-pane template: brand left, language and menu right. */
html body{background:#fff!important;background-image:none!important}
html body .site-shell,html body [data-learn-tarot-overview],html body [data-learning-activities],html body [data-astrology-overview],html body [data-chat-overview]{background:transparent!important}
html body #learning-sections-menu,html body .learning-sections{display:none!important}
html body:has([data-shared-header])>.language-toolbar{position:relative!important;inset:auto!important;padding:0!important;margin:0!important;min-height:0!important;height:0!important;max-width:none!important;z-index:60}
html body:has([data-shared-header])>.language-toolbar>select,html body:has([data-shared-header])>.language-toolbar>label{display:none!important}
html body:has([data-shared-header])>.language-toolbar>[role]{position:absolute;right:20px;top:72px;max-width:320px;background:#fff;border:1px solid #d8e1e8;border-radius:8px;padding:10px 14px;box-shadow:0 4px 12px #29465016}
html body [data-shared-header].site-header{box-sizing:border-box;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;position:relative;height:80px!important;min-height:80px!important;padding-block:14px!important;margin-block:0!important;gap:20px!important;border:0!important;background:transparent!important}
html body [data-shared-header].site-header>.brand{display:inline-flex;align-items:center;gap:10px!important;min-width:0;max-width:none!important;flex:0 1 auto!important;padding:0!important;white-space:nowrap!important;font:600 24px/1.15 Georgia,serif!important;letter-spacing:-.35px;color:#2b414d;text-decoration:none}
html body [data-shared-header] .brand>span{white-space:nowrap!important}
html body [data-shared-header] .brand>img{width:44px!important;height:31px!important;flex-shrink:0;object-fit:contain}
html body [data-shared-header] .site-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:none;margin-left:auto}
html body [data-shared-header] .reading-language-picker{display:flex!important;align-items:center;order:0!important;position:static!important;margin:0!important;padding:0!important}
html body [data-shared-header] .reading-language-picker select{box-sizing:border-box;width:132px!important;max-width:132px!important;min-height:42px!important;height:42px!important;padding:6px 10px!important;border:1px solid #d8e1e8!important;border-radius:8px!important;background:transparent!important;color:#2b414d!important;font:400 15px/1.2 'Source Sans 3',Arial,sans-serif!important;box-shadow:none!important}
html body [data-shared-header] .tll-navigation{margin:0!important;order:1;flex:none}
html body [data-shared-header] .nav-toggle{box-sizing:border-box;min-height:42px!important;height:42px!important;padding:8px 12px!important;border:1px solid #d8e1e8!important;border-radius:8px!important;background:transparent!important;color:#2b414d!important;box-shadow:none!important}
html body [data-shared-header] select:focus-visible,html body [data-shared-header] .nav-toggle:focus-visible{outline:2px solid #405965;outline-offset:3px}
@media(max-width:680px){
 html body [data-shared-header].site-header{height:68px!important;min-height:68px!important;padding-block:12px!important;gap:10px!important}
 html body [data-shared-header].site-header>.brand{font-size:14px!important;gap:6px!important;max-width:none!important}
 html body [data-shared-header] .brand>img{width:28px!important;height:20px!important}
 html body [data-shared-header] .site-header-actions{gap:7px}
 html body [data-shared-header] .reading-language-picker select{width:75px!important;max-width:75px!important;height:40px!important;min-height:40px!important;font-size:12px!important;padding:6px!important}
 html body [data-shared-header] .nav-toggle{height:40px!important;min-height:40px!important;width:40px;padding:9px!important}
 html body [data-shared-header] .nav-toggle-label{display:none!important}
}
@media(max-width:360px){html body [data-shared-header].site-header>.brand{font-size:12.5px!important;gap:4px!important}html body [data-shared-header] .brand>img{width:24px!important;height:18px!important}html body [data-shared-header] .site-header-actions{gap:5px}html body [data-shared-header] .reading-language-picker select{width:65px!important;max-width:65px!important}}
/* Outlined actions stay quiet next to the artwork. Course pages retain their own styles. */
html body .btn.primary,html body .cosmic-action.primary,html body button[class*="_primary_"],html body a[class*="_primary_"]{background:transparent!important;background-image:none!important;color:#2b414d!important;border:1px solid #667c82!important;border-radius:5px!important;box-shadow:none!important;text-shadow:none!important}
@media(hover:hover){html body .btn.primary:hover,html body .cosmic-action.primary:hover,html body button[class*="_primary_"]:hover,html body a[class*="_primary_"]:hover{background:#f2f5f3!important;border-color:#405965!important}}
/* Expandable help follows the same restrained outlined-control style. */
html body .reading-beginner-help,html body [data-help-page="faq"] details{border:0!important;background:transparent!important;box-shadow:none!important;margin-block:12px!important}
html body .reading-beginner-help>summary,html body [data-help-page="faq"] details>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;padding:14px 20px!important;min-height:46px;box-sizing:border-box;border:1px solid #d3dfe1!important;border-radius:5px;background:transparent;color:#2b414d;font:600 16px/1.4 'Source Sans 3',Arial,sans-serif;cursor:pointer;text-decoration:none}
html body .reading-beginner-help>summary::-webkit-details-marker,html body [data-help-page="faq"] details>summary::-webkit-details-marker{display:none}
html body .reading-beginner-help>summary::after,html body [data-help-page="faq"] details>summary::after{content:'';width:8px;height:8px;flex:none;position:static!important;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-right:3px}
html body .reading-beginner-help[open]>summary::after,html body [data-help-page="faq"] details[open]>summary::after{transform:rotate(225deg)}
html body .reading-beginner-help>p{padding-inline:16px;text-align:left;font-size:15px;line-height:1.6}
html body [data-shared-header] .reading-language-picker>.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Keep the top pane aligned with the page content instead of the window edges. */
html body main.site-shell{box-sizing:border-box;max-width:1164px;margin-inline:auto;padding-inline:32px}
html body [data-shared-header].site-header{width:100%;max-width:1100px;margin-inline:auto!important}
html body [data-shared-header][data-header-section="chat"],html body [data-shared-header][data-header-section="psychic"]{max-width:860px}
@media(max-width:680px){html body main.site-shell{padding-inline:20px}}

html body [data-chat-kind]>[data-page-intro]{padding:22px 20px 18px;border-bottom:1px solid #e0e6e4;background:#fff;flex-shrink:0}
/* Account access stays in the mobile menu so the header does not crowd the brand. */
[data-account-header]{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:560px){html body [data-shared-header] [data-account-header]{display:none}}
