@font-face{font-family:ZMarketNazanin;src:url('/assets/gold-trader/BNazanin.ttf') format('truetype');font-display:swap}
body #home .rates-preview:has(.zmd){display:block!important;width:100%!important;max-width:none!important;grid-column:1/-1!important}
body #home .rate-live-chart.zmd{display:block!important;min-width:0!important;width:100%!important;max-width:none!important;height:auto!important;overflow:visible!important;position:relative!important;box-sizing:border-box;padding:clamp(14px,2vw,30px)!important;margin-top:20px!important;background:linear-gradient(125deg,#fffdf8,#f5efdf)!important;border:1px solid #d5b573!important;border-radius:30px!important;box-shadow:inset 0 2px 1px #fff,0 15px 40px #73531e0b!important}
.zmd,.zmd *{box-sizing:border-box}.zmd{font-family:ZMarketNazanin,'B Nazanin',Tahoma,serif;color:#49371e;line-height:1.65;isolation:isolate;text-align:right;font-size:20px}.zmd h2,.zmd h3,.zmd p{margin:0}.zmd h2{font-size:29px}.zmd h3{font-size:23px}.zmd small{font-size:17px;color:#78684e;display:block;line-height:1.65}.zmd [hidden]{display:none!important}.zmd a{color:#8b621f;text-decoration:none}.zmd-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9dcc2;padding-bottom:18px;margin-bottom:20px}.zmd-heading img{object-fit:contain}.zmd-heading p{color:#8e7955;font-size:18px}.zmd-layout{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(260px,1fr);gap:18px;direction:ltr}.zmd-charts,.zmd-side{direction:rtl;min-width:0}.zmd-charts{display:flex;flex-direction:column;gap:17px}.zmd-card,.zmd-side>section{background:linear-gradient(135deg,#fffefb,#faf6ee);border:1px solid #e1d4bb;border-radius:18px;box-shadow:inset 0 1px #fff,0 3px 10px #6d542008;padding:16px;min-width:0}.zmd-card{display:flex;flex-direction:column}.zmd-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.zmd-card h3{display:flex;align-items:center;gap:10px}.zmd-symbol{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid #d4bd8b;border-radius:50%;background:linear-gradient(145deg,#fffdf4,#f3e5c6);color:var(--series);font-family:Georgia,serif;font-size:26px}.zmd-unit{padding-right:49px}.zmd-card-price{font-size:19px;color:var(--series);margin:8px 0;min-height:30px}.zmd button{font:inherit!important;font-size:18px!important;cursor:pointer!important;min-width:0!important;min-height:37px!important;margin:0!important;padding:4px 12px!important;border:1px solid #d7c5a2!important;border-radius:10px!important;background:linear-gradient(#fffefb,#f0e9dc)!important;box-shadow:inset 0 1px #fff,0 2px 3px #82642b14!important;color:#59421e!important;transform:none!important;line-height:1.6!important;white-space:normal!important}.zmd button:hover{border-color:#ae7b25!important;background:#fff4da!important}.zmd button:focus-visible,.zmd a:focus-visible,.zmd input:focus-visible,.zmd svg:focus-visible{outline:3px solid #947b38;outline-offset:3px}.zmd button[aria-pressed=true]{background:linear-gradient(#edcb77,#c39130)!important;color:#352609!important;border-color:#b78628!important;box-shadow:inset 0 1px #fff7cf,0 3px 8px #a0782533!important}.zmd-card-tools{display:flex;direction:ltr;gap:5px;flex-shrink:0}.zmd-card-tools button{width:33px!important;padding:0!important;min-height:33px!important;font-family:Arial,sans-serif!important;font-size:22px!important}.zmd-plot{position:relative;width:100%;min-height:120px;direction:ltr}.zmd svg{display:block;width:100%;height:auto;overflow:visible;font-family:ZMarketNazanin,Tahoma,serif}.zmd-axis{font-size:20px;fill:#7e7059;direction:ltr;unicode-bidi:plaintext}.zmd-tooltip{position:absolute;left:50%;top:15px;transform:translateX(-50%);padding:6px 13px;background:#fffef7ef;border:1px solid #e0c994;border-radius:11px;box-shadow:0 4px 15px #76562115;font-size:17px;white-space:nowrap;pointer-events:none;direction:rtl;z-index:2}.zmd-card-note{margin-top:auto;padding-top:3px;font-size:16px!important}.zmd-side{display:flex;flex-direction:column;gap:12px}.zmd-side>section{padding:15px}.zmd-side h3{margin-bottom:10px}.zmd-options{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:13px}.zmd-quotes{display:flex;flex-direction:column;gap:10px}.zmd-quote{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-bottom:7px;border-bottom:1px solid #e9dec9;font-size:18px}.zmd-quote b{font-size:18px;font-weight:400;white-space:nowrap}.zmd-current-state,.zmd-received,.zmd-archive{font-size:16px;color:#776b57}.zmd-current-state{margin-top:12px!important}.zmd-warning{color:#9a5e18!important}.zmd-switches{display:flex;flex-direction:column;gap:9px;margin-bottom:10px}.zmd input[type=checkbox]{accent-color:#b17f22;width:18px;height:18px}.zmd-switches label{font-size:19px;display:flex;align-items:center;gap:8px}.zmd-legend{display:flex;flex-wrap:wrap;gap:8px;font-size:15px}.zmd-legend span:before{content:'● ';font-family:Arial,sans-serif}.zmd-cta{display:block!important;text-align:center!important;margin-top:12px;padding:10px 15px;border-radius:13px;border:1px solid #bb882d;background:linear-gradient(#f4d992,#cc9d3e);box-shadow:inset 0 2px #fff7cd,0 4px 10px #9c74292c;color:#3a2a0e!important;font-size:23px}.zmd-simple{margin-top:20px;border:1px solid #d9bf88;border-radius:20px;padding:22px;background:linear-gradient(125deg,#fffefa,#f8f0dc)}.zmd-simple-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}.zmd-simple-head span{border:1px solid #ddc99e;border-radius:20px;padding:3px 13px;font-size:17px;color:#8f6a28}.zmd-summary{font-size:23px;line-height:1.9}.zmd-effects{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:17px 0}.zmd-effects>div{border:1px solid #ead7ad;background:#fffaf0;border-radius:12px;padding:12px}.zmd-effects strong{font-size:23px;font-weight:400;direction:ltr;display:block;text-align:right}.zmd-analysis-time{font-size:17px;color:#7f6b4b;margin:8px 0!important}.zmd details{margin:12px 0;border-top:1px solid #e7d8bb;padding-top:10px}.zmd summary{cursor:pointer;font-size:19px}.zmd details p{font-size:18px;margin-top:8px}.zmd-context{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:16px}.zmd-context article{padding:15px;border:1px solid #e2d3b7;border-radius:13px;background:#fffdf8}.zmd-context p,.zmd-context b{font-size:19px;font-weight:400}.zmd-context a{display:inline-block;font-size:18px;margin-top:8px}.zmd-footnote{font-size:17px;color:#8b7858;margin-top:14px!important}.zmd-status{font-size:18px;color:#986320;margin-top:12px!important}.zmd-dates{display:grid;gap:7px}.zmd-dates input{max-width:100%;padding:5px;border:1px solid #dfcda4;border-radius:8px;background:white;font:16px Tahoma,serif}.zmd-card:fullscreen{overflow:auto;padding:30px;background:#fffaf2;display:block}.zmd-card:fullscreen svg{height:min(70vh,700px)}
@media(max-width:1000px){.zmd-layout{grid-template-columns:minmax(0,1.8fr) minmax(235px,1fr)}.zmd-card{padding:12px}.zmd-card-tools{gap:3px}.zmd-quote{flex-wrap:wrap}}
@media(max-width:760px){body #home .rate-live-chart.zmd{padding:12px!important;border-radius:22px!important}.zmd-layout{grid-template-columns:minmax(0,1fr)}.zmd-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.zmd-side>section{padding:12px}.zmd-heading h2{font-size:26px}.zmd-heading img{width:58px;height:58px}.zmd-simple{padding:16px}.zmd-simple-head{align-items:flex-start;flex-direction:column;gap:6px}.zmd-summary{font-size:21px}.zmd-effects{grid-template-columns:1fr;gap:8px}.zmd-effects>div{display:flex;justify-content:space-between;align-items:center;padding:9px 12px}.zmd-effects strong{font-size:21px}.zmd-context{grid-template-columns:1fr}.zmd-card>header{align-items:flex-start}.zmd h3{font-size:22px}.zmd-axis{font-size:23px}.zmd-tooltip{max-width:95%;white-space:normal;font-size:16px}.zmd-card-price{font-size:18px}.zmd-side>section:last-child{grid-column:1/-1}.zmd-quote{font-size:17px}}
@media(max-width:420px){.zmd-side{grid-template-columns:1fr}.zmd-card-tools button{width:30px!important;min-height:32px!important}.zmd-unit{font-size:15px!important}.zmd h3{font-size:20px}.zmd-symbol{width:30px;height:30px;font-size:23px}.zmd-unit{padding-right:40px}.zmd-card h3{gap:7px}.zmd-options button{flex:1 1 auto}.zmd-card-note{font-size:15px!important}}
@media(prefers-reduced-motion:reduce){.zmd *{animation:none!important;transition:none!important}}
/* v2: reference layout, dimensional icons and chart lighting. */
.zmd-icon3d{display:inline-flex;width:38px;height:38px;flex:0 0 38px;filter:drop-shadow(0 3px 2px #74501b35)}.zmd-icon3d svg{width:100%;height:100%;overflow:visible}.zmd-symbol{border:0;background:transparent;box-shadow:none}.zmd-quote-label{display:flex;align-items:center;gap:7px}.zmd-quote-label .zmd-icon3d{width:30px;height:30px;flex-basis:30px}.zmd-glow{filter:blur(2px)}.zmd-trader{background:linear-gradient(#fffef9,#f5e6c7);color:#77501b!important}.zmd-scrap-note{font-size:14px!important;line-height:1.35!important}.zmd-mini svg{aspect-ratio:640/285}.zmd-mini .zmd-axis{font-size:20px}.zmd-quote b{font-size:16px}.zmd-side .zmd-cta{font-size:20px;padding:5px 9px;margin-top:6px;min-height:39px}.zmd-heading{padding-bottom:10px;margin-bottom:12px}.zmd-heading p{display:none}.zmd-card-price{margin:2px 0;min-height:25px}.zmd-card-note{font-size:14px!important;line-height:1.35!important}.zmd-side h3{margin-bottom:5px}.zmd-options{margin-bottom:7px;gap:4px}.zmd-side>section{padding:10px}.zmd-quotes{gap:3px}.zmd-quote{padding-bottom:3px;font-size:18px}.zmd-switches{flex-direction:row;flex-wrap:wrap;gap:5px 11px;margin-bottom:3px}.zmd-switches label{font-size:16px}.zmd-side{gap:8px}.zmd-charts{gap:10px}.zmd-unit{font-size:16px!important}.zmd-card{padding:11px}.zmd-legend{font-size:14px;gap:6px}.zmd-comparison>small{font-size:14px}.zmd button{font-size:16px!important;padding:3px 8px!important;min-height:32px!important}
@media(min-width:1100px){body #home .rate-live-chart.zmd{padding:16px!important}.zmd-layout{grid-template-columns:minmax(0,2.35fr) minmax(315px,1fr);gap:12px}.zmd-card .zmd-plot{flex:1;min-height:0;display:flex;align-items:center}.zmd-card .zmd-plot>svg{max-height:180px}.zmd-card{min-height:205px}.zmd-charts{display:grid;grid-template-rows:repeat(3,minmax(205px,1fr))}.zmd-side>section:nth-child(4)>small{display:none}.zmd-mini svg{max-height:153px}.zmd-simple{margin-top:12px;padding:14px}.zmd-summary{font-size:21px}.zmd-context{margin-top:10px}.zmd-effects{margin:10px 0}}
@media(max-width:760px){.zmd-layout{display:flex;flex-direction:column}.zmd-side{display:contents}.zmd-side>section:first-child{order:-3}.zmd-side>section:nth-child(2){order:-2}.zmd-side>section:nth-child(3){order:-1}.zmd-charts{order:0}.zmd-side>section:nth-child(n+4){order:1}.zmd-quote{flex-wrap:nowrap}.zmd-quote b{white-space:normal;text-align:left}.zmd-card-note{font-size:15px!important}.zmd-card .zmd-plot>svg{max-height:none}.zmd-card-tools button{min-width:32px!important}.zmd-icon3d{width:34px;height:34px;flex-basis:34px}.zmd-simple{margin-top:14px}}

/* v2.2: relocate existing live controls without replacing their behavior. */
body #home .zmd .rate-live-summary{display:flex!important;flex-direction:column!important;gap:8px!important;grid-column:auto!important;grid-row:auto!important;position:static!important;float:none!important;margin:0!important;padding:0!important;width:100%!important;max-width:none!important;align-self:stretch!important}
body #home .zmd .rl-status{display:flex!important;gap:9px!important;align-items:center!important;flex-wrap:wrap!important;width:100%!important;position:static!important}
body #home .zmd .rl-emblem{width:44px!important;height:44px!important;flex:0 0 44px!important;transform:scale(.75);transform-origin:center}
body #home .zmd .rl-copy{flex:1!important;min-width:145px!important;font-size:17px!important;line-height:1.4!important}
body #home .zmd .rl-copy>span,body #home .zmd .rl-state{font-size:15px!important}
body #home .zmd .rl-time{display:block!important;font-size:18px!important;white-space:normal!important}
body #home .zmd .rl-refresh,body #home .zmd .rl-sound{position:static!important;inset:auto!important;transform:none!important;font-family:inherit!important;font-size:17px!important;margin:0!important;min-height:36px!important;width:auto!important}
body #home .zmd .rl-sound{width:100%!important;border-radius:20px!important;background:linear-gradient(#fff5d9,#ead4a2)!important;border:1px solid #d6b36b!important}
body #home .zmd .rl-pipeline{display:none!important}
body #home .zmd .zg-other-rates{position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;margin:10px 0 0!important;padding:0!important;border:1px solid #dac494!important;border-radius:12px!important;background:#fffcf5!important}
body #home .zmd .zg-other-rates>summary{padding:8px 12px!important;margin:0!important;cursor:pointer!important;font-size:19px!important;display:list-item!important;list-style-position:inside!important}
body #home .zmd .zg-other-rates .rates-list{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:7px!important;margin:0!important;padding:9px!important;max-height:300px!important;overflow:auto!important}
body #home .zmd .zg-other-rates:not([open]) .rates-list{display:none!important}
body #home .zmd .zg-other-rates .rates-list>div{display:flex!important;justify-content:space-between!important;gap:8px!important;flex-wrap:wrap!important;padding:7px!important;background:#fbf5e9!important;border-radius:8px!important;font-size:17px!important;min-width:0!important}
body #home .zmd .zg-other-rates .rates-list span{font-size:17px!important}
body #home .zmd .zg-other-rates .navbtn{display:block!important;margin:7px!important;font-size:17px!important}

/* Pin plot geometry; neutralize the host site's generic main layout. */
body #home .zmd .zmd-charts{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-width:0!important;justify-self:stretch!important}
body #home .zmd .zmd-layout{width:100%!important;margin:0!important;align-items:stretch!important}
body #home .zmd .zmd-card{width:100%!important;max-width:none!important;margin:0!important;justify-self:stretch!important}
body #home .zmd .zmd-plot>svg{display:block!important;position:static!important;width:100%!important;height:auto!important;min-height:160px!important;max-width:none!important;flex:1 1 100%!important;visibility:visible!important;opacity:1!important}
body #home .zmd .zmd-symbol .zmd-icon3d>svg{width:38px!important;height:38px!important;min-height:0!important;position:static!important}
@media(min-width:1100px){body #home .zmd .zmd-plot>svg{height:190px!important;max-height:190px!important}}
body #home .zmd .zmd-card:fullscreen .zmd-plot>svg{height:70vh!important;max-height:70vh!important}

/* v2.3 compact three-chart frame and independently colored change badges. */
body #home .zmd .zmd-card-price{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;line-height:1.3!important;margin:2px 0 4px!important;min-height:23px!important}
body #home .zmd .zmd-change{display:inline-block!important;direction:ltr!important;unicode-bidi:isolate!important;border-radius:20px!important;padding:2px 9px!important;font-size:17px!important;font-weight:bold!important;white-space:nowrap!important}
body #home .zmd .zmd-change[data-trend=positive]{color:#12683d!important;background:#e6f4e9!important}
body #home .zmd .zmd-change[data-trend=negative]{color:#ac252b!important;background:#fce9e9!important}
body #home .zmd .zmd-change[data-trend=neutral]{color:#6c665a!important;background:#f0eee7!important}
@media(min-width:900px){
 body #home .zmd .zmd-layout{align-items:start!important}
 body #home .zmd .zmd-charts{display:grid!important;grid-template-rows:repeat(3,auto)!important;gap:8px!important;align-self:start!important}
 body #home .zmd .zmd-card{display:flex!important;padding:8px 11px!important;min-height:0!important;height:auto!important;gap:0!important;overflow:visible!important}
 body #home .zmd .zmd-card>header{min-height:34px!important;align-items:center!important}
 body #home .zmd .zmd-card h3{font-size:21px!important;line-height:1.3!important}
 body #home .zmd .zmd-card>header>div:first-child{display:flex!important;align-items:center!important;gap:8px!important}
 body #home .zmd .zmd-unit{padding:0!important;font-size:14px!important}
 body #home .zmd .zmd-symbol,body #home .zmd .zmd-symbol .zmd-icon3d,body #home .zmd .zmd-symbol .zmd-icon3d>svg{width:30px!important;height:30px!important;flex-basis:30px!important}
 body #home .zmd .zmd-card-price{font-size:17px!important}
 body #home .zmd .zmd-card .zmd-plot{display:block!important;flex:none!important;min-height:0!important;height:clamp(92px,calc((100svh - 360px)/3),135px)!important;width:100%!important}
 body #home .zmd .zmd-card .zmd-plot>svg{height:100%!important;min-height:0!important;max-height:none!important;width:100%!important}
 body #home .zmd .zmd-card-note{font-size:13px!important;line-height:1.3!important;margin:2px 0 0!important;padding:0!important}
 body #home .zmd .zmd-card:fullscreen .zmd-plot{height:70vh!important}
 body #home .zmd .zmd-card:fullscreen .zmd-plot>svg{height:100%!important}
}

/* v2.4 operational controls below the three-chart frame. */
body #home .zmd .zmd-footer{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;width:100%!important;margin:12px 0 0!important;padding:0!important;direction:rtl!important;align-items:start!important}
body #home .zmd .zmd-footer>section{min-width:0!important;margin:0!important;padding:12px!important;border:1px solid #e1d4bb!important;border-radius:16px!important;background:linear-gradient(135deg,#fffefb,#faf6ee)!important;box-shadow:inset 0 1px #fff,0 3px 10px #6d542008!important}
body #home .zmd .zmd-footer h3{font-size:21px!important;margin:0 0 7px!important}
body #home .zmd .zmd-footer .zmd-switches{flex-direction:column!important;gap:7px!important}
body #home .zmd .zmd-footer .zmd-cta{font-size:21px!important;padding:8px 10px!important;margin:8px 0 0!important}
body #home .zmd .zmd-footer .zmd-options{margin-bottom:8px!important}
body #home .zmd .zmd-footer .zmd-analysis-panel>small{display:block!important;font-size:15px!important}
body #home .zmd .zmd-side{display:flex!important;flex-direction:column!important;align-self:start!important}
@media(max-width:1100px){body #home .zmd .zmd-footer{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){body #home .zmd .zmd-footer{grid-template-columns:minmax(0,1fr)!important}.zmd-layout .zmd-side{order:1!important}.zmd-layout .zmd-charts{order:0!important}}

/* v2.5 white/gold dashboard introduction; decorative motion, no rate transport. */
body #home .zmd .zmd-heading{position:relative!important;overflow:hidden!important;isolation:isolate!important;padding:18px 22px!important;margin:0 0 14px!important;border:1px solid #dfc38c!important;border-radius:24px!important;background:radial-gradient(ellipse at 15% 20%,#fffdf8 0%,#fffaf0 38%,#f2e6cc 100%)!important;box-shadow:inset 0 1px #fff,0 6px 20px #8762230b!important;gap:20px!important}
body #home .zmd .zmd-heading:before{content:'';position:absolute;z-index:-1;width:470px;height:470px;left:-150px;bottom:-360px;border-radius:50%;border:1px solid #b7822855;box-shadow:0 0 0 14px #e2c58a25,0 0 0 16px #b7822825,0 0 0 34px #fffaf060;pointer-events:none}
body #home .zmd .zmd-heading:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 20%,#ffffff70 45%,transparent 70%);transform:translateX(110%);animation:zmd-intro-shine 12s ease-in-out infinite;pointer-events:none}
body #home .zmd .zmd-heading>div{flex:1;min-width:0!important}
body #home .zmd .zmd-heading>img{width:78px!important;height:78px!important;flex:none!important;filter:drop-shadow(0 5px 6px #8c622924)}
body #home .zmd .zmd-heading h2{font-size:30px!important;line-height:1.4!important;color:#64421d!important}
body #home .zmd .zmd-intro{max-width:790px;margin-top:10px!important}
body #home .zmd .zmd-intro-track{position:relative;display:flex;justify-content:space-between;gap:12px;max-width:590px;padding:3px 0 7px;isolation:isolate}
body #home .zmd .zmd-intro-node{display:flex;align-items:center;gap:7px;background:linear-gradient(145deg,#fffdf7,#f3e5c8);border:1px solid #dbbd7d;border-radius:24px;padding:3px 10px;box-shadow:inset 0 1px #fff,0 3px 7px #80581910;font-size:18px;color:#644820;z-index:1;line-height:1.4}
body #home .zmd .zmd-intro-node .zmd-icon3d{width:30px;height:30px;flex-basis:30px}
body #home .zmd .zmd-intro-line{position:absolute;height:3px;top:22px;right:6%;left:6%;background:linear-gradient(90deg,#ead9b0,#bf8a2d,#ead9b0);border-radius:3px;overflow:hidden;box-shadow:0 2px 4px #a9782520;z-index:0}
body #home .zmd .zmd-intro-light{position:absolute;top:0;left:-25%;height:100%;width:25%;border-radius:3px;background:linear-gradient(90deg,transparent,#fff4bc,white,#fff4bc,transparent);box-shadow:0 0 10px #e8bd59;animation:zmd-intro-flow 7s ease-in-out infinite}
body #home .zmd .zmd-heading p.zmd-intro-copy{display:block!important;margin:6px 0 0!important;font-size:19px!important;line-height:1.65!important;color:#78603a!important}
@keyframes zmd-intro-flow{0%,15%{left:-25%;opacity:0}22%{opacity:1}80%{opacity:1}95%,100%{left:100%;opacity:0}}
@keyframes zmd-intro-shine{0%,65%{transform:translateX(110%)}95%,100%{transform:translateX(-110%)}}
@media(max-width:760px){body #home .zmd .zmd-heading{padding:14px!important;gap:10px!important;align-items:flex-start!important}body #home .zmd .zmd-heading h2{font-size:25px!important}body #home .zmd .zmd-heading>img{width:48px!important;height:48px!important}body #home .zmd .zmd-intro-track{gap:4px!important;flex-wrap:wrap!important}body #home .zmd .zmd-intro-node{font-size:15px!important;padding:3px 7px!important}body #home .zmd .zmd-intro-node .zmd-icon3d{width:23px;height:23px;flex-basis:23px}body #home .zmd .zmd-heading p.zmd-intro-copy{font-size:17px!important}body #home .zmd .zmd-intro-line{display:none!important}}
@media(prefers-reduced-motion:reduce){body #home .zmd .zmd-intro-light,body #home .zmd .zmd-heading:after{animation:none!important;display:none!important}}

/* v2.6 title and motion share the exact same horizontal row. */
body #home .zmd .zmd-heading>div{display:grid!important;grid-template-columns:max-content minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;gap:6px 28px!important;align-items:center!important;width:100%!important}
body #home .zmd .zmd-heading>div>small{grid-column:1/-1!important;grid-row:1!important}
body #home .zmd .zmd-heading h2{grid-column:1!important;grid-row:2!important;white-space:nowrap!important;margin:0!important;align-self:center!important}
body #home .zmd .zmd-intro{display:contents!important}
body #home .zmd .zmd-intro-track{grid-column:2!important;grid-row:2!important;width:100%!important;max-width:590px!important;margin:0!important;justify-self:end!important;align-self:center!important;flex-wrap:nowrap!important;padding:0!important}
body #home .zmd .zmd-intro-line{top:50%!important;transform:translateY(-50%)!important;display:block!important}
body #home .zmd .zmd-intro-node{white-space:nowrap!important;flex-shrink:0!important}
body #home .zmd .zmd-heading p.zmd-intro-copy{grid-column:1/-1!important;grid-row:3!important;margin:5px 0 0!important}
@media(min-width:761px) and (max-width:1100px){body #home .zmd .zmd-heading>div{gap:5px 15px!important}body #home .zmd .zmd-heading h2{font-size:26px!important}body #home .zmd .zmd-intro-node{font-size:16px!important;padding:3px 6px!important}body #home .zmd .zmd-intro-node .zmd-icon3d{width:25px!important;height:25px!important;flex-basis:25px!important}}
@media(max-width:760px){body #home .zmd .zmd-heading>div{grid-template-columns:max-content minmax(74px,1fr)!important;gap:5px 9px!important}body #home .zmd .zmd-heading h2{font-size:21px!important}body #home .zmd .zmd-heading>img{width:38px!important;height:38px!important}body #home .zmd .zmd-intro-track{gap:3px!important;min-width:74px!important}body #home .zmd .zmd-intro-node{padding:3px!important;border:0!important;background:transparent!important;box-shadow:none!important}body #home .zmd .zmd-intro-node>span:not(.zmd-icon3d){display:none!important}body #home .zmd .zmd-intro-node .zmd-icon3d{width:22px!important;height:22px!important;flex-basis:22px!important}}
@media(max-width:380px){body #home .zmd .zmd-heading h2{font-size:19px!important}body #home .zmd .zmd-heading>img{width:28px!important;height:28px!important}body #home .zmd .zmd-heading{padding:10px!important;gap:5px!important}}

/* v2.7 native accessible settings disclosure, initially closed. */
body #home .zmd .zmd-footer{grid-template-columns:minmax(0,2fr) minmax(240px,1fr)!important;align-items:start!important}
body #home .zmd details.zmd-settings{margin:0!important;padding:0!important;border:1px solid #ddc38b!important;border-radius:16px!important;background:linear-gradient(135deg,#fffdf7,#f6ecd6)!important;min-width:0!important;overflow:visible!important}
body #home .zmd .zmd-settings>summary{display:list-item!important;list-style-position:inside!important;cursor:pointer!important;margin:0!important;padding:12px 16px!important;font-size:22px!important;line-height:1.5!important;color:#6b481e!important;border-radius:16px!important;background:linear-gradient(#fff9e9,#f0ddb8)!important;box-shadow:inset 0 1px #fff!important}
body #home .zmd .zmd-settings>summary::marker{color:#ac7b26}
body #home .zmd .zmd-settings>summary:focus-visible{outline:3px solid #947b38;outline-offset:3px}
body #home .zmd .zmd-settings:not([open])>.zmd-settings-body{display:none!important}
body #home .zmd .zmd-settings[open]>.zmd-settings-body{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;padding:12px!important;border-top:1px solid #e2cda4!important}
body #home .zmd .zmd-settings-body>section{min-width:0!important;padding:10px!important;margin:0!important;background:#fffdf7!important;border:1px solid #e7d8ba!important;border-radius:12px!important}
body #home .zmd .zmd-settings-body h3{font-size:20px!important;margin:0 0 7px!important}
body #home .zmd .zmd-footer .zmd-actions-panel{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important;padding:8px!important}
body #home .zmd .zmd-actions-panel .zmd-received,body #home .zmd .zmd-actions-panel .zmd-archive{flex:1 1 100%!important;font-size:14px!important}
body #home .zmd .zmd-actions-panel .zmd-cta{flex:1 1 160px!important;margin:0!important;font-size:20px!important}
@media(max-width:1100px){body #home .zmd .zmd-settings[open]>.zmd-settings-body{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:760px){body #home .zmd .zmd-footer{grid-template-columns:minmax(0,1fr)!important}body #home .zmd .zmd-settings>summary{font-size:21px!important}}

/* v2.8 touch point stays pinned; vertical page scrolling remains native. */
body #home .zmd .zmd-plot>svg{touch-action:pan-y!important;user-select:none!important;-webkit-user-select:none!important;-webkit-tap-highlight-color:transparent}
body #home .zmd .zmd-dismiss-point{position:absolute!important;top:5px!important;right:5px!important;z-index:4!important;width:32px!important;min-height:32px!important;padding:0!important;border-radius:50%!important;font:24px Arial,sans-serif!important;line-height:1!important;background:#fff9e9!important;box-shadow:0 2px 8px #88612224!important}
body #home .zmd .zmd-tooltip{font-size:17px!important;max-width:calc(100% - 65px)!important;top:4px!important;white-space:normal!important;line-height:1.4!important;pointer-events:none!important}
body #home .zmd .zmd-reveal-mask{animation:zmd-series-reveal 10s linear infinite}
@keyframes zmd-series-reveal{0%{transform:scaleX(0)}30%,100%{transform:scaleX(1)}}
/* Inspecting a point shows the full series so movement never hides its data. */
body #home .zmd .zmd-card.zmd-point-pinned .zmd-reveal-mask{animation:none!important;transform:scaleX(1)!important}
@media(prefers-reduced-motion:reduce){body #home .zmd .zmd-reveal-mask{animation:none!important;transform:scaleX(1)!important}}

/* v2.9 compact single mobile frame; shared timestamp, touch held only. */
.zmd .zmd-context{grid-template-columns:minmax(0,1fr)}
.zmd .zmd-common-time{display:none}
body #home .zmd .zmd-simple-disclosure{margin:0;border:0;padding:0}
body #home .zmd .zmd-simple-toggle{list-style:none;cursor:default}
body #home .zmd .zmd-simple-toggle::-webkit-details-marker{display:none}
body #home .zmd .zmd-simple-body{display:block}
@media(max-width:760px){
 body #home .zmd .zmd-charts{display:flex!important;flex-direction:column!important;gap:0!important;border:1px solid #ddc38b!important;border-radius:16px!important;background:linear-gradient(135deg,#fffefb,#faf6ee)!important;padding:6px 9px!important;overflow:visible!important}
 body #home .zmd .zmd-charts>.zmd-card{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding:5px 0!important;min-height:0!important}
 body #home .zmd .zmd-charts>.zmd-card+.zmd-card{border-top:1px solid #eadcc2!important}
 body #home .zmd .zmd-charts .zmd-card-note{display:none!important}
 body #home .zmd .zmd-common-time{display:block!important;font-size:12px!important;line-height:1.5!important;padding:5px 0!important;border-top:1px solid #eadcc2!important}
 body #home .zmd .zmd-charts .zmd-plot{min-height:0!important;height:clamp(66px,11svh,90px)!important;flex:none!important}
 body #home .zmd .zmd-charts .zmd-plot>svg{height:100%!important;max-height:none!important}
 body #home .zmd .zmd-charts .zmd-card h3{font-size:18px!important;gap:4px!important}
 body #home .zmd .zmd-charts .zmd-unit{display:none!important}
 body #home .zmd .zmd-charts .zmd-card-price{font-size:15px!important;min-height:0!important;margin:0!important;line-height:1.4!important}
 body #home .zmd .zmd-charts .zmd-card-tools{gap:3px!important}
 body #home .zmd .zmd-charts .zmd-card-tools button{min-width:25px!important;width:25px!important;min-height:25px!important;font-size:17px!important}
 body #home .zmd .zmd-charts .zmd-icon3d{width:25px!important;height:25px!important;flex-basis:25px!important}
 body #home .zmd .zmd-charts .zmd-symbol{width:25px!important;height:25px!important}
 body #home .zmd .zmd-charts .zmd-plot>svg .zmd-x-axis{display:none!important}
 body #home .zmd .zmd-simple-toggle{display:list-item!important;list-style:disclosure-closed inside!important;cursor:pointer!important}
 body #home .zmd .zmd-simple-disclosure[open]>.zmd-simple-toggle{list-style-type:disclosure-open!important}
 body #home .zmd .zmd-simple-toggle .zmd-simple-head{display:inline-flex!important;flex-wrap:wrap!important;margin:0!important}
 body #home .zmd .zmd-simple-head h2{font-size:22px!important}
 body #home .zmd .zmd-simple-head span{font-size:13px!important}
 body #home .zmd .zmd-simple-disclosure:not([open])>.zmd-simple-body{display:none!important}
 body #home .zmd .zmd-charts .zmd-card:fullscreen{padding:15px!important;background:#fffaf2!important}
 body #home .zmd .zmd-charts .zmd-card:fullscreen .zmd-plot{height:65vh!important}
 body #home .zmd .zmd-charts .zmd-card:fullscreen .zmd-card-note{display:block!important}
}
@media(max-width:760px){body #home .zmd .zmd-common-time{order:4!important}}

/* v2.10: constrain legacy SVG minimums inside compact mobile panels. */
@media(max-width:760px){
 body #home .zmd .zmd-charts>.zmd-card{flex:0 0 auto!important;height:auto!important;max-height:none!important;overflow:visible!important}
 body #home .zmd .zmd-charts .zmd-plot{display:block!important;position:relative!important;flex:0 0 auto!important;min-height:0!important;height:clamp(72px,11svh,90px)!important;max-height:90px!important;overflow:hidden!important}
 body #home .zmd .zmd-charts .zmd-plot>svg{display:block!important;position:absolute!important;inset:0!important;min-height:0!important;min-width:0!important;height:100%!important;max-height:100%!important;width:100%!important;flex:none!important;overflow:hidden!important}
 body #home .zmd .zmd-charts .zmd-symbol .zmd-icon3d>svg{width:25px!important;height:25px!important;min-height:0!important;max-height:25px!important}
 body #home .zmd .zmd-charts .zmd-card>header{align-items:center!important;gap:6px!important;flex-wrap:wrap!important;flex:0 0 auto!important;position:relative!important}
 body #home .zmd .zmd-charts .zmd-card-price{position:relative!important;flex:0 0 auto!important;flex-wrap:wrap!important}
 body #home .zmd .zmd-charts .zmd-card:fullscreen .zmd-plot{height:65vh!important;max-height:65vh!important}
}
/* v2.12: close the space between the compact services row and market dashboard. */
body #home .rates-preview:has(.zmd){margin-top:0!important;padding-top:0!important}
body #home .rate-live-chart.zmd{margin-top:0!important}
@media(max-width:760px){body #home .rates-preview:has(.zmd){padding-top:0!important}}

/* v2.13: always-visible settings, compact actions on the right (RTL). */
body #home .zmd .zmd-footer{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;direction:rtl!important}
body #home .zmd .zmd-footer>section.zmd-settings{grid-row:1!important;width:100%!important;padding:12px!important;margin:0!important;border:1px solid #ddc38b!important;border-radius:16px!important;background:linear-gradient(135deg,#fffdf7,#f6ecd6)!important}
body #home .zmd .zmd-settings>.zmd-settings-title{display:block!important;padding:0 0 8px!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;font-size:21px!important;cursor:default!important}
body #home .zmd .zmd-settings>.zmd-settings-body{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;padding:0!important;border:0!important}
body #home .zmd .zmd-footer>.zmd-actions-panel{grid-row:2!important;justify-self:start!important;width:auto!important;max-width:100%!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;gap:12px 18px!important;padding:6px 8px 18px!important;border:0!important;background:none!important;box-shadow:none!important;direction:rtl!important}
body #home .zmd .zmd-actions-panel .zmd-received,body #home .zmd .zmd-actions-panel .zmd-archive{flex:0 1 auto!important;margin:0!important;font-size:13px!important}
@media(max-width:1100px){body #home .zmd .zmd-settings>.zmd-settings-body{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:760px){body #home .zmd .zmd-footer>.zmd-actions-panel{width:100%!important;gap:12px!important}body #home .zmd .zmd-actions-panel .zmd-received,body #home .zmd .zmd-actions-panel .zmd-archive{flex:1 1 100%!important}}
