/* site-footer.css */
/* Shared footer: clear destinations, real help paths and the shared theme control. */
.tx-site-footer{margin-top:56px;border-top:1px solid var(--line);background:var(--bg);color:var(--muted);padding:48px 0 0;direction:rtl}
.tx-footer-main{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(3,minmax(0,1fr));gap:36px;padding-bottom:32px}
.tx-footer-logo{display:inline-flex;align-items:center;gap:11px;font-size:25px;font-weight:700;color:var(--text);min-height:44px}
.tx-footer-logo>span{display:grid;place-items:center;width:40px;height:40px;background:var(--brand);color:#181a20;border-radius:50%;font-size:22px}
.tx-footer-brand p{font-size:13px;line-height:2.2;max-width:300px;margin:17px 0 0;color:var(--muted)}
.tx-footer-main nav h2{font-size:14px;font-weight:700;color:var(--text);margin:7px 0 12px}
.tx-footer-main nav a{display:flex;align-items:center;min-height:44px;font-size:12px;width:fit-content;padding:5px 0;color:var(--muted);transition:color .15s;line-height:1.9}
.tx-site-footer a:hover{color:var(--text);text-decoration:underline;text-underline-offset:5px}
.tx-site-footer a:focus-visible{outline:2px solid var(--brand);outline-offset:4px;border-radius:3px}
.tx-footer-help{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid var(--line);background:var(--panel);border-radius:14px;padding:20px 24px;margin-bottom:20px}
.tx-footer-help-copy{display:flex;align-items:center;gap:16px;min-width:0}
.tx-footer-help-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:12px;background:rgba(240,185,11,.09);color:var(--brand)}
.tx-footer-help svg{width:24px;height:24px;flex:none}
.tx-footer-help p{font-size:12px;line-height:2;color:var(--muted);margin:0}
.tx-footer-help b{display:block;font-size:14px;font-weight:600;color:var(--text);margin-bottom:3px}
.tx-footer-help-link{font-size:12px;font-weight:600;color:var(--text);min-height:44px;display:flex;align-items:center;justify-content:center;gap:20px;white-space:nowrap;padding:0 18px;border:1px solid var(--line);border-radius:9px}
.tx-footer-help-link:hover{background:var(--panel2)}
.tx-footer-safety{display:flex;align-items:center;gap:10px;padding-bottom:24px;font-size:11px;line-height:2;color:var(--muted)}
.tx-footer-safety svg{width:20px;height:20px;flex:none}.tx-footer-safety p{margin:0;flex:1}.tx-footer-safety a{display:flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px;white-space:nowrap;color:var(--muted)}
.tx-footer-bottom{border-top:1px solid var(--line);padding:16px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;line-height:2;color:var(--muted)}
.tx-footer-appearance{display:flex;align-items:center;gap:16px;flex-shrink:0}.tx-footer-appearance>span{font-size:12px;color:var(--text)}
@media(max-width:1000px){.tx-footer-main{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.tx-footer-brand{grid-column:1/-1}.tx-footer-brand p{max-width:520px;margin:12px 0}.tx-site-footer{padding-top:32px}}
@media(max-width:600px){.tx-site-footer{margin-top:34px}.tx-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px;padding-bottom:24px}.tx-footer-main nav:last-child{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}.tx-footer-main nav:last-child h2{grid-column:1/-1;margin-bottom:4px}.tx-footer-main nav h2{margin-bottom:8px}.tx-footer-brand p{font-size:12px}.tx-footer-logo{font-size:23px}.tx-footer-help{align-items:stretch;flex-direction:column;gap:16px;padding:18px}.tx-footer-help-copy{gap:12px;align-items:flex-start}.tx-footer-help p{font-size:11px}.tx-footer-help b{font-size:13px}.tx-footer-help-link{min-height:44px;justify-content:space-between}.tx-footer-safety{align-items:flex-start;flex-wrap:wrap;padding-bottom:18px;gap:8px 10px}.tx-footer-safety p{flex-basis:calc(100% - 30px)}.tx-footer-safety a{margin-inline-start:30px;min-height:36px}.tx-footer-bottom{flex-direction:column-reverse;align-items:stretch;gap:12px}.tx-footer-appearance{justify-content:space-between}.tx-footer-copyright{font-size:10px;text-align:center}}
@media(prefers-reduced-motion:reduce){.tx-footer-main nav a{transition:none}}

/* app-ui.css */
/* IRANYekanX is self-hosted from the user's licensed istnets.com web assets. */
@font-face{font-family:"IRANYekanX";font-style:normal;font-weight:400;font-display:swap;src:url("/site/fonts/IRANYekanX-Regular.tk-f8b0d2709e64.woff2") format("woff2")}
@font-face{font-family:"IRANYekanX";font-style:normal;font-weight:500;font-display:swap;src:url("/site/fonts/IRANYekanX-Medium.tk-d2469f6037e4.woff2") format("woff2")}
@font-face{font-family:"IRANYekanX";font-style:normal;font-weight:600;font-display:swap;src:url("/site/fonts/IRANYekanX-DemiBold.tk-c99b73a9f473.woff2") format("woff2")}
@font-face{font-family:"IRANYekanX";font-style:normal;font-weight:700;font-display:swap;src:url("/site/fonts/IRANYekanX-Bold.tk-936a60fd882c.woff2") format("woff2")}
@font-face{font-family:"IRANYekanX";font-style:normal;font-weight:800;font-display:swap;src:url("/site/fonts/IRANYekanX-ExtraBold.tk-d94eb137f479.woff2") format("woff2")}
@font-face{font-family:"IRANYekanX";font-style:normal;font-weight:900;font-display:swap;src:url("/site/fonts/IRANYekanX-Black.tk-9bab9c362034.woff2") format("woff2")}
:root{--bg:#181a20;--panel:#202630;--panel2:#2b3139;--line:#333b47;--text:#eaecef;--muted:#929aa5;--brand:#f0b90b;--green:#19c37d;--red:#f05a67;--blue:#4c8dff}
*{box-sizing:border-box}html,body,button,input,select,textarea{font-family:"IRANYekanX","IRANYekan","Iran Yekan",Tahoma,Arial,sans-serif!important}body{margin:0;background:var(--bg);color:var(--text);font-size:14px}a{color:inherit;text-decoration:none}button{cursor:pointer}.container{width:min(1180px,calc(100% - 28px));margin:auto}.top{position:sticky;top:0;z-index:30;background:rgba(24,26,32,.95);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.nav{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:18px}.logo{display:flex;gap:9px;align-items:center;font-size:20px;font-weight:900}.mark{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:var(--brand);color:#111}.links{display:flex;align-items:center;gap:20px;color:#c3ccd5}.links a.active,.links a:hover{color:#fff}.actions{display:flex;gap:8px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:10px 15px;font-weight:800;min-height:40px}.primary{background:var(--brand);color:#111}.green{background:var(--green);color:#07140f}.red{background:var(--red);color:#fff}.dark{background:var(--panel);color:#fff;border:1px solid var(--line)}.btn:disabled{opacity:.45;cursor:not-allowed}.hero{padding:64px 0 38px;background:radial-gradient(circle at 75% 8%,rgba(240,185,11,.14),transparent 34%)}.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:34px;align-items:center}.hero h1{font-size:46px;line-height:1.35;margin:8px 0 14px}.hero p{color:var(--muted);line-height:2;font-size:16px}.eyebrow{color:var(--brand);font-weight:900;font-size:12px}.hero-actions{display:flex;gap:9px;margin-top:22px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:15px;overflow:hidden}.pad{padding:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line)}.panel-head h2,.panel-head h3{margin:0;font-size:17px}.section{padding:30px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:15px}.section-head h1,.section-head h2{margin:0}.muted{color:var(--muted);line-height:1.8}.notice{border:1px solid #554710;background:#1b180c;color:#e9cb61;border-radius:11px;padding:12px 14px}.error{border:1px solid #74303a;background:#2b1117;color:#ffadb6;border-radius:11px;padding:12px 14px}.success{border:1px solid #1d664c;background:#0d281e;color:#71e1b2;border-radius:11px;padding:12px 14px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.metric{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:17px}.metric span{display:block;color:var(--muted);font-size:11px}.metric b{display:block;font-size:24px;margin-top:7px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:740px}th,td{text-align:right;padding:13px;border-bottom:1px solid var(--line);vertical-align:middle}th{color:#7f8b97;font-size:11px}td{font-size:12px}.pill{display:inline-flex;align-items:center;border:1px solid #3a4652;background:var(--panel);color:#bdc7d1;border-radius:999px;padding:5px 8px;font-size:10px}.pill.ok{border-color:#176247;background:#0d2b20;color:#65dfaa}.pill.warn{border-color:#5b4c15;background:#2a2209;color:#e5c453}.pill.bad{border-color:#70303a;background:#2b1117;color:#ff99a5}.merchant{display:flex;align-items:center;gap:10px}.avatar{width:38px;height:38px;border-radius:10px;background:var(--panel2);display:grid;place-items:center;font-weight:900}.price{font-size:18px;font-weight:900}.tags{display:flex;gap:5px;flex-wrap:wrap}.tag{border:1px solid #303b46;background:var(--panel);border-radius:7px;padding:5px 7px;color:#b6c0ca;font-size:10px}.form{display:grid;gap:13px}.field{display:grid;gap:7px}.field label{color:var(--muted);font-size:11px}.input,.select,.textarea{width:100%;border:1px solid var(--line);background:var(--bg);color:#fff;border-radius:9px;padding:0 12px;outline:none}.input,.select{height:44px}.textarea{min-height:100px;padding-top:11px;resize:vertical}.input:focus,.select:focus,.textarea:focus{border-color:#617080}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.empty{text-align:center;color:var(--muted);padding:28px}.toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:end}.toolbar .field{min-width:170px;flex:1}.status-box{margin-top:12px}.stack{display:grid;gap:10px}.order-card{display:grid;grid-template-columns:1fr auto;gap:12px;border:1px solid var(--line);background:var(--panel2);border-radius:11px;padding:14px}.order-card b,.order-card span{display:block}.order-card span{color:var(--muted);font-size:11px;margin-top:5px}.ltr{direction:ltr;text-align:left}.admin-shell{display:grid;grid-template-columns:220px 1fr;min-height:calc(100vh - 69px)}.side{border-left:1px solid var(--line);padding:18px 12px;background:var(--bg)}.side a{display:block;padding:11px;border-radius:9px;color:#aeb9c4;margin-bottom:4px}.side a:hover,.side a.active{background:var(--panel);color:#fff}.main{padding:24px}.auth-gate{width:min(520px,calc(100% - 28px));margin:70px auto;text-align:center}.footer{border-top:1px solid var(--line);color:var(--muted);padding:24px 0;margin-top:38px}.footer-row{display:flex;justify-content:space-between;gap:12px}.hide{display:none!important}
.environment-bar{background:#171308;color:#e6c75e;border-bottom:1px solid #42370b;padding:9px 16px;text-align:center;font-size:12px}.app-shell{display:grid;grid-template-columns:240px 1fr;min-height:calc(100vh - 105px)}.sidebar{border-left:1px solid var(--line);background:var(--bg);padding:18px 12px}.sidebar h4{font-size:10px;color:#68737f;margin:12px 12px 8px}.side-link{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:9px;color:#b8c1cb;margin-bottom:4px}.side-link:hover,.side-link.active{background:var(--panel);color:#fff}.side-dot{width:8px;height:8px;border-radius:50%;background:#58636f}.side-link.active .side-dot{background:var(--brand)}.content{padding:26px 30px;min-width:0}.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.page-title h1{font-size:28px;margin:4px 0 0}.wallet-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}.balance-card{padding:24px;background:linear-gradient(145deg,var(--panel),var(--panel));border:1px solid var(--line);border-radius:16px}.coin{display:flex;justify-content:space-between;align-items:center}.coin-symbol{display:flex;align-items:center;gap:10px}.coin-icon{width:42px;height:42px;border-radius:50%;background:#26a17b;display:grid;place-items:center;font-weight:900}.wallet-balance{font-size:34px;font-weight:900;margin:24px 0 8px;direction:ltr;text-align:right}.wallet-actions{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}.address-box{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:12px;word-break:break-all;color:#aeb7c1;font-size:11px;direction:ltr;text-align:left;min-height:42px}.qr-image{display:none;width:160px;height:160px;background:#fff;border:10px solid #fff;border-radius:8px;margin:15px auto}.qr-image.show{display:block}.wallet-forms{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.wallet-form{padding:18px}.wallet-form h3{margin:0 0 7px}.orders{width:100%;border-collapse:collapse}.orders th,.orders td{text-align:right;padding:12px;border-bottom:1px solid var(--line);font-size:12px}.orders th{color:var(--muted);font-weight:500}.status{padding:5px 8px;border-radius:999px;font-size:10px;display:inline-block}.status.green{background:rgba(25,195,125,.12);color:#55dfa5}.status.yellow{background:rgba(240,185,11,.12);color:#e9c34d}.status.red{background:rgba(240,68,88,.12);color:#ff7d8c}
@media(max-width:900px){.links{display:none}.hero-grid,.grid2,.wallet-grid,.wallet-forms{grid-template-columns:1fr}.grid3,.grid4{grid-template-columns:1fr 1fr}.admin-shell,.app-shell{grid-template-columns:1fr}.side,.sidebar{display:none}.hero h1{font-size:36px}.main,.content{padding:18px 12px}}
@media(max-width:580px){.grid3,.grid4,.form-row{grid-template-columns:1fr}.hero{padding-top:38px}.hero h1{font-size:31px}.hero-actions,.section-head,.footer-row{align-items:flex-start;flex-direction:column}.actions .optional{display:none}.container{width:min(100% - 20px,1180px)}.btn{padding:9px 12px}}

/* Shared public header and v9 home presentation. */
.site-header{position:sticky;top:0;z-index:70;background:rgba(24,26,32,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}
.site-nav{width:min(1180px,calc(100% - 28px));min-height:68px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px}
.site-logo{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:900;white-space:nowrap}.site-logo-mark{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:var(--brand);color:#111;font-weight:900}.site-links{display:flex;align-items:center;gap:21px;color:#c3ccd5}.site-links a{font-size:13px;white-space:nowrap}.site-links a:hover,.site-links a.active,.site-logo.active{color:#fff}.site-links a.active{position:relative}.site-links a.active:after{content:"";position:absolute;right:0;left:0;bottom:-24px;height:2px;background:var(--brand)}
.site-actions{display:flex;align-items:center;gap:8px}.site-login,.site-account,.site-register,.site-logout{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border-radius:9px;padding:9px 15px;font-weight:800;white-space:nowrap}.site-login,.site-account{background:var(--panel);color:#fff;border:1px solid var(--line)}.site-account.active{border-color:var(--brand)}.site-register,.site-logout{background:var(--brand);color:#111;border:0}.site-menu{display:none;width:40px;height:40px;border-radius:9px;border:1px solid var(--line);background:var(--panel);color:#fff;font-size:18px}
.hero-card{background:linear-gradient(160deg,var(--panel),var(--panel));border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 16px 45px rgba(0,0,0,.25)}.hero-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}.price-line{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.price-line:last-child{border-bottom:0}.price-line strong{display:block;font-size:25px;direction:ltr}.price-line small{display:block;color:var(--muted);margin-bottom:5px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:34px}.stat{border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:16px}.stat b{display:block;font-size:18px}.stat span{display:block;color:var(--muted);font-size:11px;margin-top:5px;line-height:1.7}.home-market-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.market-shell{border:1px solid var(--line);background:var(--panel);border-radius:18px;overflow:hidden}.market-shell table{min-width:620px}.market-shell th{background:var(--panel)}.trade-link{min-width:78px;padding:8px 12px}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.feature-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:20px}.feature-icon{width:40px;height:40px;border-radius:10px;background:var(--panel);color:var(--brand);display:grid;place-items:center;margin-bottom:14px;font-weight:900}.feature-card h3{margin:0 0 8px;font-size:15px}.feature-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.9}.cta{display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(120deg,#17150b,var(--panel));border:1px solid #3a3518;border-radius:18px;padding:28px}.cta h2{margin:0 0 8px}.cta p{margin:0;color:var(--muted);line-height:1.9}.home-state{font-size:11px;color:var(--muted)}
@media(max-width:1040px){.site-links{gap:13px}.site-links a{font-size:12px}}
@media(max-width:900px){.site-menu{display:block}.site-links{display:none;position:absolute;top:68px;right:14px;left:14px;padding:10px;background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 45px rgba(0,0,0,.45)}.site-links.open{display:grid}.site-links a{padding:11px;border-radius:8px}.site-links a.active{background:var(--panel)}.site-links a.active:after{display:none}.home-market-grid{grid-template-columns:1fr}.stats,.feature-grid{grid-template-columns:1fr 1fr}}
@media(max-width:580px){.stats,.feature-grid{grid-template-columns:1fr}.cta{align-items:flex-start;flex-direction:column}.site-nav{width:min(100% - 20px,1180px)}.site-login,.site-account,.site-register,.site-logout{padding:8px 10px;font-size:12px}}

/* Persian interface: readable hierarchy, restrained weights and resilient grids. */
body{line-height:1.8}
h1,h2,h3,h4,p{overflow-wrap:break-word}
h1,h2,h3,h4{font-weight:700}
h1{font-size:28px;line-height:1.65}
h2{font-size:22px;line-height:1.7}
b,strong{font-weight:600}
.btn,.site-login,.site-account,.site-register,.site-logout{font-size:14px;font-weight:600;min-height:44px;line-height:1.7}
.site-logo,.logo{font-weight:700}
.hero{padding:44px 0 28px}
.hero h1{font-size:clamp(28px,3vw,38px);font-weight:700;line-height:1.65;max-width:620px}
.hero p{font-size:15px;line-height:2.1;max-width:600px}
.eyebrow{font-size:13px;font-weight:500}
.hero-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
.grid2,.home-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid4,.feature-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.hero-grid>*,.grid2>*,.grid3>*,.grid4>*,.home-market-grid>*{min-width:0}
.metric{padding:18px 20px}
.metric span{font-size:13px;line-height:1.8}
.metric b{font-size:18px;font-weight:600;line-height:1.9;overflow-wrap:anywhere}
a.metric{transition:border-color .15s,background .15s}
a.metric:hover{border-color:#627080;background:var(--panel)}
.price-line strong{font-size:22px;font-weight:600;line-height:1.8}
.stat b{font-size:17px;font-weight:600}.stat span,.feature-card p,.home-state{font-size:13px}
.stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:24px}
.stat{padding:12px 16px}
.feature-card h3{font-size:16px;font-weight:600}
.pill,.tag{font-size:12px;line-height:1.7}
.field label,th{font-size:13px;color:#adb8c3}
td{font-size:13px}.price{font-size:17px;font-weight:600}
.section-head{align-items:center}.section-head h1{font-size:28px}.section-head h2{font-size:22px}
.home-market-grid table{min-width:0;table-layout:fixed}
.home-market-grid th,.home-market-grid td{padding:12px 9px;overflow-wrap:anywhere}
.home-market-grid th:first-child{width:30%}
.home-market-grid .merchant{gap:6px}.home-market-grid .avatar{display:none}
.home-market-grid .trade-link{min-width:58px;padding:8px}
.home-market-grid .price{font-size:15px}
.home-market-grid .empty{padding:26px 14px;line-height:2}
#environmentNotice{margin-top:20px;line-height:2;font-size:14px}
:where(a,button,input,select,textarea):focus-visible{outline:2px solid var(--brand);outline-offset:4px}
.skip-link{position:fixed;top:-100px;right:16px;z-index:100;background:var(--brand);color:#111;padding:10px 16px;border-radius:8px}.skip-link:focus{top:10px}
@media(max-width:900px){.hero-grid,.grid2,.home-market-grid{grid-template-columns:1fr}.grid3,.grid4,.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-card{padding:20px}.site-links a{min-height:44px}}
@media(max-width:580px){.hero{padding:28px 0 20px}.hero h1{font-size:28px}.section{padding:22px 0}.section-head h1{font-size:24px}.section-head h2{font-size:20px}.metric b{font-size:17px}.metric{padding:14px}.grid3,.grid4{grid-template-columns:1fr}.feature-grid{grid-template-columns:1fr}.hero-actions{width:100%;gap:10px}.hero-actions .btn{width:100%}.section-head{align-items:stretch}.hero-card{padding:18px}.price-line strong{font-size:20px}.site-nav{gap:8px}.site-logo{font-size:17px;gap:6px}.site-logo-mark{width:30px;height:30px}.site-actions{gap:5px}.site-menu{width:44px;height:44px}.site-login,.site-account,.site-register,.site-logout{padding:8px;font-size:12px}.home-market-grid th,.home-market-grid td{font-size:12px;padding:10px 5px}.home-market-grid .price{font-size:13px}.cta{padding:20px}.cta h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* responsive-ui.css */

html{scroll-padding-top:90px}
body .btn{font-weight:600}body h1{font-weight:700}
img,video,canvas{max-width:100%}
input,select,textarea,.field,.filter-field,.card,.panel,.table-wrap,.table{min-width:0}
input,select,textarea{max-width:100%}
.grid>*,.fields>*,.uploads>*,.wallet-grid>*,.wallet-forms>*{min-width:0}
.table-wrap,.table{max-width:100%;overscroll-behavior-x:contain}
.panel-head,.head,.page-title,.coin,.account{flex-wrap:wrap}
.modal{max-height:calc(100dvh - 32px);overflow-y:auto}
#secret,#uri,.status-box,.notice,.warning,.result{overflow-wrap:anywhere}
.wallet-balance{font-size:28px;font-weight:600}
body .page-title h1{font-size:26px}
body .field label,body .filter-field label{font-size:13px}
body .audit th,body .audit td{font-size:12px}
@media(max-width:600px){
 body .hero h1{font-size:28px;line-height:1.7}
 .head,.account,.page-title{align-items:flex-start;gap:12px}
 .account{flex-direction:column}.account-actions{width:100%}
 .market-tabs{flex-wrap:wrap}.market-tabs .result-count{flex-basis:100%;margin:0}
 .market-side{min-width:0}
 .panel-head{align-items:flex-start}.order-card{grid-template-columns:minmax(0,1fr)}
 .wallet-balance{font-size:25px}.wallet-actions .btn{flex:1}
 .reset-actions{flex-wrap:wrap}.pad{padding:16px}
 .form-row{grid-template-columns:1fr}.toolbar .field{min-width:0;flex-basis:100%}
 .account b,.account span,.head .state{overflow-wrap:anywhere}
 .wrap{width:calc(100% - 20px)}
}

/* theme.css */
/* Theme is local to this browser. Dark remains the default. Layout and brand assets
   are shared; only interface surfaces, text and status colors change. */
html[data-theme="dark"]{color-scheme:dark;--bg:#181a20;--panel:#202630;--panel2:#2b3139;--line:#333b47;--text:#eaecef;--muted:#929aa5}
html[data-theme="dark"] body{background:var(--bg)}
html[data-theme="dark"] .site-header,html[data-theme="dark"] .top,html[data-theme="dark"] .topbar{background:#181a20;border-color:var(--line)}
html[data-theme="dark"] .site-footer{background:var(--bg)}
html[data-theme="dark"] .home-hero{background:var(--bg)}
html[data-theme="dark"] .global-market{background:var(--panel);box-shadow:none}
html[data-theme="dark"] .wallet-hero{background:var(--panel)}
html[data-theme="light"]{
  color-scheme:light;
  --bg:#fff;--panel:#fff;--panel2:#f6f7f9;--line:#dce1e7;
  --text:#202630;--muted:#596575;--brand:#f0b90b;
  --green:#087b58;--red:#c53147;--blue:#2864be;
  --soft:#f5f6f8;--hover:#edf0f4;--gold:#826200;
  --positive:#087657;--negative:#b52b40;--positive-bg:#e9f7f1;
  --negative-bg:#fff0f2;--warning-bg:#fff7dd;--warning-line:#e5d393;
  --learn-surface:#f5f6f8;--learn-line:#dce1e7;--learn-muted:#596575;
}
.theme-toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:5px;width:64px;min-width:64px;height:44px;padding:0 6px;border:0;border-radius:10px;background:transparent;color:#98a5b4;direction:ltr;flex:none;cursor:pointer;isolation:isolate}
.theme-toggle::before{content:"";position:absolute;z-index:-2;inset:7px 0;border:1px solid #3a4652;border-radius:20px;background:#252e39}
.theme-toggle::after{content:"";position:absolute;z-index:-1;left:34px;top:10px;width:24px;height:24px;border-radius:50%;background:#f4f6f8;box-shadow:0 1px 4px #0003;transition:transform .18s}
.theme-toggle svg{width:20px;height:20px;flex:none;pointer-events:none}
.theme-toggle .theme-moon{color:#202630}
.theme-toggle:hover::before{border-color:#8c98a5}
.theme-toggle:focus-visible{outline:2px solid #ac8100;outline-offset:3px}
html[data-theme="light"] .theme-toggle::before{background:#e9edf2;border-color:#cbd2da}
html[data-theme="light"] .theme-toggle::after{transform:translateX(-28px);background:#fff}
html[data-theme="light"] .theme-toggle .theme-sun{color:#826200}
html[data-theme="light"] .theme-toggle .theme-moon{color:#697787}
@media(max-width:580px){.theme-toggle{width:56px;min-width:56px;padding:0 5px;gap:4px}.theme-toggle::after{left:29px;width:22px;height:22px;top:11px}.theme-toggle svg{width:18px;height:18px}html[data-theme="light"] .theme-toggle::after{transform:translateX(-24px)}}
@media(max-width:360px){.site-nav .site-logo{font-size:15px;gap:4px}.site-nav .site-logo-mark{width:27px;height:27px}.site-nav .site-actions{gap:3px}.site-nav .site-login,.site-nav .site-register,.site-nav .site-account,.site-nav .site-logout{padding-inline:6px;font-size:11px}.site-nav .site-menu{width:38px}.site-nav{gap:4px}}
@media(prefers-reduced-motion:reduce){.theme-toggle::after{transition:none}}

/* Shared navigation, fields, controls and feedback. */
html[data-theme="light"] .site-header,

/* Shared navigation, fields, controls and feedback. */
html[data-theme="light"] .top,

/* Shared navigation, fields, controls and feedback. */
html[data-theme="light"] .topbar{background:rgba(255,255,255,.96)}
html[data-theme="light"] .site-links,
html[data-theme="light"] .links,
html[data-theme="light"] .side a,
html[data-theme="light"] .side-link{color:var(--muted)}
html[data-theme="light"] .site-links a.active,
html[data-theme="light"] .site-links a:hover,
html[data-theme="light"] .site-logo.active,
html[data-theme="light"] .links a.active,
html[data-theme="light"] .links a:hover{color:var(--text)}
html[data-theme="light"] .site-login,
html[data-theme="light"] .site-account,
html[data-theme="light"] .site-menu,
html[data-theme="light"] .dark,
html[data-theme="light"] .side,
html[data-theme="light"] .sidebar,
html[data-theme="light"] .stat,
html[data-theme="light"] .feature-icon,
html[data-theme="light"] .market-shell th{background:var(--soft);color:var(--text);border-color:var(--line)}
html[data-theme="light"] .side a:hover,
html[data-theme="light"] .side a.active,
html[data-theme="light"] .side-link:hover,
html[data-theme="light"] .side-link.active,
html[data-theme="light"] a.metric:hover{background:var(--hover);color:var(--text)}
html[data-theme="light"] .field label,
html[data-theme="light"] th,
html[data-theme="light"] .sidebar h4{color:var(--muted)}
html[data-theme="light"] .input,
html[data-theme="light"] .select,
html[data-theme="light"] .textarea,
html[data-theme="light"] select,
html[data-theme="light"] option,
html[data-theme="light"] optgroup,
html[data-theme="light"] .choice-trigger,
html[data-theme="light"] .choice-option,
html[data-theme="light"] .choice-search,
html[data-theme="light"] .blog-search input,
html[data-theme="light"] .help-faq-search input,
html[data-theme="light"] .room-chat textarea,
html[data-theme="light"] #sellerReceipt input:not([type=checkbox]),
html[data-theme="light"] .bank-option,
html[data-theme="light"] .bank-picker-button{background:#fff;color:var(--text);border-color:#bdc6d0}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder{color:#707d8b}
html[data-theme="light"] .input:focus,
html[data-theme="light"] .select:focus,
html[data-theme="light"] .textarea:focus,
html[data-theme="light"] .choice-trigger:focus,
html[data-theme="light"] input:focus,
html[data-theme="light"] textarea:focus{border-color:#9b7600}
html[data-theme="light"] .merchant-form .input:focus{background:#fff}
html[data-theme="light"] .pill,
html[data-theme="light"] .tag,
html[data-theme="light"] .avatar,
html[data-theme="light"] .step-number,
html[data-theme="light"] .empty-symbol,
html[data-theme="light"] .order-state{background:var(--hover);color:var(--muted);border-color:var(--line)}
html[data-theme="light"] .notice,
html[data-theme="light"] .environment-bar,
html[data-theme="light"] .pill.warn,
html[data-theme="light"] .status.yellow,
html[data-theme="light"] .market-notice,
html[data-theme="light"] .help-warning{background:var(--warning-bg);color:var(--gold);border-color:var(--warning-line)}
html[data-theme="light"] .error,
html[data-theme="light"] .pill.bad,
html[data-theme="light"] .status.red,
html[data-theme="light"] .market-notice.error{background:var(--negative-bg);color:var(--negative);border-color:#e9b7c0}
html[data-theme="light"] .success,
html[data-theme="light"] .pill.ok,
html[data-theme="light"] .status.green,
html[data-theme="light"] .free-badge,
html[data-theme="light"] .market-notice.success,
html[data-theme="light"] .order-state.ad-active{background:var(--positive-bg);color:var(--positive);border-color:#b0dcca}
html[data-theme="light"] .btn.green,
html[data-theme="light"] .offer-action .green{background:#087b58;color:#fff}
html[data-theme="light"] .btn.red,
html[data-theme="light"] .offer-action .red{background:#bd3047;color:#fff}
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .auth-link,
html[data-theme="light"] .feature-icon,
html[data-theme="light"] .learn-kicker,
html[data-theme="light"] .learn-category,
html[data-theme="light"] .help-kicker,
html[data-theme="light"] .help-faq-group h3,
html[data-theme="light"] .learn-link:hover,
html[data-theme="light"] .learn-card h3 a:hover,
html[data-theme="light"] .learn-breadcrumb a:hover,
html[data-theme="light"] .article-toc nav a:hover,
html[data-theme="light"] .article-source a,
html[data-theme="light"] .article-end>b{color:var(--gold)}
html[data-theme="light"] .choice-dialog,
html[data-theme="light"] .bank-dialog{background:#fff;color:var(--text);border-color:var(--line);box-shadow:0 24px 80px #23304433}
html[data-theme="light"] .choice-head,
html[data-theme="light"] .choice-dialog .choice-close,
html[data-theme="light"] .bank-dialog-head{background:var(--soft);color:var(--text);border-color:var(--line)}
html[data-theme="light"] .choice-search-wrap,
html[data-theme="light"] .choice-option{border-color:var(--line)}
html[data-theme="light"] .choice-trigger>span:last-child,
html[data-theme="light"] .choice-empty{color:var(--muted)}
html[data-theme="light"] .choice-option[aria-selected=true],
html[data-theme="light"] .bank-option.selected{background:var(--warning-bg);border-color:#ab870e}
html[data-theme="light"] .choice-option[aria-selected=true]::after{color:var(--gold)}
html[data-theme="light"] .choice-option:hover:not(:disabled),
html[data-theme="light"] .bank-option:hover{background:var(--soft);border-color:#ab870e}
@media(max-width:900px){html[data-theme="light"] .site-links{background:#fff;box-shadow:0 18px 45px #23304426}html[data-theme="light"] .site-links a.active{background:var(--soft)}}

/* Home, education, articles and footer. */
html[data-theme="light"] .hero-card,

/* Home, education, articles and footer. */
html[data-theme="light"] .global-market,

/* Home, education, articles and footer. */
html[data-theme="light"] .tether-preview,

/* Home, education, articles and footer. */
html[data-theme="light"] .step-card,

/* Home, education, articles and footer. */
html[data-theme="light"] .benefit-card,

/* Home, education, articles and footer. */
html[data-theme="light"] .learn-cta,

/* Home, education, articles and footer. */
html[data-theme="light"] .cta{background:linear-gradient(135deg,#fafbfc,#f4f6f8);border-color:var(--line);box-shadow:none}
html[data-theme="light"] .home-hero .hero-copy p,
html[data-theme="light"] .home-hero .eyebrow,
html[data-theme="light"] .hero-guide,
html[data-theme="light"] .hero-facts span,
html[data-theme="light"] .market-kicker,
html[data-theme="light"] .quote-labels,
html[data-theme="light"] .crypto-asset small,
html[data-theme="light"] .crypto-change,
html[data-theme="light"] .quote-footer,
html[data-theme="light"] .quote-footer button,
html[data-theme="light"] .global-market .quote-note,
html[data-theme="light"] .tether-prices small,
html[data-theme="light"] .tether-prices span,
html[data-theme="light"] .tether-meta,
html[data-theme="light"] .benefits-heading>p,
html[data-theme="light"] .benefit-copy p{color:var(--muted)}
html[data-theme="light"] .home-hero h1 .headline-first,
html[data-theme="light"] .hero-facts b,
html[data-theme="light"] .learn-link,
html[data-theme="light"] .step-art,
html[data-theme="light"] .learn-benefit>div{color:var(--text)}
html[data-theme="light"] .home-hero h1 span,
html[data-theme="light"] .hero-guide:hover,
html[data-theme="light"] .tether-meta a,
html[data-theme="light"] .market-orbit,
html[data-theme="light"] .benefits-eyebrow,
html[data-theme="light"] .step-card h3 span,
html[data-theme="light"] .faq-panel details[open] summary{color:var(--gold)}
html[data-theme="light"] .hero-facts,
html[data-theme="light"] .quote-labels,
html[data-theme="light"] .crypto-row,
html[data-theme="light"] .tether-meta,
html[data-theme="light"] .faq-panel details,
html[data-theme="light"] .learn-cover,
html[data-theme="light"] .faq-number{border-color:var(--line)}
html[data-theme="light"] .crypto-change.up,
html[data-theme="light"] .tether-symbol{color:var(--positive)}
html[data-theme="light"] .crypto-change.down{color:var(--negative)}
html[data-theme="light"] .quote-footer button:hover,
html[data-theme="light"] .faq-panel summary:hover,
html[data-theme="light"] .article-end{background:var(--soft)}
html[data-theme="light"] .learning-home,
html[data-theme="light"] .learning-page{--learn-surface:#f5f6f8;--learn-line:#dce1e7;--learn-muted:#596575}
html[data-theme="light"] .learn-switch button[aria-selected=true],
html[data-theme="light"] .learn-switch button[aria-pressed=true]{background:var(--hover);color:var(--text)}
html[data-theme="light"] .learn-switch button:hover{color:var(--text)}
html[data-theme="light"] .faq-number,
html[data-theme="light"] .article-body p{color:var(--muted)}
html[data-theme="light"] .faq-toggle:before,
html[data-theme="light"] .faq-toggle:after{background:var(--muted)}
html[data-theme="light"] .trust-orbit{border-color:#e3d6a4}
html[data-theme="light"] .trust-orbit:before{border-color:#e3d6a4}
html[data-theme="light"] .trust-window,
html[data-theme="light"] .trust-stamp{background:linear-gradient(135deg,#fff8df,#fff 65%,#f7f2df);box-shadow:0 20px 60px #71571a14;border-color:#b99936;color:#9a780d}
html[data-theme="light"] .trust-escrow{color:var(--gold)}
html[data-theme="light"] .tx-site-footer{background:var(--soft);color:var(--muted);border-color:var(--line)}
html[data-theme="light"] .tx-footer-logo,
html[data-theme="light"] .tx-footer-main nav h2,
html[data-theme="light"] .tx-footer-help b{color:var(--text)}
html[data-theme="light"] .tx-footer-brand p,
html[data-theme="light"] .tx-footer-main nav a,
html[data-theme="light"] .tx-footer-pair b,
html[data-theme="light"] .tx-footer-help svg,
html[data-theme="light"] .tx-footer-help p,
html[data-theme="light"] .tx-footer-bottom{color:var(--muted);border-color:var(--line)}
html[data-theme="light"] .tx-footer-help{background:#fff;border-color:var(--line)}
html[data-theme="light"] .tx-site-footer a:hover,
html[data-theme="light"] .tx-footer-help>a{color:var(--gold)}

/* Market and advertisement editor. */
html[data-theme="light"] .market-tabs,

/* Market and advertisement editor. */
html[data-theme="light"] .quick-sides span,

/* Market and advertisement editor. */
html[data-theme="light"] .trade-side>span,

/* Market and advertisement editor. */
html[data-theme="light"] .ad-filters{background:var(--soft);border-color:var(--line)}
html[data-theme="light"] .market-side,
html[data-theme="light"] .asset-label,
html[data-theme="light"] .market-page label,
html[data-theme="light"] .offer-history,
html[data-theme="light"] .offer-time,
html[data-theme="light"] .offer-payments,
html[data-theme="light"] .offer-volume dt,
html[data-theme="light"] .offer-volume dd,
html[data-theme="light"] .market-heading .eyebrow,
html[data-theme="light"] .market-page .quiet,
html[data-theme="light"] .merchant-page .quiet,
html[data-theme="light"] .merchant-form .field label,
html[data-theme="light"] .readiness-item h3,
html[data-theme="light"] .preview-note,
html[data-theme="light"] .preview-draft,
html[data-theme="light"] .merchant-form .field-hint{color:var(--muted)}
html[data-theme="light"] .market-side:hover,
html[data-theme="light"] .market-page .quiet:hover,
html[data-theme="light"] .merchant-page .quiet:hover{color:var(--text);background:var(--hover)}
html[data-theme="light"] #buyTab[aria-pressed=true]{background:var(--positive-bg);color:var(--positive)}
html[data-theme="light"] #sellTab[aria-pressed=true]{background:var(--negative-bg);color:var(--negative)}
html[data-theme="light"] .offer-card,
html[data-theme="light"] .offer-table-head,
html[data-theme="light"] .form-section,
html[data-theme="light"] .preview-draft,
html[data-theme="light"] .trade-side>span{border-color:var(--line)}
html[data-theme="light"] .offer-avatar,
html[data-theme="light"] .empty-coin{background:var(--hover);color:var(--muted)}
html[data-theme="light"] .quick-ad,
html[data-theme="light"] .trade-dialog,
html[data-theme="light"] .merchant-page .panel,
html[data-theme="light"] .merchant-readiness{background:#fff;border-color:var(--line)}
html[data-theme="light"] .ad-preview{background:linear-gradient(145deg,#f1faf6,#fff 60%)!important}
html[data-theme="light"] .trade-estimate,
html[data-theme="light"] .merchant-list th{background:var(--soft)}
html[data-theme="light"] .quick-sides input:checked+span,
html[data-theme="light"] .trade-side input:checked+span{background:var(--warning-bg);border-color:#b59636;color:var(--gold)}
html[data-theme="light"] .trade-side input:checked+span strong,
html[data-theme="light"] .offer-own,
html[data-theme="light"] .own-ad,
html[data-theme="light"] .field-heading a,
html[data-theme="light"] .merchant-guide a,
html[data-theme="light"] .health-message,
html[data-theme="light"] .readiness-item[data-state=warn] p,
html[data-theme="light"] .form-submit #adAvailability{color:var(--gold)}
html[data-theme="light"] .readiness-item[data-state=ok] p{color:var(--positive)}
html[data-theme="light"] .merchant-form .field-hint.invalid{color:var(--negative)}
html[data-theme="light"] .ad-filters button[aria-pressed=true]{background:var(--hover);color:var(--text)}
@media(max-width:800px){html[data-theme="light"] .offer-card{background:#fff}}

/* Wallet, account and order lists. */
html[data-theme="light"] .wallet-summary,

/* Wallet, account and order lists. */
html[data-theme="light"] .balance-card{background:radial-gradient(ellipse at 100% 0,#e8f5ef,transparent 70%),#f8faf9;border-color:var(--line)}
html[data-theme="light"] .wallet-operations,
html[data-theme="light"] .account-readiness,
html[data-theme="light"] .dashboard-card,
html[data-theme="light"] .orders-panel,
html[data-theme="light"] .orders-summary>div{background:#fff;border-color:var(--line)}
html[data-theme="light"] .address-copy,
html[data-theme="light"] .address-box,
html[data-theme="light"] .qr-frame,
html[data-theme="light"] .withdraw-review,
html[data-theme="light"] .dashboard-order,
html[data-theme="light"] .history-card{background:var(--soft);border-color:var(--line);color:var(--text)}
html[data-theme="light"] .network-pill,
html[data-theme="light"] .network-note b,
html[data-theme="light"] .wallet-page .address-box,
html[data-theme="light"] .dashboard-page .text-link,
html[data-theme="light"] .order-amount,
html[data-theme="light"] .ad-details dd{color:var(--text);border-color:var(--line)}
html[data-theme="light"] .wallet-page #addressState.success,
html[data-theme="light"] #withdrawalFeeSummary .net-amount,
html[data-theme="light"] .order-type,
html[data-theme="light"] .history-side,
html[data-theme="light"] .account-checks strong[data-state=ok]{color:var(--positive)}
html[data-theme="light"] .order-type.sell,
html[data-theme="light"] .history-side.sell{color:var(--negative)}
html[data-theme="light"] .account-checks strong[data-state=warn],
html[data-theme="light"] .dashboard-page .account-hint,
html[data-theme="light"] .admin-link,
html[data-theme="light"] .retry,
html[data-theme="light"] .orders-note a{color:var(--gold)}
html[data-theme="light"] .balance-figure span,
html[data-theme="light"] .order-counts span,
html[data-theme="light"] .dashboard-page .eyebrow,
html[data-theme="light"] .dashboard-page .field label,
html[data-theme="light"] .dashboard-page .quiet,
html[data-theme="light"] .order-amount small,
html[data-theme="light"] .order-bottom p,
html[data-theme="light"] .order-time,
html[data-theme="light"] .account-checks strong,
html[data-theme="light"] .dashboard-bank small,
html[data-theme="light"] .bank-add,
html[data-theme="light"] .dashboard-empty p,
html[data-theme="light"] .activity-intro p,
html[data-theme="light"] .activity-explainer,
html[data-theme="light"] .ad-filters button,
html[data-theme="light"] .ad-reference,
html[data-theme="light"] .ad-price>span,
html[data-theme="light"] .ad-price small,
html[data-theme="light"] .ad-details dt,
html[data-theme="light"] .account-shortcuts span,
html[data-theme="light"] .orders-heading .eyebrow,
html[data-theme="light"] .orders-summary span,
html[data-theme="light"] .orders-tabs button,
html[data-theme="light"] .history-status,
html[data-theme="light"] .history-card-top time,
html[data-theme="light"] .history-detail>div>span,
html[data-theme="light"] .history-detail dt,
html[data-theme="light"] .history-ref,
html[data-theme="light"] .history-empty p,
html[data-theme="light"] .orders-note,
html[data-theme="light"] .empty-order{color:var(--muted)}
html[data-theme="light"] .order-counts>div,
html[data-theme="light"] .dashboard-page .summary-hint,
html[data-theme="light"] .dashboard-page .quiet,
html[data-theme="light"] .order-bottom,
html[data-theme="light"] .account-checks li,
html[data-theme="light"] .admin-link,
html[data-theme="light"] .dashboard-bank,
html[data-theme="light"] .bank-add,
html[data-theme="light"] .activity-tabs,
html[data-theme="light"] .ad-filters button,
html[data-theme="light"] .account-shortcuts>a,
html[data-theme="light"] .orders-tabs,
html[data-theme="light"] .empty-order{border-color:var(--line)}
html[data-theme="light"] .account-shortcuts>a:hover{background:var(--soft);border-color:#aeb9c4}
html[data-theme="light"] .activity-tabs button{color:var(--muted)}
html[data-theme="light"] .activity-tabs button[aria-selected=true]{color:var(--text);border-bottom-color:var(--brand)}
html[data-theme="light"] .activity-tabs button span{background:var(--hover);color:var(--text)}
html[data-theme="light"] .orders-tabs button[aria-pressed=true]{color:var(--gold);border-color:var(--brand)}
html[data-theme="light"] .dashboard-page #sessionMessage{background:var(--negative-bg);color:var(--negative);border-color:#e9b7c0}

/* Trade room and payment information. */
html[data-theme="light"] .room-sync small,

/* Trade room and payment information. */
html[data-theme="light"] .trade-steps li,

/* Trade room and payment information. */
html[data-theme="light"] .summary-title p,

/* Trade room and payment information. */
html[data-theme="light"] .room-amounts span,

/* Trade room and payment information. */
html[data-theme="light"] .room-meta dt,

/* Trade room and payment information. */
html[data-theme="light"] .bank-row small,

/* Trade room and payment information. */
html[data-theme="light"] .room-help p,

/* Trade room and payment information. */
html[data-theme="light"] .room-help label,

/* Trade room and payment information. */
html[data-theme="light"] .chat-safety,

/* Trade room and payment information. */
html[data-theme="light"] .chat-message small,

/* Trade room and payment information. */
html[data-theme="light"] .chat-message time,

/* Trade room and payment information. */
html[data-theme="light"] .payment-source-box details summary,

/* Trade room and payment information. */
html[data-theme="light"] .payment-source-box small,

/* Trade room and payment information. */
html[data-theme="light"] .room-tabs button{color:var(--muted)}
html[data-theme="light"] .trade-steps li,
html[data-theme="light"] .room-amounts,
html[data-theme="light"] .bank-row,
html[data-theme="light"] .room-chat form,
html[data-theme="light"] .room-tabs{border-color:var(--line)}
html[data-theme="light"] .room-amounts strong{color:var(--text)}
html[data-theme="light"] .trade-steps li.current,
html[data-theme="light"] .room-timer b,
html[data-theme="light"] .room-timer span,
html[data-theme="light"] .chat-message .flag-note,
html[data-theme="light"] .room-chat #chatStatus,
html[data-theme="light"] #actionNotice{color:var(--gold)}
html[data-theme="light"] .trade-steps li.current{border-color:var(--brand)}
html[data-theme="light"] .trade-steps li.done{color:var(--positive);border-color:var(--positive)}
html[data-theme="light"] .room-timer,
html[data-theme="light"] .chat-message.mine,
html[data-theme="light"] .room-tabs button.selected{background:var(--warning-bg);border-color:var(--warning-line);color:var(--gold)}
html[data-theme="light"] .bank-destination,
html[data-theme="light"] .chat-safety,
html[data-theme="light"] .room-tabs,
html[data-theme="light"] .room-sync .btn.quiet{background:var(--soft);border-color:var(--line);color:var(--text)}
html[data-theme="light"] .chat-message{background:var(--hover);color:var(--text)}

/* Help menu and help center. */
html[data-theme="light"] .p2p-help-menu,

/* Help menu and help center. */
html[data-theme="light"] .help-masthead p,

/* Help menu and help center. */
html[data-theme="light"] .help-topic span,

/* Help menu and help center. */
html[data-theme="light"] .help-section>p,

/* Help menu and help center. */
html[data-theme="light"] .help-box p,

/* Help menu and help center. */
html[data-theme="light"] .help-box li,

/* Help menu and help center. */
html[data-theme="light"] .help-faq-search label,

/* Help menu and help center. */
html[data-theme="light"] .help-faq-count,

/* Help menu and help center. */
html[data-theme="light"] .help-faq-group details p,

/* Help menu and help center. */
html[data-theme="light"] .help-faq-empty{color:var(--muted)}
html[data-theme="light"] .p2p-help-menu>summary,
html[data-theme="light"] .p2p-help-menu[open]>summary,
html[data-theme="light"] .help-topic svg,
html[data-theme="light"] .p2p-help-popover .p2p-help-all{color:var(--gold)}
html[data-theme="light"] .p2p-help-menu[open]>summary{background:var(--warning-bg)}
html[data-theme="light"] .p2p-help-popover{background:#fff;border-color:var(--line);box-shadow:0 16px 45px #23304426}
html[data-theme="light"] .p2p-help-popover>a{color:var(--text)}
html[data-theme="light"] .p2p-help-popover>a:hover{background:var(--soft);color:var(--gold)}
html[data-theme="light"] .p2p-help-popover small,
html[data-theme="light"] .p2p-help-popover>a>svg{color:var(--muted)}
html[data-theme="light"] .p2p-help-popover .p2p-help-all,
html[data-theme="light"] .help-masthead,
html[data-theme="light"] .help-section,
html[data-theme="light"] .help-faq-group details,
html[data-theme="light"] .help-faq-empty{border-color:var(--line)}
html[data-theme="light"] .help-topic,
html[data-theme="light"] .help-box{background:#fff;color:var(--text);border-color:var(--line)}
html[data-theme="light"] .help-topic:hover{background:var(--soft);border-color:#ae8d30}
html[data-theme="light"] .help-faq-group summary{color:var(--text)}
html[data-theme="light"] .help-faq-group summary:after{color:var(--muted)}
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .offer-time b,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .offer-quote small,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .offer-volume dd small,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .bank-pill,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .market-empty p,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .market-footnote,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .offer-columns,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .filter-summary,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .mobile-label,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .quick-intro,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .quick-ad .field small,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .quick-more summary,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .quick-total span,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .quick-total small,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .quick-manage,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .quick-guest p,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .trade-heading .eyebrow,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .trade-merchant>span+span,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .trade-dialog .field small,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .trade-estimate>span,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .trade-estimate small,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .trade-note,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .trade-orders,
/* Supporting text, dialogs, and identity forms use the same readable palette. */
html[data-theme="light"] .market-guide{color:var(--muted)}
html[data-theme="light"] .market-guide summary{color:var(--text)}
html[data-theme="light"] .quick-heading .eyebrow,
html[data-theme="light"] .quick-status,
html[data-theme="light"] .market-guide b,
html[data-theme="light"] .market-guide a{color:var(--gold)}
html[data-theme="light"] .offer-columns,
html[data-theme="light"] .completion-rate,
html[data-theme="light"] .offer-payment,
html[data-theme="light"] .quick-total,
html[data-theme="light"] .market-guide,
html[data-theme="light"] .market-filters,
html[data-theme="light"] .offers-heading{border-color:var(--line)}
html[data-theme="light"] .offer-card:hover{background:#f9fafb}
html[data-theme="light"] .market-notice[data-kind=error]{background:var(--negative-bg);color:var(--negative);border-color:#e9b7c0}
html[data-theme="light"] .market-notice[data-kind=success]{background:var(--positive-bg);color:var(--positive);border-color:#b0dcca}
html[data-theme="light"] .fields input,
html[data-theme="light"] .upload input{color:var(--text)}
html[data-theme="light"] .bank-card,
html[data-theme="light"] .step-hint,
html[data-theme="light"] .btn.secondary,
html[data-theme="light"] .logout,
html[data-theme="light"] .state{background:var(--soft);color:var(--text);border-color:var(--line)}
html[data-theme="light"] .saved,
html[data-theme="light"] .result.ok,
html[data-theme="light"] .state.ok{background:var(--positive-bg);color:var(--positive);border-color:#b0dcca}
html[data-theme="light"] .result.err,
html[data-theme="light"] .state.fail{background:var(--negative-bg);color:var(--negative);border-color:#e9b7c0}
html[data-theme="light"] .warning{background:var(--warning-bg);color:var(--gold);border-color:var(--warning-line)}
html[data-theme="light"] .bank-status{color:var(--positive)}
html[data-theme="light"] .audit td,
html[data-theme="light"] .audit th{color:var(--muted)}
html[data-theme="light"] .tab.active{color:var(--text)}
html[data-theme="light"] .hero small[style],
html[data-theme="light"] .learn-meta span+span:before{color:var(--gold)!important}
html[data-theme="light"] #quoteState{color:var(--gold)}
html[data-theme="light"] .network-note>span{color:var(--gold)}
/* Keep the help menu and actions within narrow merchant screens. */
@media(max-width:760px){.merchant-heading .heading-actions{flex-wrap:wrap}}
/* A darker focus ring remains visible against white surfaces. */
html[data-theme="light"] :focus-visible{outline-color:#826200!important}

/* help-center.css */
.hc-page{padding:36px 32px 64px;max-width:1540px;margin:auto}
.hc-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hc-layout{display:grid;grid-template-columns:220px minmax(0,1fr) 270px;gap:36px;direction:ltr;align-items:start}
.hc-sidebar,.hc-center,.hc-related{direction:rtl;min-width:0}
.hc-sidebar{position:sticky;top:96px}.hc-sidebar-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 22px;font-size:.86rem;color:var(--muted)}
.hc-side-links{display:flex;flex-direction:column;gap:6px}.hc-side-links a{display:flex;gap:14px;align-items:center;min-height:58px;padding:12px 16px;border-radius:12px;color:var(--muted);line-height:1.7;text-decoration:none}
.hc-side-links a:hover{background:var(--panel)}.hc-side-links a[aria-current]{background:var(--panel2);color:var(--text)}.hc-side-links svg{width:23px;height:23px;flex:none}
.hc-side-divider{height:1px;background:var(--line);margin:18px 12px}.hc-side-links .hc-policy-link{color:var(--text)}
.hc-mobile-toggle{display:none}.hc-center>h1{font-size:2rem;line-height:1.7;margin:0 0 26px;letter-spacing:-.02em}
.hc-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;align-items:center;font-size:.8rem;line-height:1.9;color:var(--muted);margin:0 0 24px}.hc-breadcrumb a{color:var(--muted);text-decoration:none}.hc-breadcrumb a:hover{color:var(--text)}.hc-breadcrumb span:last-child{color:var(--text)}
.hc-panel{border:1px solid var(--line);border-radius:16px;overflow:hidden}.hc-panel-head{padding:24px 26px 17px}.hc-panel-head h2{margin:0;font-size:1.2rem;line-height:1.9}.hc-panel-head p{margin:5px 0 0;font-size:.85rem;color:var(--muted);line-height:1.9}
.hc-tabs-scroll{overflow:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.hc-tabs{display:flex;white-space:nowrap;gap:28px;width:max-content;min-width:100%;padding:0 26px;border-bottom:1px solid var(--line)}
.hc-tabs a{position:relative;display:block;padding:13px 0 15px;color:var(--muted);text-decoration:none;font-size:.87rem;line-height:1.8}.hc-tabs a:hover,.hc-tabs a[aria-current]{color:var(--text)}.hc-tabs a[aria-current]::after{content:"";position:absolute;bottom:0;right:calc(50% - 12px);height:3px;width:24px;background:#f0b90b;border-radius:2px}
.hc-list{list-style:none;padding:0 26px;margin:0}.hc-list li{border-bottom:1px solid var(--line);padding:23px 0;line-height:1.9}.hc-list li:last-child{border-bottom:0}.hc-list a{display:block;color:var(--text);text-decoration:none;font-size:1rem}.hc-list a:hover{color:var(--gold,#f0b90b)}.hc-list p{color:var(--muted);font-size:.83rem;line-height:1.9;margin:8px 0 10px}.hc-row-meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:.75rem;color:var(--muted)}.hc-status{border:1px solid var(--line);border-radius:5px;padding:1px 7px}.hc-status-unavailable{color:var(--muted)}
.hc-pagination{display:flex;align-items:center;justify-content:center;gap:6px;padding:17px 20px;border-top:1px solid var(--line);flex-wrap:wrap}.hc-pagination button{font:inherit;cursor:pointer;border:0;border-radius:6px;min-width:38px;height:38px;background:transparent;color:var(--muted)}.hc-pagination button:hover{background:var(--panel)}.hc-pagination button[aria-current]{background:var(--panel2);color:var(--text)}.hc-pagination button:disabled{opacity:.45;cursor:default}
.hc-empty{padding:32px 26px;line-height:2}.hc-empty h3{font-size:1.05rem;margin:0 0 12px}.hc-empty p{color:var(--muted);font-size:.9rem}
.hc-related{position:sticky;top:96px}.hc-search{display:flex;position:relative;align-items:center;gap:8px;border:1px solid var(--line);border-radius:9px;padding:0 12px;margin-bottom:28px;min-height:46px}.hc-search svg{width:20px;height:20px;color:var(--muted);flex:none}.hc-search input{font:inherit;font-size:.85rem;color:var(--text);min-width:0;width:100%;border:0;outline:0;background:transparent;min-height:44px}.hc-search:focus-within{outline:2px solid #b18b13;outline-offset:2px}.hc-search button{border:0;background:transparent;color:var(--muted);cursor:pointer;padding:8px;font:inherit;font-size:.8rem}.hc-related-panel{border:1px solid var(--line);border-radius:16px;padding:24px 20px}.hc-related-panel h2{font-size:1rem;margin:0 0 22px}.hc-related-panel ul{list-style:none;margin:0;padding:0}.hc-related-panel li{margin:0 0 22px;line-height:1.95;font-size:.86rem}.hc-related-panel li:last-child{margin-bottom:0}.hc-related-panel a{color:var(--text);text-decoration:none}.hc-related-panel a:hover{text-decoration:underline;text-underline-offset:4px}.hc-article-toc{margin-top:26px}
.hc-article-head{padding:26px 30px;border-bottom:1px solid var(--line)}.hc-article-head h1{font-size:1.75rem;line-height:1.85;margin:10px 0 14px}.hc-article-head>p{font-size:1rem;line-height:2;color:var(--muted);margin:0 0 20px}.hc-article-label{font-size:.8rem;color:var(--muted)}.hc-article-body{padding:10px 30px 28px}.hc-article-body section{scroll-margin-top:105px;margin:24px 0 34px}.hc-article-body h2{font-size:1.18rem;line-height:1.9;margin:0 0 14px}.hc-article-body h3{font-size:1.07rem;line-height:1.9}.hc-article-body p,.hc-article-body li{font-size:.96rem;line-height:2.3;overflow-wrap:anywhere}.hc-article-body p{margin:10px 0 18px}.hc-article-body ol{padding-inline-start:24px;margin:12px 0}.hc-article-body li{margin:0 0 15px;padding-inline-start:6px}.hc-article-body a{color:var(--text);text-decoration:underline;text-decoration-color:#f0b90b;text-underline-offset:4px}
.hc-unavailable-note{padding:14px 18px;margin-top:20px;border:1px solid var(--line);border-inline-start:3px solid #f0b90b;border-radius:8px;font-size:.9rem;line-height:1.9}.hc-article-end{display:flex;flex-wrap:wrap;gap:14px;padding:24px 30px;border-top:1px solid var(--line)}.hc-article-end a{font-size:.86rem;color:var(--text);text-decoration:none;border:1px solid var(--line);border-radius:7px;padding:9px 12px;line-height:1.8}
.hc-policy-note{border-inline-start:3px solid #f0b90b;padding:15px 18px;background:var(--panel);border-radius:8px;margin:18px 0;font-size:.9rem;line-height:2}.hc-policy-toc{display:flex;flex-wrap:wrap;gap:12px}.hc-policy-toc a{font-size:.83rem}
.hc-policy-chapter{border-bottom:1px solid var(--line);padding-bottom:20px}.hc-policy-chapter .policy-chapter-heading{display:flex;align-items:baseline;gap:12px}.hc-policy-chapter .policy-chapter-heading>span{color:var(--gold,#f0b90b);font-weight:700}.hc-policy-chapter .policy-top{font-size:.82rem}
.hc-bottom-note{margin:22px 4px 0;color:var(--muted);font-size:.8rem;line-height:2}.hc-bottom-note a{color:var(--text);text-decoration:underline;text-underline-offset:3px}
.hc-layout [hidden]{display:none!important}.hc-page :focus-visible{outline:2px solid #b18b13;outline-offset:4px}.hc-back-top{font-size:.85rem;display:inline-block;margin-top:20px}
@media(min-width:1500px){.hc-layout{grid-template-columns:235px minmax(0,1fr) 285px;gap:42px}}
@media(max-width:1180px){.hc-page{padding-inline:24px}.hc-layout{grid-template-columns:185px minmax(0,1fr) 230px;gap:24px}.hc-side-links a{padding-inline:10px;gap:10px;font-size:.9rem}.hc-article-head,.hc-article-body{padding-inline:24px}}
@media(max-width:1000px){.hc-layout{grid-template-columns:180px minmax(0,1fr);gap:24px}.hc-related{grid-column:2;position:static}.hc-related-panel{margin-top:8px}.hc-sidebar{grid-row:1 / span 2}.hc-related ul{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hc-related li{margin:0}.hc-search{margin-bottom:20px}.hc-article-toc{display:none}}
@media(max-width:700px){.hc-page{padding:18px 16px 38px}.hc-layout{display:flex;flex-direction:column;gap:20px}.hc-sidebar,.hc-center,.hc-related{width:100%;position:static}.hc-mobile-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;font:inherit;text-align:right;min-height:48px;padding:10px 14px;border:1px solid var(--line);border-radius:9px;color:var(--text);background:var(--panel)}.hc-sidebar-title{display:none}.hc-side-links{margin-top:12px;border:1px solid var(--line);border-radius:10px;padding:10px}.hc-side-links a{min-height:48px}.hc-side-links[data-mobile-closed]{display:none}.hc-center>h1{font-size:1.55rem;margin:0 0 16px}.hc-breadcrumb{font-size:.74rem;margin-bottom:16px;gap:7px}.hc-panel{border-radius:12px}.hc-panel-head{padding:18px 18px 12px}.hc-tabs{padding-inline:18px;gap:23px}.hc-tabs a{font-size:.82rem;padding-block:11px 14px}.hc-list{padding-inline:18px}.hc-list li{padding:19px 0}.hc-list a{font-size:.94rem}.hc-list p{font-size:.8rem}.hc-pagination{padding-inline:14px}.hc-article-head{padding:20px 20px 18px}.hc-article-head h1{font-size:1.4rem;line-height:1.9}.hc-article-head>p{font-size:.92rem}.hc-article-body{padding:0 20px 20px}.hc-article-body h2{font-size:1.08rem}.hc-article-body p,.hc-article-body li{font-size:.93rem;line-height:2.25}.hc-article-end{padding:20px;gap:10px}.hc-related ul{display:block}.hc-related li{margin-bottom:18px}.hc-related-panel{padding:20px}.hc-article-toc{display:block}.hc-search{margin-bottom:18px}.hc-bottom-note{font-size:.77rem}.hc-policy-toc{flex-direction:column;gap:8px}}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

/* Initial DOM order puts search before article content on mobile. */
.hc-layout>.hc-sidebar{grid-column:1;grid-row:1}
.hc-layout>.hc-center{grid-column:2;grid-row:1}
.hc-layout>.hc-search{grid-column:3;grid-row:1;direction:rtl;min-width:0;position:sticky;top:96px;margin:0}
.hc-layout>.hc-related{grid-column:3;grid-row:1;margin-top:74px;top:170px}
.hc-tabs-hint{display:none}
@media(max-width:1000px){.hc-layout>.hc-sidebar{grid-row:1 / span 3}.hc-layout>.hc-search{grid-column:2;grid-row:1;position:static}.hc-layout>.hc-center{grid-column:2;grid-row:2}.hc-layout>.hc-related{grid-column:2;grid-row:3;margin-top:0;position:static}}
@media(max-width:700px){.hc-layout>.hc-search{position:static;width:100%;margin:0}.hc-layout>.hc-related{margin-top:0}.hc-tabs-hint{display:block;margin:0;padding:0 18px 8px;color:var(--muted);font-size:.75rem;line-height:1.9}}

/* layout-stability.css */
/* Keep initial geometry identical before and after client enhancement. */
body > header.top:empty{min-block-size:69px}
.market-results{min-block-size:300px}
.market-results .market-empty{min-block-size:300px}
.market-results .market-empty p{min-block-size:44px}
.market-results #emptyAction[hidden]{display:inline-flex!important;visibility:hidden;pointer-events:none}
@media(max-width:760px){.market-results{min-block-size:420px}}
