/* XAU Society Pro — native, sampled XAUUSD monitor. */
.xm-page { --xm-gold:#dfbd77; --xm-ink:#080c09; --xm-paper:#eee9dc; --xm-muted:#b4b9aa; --xm-line:#3b4432; background:var(--xm-ink); color:var(--xm-paper); padding:25px 0 64px; font:1rem/1.7 Arial,Helvetica,sans-serif; }
.xm-page *, .xm-page *::before, .xm-page *::after { box-sizing:border-box; }
.xm-page [hidden] { display:none!important; }
.xm-wrap { width:min(1440px,calc(100% - 48px)); margin-inline:auto; }
.xm-page h1, .xm-page h2, .xm-page h3, .xm-page p { margin-top:0; }
.xm-page h1, .xm-page h2, .xm-page h3 { color:var(--xm-paper); }
.xm-page p { margin-bottom:17px; color:var(--xm-muted); font-size:1rem; line-height:1.75; }
.xm-page p:last-child { margin-bottom:0; }
.xm-page a { color:#d9bd81; text-underline-offset:4px; }
.xm-page a:hover { color:#f0d79f; }
.xm-page button { font-family:inherit; cursor:pointer; }
.xm-page button:disabled { opacity:.5; cursor:default; }
.xm-page a:focus-visible, .xm-page button:focus-visible, .xm-page summary:focus-visible, .xm-page canvas:focus-visible { outline:2px solid var(--xm-gold); outline-offset:3px; }
.xm-page canvas:focus-visible { outline-offset:-3px; }
.xm-page [id] { scroll-margin-top:24px; }
.xm-breadcrumb { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:0 0 22px; color:#a5aa9a; font-size:.8125rem; }
.xm-breadcrumb a { color:#c7bea6; }
.xm-breadcrumb span:last-child { color:#d5c59f; }
.xm-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:32px; margin-bottom:27px; }
.xm-heading-copy { min-width:0; max-width:920px; }
.xm-page .xm-eyebrow { margin:0 0 9px; color:var(--xm-gold); font-size:.75rem; font-weight:700; letter-spacing:.13em; line-height:1.6; text-transform:uppercase; }
.xm-heading h1 { margin:0 0 13px; color:#f0e9d8; font:400 clamp(2rem,3.1vw,2.75rem)/1.13 Georgia,'Times New Roman',serif; letter-spacing:-.035em; text-wrap:balance; }
.xm-page .xm-intro, .xm-page .xm-intro p { max-width:850px; margin-bottom:0; color:#b6bbac; font-size:1rem; line-height:1.75; }
.xm-tags { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:8px; flex:0 0 auto; }
.xm-tag { display:inline-flex; align-items:center; justify-content:center; min-height:34px; padding:5px 11px; border:1px solid #4d5037; border-radius:5px; background:#171d12; color:#d3c59e; font-size:.875rem; line-height:1.5; white-space:nowrap; }
.xm-console { position:relative; min-width:0; border:1px solid #78643e; border-radius:12px; background:#10160f; box-shadow:0 18px 60px #0004; overflow:hidden; }
.xm-quote-strip { display:flex; align-items:center; justify-content:space-between; gap:30px; padding:23px 24px; border-bottom:1px solid #3c452f; background:linear-gradient(115deg,#1d2416,#111a11); }
.xm-price-block { min-width:185px; flex:0 0 auto; }
.xm-price-block .xm-eyebrow { margin-bottom:5px; letter-spacing:.08em; }
.xm-page .xm-price { margin:0; color:#f2dfb4; font-size:3rem; font-weight:500; line-height:1.15; letter-spacing:-.025em; font-variant-numeric:tabular-nums; }
.xm-quote-meta { display:grid; grid-template-columns:minmax(170px,1fr) minmax(170px,1fr) minmax(100px,.7fr); gap:19px; margin:0; min-width:0; }
.xm-quote-meta > div { min-width:0; }
.xm-quote-meta dt { margin:0 0 5px; color:#a6b39a; font-size:.8125rem; line-height:1.5; }
.xm-quote-meta dd { margin:0; color:#e0dfcd; font-size:.875rem; font-weight:500; line-height:1.65; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.xm-quote-meta [data-xm-age] { color:#ddc48c; }
.xm-toolbar { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:15px 23px; border-bottom:1px solid #3c442e; background:#151e12; }
.xm-toolbar-info { min-width:0; }
.xm-market-title { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.xm-market-title h2 { margin:0; color:#ead9b1; font-size:1.35rem; font-weight:600; line-height:1.35; letter-spacing:.035em; }
.xm-timeframe { display:inline-flex; align-items:center; justify-content:center; min-height:27px; padding:2px 8px; border:1px solid #9b8048; border-radius:4px; background:#332c19; color:#ecd3a0; font-size:.8125rem; font-weight:700; line-height:1.4; }
.xm-page .xm-source { margin:5px 0 0; color:#adb99f; font-size:.875rem; line-height:1.55; }
.xm-controls { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:9px; min-width:0; }
.xm-page .xm-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 15px; border:1px solid #827044; border-radius:5px; background:#242818; color:#e6d2a7; font-size:.875rem; font-weight:600; line-height:1.45; text-align:center; text-decoration:none; transition:background .18s,border-color .18s; }
.xm-page .xm-button:hover { border-color:#cab077; background:#38351f; color:#f4e1bc; }
.xm-page .xm-button--primary { border-color:#dfbd77; background:#dfbd77; color:#1c170e; }
.xm-page .xm-button--primary:hover { border-color:#efcf8f; background:#efcf8f; color:#171309; }
.xm-chart-shell { min-width:0; background:#0e120f; }
.xm-window-controls { display:flex; align-items:center; flex-wrap:wrap; gap:6px; min-height:53px; padding:8px 20px; border-bottom:1px solid #293323; background:#11190f; }
.xm-window-controls > span { margin-right:7px; color:#abb69d; font-size:.8125rem; }
.xm-window-controls button { min-height:36px; padding:6px 12px; border:1px solid transparent; border-radius:4px; background:transparent; color:#bfc5b1; font-size:.8125rem; line-height:1.5; }
.xm-window-controls button:hover { border-color:#6a633f; color:#ead5a2; }
.xm-window-controls button[aria-pressed="true"] { border-color:#837147; background:#332f1d; color:#f0d59c; }
.xm-chart-stage { position:relative; min-width:0; height:clamp(360px,53vh,560px); background:#0e120f; }
.xm-chart-stage canvas { display:block; width:100%; height:100%; touch-action:pan-y pinch-zoom; }
.xm-empty { position:absolute; top:50%; left:50%; z-index:1; width:min(500px,calc(100% - 56px)); transform:translate(-50%,-50%); padding:20px 24px; border:1px solid #434b31; border-radius:7px; background:#151c13f2; color:#c9cdb9; font-size:1rem; line-height:1.75; text-align:center; pointer-events:none; }
.xm-empty p { margin:0; color:inherit; }
.xm-page .xm-chart-detail { margin:0; min-height:57px; padding:13px 23px; border-top:1px solid #293323; color:#bdc6ad; font-size:.8125rem; line-height:1.8; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.xm-console-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 24px; padding:13px 23px; border-top:1px solid #3a452e; background:#161e12; }
.xm-console-footer > div { min-width:0; flex:1 1 300px; }
.xm-console-footer p, .xm-console-footer small, .xm-console-footer a { margin:0; color:#a9b69c; font-size:.875rem; line-height:1.65; }
.xm-console-footer [data-xm-status-note] { display:block; max-width:900px; overflow-wrap:anywhere; }
.xm-page .xm-status { display:flex; align-items:center; gap:8px; margin:0 0 2px; color:#d0c099; font-size:.875rem; font-weight:600; line-height:1.6; }
.xm-status::before { content:''; display:block; flex:0 0 6px; width:6px; height:6px; border-radius:50%; background:currentColor; }
.xm-page .xm-status[data-state="live"] { color:#98c6a8; }
.xm-page .xm-status[data-state="stale"], .xm-page .xm-status[data-state="offline"], .xm-page .xm-status[data-state="error"], .xm-page .xm-status[data-state="stopped"] { color:#edbe8e; }
.xm-page .xm-link { display:inline-flex; align-items:center; min-height:40px; color:#d8bd81; font-size:.875rem; line-height:1.6; text-decoration:underline; }
.xm-page .xm-history-note { margin:14px 0 0; color:#aeb8a1; font-size:.875rem; line-height:1.75; }
.xm-page .xm-history-note + .xm-history-note { margin-top:4px; color:#97a48a; }
.xm-page .xm-section-title { margin:35px 0 19px; color:#e2dcc5; font:400 1.6rem/1.3 Georgia,'Times New Roman',serif; }
.xm-indicator-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.xm-indicator-card { min-width:0; padding:20px; border:1px solid #3b472e; border-radius:8px; background:#131d10; }
.xm-indicator-card h3 { margin:0 0 8px; color:#c7cbb5; font-size:.875rem; font-weight:500; line-height:1.5; }
.xm-page .xm-indicator-value { margin:0 0 9px; color:#e6d5aa; font-size:1.6rem; font-weight:500; line-height:1.35; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.xm-page .xm-range-value { font-size:1.15rem; }
.xm-indicator-card > p:last-child { color:#98a88c; font-size:.8125rem; line-height:1.65; }
.xm-page .xm-trend-note { margin:14px 0 0; color:#abb59c; font-size:.875rem; }
.xm-trend-note strong { color:#d9c796; font-weight:500; }
.xm-trend-note [data-trend="up"] { color:#9bcaac; }
.xm-trend-note [data-trend="down"] { color:#e3a198; }
.xm-events-panel { margin-top:35px; padding:25px 25px 10px; border:1px solid #3c482e; border-radius:9px; background:#111a0e; }
.xm-section-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:35px; margin-bottom:20px; }
.xm-section-heading > div { min-width:0; flex:1 1 45%; }
.xm-section-heading h2 { margin:0; color:#e1dac2; font:400 1.65rem/1.3 Georgia,'Times New Roman',serif; }
.xm-section-heading > p { max-width:520px; margin:0; flex:1 1 45%; color:#abb99d; font-size:.875rem; line-height:1.75; }
.xm-events-list { margin:0; padding:0; list-style:none; }
.xm-event { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:baseline; gap:10px 25px; padding:16px 0; border-top:1px solid #37422c; font-size:.875rem; line-height:1.65; }
.xm-event-type { min-width:0; color:#cfceb6; }
.xm-event-price { color:#dfc792; font-weight:500; font-variant-numeric:tabular-nums; }
.xm-event-time { color:#9faf90; font-size:.8125rem; font-variant-numeric:tabular-nums; }
.xm-event[data-direction="up"] .xm-event-type { color:#aed1b3; }
.xm-event[data-direction="down"] .xm-event-type { color:#e1b4a5; }
.xm-event-empty, .xm-no-events { padding:18px 0 22px; border-top:1px solid #37422c; color:#aeb99d; font-size:.875rem; line-height:1.75; }
.xm-clock-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; margin:20px 0 31px; }
.xm-clock-card { min-width:0; margin:0; padding:18px 21px; border:1px solid #3c482e; border-radius:8px; background:#131d10; }
.xm-clock-card dt { margin:0 0 6px; color:#b6c0a6; font-size:.875rem; line-height:1.6; }
.xm-clock-card dd { margin:0; color:#e6d9b7; font-size:1.375rem; font-weight:500; line-height:1.35; font-variant-numeric:tabular-nums; }
.xm-clock-card dd > span { color:#c1b792; font-size:.75rem; }
.xm-clock-card small { display:block; margin:6px 0 0; color:#98a88c; font-size:.875rem; line-height:1.5; }
.xm-help-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:29px; margin:35px 0 36px; }
.xm-help-card { min-width:0; padding-top:21px; border-top:1px solid #665d3d; }
.xm-help-card h3 { margin:0 0 10px; color:#e5d7b6; font-family:Georgia,'Times New Roman',serif; font-size:1.35rem; font-weight:400; line-height:1.35; }
.xm-help-card p { color:#b3bea6; font-size:1rem; line-height:1.75; }
.xm-related-links { display:flex; align-items:center; flex-wrap:wrap; gap:12px 25px; margin:23px 0 0; padding-top:20px; border-top:1px solid #3b452c; }
.xm-related-link { display:inline-flex; align-items:center; min-height:42px; color:#dbc38d; font-size:.875rem; line-height:1.5; text-decoration:underline; }
.xm-faq { margin:0; border-bottom:1px solid #414b32; }
.xm-faq:first-child { border-top:1px solid #414b32; }
.xm-faq summary { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:65px; padding:18px 0; color:#dedec9; font-size:1rem; line-height:1.55; cursor:pointer; list-style:none; }
.xm-faq summary::-webkit-details-marker { display:none; }
.xm-faq summary::after { content:'+'; flex:0 0 20px; color:#ddbf7b; font-size:1.3rem; text-align:center; }
.xm-faq[open] summary::after { content:'−'; }
.xm-faq > p { max-width:1000px; padding:0 25px 22px 0; }
.xm-page noscript { display:block; padding:20px 24px; border:1px solid #6a5938; border-radius:7px; background:#211f12; color:#d8c79e; }
.xm-chart-stage > noscript { position:absolute; top:50%; left:50%; z-index:2; width:min(560px,calc(100% - 40px)); transform:translate(-50%,-50%); }
.xm-page:not(.xm-ready) [data-xm-status], .xm-page:not(.xm-ready) [data-xm-status-note] { display:none; }
.xm-page .xm-js-only { display:none; }
.xm-page.xm-ready .xm-js-only { display:inline-flex; }
.xm-page.xm-ready .xm-window-controls { display:flex; }
.xm-page .xm-sr-only { position:absolute!important; width:1px!important; height:1px!important; margin:-1px!important; padding:0!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }

html.xm-chart-expanded { overflow:hidden; }
.xm-console.xm-expanded { position:fixed; inset:12px; z-index:2000; display:flex; flex-direction:column; width:auto; height:auto; max-width:none; max-height:none; margin:0; border-color:#a88c4e; border-radius:9px; box-shadow:0 0 0 24px #050904f2; overflow:auto; }
.xm-console.xm-expanded .xm-quote-strip { flex:0 0 auto; padding-block:14px; }
.xm-console.xm-expanded .xm-price { font-size:2.1rem; }
.xm-console.xm-expanded .xm-toolbar { position:sticky; top:0; z-index:3; flex:0 0 auto; padding-block:10px; }
.xm-console.xm-expanded .xm-chart-shell { display:flex; flex-direction:column; flex:1 1 auto; min-height:175px; }
.xm-console.xm-expanded .xm-window-controls { flex:0 0 auto; width:100%; }
.xm-console.xm-expanded .xm-chart-stage { flex:1 1 auto; height:auto; min-height:110px; }
.xm-console.xm-expanded .xm-chart-detail { flex:0 0 auto; min-height:0; padding-block:8px; }
.xm-console.xm-expanded .xm-console-footer { flex:0 0 auto; padding-block:9px; }

@media (max-width:1100px) {
  .xm-heading { align-items:flex-start; flex-direction:column; gap:15px; }
  .xm-tags { justify-content:flex-start; }
  .xm-quote-strip { gap:22px; }
  .xm-price-block { min-width:150px; }
  .xm-page .xm-price { font-size:2.65rem; }
  .xm-quote-meta { grid-template-columns:minmax(135px,1fr) minmax(135px,1fr) minmax(80px,.7fr); gap:15px; }
  .xm-toolbar { gap:16px; }
  .xm-controls { gap:8px; }
  .xm-page .xm-button { padding-inline:12px; }
  .xm-help-grid { gap:23px; }
  .xm-event { grid-template-columns:minmax(0,1fr) auto; gap:4px 18px; }
  .xm-event-time { grid-column:1/-1; }
}
@media (max-width:800px) {
  .xm-indicator-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .xm-section-heading { flex-direction:column; gap:13px; }
  .xm-section-heading > p { max-width:650px; }
}
@media (max-width:760px) {
  .xm-wrap { width:calc(100% - 36px); }
  .xm-page { padding-top:21px; padding-bottom:45px; }
  .xm-heading { margin-bottom:22px; }
  .xm-heading h1 { font-size:2.2rem; }
  .xm-quote-strip { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:17px 20px; padding:20px 18px; }
  .xm-price-block { min-width:0; grid-column:1; grid-row:1; }
  .xm-page .xm-price { font-size:2.35rem; }
  .xm-quote-meta { display:contents; }
  .xm-quote-meta > div:first-child { grid-column:1; grid-row:2; }
  .xm-quote-meta > div:nth-child(2) { grid-column:2; grid-row:2; }
  .xm-quote-meta > div:last-child { grid-column:2; grid-row:1; align-self:end; padding-bottom:4px; }
  .xm-quote-meta dd { font-size:.8125rem; }
  .xm-toolbar { align-items:flex-start; flex-direction:column; gap:14px; padding:16px 18px; }
  .xm-controls { width:100%; justify-content:flex-start; }
  .xm-window-controls { padding:7px 14px; }
  .xm-chart-stage { height:390px; }
  .xm-page .xm-chart-detail { padding:12px 17px; }
  .xm-console-footer { align-items:flex-start; flex-direction:column; gap:8px; padding:13px 18px; }
  .xm-console-footer > div { flex-basis:auto; }
  .xm-indicator-card { padding:17px; }
  .xm-events-panel { padding:21px 19px 7px; }
  .xm-section-heading h2 { font-size:1.5rem; }
  .xm-clock-grid { gap:10px; }
  .xm-clock-card { padding:16px; }
  .xm-help-grid { grid-template-columns:1fr; gap:22px; margin-block:28px; }
  .xm-help-card { padding-top:18px; }
  .xm-help-card h3 { font-size:1.4rem; }
  .xm-console.xm-expanded { inset:6px; border-radius:6px; box-shadow:0 0 0 12px #050904f2; }
  .xm-console.xm-expanded .xm-quote-strip { display:none; }
  .xm-console.xm-expanded .xm-toolbar { gap:8px; padding:10px 13px; }
  .xm-console.xm-expanded .xm-source { display:none; }
  .xm-console.xm-expanded .xm-chart-detail { max-height:76px; overflow:auto; padding:7px 12px; }
  .xm-console.xm-expanded .xm-console-footer { padding:8px 12px; gap:3px; }
}
@media (max-width:540px) {
  .xm-controls .xm-button { flex:1 1 auto; }
  .xm-quote-strip { gap:17px 14px; }
  .xm-price-block .xm-eyebrow { font-size:.6875rem; }
  .xm-indicator-grid { gap:10px; }
  .xm-indicator-card { padding:15px; }
  .xm-page .xm-indicator-value { font-size:1.4rem; }
  .xm-page .xm-range-value { font-size:1rem; line-height:1.6; }
  .xm-clock-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .xm-clock-grid > :last-child { grid-column:1/-1; }
  .xm-clock-card dd { font-size:1.3rem; }
  .xm-empty { padding:19px; font-size:.9375rem; }
  .xm-related-links { align-items:flex-start; flex-direction:column; gap:6px; }
  .xm-console.xm-expanded .xm-controls .xm-button { min-height:40px; padding:8px 10px; }
}
@media (max-width:380px) {
  .xm-wrap { width:calc(100% - 28px); }
  .xm-heading h1 { font-size:2rem; }
  .xm-quote-strip, .xm-toolbar { padding-inline:14px; }
  .xm-page .xm-price { font-size:2.1rem; }
  .xm-controls { gap:7px; }
  .xm-clock-card { padding:14px; }
  .xm-tag { padding-inline:9px; }
  .xm-window-controls { gap:3px; padding-inline:10px; }
  .xm-window-controls button { padding-inline:9px; }
}
@media (max-height:600px) {
  .xm-console.xm-expanded .xm-quote-strip { display:none; }
  .xm-console.xm-expanded .xm-toolbar { padding-block:7px; }
  .xm-console.xm-expanded .xm-source { display:none; }
  .xm-console.xm-expanded .xm-chart-detail { max-height:48px; overflow:auto; }
  .xm-console.xm-expanded .xm-console-footer { flex-direction:row; padding-block:6px; }
  .xm-console.xm-expanded .xm-console-footer [data-xm-status-note] { display:none; }
  .xm-console.xm-expanded .xm-console-footer > div { flex:1 1 150px; }
}
@media (prefers-reduced-motion:reduce) {
  .xm-page *, .xm-page *::before, .xm-page *::after { transition:none!important; animation:none!important; scroll-behavior:auto!important; }
}

