/* Shared reading scale and direction. Market charts retain their own axis direction. */
body.xauscan-dashboard{font-size:16px;line-height:1.6}
body.xauscan-dashboard :is(.small,.muted,small,.label,.chip,.pill){font-size:13px!important;line-height:1.6}
body.xauscan-dashboard :is(button,input,select,textarea){font-size:14px}
body.xauscan-dashboard :is(.nav-label,.sidebar-parent){font-size:14px;white-space:normal}
body.xauscan-dashboard .section h2{font-size:19px}
body.xauscan-dashboard :is(p,td,th){font-size:14px;line-height:1.7}
body.xauscan-dashboard .nav-mini-status{font-size:9px!important}
html[dir=rtl] :is(.xau-site-content,.xau-site-nav,.trader-profile-detail-copy){text-align:start;letter-spacing:normal}
html[dir=rtl] :is(.xs-eyebrow,.xs-number,.workspace-kicker,.label){letter-spacing:0!important}
:is(bdi,.ltr,[type=email],[type=number],code){unicode-bidi:isolate}
html[dir=rtl] .xs-steps{padding-left:0;padding-right:25px}
html[dir=rtl] .xs-checklist li:before{margin-left:10px;margin-right:0}
.xau-site-page .xs-lead{font-size:19px}.xau-site-page :is(.xs-card p,.xs-panel p){font-size:16px}.xau-site-page .xs-muted{font-size:14px}
.xau-site-header{gap:18px}.xg-preferences{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;padding:12px 0;border-top:1px solid #293447}
.xg-languages{display:flex;gap:5px}.xg-languages button,.xg-theme{font-family:inherit;font-size:13px;font-weight:600;line-height:1.5;cursor:pointer;background:transparent;color:#adbbce;border:1px solid #344158;border-radius:7px;padding:7px 11px;min-height:36px}
.xg-languages button.active{background:#e9c982;color:#172130;border-color:#e9c982}.xg-theme{margin-inline-start:auto}
.xg-public{padding-top:15px}.xg-hero-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:60px;align-items:center;padding:36px 0 55px}.xg-hero-grid .xs-hero{padding:20px 0}
.xg-hero-grid h1{font-size:clamp(42px,5.2vw,68px);line-height:1.06;letter-spacing:-.045em;color:#f4f6fa;margin:22px 0 26px}.xg-hero-note{font-size:13px;color:#9eacc0;margin-top:20px!important}
.xg-visual{border:1px solid #54452d;border-radius:22px;padding:30px;background:radial-gradient(ellipse at 100% 0,#78602744,transparent 65%),#101722;position:relative;overflow:hidden;box-shadow:0 24px 60px #0003}
.xg-orbit{display:flex;align-items:center;gap:18px;border-bottom:1px solid #414538;padding-bottom:25px;margin-bottom:25px;font-size:28px;font-weight:600;letter-spacing:.03em}.xg-orbit img{width:70px;height:70px;border-radius:16px}.xg-visual-top{display:flex;justify-content:space-between;color:#e9cb88;font-size:11px;letter-spacing:.08em;gap:15px}
.xg-route{list-style:none;padding:0;margin:22px 0!important;display:grid;gap:21px}.xg-route li{display:flex;align-items:center;gap:18px}.xg-route i{font-style:normal;font-size:12px;background:#242b36;color:#efcf89;border:1px solid #53606a;border-radius:50%;height:38px;width:38px;display:grid;place-items:center;flex-shrink:0}.xg-route b{display:block;font-size:16px;color:#edf2f8}.xg-route small{display:block;color:#9baabe;font-size:13px;margin-top:3px}
.xg-section{padding:32px 0}.xg-section h2{font-size:clamp(28px,3vw,38px);max-width:690px;margin:18px 0 28px;line-height:1.3;color:#eef2f7}.xg-bottom-note{font-size:13px;color:#9aaac1;padding:28px 0}
.xg-plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:26px 0}.xg-plan{display:flex;flex-direction:column;padding:23px}.xg-plan.featured{border-color:#d4b066;box-shadow:0 0 0 1px #d4b06644}.xg-price{font-size:40px;letter-spacing:-.04em;font-weight:650;color:#edd29a;line-height:1.25;margin:10px 0!important}.xg-plan .xs-pill{align-self:flex-start;font-size:9px}.xg-plan .xs-checklist{flex:1}.xg-plan .xs-button{font-size:13px;gap:10px;padding:10px}
.xg-offer{display:flex;gap:14px 30px;flex-wrap:wrap;align-items:center;padding:20px 24px;border:1px solid #8a7444;border-radius:12px;background:#59472022}.xg-offer p{flex-basis:100%;font-size:14px;margin:0!important;color:#aebcce}.xg-offer code{padding:5px 9px;background:#e5c983;color:#1d2330;border-radius:5px}
.xg-quote-form{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;align-items:end}.xg-quote-form label{display:grid;gap:8px;font-size:14px}.xg-quote-form :is(input,select){min-width:0;width:100%;padding:12px;background:#0b111c;color:#edf2f7;border:1px solid #46566e;border-radius:7px;font:inherit;box-sizing:border-box}.xg-quote-form button{justify-self:start}.xg-quote-form :is(input,select):focus-visible{outline:2px solid #e4c479;outline-offset:3px}
#xg-quote-result:not(:empty){padding:20px;margin:20px 0;border:1px solid #687653;border-radius:9px;font-size:17px}
.xg-profile-detail{grid-column:1/-1;width:100%;min-width:0}.xg-profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.xg-profile-stat{border:1px solid var(--line,#344055);background:var(--panel,#141d29);padding:15px;border-radius:10px}.xg-profile-stat b{display:block;font-size:25px;color:var(--text,#edf2f7)}.xg-profile-stat span,.xg-profile-note{font-size:13px;color:var(--muted,#acb8ca)}
.xg-profile-bars{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-top:1px solid var(--line,#344055);padding-top:18px}.xg-profile-bars h4{margin:0 0 12px;font-size:16px}.xg-activity-row{display:grid;grid-template-columns:110px 1fr 90px;gap:10px;align-items:center;font-size:13px;margin:10px 0}.xg-activity-row>i{height:8px;background:var(--line,#2d3948);border-radius:10px;overflow:hidden}.xg-activity-row>i>em{display:block;height:100%;background:#c6a55e;border-radius:10px}.xg-activity-row b{font-weight:500;text-align:end}
.trader-avatar svg{width:80%;height:80%;position:relative;z-index:1;fill:none;stroke:currentColor;stroke-width:2}.trader-avatar{color:#f0d798}.trader-profile-card{min-height:95px}.trader-profile-card:focus-visible{outline:2px solid #d6b765;outline-offset:3px}.trader-profile-detail{flex-wrap:wrap}.xg-source-caption{display:block;font-size:12px;margin-top:8px;color:var(--muted)}
/* A neutral paper palette with visible borders and readable supporting text. */
html[data-xau-theme=light]{color-scheme:light;background:#f4f7fb}
html[data-xau-theme=light] .xau-site-content{--xs-gold:#795316}
html[data-xau-theme=light] .xs-card-link>span:last-child{color:#795316}
html[data-xau-theme=light] body.xau-document{background:radial-gradient(ellipse at 85% 0,#ead8ad55,transparent 55%),#f5f7fb;color:#223047}
html[data-xau-theme=light] :is(.xau-document-brand,.xau-site-nav a){color:#4d5c73}html[data-xau-theme=light] .xau-site-nav a[aria-current=page]{color:#795219}
html[data-xau-theme=light] :is(.xs-card,.xs-panel,.xau-document-card,.xg-visual){background:#fff;border-color:#cdd6e2;box-shadow:0 7px 22px #25345108}
html[data-xau-theme=light] .xau-site-page .xau-document-card{background:transparent;box-shadow:none}
html[data-xau-theme=light] :is(.xau-site-content h1,.xau-site-content h2,.xau-site-content h3,.xau-site-content h4,.xg-route b,.xs-faqs summary,.xs-limits dd){color:#16253c}
html[data-xau-theme=light] :is(.xs-card p,.xs-panel p,.xs-lead,.xs-muted,.xg-hero-note,.xg-bottom-note,.xg-route small,.xs-checklist li,.xg-offer p){color:#506077!important}
html[data-xau-theme=light] :is(.xs-eyebrow,.xs-number,.xg-visual-top,.xg-price,.xau-document-card a:not(.xs-button),.xg-route i){color:#815919!important}
html[data-xau-theme=light] .xs-button.secondary{color:#27384f;border-color:#8391a5;background:#fff}
html[data-xau-theme=light] :is(.xs-search,.xs-support-form input,.xs-support-form select,.xs-support-form textarea,.xg-quote-form input,.xg-quote-form select){background:#fff;color:#23334b;border-color:#8998af;color-scheme:light}
html[data-xau-theme=light] :is(.xs-search-label,.xs-support-form label){color:#31425c}html[data-xau-theme=light] .xs-notice{background:#e7f5ee;border-color:#6b9d82}html[data-xau-theme=light] .xs-notice.error{background:#fff0ed;border-color:#b78677}html[data-xau-theme=light] .xs-notice p{color:#243a2f}
html[data-xau-theme=light] :is(.xg-preferences,.xs-faqs details,.xs-checklist li,.xs-limits>div,.xs-toc,.xs-callout,.xg-orbit){border-color:#cbd4e1}
html[data-xau-theme=light] :is(.xg-languages button,.xg-theme){color:#34465f;border-color:#b7c4d5;background:#fff}html[data-xau-theme=light] .xg-languages button.active{background:#e7c67b;color:#273345;border-color:#a27b2b}
html[data-xau-theme=light] .xg-route i{background:#fbf4e5;border-color:#d7c498}html[data-xau-theme=light] .xs-pill{color:#795316;border-color:#aa8740}
body.light.xauscan-dashboard{--bg:#f4f7fb;--panel:#fff;--panel2:#eef3f9;--line:#cbd5e3;--text:#192a42;--muted:#51617a;--shadow:0 4px 16px #1736540a;background:#f4f7fb;color:#192a42}
body.light.xauscan-dashboard :is(.section,.card,.pricebox,.stage,.tg-kpi,.trader-profile-card,.trader-profile-detail,.xg-profile-stat){background:#fff!important;color:#1e304a!important;border-color:#cbd5e3!important;box-shadow:0 3px 14px #213c5b08}
body.light.xauscan-dashboard :is(.small,.muted,small,.label,.trader-profile-detail-copy p,.trader-profile-detail-copy>span){color:#53637b!important}
body.light.xauscan-dashboard :is(input,select,textarea){background:#fff;color:#253651;border-color:#98a8be;color-scheme:light}
body.light.xauscan-dashboard :is(.trader-profile-card b,.trader-profile-detail h3,.trader-profile-performance b){color:#182c49}
body.light.xauscan-dashboard .trader-profile-card em{color:#176549;font-size:12px}
body.light.xauscan-dashboard .trader-source-link{color:#175c86;border-color:#8cacbf}
body.light .trader-avatar{background:linear-gradient(140deg,#f6e5be,#e2eafa);color:#77581d;border-color:#adbaCD}
@media(max-width:1050px){.xg-plans{grid-template-columns:repeat(2,minmax(0,1fr))}.xg-hero-grid{gap:30px}.xg-hero-grid h1{font-size:49px}}
@media(max-width:760px){.xg-hero-grid{grid-template-columns:1fr;padding-top:10px}.xg-hero-grid h1{font-size:45px}.xg-visual{padding:24px}.xg-quote-form{grid-template-columns:1fr}.xg-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.xg-profile-bars{grid-template-columns:1fr}.xau-site-header .xau-site-nav{justify-content:flex-start;gap:8px 20px}}
@media(max-width:500px){.xg-plans{grid-template-columns:1fr}.xg-hero-grid h1{font-size:40px}.xg-price{font-size:42px}.xg-activity-row{grid-template-columns:95px 1fr 75px}.xg-plan .xs-button{width:100%}}

.xau-document a[href^="mailto:"]{direction:ltr;unicode-bidi:isolate;display:inline-block}
