/* Universal Dark Scrollbars */

html, body {

  scrollbar-width: thin;

  scrollbar-color: #243c31 #0b1411;

}

* {

  scrollbar-width: thin;

  scrollbar-color: #243c31 transparent;

}

::-webkit-scrollbar {

  width: 7px;

  height: 7px;

}

::-webkit-scrollbar-track {

  background: #0b1411;

}

::-webkit-scrollbar-thumb {

  background: #243c31;

  border-radius: 8px;

  border: 1px solid #14221d;

}

::-webkit-scrollbar-thumb:hover {

  background: #345747;

}

::-webkit-scrollbar-corner {

  background: #0b1411;

}



.fx-hero{background:#f8f3e8;border-bottom:1px solid #e9e1d2;padding:56px 0}.fx-hero-in{display:flex;justify-content:space-between;align-items:center;gap:30px}.fx-hero span{color:#c19a43;font-weight:700}.fx-hero h1{font-size:36px;color:#073b2a;margin:5px 0}.fx-hero p{margin:0;color:#6e6a5d}.fx-actions{display:flex;gap:10px;flex-wrap:wrap}.fx-btn{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:12px;background:#0f6b4c;color:#fff!important;padding:11px 20px;font:700 14px inherit;cursor:pointer}.fx-btn.ghost{background:#fff;color:#0f6b4c!important;border:1px solid #d9e3dc}.fx-btn.wide{width:100%;margin-top:8px}.fx-main{padding-top:42px;padding-bottom:60px}.fx-filter{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;background:#fff;border:1px solid #e9e1d2;padding:14px;border-radius:16px;box-shadow:0 8px 30px rgba(7,59,42,.05)}.fx-filter input,.fx-filter select,.fx-form-card input,.fx-form-card select,.fx-form-card textarea{border:1px solid #e1e5e2;border-radius:10px;padding:11px;font:400 14px inherit;width:100%;background:#fff}.fx-head{display:flex;justify-content:space-between;align-items:center;margin:36px 0 18px}.fx-head h2{margin:0}.fx-head b{color:#6e6a5d;font-size:13px}.fx-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.fx-card{border:1px solid #e9e1d2;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 4px 18px rgba(7,59,42,.04);transition:.2s}.fx-card:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(7,59,42,.09)}.fx-photo{height:190px;position:relative;background:#f5f5f3}.fx-photo img{width:100%;height:100%;object-fit:cover}.fx-badge{display:inline-block;border-radius:8px;padding:5px 10px;font-size:12px;font-weight:700;background:#0f6b4c;color:#fff}.fx-photo .fx-badge{position:absolute;top:10px;right:10px}.fx-badge.buy{background:#c19a43}.fx-card-body{padding:15px}.fx-card h3{font-size:16px;margin:0 0 8px}.fx-meta,.fx-card small{color:#777;font-size:12px}.fx-price{color:#073b2a;font-size:16px;font-weight:800;margin:12px 0 4px}.fx-empty{text-align:center;padding:70px 20px;border:1px dashed #d8dfda;border-radius:16px;background:#fff}.fx-auth,.fx-form-page{padding:60px 20px}.fx-form-card{max-width:460px;margin:auto;background:#fff;border:1px solid #e9e1d2;border-radius:20px;padding:30px;box-shadow:0 14px 40px rgba(7,59,42,.07)}.fx-form-card.large{max-width:780px}.fx-form-card h1{margin:0 0 6px;color:#073b2a}.fx-form-card>p{color:#777;margin-bottom:25px}.fx-form-card label{display:block;margin:0 0 16px;font-size:13px;font-weight:700}.fx-form-card label input,.fx-form-card label select,.fx-form-card label textarea{margin-top:6px}.fx-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.fx-switch{display:block;text-align:center;color:#0f6b4c;margin-top:18px;font-size:13px}.fx-form-title,.fx-account-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.fx-form-title h1,.fx-account-head h1{margin:0}.fx-upload{background:#faf8f2;border:1px dashed #cdbf9c;padding:16px;border-radius:12px}.fx-upload small{display:block;color:#777;margin-top:5px}.fx-detail{display:grid;grid-template-columns:1.15fr 1fr;gap:44px;padding-top:48px;padding-bottom:60px}.fx-detail-photo{border-radius:20px;overflow:hidden;background:#f4f4f1;max-height:590px}.fx-detail-photo img{width:100%;height:100%;object-fit:contain}.fx-detail h1{font-size:30px;margin:14px 0}.fx-detail-price{font-size:24px;font-weight:800;color:#0f6b4c}.fx-detail dl{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e9e1d2;border-radius:14px;margin:22px 0;overflow:hidden}.fx-detail dl div{padding:12px 15px;border-bottom:1px solid #eee}.fx-detail dt{font-size:12px;color:#777}.fx-detail dd{margin:3px 0 0;font-weight:700}.fx-desc{white-space:pre-line}.fx-owner{padding:13px;background:#f8f3e8;border-radius:10px;margin:18px 0}.fx-warning{display:block;color:#8b5b26;line-height:1.8;margin-top:14px}.fx-account-head>div:last-child{display:flex;gap:12px;align-items:center}.fx-account-head form{margin:0}.fx-link-btn,.fx-delete{border:0;background:none;color:#b33;font:600 13px inherit;cursor:pointer}.fx-delete{width:100%;border-top:1px solid #eee;padding:10px}.fx-card.mine{transform:none}.flash {

  max-width: 1180px;

  margin: 15px auto !important;

  border-radius: 10px !important;

  padding: 13px 20px !important;

  font-weight: 600 !important;

  font-size: 0.88rem !important;

  line-height: 1.6 !important;

  box-sizing: border-box !important;

}

.flash.success {

  background: rgba(17, 150, 108, 0.16) !important;

  border: 1px solid #1ba577 !important;

  color: #7fe0ba !important;

}

.flash.error {

  background: rgba(194, 69, 62, 0.16) !important;

  border: 1px solid #df5851 !important;

  color: #ff9d96 !important;

}

@media(max-width:900px){.fx-grid{grid-template-columns:repeat(2,1fr)}.fx-filter{grid-template-columns:1fr 1fr}.fx-filter input{grid-column:1/-1}.fx-detail{grid-template-columns:1fr}.fx-detail-photo{height:420px}}

@media(max-width:560px){.fx-hero{padding:34px 0}.fx-hero-in{display:block}.fx-hero h1{font-size:27px}.fx-actions{margin-top:20px}.fx-actions .fx-btn{flex:1}.fx-main{padding-top:25px}.fx-filter{grid-template-columns:1fr}.fx-filter input{grid-column:auto}.fx-grid{gap:10px}.fx-photo{height:140px}.fx-card-body{padding:11px}.fx-card h3{font-size:14px}.fx-row{grid-template-columns:1fr;gap:0}.fx-form-card{padding:20px}.fx-detail{padding-top:24px;gap:22px}.fx-detail-photo{height:300px}.fx-detail h1{font-size:23px}.fx-detail dl{grid-template-columns:1fr 1fr}.fx-account-head{align-items:flex-start;gap:15px}.fx-account-head>div:last-child{align-items:flex-end;flex-direction:column}.fx-account-head h1{font-size:24px}}



/* Premium exchange UI */

.fx-hero,.fx-hero *,.fx-main,.fx-main *,.fx-auth,.fx-auth *,.fx-form-page,.fx-form-page *,.fx-detail,.fx-detail *{font-family:"Vazirmatn",Tahoma,sans-serif}

.fx-btn{font-family:"Vazirmatn",Tahoma,sans-serif;font-size:14px;font-weight:700;min-height:46px;box-shadow:0 8px 20px rgba(15,107,76,.14);transition:.2s}.fx-btn:hover{transform:translateY(-2px);background:#073b2a}.fx-btn.ghost{box-shadow:none}.fx-btn.gold{background:#c49a3a;color:#092f23!important;box-shadow:0 9px 24px rgba(196,154,58,.2)}

.fx-hero{position:relative;overflow:hidden;background:linear-gradient(125deg,#062f23 0%,#0c5d43 60%,#0f6b4c 100%);color:#fff;padding:78px 0 70px;border:0}.fx-hero:after{content:"";position:absolute;inset:0;background-image:url('/static/img/pattern-islamic.svg');background-size:92px;opacity:.07;pointer-events:none}.fx-hero-in{position:relative;z-index:2;display:grid;grid-template-columns:1.15fr .85fr}.fx-hero-copy{max-width:650px}.fx-kicker{display:inline-flex!important;color:#e1c387!important;background:rgba(255,255,255,.08);border:1px solid rgba(225,195,135,.25);border-radius:99px;padding:6px 14px;font-size:13px}.fx-hero h1{color:#fff;font-size:46px;line-height:1.45;margin:15px 0 12px}.fx-hero h1 em{font-style:normal;color:#e1c387}.fx-hero p{color:rgba(255,255,255,.75);font-size:16px;max-width:600px;line-height:2}.fx-hero .fx-actions{margin-top:27px}.fx-hero .fx-btn.ghost{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.25);color:#fff!important}.fx-trust{display:flex;gap:22px;margin-top:27px;color:rgba(255,255,255,.68);font-size:12px}.fx-hero-art{position:relative;min-height:270px;display:grid;place-items:center}.fx-ticket{width:330px;height:190px;padding:30px;border-radius:24px;background:linear-gradient(145deg,#fffdf8,#eee5d2);color:#073b2a;box-shadow:0 28px 60px rgba(0,0,0,.25);transform:rotate(-5deg);position:relative;overflow:hidden}.fx-ticket:before{content:"";position:absolute;width:170px;height:170px;border:35px solid rgba(196,154,58,.12);border-radius:50%;left:-50px;bottom:-80px}.fx-ticket-mark{color:#b88928;font-size:13px;font-weight:800;margin-bottom:34px}.fx-ticket b{display:block;font-size:23px}.fx-ticket span{color:#777!important;font-size:12px}.fx-ticket-code{height:26px;width:110px;position:absolute;left:25px;top:25px;background:repeating-linear-gradient(90deg,#073b2a 0 2px,transparent 2px 5px);opacity:.55}.fx-mini-card{position:absolute;left:5px;bottom:8px;background:#fff;border-radius:15px;padding:12px 18px;color:#073b2a;box-shadow:0 12px 30px rgba(0,0,0,.18)}.fx-mini-card b{display:block;font-size:21px}.fx-mini-card span{color:#777!important;font-size:11px}.fx-orb{position:absolute;border-radius:50%;filter:blur(2px);background:#c49a3a;opacity:.12}.fx-orb.one{width:320px;height:320px;left:-80px;top:-140px}.fx-orb.two{width:220px;height:220px;right:32%;bottom:-160px}

.fx-main{background:#fffdf8}.fx-filter{margin-top:-68px;position:relative;z-index:5;padding:18px;border-radius:19px;box-shadow:0 18px 50px rgba(7,59,42,.12)}.fx-filter input,.fx-filter select,.fx-form-card input,.fx-form-card select,.fx-form-card textarea{font-family:"Vazirmatn",Tahoma,sans-serif!important;font-size:14px!important;font-weight:400!important;min-height:47px;color:#1f1f1f}.fx-filter input:focus,.fx-filter select:focus,.fx-form-card input:focus,.fx-form-card select:focus,.fx-form-card textarea:focus{outline:none;border-color:#0f6b4c;box-shadow:0 0 0 3px rgba(15,107,76,.08)}.fx-head>div>span{font-size:12px;color:#c19a43;font-weight:700}.fx-head h2{font-size:25px;color:#073b2a}.fx-head>a{color:#0f6b4c;font-size:13px;font-weight:700}.fx-card{border-radius:20px}.fx-photo{height:210px}.fx-card h3{font-weight:700;line-height:1.7}.fx-card-body{padding:17px}.fx-badge{font-family:"Vazirmatn",Tahoma,sans-serif}.fx-safety{margin-top:45px;display:flex;align-items:center;gap:18px;border:1px solid #e5dcc9;background:#faf6ed;border-radius:18px;padding:19px 24px}.fx-safety-icon{width:50px;height:50px;border-radius:14px;background:#0f6b4c;color:#fff;display:grid;place-items:center;font-size:27px}.fx-safety b{color:#073b2a}.fx-safety p{margin:2px 0 0;color:#6e6a5d;font-size:13px}

.fx-dashboard-hero{background:linear-gradient(125deg,#073b2a,#0f6b4c);padding:48px 0;color:#fff;position:relative;overflow:hidden}.fx-dashboard-hero:before{content:"";position:absolute;inset:0;background:url('/static/img/pattern-islamic.svg');opacity:.06}.fx-dashboard-hero .fx-account-head{position:relative;margin:0}.fx-welcome span{color:#e1c387;font-size:13px}.fx-welcome h1{color:#fff;margin:5px 0;font-size:31px}.fx-welcome p{margin:0;color:rgba(255,255,255,.7)}.fx-account-actions{display:flex!important;flex-direction:row!important;align-items:center!important}.fx-account-actions form{margin:0}.fx-dashboard{padding-top:32px}.fx-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:42px}.fx-stat-row>div{background:#fff;border:1px solid #e9e1d2;border-radius:17px;padding:18px;display:flex;gap:14px;align-items:center;box-shadow:0 8px 25px rgba(7,59,42,.04)}.fx-stat-row i{font-style:normal;width:45px;height:45px;border-radius:13px;background:#eef6f2;color:#0f6b4c;display:grid;place-items:center;font-size:19px}.fx-stat-row span{font-size:12px;color:#777}.fx-stat-row b{display:block;color:#073b2a;font-size:18px;margin-top:2px}.fx-empty-rich{padding:55px}.fx-empty-icon{width:64px;height:64px;border-radius:20px;background:#eef6f2;color:#0f6b4c;display:grid;place-items:center;font-size:30px;margin:0 auto 16px}.fx-empty-rich h3{margin:0 0 7px;color:#073b2a}.fx-empty-rich p{color:#777}.fx-form-card{box-shadow:0 22px 60px rgba(7,59,42,.1);border-radius:24px}.fx-auth,.fx-form-page{background:linear-gradient(180deg,#faf6ed,#fff);min-height:600px}.fx-detail article{padding:8px}.fx-detail-photo{box-shadow:0 20px 50px rgba(7,59,42,.1)}

@media(max-width:900px){.fx-hero-in{grid-template-columns:1fr}.fx-hero-art{display:none}.fx-filter{margin-top:-42px}.fx-grid{grid-template-columns:repeat(2,1fr)}}

@media(max-width:560px){.fx-hero{padding:45px 0 62px}.fx-hero h1{font-size:32px}.fx-hero p{font-size:14px}.fx-trust{gap:9px;flex-wrap:wrap}.fx-filter{margin-top:-48px;grid-template-columns:1fr}.fx-photo{height:155px}.fx-safety{align-items:flex-start;padding:15px}.fx-dashboard-hero{padding:34px 0}.fx-dashboard-hero .fx-account-head{display:block}.fx-welcome h1{font-size:24px}.fx-account-actions{margin-top:20px;flex-direction:row!important;align-items:center!important}.fx-account-actions .fx-btn{font-size:12px;padding:9px 12px;min-height:40px}.fx-stat-row{grid-template-columns:1fr;gap:9px}.fx-stat-row>div{padding:12px}.fx-dashboard{padding-top:20px}.fx-empty-rich{padding:38px 15px}.fx-head h2{font-size:21px}}

.fx-portal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.fx-portal-grid>a{display:flex;align-items:center;gap:12px;background:linear-gradient(145deg,#fff,#fbfaf6);border:1px solid #e9e1d2;border-radius:18px;padding:17px;box-shadow:0 8px 28px rgba(7,59,42,.055);transition:.2s}.fx-portal-grid>a:hover{transform:translateY(-3px);border-color:#c9b278;box-shadow:0 14px 34px rgba(7,59,42,.1)}.fx-portal-grid i{font-style:normal;width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#eef6f2;color:#0f6b4c;font-size:20px;flex:none}.fx-portal-grid div{min-width:0;flex:1}.fx-portal-grid b{display:block;color:#073b2a;font-size:14px;margin-bottom:4px}.fx-portal-grid span{display:block;color:#777;font-size:11px;line-height:1.7}.fx-portal-grid em{font-style:normal;color:#c19a43;font-size:24px}.fx-portal-grid+.fx-stat-row{margin-top:18px}

@media(max-width:900px){.fx-portal-grid{grid-template-columns:repeat(2,1fr)}}

@media(max-width:560px){.fx-portal-grid{grid-template-columns:1fr;gap:9px}.fx-portal-grid>a{padding:13px}.fx-portal-grid i{width:40px;height:40px}.fx-portal-grid span{font-size:10.5px}}

.fx-otp-card{text-align:center}.fx-auth-mark{width:58px;height:58px;margin:0 auto 16px;border-radius:18px;background:#fff;border:1px solid #e8dcc4;display:grid;place-items:center;box-shadow:0 12px 28px rgba(7,59,42,.14);overflow:hidden;padding:7px}.fx-auth-mark img{display:block;width:100%;height:100%;object-fit:contain}.fx-otp-card label{text-align:right}.fx-otp-card>p b{color:#073b2a}.fx-code-input{direction:ltr;text-align:center;font-size:20px!important;font-weight:700!important;letter-spacing:0!important}.fx-code-input::placeholder{direction:rtl!important;text-align:center!important;letter-spacing:0!important;font-size:0.90rem!important;color:#7d968b!important;opacity:0.85!important}.fx-change-phone{margin-top:13px}.fx-change-phone button{border:0;background:none;color:#0f6b4c;font-family:"Vazirmatn",Tahoma,sans-serif;font-weight:700;cursor:pointer}.fx-auth-note{border-top:1px solid #eee7da;margin-top:22px;padding-top:17px;color:#888;font-size:11px}

.fx-step{display:inline-block;color:#b88928;font-size:11px;font-weight:800;margin-bottom:5px}.fx-verify-card{text-align:center;max-width:520px}.fx-verify-icon{width:68px;height:68px;margin:0 auto 14px;padding:8px;border:1px solid #e6dac2;border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(7,59,42,.1)}.fx-verify-icon img{width:100%;height:100%;object-fit:contain}.fx-verify-card label{text-align:right}.fx-verified-phone,.fx-identity-ok{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#eef7f2;border:1px solid #d4e7dc;border-radius:13px;padding:13px 15px;margin:18px 0}.fx-verified-phone span,.fx-identity-ok span{color:#517064;font-size:11.5px}.fx-verified-phone b,.fx-identity-ok b{color:#073b2a;font-size:13px}.fx-provider-off{padding:12px 14px;border-radius:12px;background:#fff3e2;border:1px solid #edd1a7;color:#80541d;font-size:12px;line-height:1.8;margin-bottom:16px}.fx-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.fx-consent{display:flex!important;align-items:flex-start;gap:9px;background:#faf8f2;border:1px solid #e9e1d2;border-radius:11px;padding:12px!important}.fx-consent input{width:17px!important;min-height:17px!important;margin:3px 0 0!important;accent-color:#0f6b4c;flex:none}.fx-consent span{font-size:11.5px;line-height:1.8;color:#59645e}.fx-privacy{display:block;color:#7b817d;font-size:10.5px;line-height:1.8;margin-top:15px}.fx-field-note{display:block;color:#777;font-size:10.5px;margin-top:5px}.fx-detail-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.fx-verified-badge{display:inline-flex;align-items:center;background:#edf7f1;border:1px solid #cee5d7;color:#0f6b4c;border-radius:8px;padding:5px 10px;font-size:11px;font-weight:800}.fx-owner{display:flex;flex-direction:column;gap:4px}.fx-owner>span{font-size:11px;color:#777}.fx-owner small{font-size:10.5px;color:#6d776f}.fx-owner-revealed{border:1px solid #d7e5dc;background:#f4faf6}.fx-owner-locked{position:relative;border:1px solid #e6dfd1;background:#faf8f2}.fx-blur{filter:blur(5px);user-select:none;opacity:.65}.fx-locked-phone{display:flex;align-items:center;justify-content:space-between}.fx-locked-phone i{font-style:normal;width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#fff;border:1px solid #e1d8c6}.fx-safety-note{margin-top:16px;padding:14px 15px;border-radius:12px;background:#fff7e8;border:1px solid #edd9b5}.fx-safety-note b{color:#835e20;font-size:12px}.fx-safety-note p{color:#6e6250;font-size:11.5px;line-height:1.8;margin:4px 0 0}

@media(max-width:560px){.fx-verified-phone,.fx-identity-ok{align-items:flex-start;flex-direction:column}.fx-detail-top{align-items:flex-start}.fx-verify-card{padding:22px 18px}}

.fx-provider-off a{display:inline-flex;align-items:center;justify-content:center;margin-right:8px;padding:8px 13px;border-radius:9px;background:#0f6b4c;color:#fff!important;font-weight:900;box-shadow:0 6px 16px rgba(15,107,76,.2)}

.fx-no-photo{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;padding:28px;background:linear-gradient(145deg,#f8f3e8,#eef7f2);color:#0f6b4c}.fx-no-photo:before{content:'+';display:grid;place-items:center;width:54px;height:54px;border:1px solid #d6c18d;border-radius:16px;background:#fff;color:#c19a43;font-size:30px;font-weight:500}.fx-no-photo b{font-size:15px}.fx-no-photo span{font-size:11px;color:#6e6a5d}.fx-no-photo-detail{min-height:390px}.fx-no-photo-detail:before{width:72px;height:72px;font-size:38px}

.fx-card-manage{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #eee}.fx-card-manage form{margin:0}.fx-edit,.fx-card-manage .fx-delete{display:flex;align-items:center;justify-content:center;min-height:42px;padding:9px;font:700 12px "Vazirmatn",Tahoma,sans-serif}.fx-edit{color:#0f6b4c;border-left:1px solid #eee}.fx-card-manage .fx-delete{border-top:0;color:#a33434;background:transparent}



/* Search-friendly guide and FAQ */

.fx-crumb{display:flex;align-items:center;gap:8px;color:rgba(255,255,255,.65);font-size:12px;margin-bottom:14px}.fx-crumb a{color:#e1c387}.fx-crumb a:hover{text-decoration:underline}

.fx-guide{margin-top:48px;padding:32px;border:1px solid #e9e1d2;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(7,59,42,.045)}.fx-guide>header{max-width:820px;margin-bottom:24px}.fx-guide>header span,.fx-faq .fx-head span{color:#b88928;font-size:12px;font-weight:800}.fx-guide h2,.fx-faq h2{color:#073b2a;margin:4px 0 8px;font-size:25px}.fx-guide>header p{color:#59635d;line-height:2;margin:0}.fx-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.fx-guide-grid section{background:#faf7ef;border-radius:16px;padding:20px}.fx-guide-grid h3{color:#073b2a;font-size:16px;margin:0 0 8px}.fx-guide-grid p{color:#626962;font-size:13px;line-height:1.95;margin:0}

.fx-faq{margin-top:40px}.fx-faq .fx-head{margin-bottom:16px;text-align:right}.fx-faq details{background:#fff;border:1px solid #e9e1d2;border-radius:14px;margin-bottom:10px;padding:0 18px}.fx-faq summary{cursor:pointer;color:#073b2a;font-weight:750;padding:16px 0;list-style:none}.fx-faq summary::-webkit-details-marker{display:none}.fx-faq summary:after{content:"+";float:left;color:#b88928;font-size:20px}.fx-faq details[open] summary:after{content:"−"}.fx-faq details p{border-top:1px solid #eee7da;color:#626962;font-size:13px;line-height:2;margin:0;padding:13px 0 17px}

@media(max-width:760px){.fx-guide{margin-top:32px;padding:22px 16px;border-radius:17px}.fx-guide h2,.fx-faq h2{font-size:20px}.fx-guide-grid{grid-template-columns:1fr;gap:10px}.fx-guide-grid section{padding:16px}.fx-guide>header p,.fx-guide-grid p,.fx-faq details p{font-size:12.5px}.fx-faq{margin-top:30px}.fx-faq details{padding:0 14px}.fx-faq summary{font-size:13px;line-height:1.8}.fx-crumb{margin-bottom:10px}}

.fx-detail-crumb{display:flex;align-items:center;gap:8px;padding-top:24px;color:#6e6a5d;font-size:12px;white-space:nowrap;overflow:hidden}.fx-detail-crumb a{color:#0f6b4c;font-weight:700}.fx-detail-crumb span:last-child{overflow:hidden;text-overflow:ellipsis}.fx-related{padding-bottom:64px}.fx-related .fx-head{margin-top:0}.fx-related .fx-photo img{aspect-ratio:3/2;object-fit:cover}

html,body{overflow-x:hidden}.fx-hero-in,.fx-hero-copy,.fx-filter{min-width:0}.fx-hero-copy{width:100%}.fx-hero h1,.fx-hero p{overflow-wrap:anywhere}

@media(max-width:560px){.fx-detail-crumb{padding-top:16px;font-size:11px}.fx-related{padding-bottom:42px}.fx-related .fx-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px}.fx-related .fx-card{min-width:74vw;scroll-snap-align:start}.fx-related .fx-head{align-items:flex-end}.fx-related .fx-head>a{font-size:11px}.fx-hero-in{display:block!important;width:auto!important;max-width:100%!important;overflow:hidden}.fx-hero-copy{width:100%!important;max-width:100%!important;min-width:0!important}.fx-hero h1{font-size:28px;line-height:1.55}.fx-hero .fx-actions{display:flex;width:100%;max-width:100%;gap:8px}.fx-hero .fx-actions .fx-btn{width:calc(50% - 4px);flex:0 0 calc(50% - 4px);min-width:0;padding-inline:8px;white-space:normal;text-align:center}.fx-filter{width:100%;max-width:100%;overflow:hidden}}

.fx-market-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:26px 0}.fx-market-stats>div{background:#fff;border:1px solid #e9e1d2;border-radius:16px;padding:17px;box-shadow:0 7px 24px rgba(7,59,42,.04)}.fx-market-stats span,.fx-market-stats small{display:block;color:#777;font-size:11px}.fx-market-stats b{display:block;color:#073b2a;font-size:19px;margin:4px 0}.fx-orderbook{margin-top:30px}.fx-book-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.fx-book{background:#0c1713;color:#fff;border:1px solid #25372f;border-radius:20px;overflow:hidden;box-shadow:0 16px 35px rgba(7,59,42,.1)}.fx-book>header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #263830}.fx-book header b,.fx-book header span{display:block}.fx-book header span{color:#8fa198;font-size:11px}.fx-book header strong{border-radius:99px;padding:5px 10px;font-size:11px}.fx-book.sell header strong{background:#512c2b;color:#ffc4bd}.fx-book.buy header strong{background:#153d31;color:#8ce0bd}.fx-book-row{display:grid;grid-template-columns:1.35fr 1fr 1fr 58px;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #22332c;font-size:12px}.fx-book-row.heading{color:#7e9187;font-size:10px;background:#101e18}.fx-book-row b,.fx-book-row small{display:block}.fx-book-row small{color:#81938a;font-size:10px}.fx-book-row .price{font-weight:800}.fx-book.sell .price{color:#ffafa6}.fx-book.buy .price{color:#7ee1b7}.fx-book-row>a{border:1px solid #385247;border-radius:8px;padding:5px;text-align:center;color:#e1c387}.fx-book-empty{text-align:center;color:#82938b;padding:24px}.fx-market-note{margin-top:12px;border:1px solid #e4d7ba;background:#faf6ed;border-radius:12px;padding:12px 15px;color:#6d6049;font-size:12px}.fx-deal-steps{display:grid;gap:13px}.fx-deal-step{border:1px solid #e9e1d2;border-radius:16px;padding:18px;background:#fff}.fx-deal-step.done{border-color:#bcdcca;background:#f4fbf7}.fx-deal-step.locked{opacity:.62}.fx-deal-step header{display:flex;justify-content:space-between;gap:12px}.fx-deal-step h3{margin:0;color:#073b2a}.fx-deal-step p{margin:6px 0;color:#6e6a5d;font-size:12px}.fx-party-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fx-party{background:#f8f3e8;border-radius:13px;padding:13px}.fx-deal-code{color:#b88928;font-weight:800}.fx-deal-shell{max-width:930px}.fx-status-pill{display:inline-flex;border-radius:99px;padding:5px 11px;background:#eef6f2;color:#0f6b4c;font-size:11px;font-weight:800}

@media(max-width:800px){.fx-market-stats{grid-template-columns:repeat(2,1fr)}.fx-book-grid{grid-template-columns:1fr}.fx-party-grid{grid-template-columns:1fr}}

@media(max-width:560px){.fx-market-stats{gap:8px}.fx-market-stats>div{padding:12px}.fx-market-stats b{font-size:15px}.fx-orderbook .fx-head{display:block}.fx-orderbook .fx-head .fx-btn{margin-top:10px;width:100%}.fx-book-row{grid-template-columns:1.3fr .9fr .9fr 48px;padding:10px 9px;font-size:10.5px}.fx-book-row.heading{font-size:9px}.fx-book-row small{font-size:9px}}

.fx-inline-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:14px}.fx-inline-form input{flex:1;min-width:200px}.fx-dispute{margin:24px 0;padding:18px;border:1px solid #eadfc9;border-radius:16px;background:#fff}.fx-dispute summary{cursor:pointer;font-weight:800;color:#7b2d2d}.fx-dispute form{display:grid;gap:12px;margin-top:14px}.fx-dispute textarea{width:100%;min-height:110px}.fx-identity-ok a{color:#087a55;font-weight:800}@media(max-width:600px){.fx-inline-form{display:grid}.fx-inline-form input,.fx-inline-form button{width:100%}}



/* ===== Exchange market v3 ===== */

.fx2-page{--x-bg:#f4f6f4;--x-panel:#fff;--x-ink:#13221c;--x-muted:#6d7b74;--x-green:#087a55;--x-green2:#0ba575;--x-gold:#d3a94b;--x-line:#dfe6e2;background:var(--x-bg);color:var(--x-ink);font-family:"Vazirmatn",Tahoma,sans-serif;overflow:hidden}.fx2-page *{box-sizing:border-box}.fx2-page svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.fx2-hero{position:relative;min-height:570px;padding:76px 0 95px;background:radial-gradient(circle at 15% 20%,rgba(31,168,120,.18),transparent 32%),linear-gradient(120deg,#071b15 0%,#0a3024 58%,#0c4935 100%);color:#fff}.fx2-grid-lines{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,#000,transparent)}.fx2-hero-grid{position:relative;display:grid;grid-template-columns:1.1fr .9fr;gap:75px;align-items:center}.fx2-copy{max-width:650px}.fx2-crumb{display:flex;align-items:center;gap:8px;margin-bottom:24px;font-size:12px;color:#9db4aa}.fx2-crumb a{color:#d8b760}.fx2-crumb svg{width:14px;height:14px}.fx2-label{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid rgba(80,210,163,.28);border-radius:100px;background:rgba(32,145,105,.12);color:#8ee0c1;font-size:12px;font-weight:700}.fx2-label svg{width:17px;height:17px}.fx2-copy h1{margin:18px 0 12px;color:#fff;font-size:clamp(38px,4.3vw,62px);line-height:1.42;letter-spacing:-1.5px}.fx2-copy h1 strong{color:#dfbb67}.fx2-copy>p{max-width:610px;margin:0;color:#aec0b8;font-size:16px;line-height:2}.fx2-actions{display:flex;gap:11px;margin-top:28px}.fx2-btn{min-height:49px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 22px;border-radius:12px;font-size:13px;font-weight:800;transition:.2s}.fx2-btn svg{width:19px;height:19px}.fx2-btn.primary{background:linear-gradient(135deg,#d9b35a,#c59435);color:#152119;box-shadow:0 12px 30px rgba(211,169,75,.2)}.fx2-btn.glass{border:1px solid rgba(255,255,255,.17);background:rgba(255,255,255,.055);color:#fff}.fx2-btn:hover{transform:translateY(-2px)}.fx2-trust{display:flex;gap:20px;flex-wrap:wrap;margin-top:28px}.fx2-trust span{display:flex;align-items:center;gap:7px;color:#9eb4aa;font-size:11px}.fx2-trust svg{width:17px;height:17px;color:#5bd3a6}.fx2-visual{position:relative;min-height:360px}.fx2-dashboard-card{position:absolute;inset:22px 15px 15px 0;padding:23px;border:1px solid rgba(255,255,255,.1);border-radius:25px;background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.035));box-shadow:0 35px 80px rgba(0,0,0,.3);backdrop-filter:blur(12px);transform:perspective(900px) rotateY(-5deg) rotateX(2deg)}.fx2-dash-head{display:flex;align-items:center;justify-content:space-between;color:#fff;font-size:14px;font-weight:800}.fx2-dash-head i{font-style:normal;padding:4px 10px;border-radius:99px;background:rgba(34,190,132,.14);color:#73dbb5;font-size:10px}.fx2-chart{height:165px;margin:19px -5px 8px;border-block:1px solid rgba(255,255,255,.06);background:repeating-linear-gradient(0deg,transparent 0 40px,rgba(255,255,255,.04) 41px)}.fx2-chart svg{width:100%;height:100%;overflow:visible}.fx2-chart .area{fill:url(#chartFill);stroke:none}.fx2-chart .line{fill:none;stroke:#50d2a4;stroke-width:3}.fx2-dash-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.fx2-dash-stats span{padding:10px;border-radius:12px;background:rgba(0,0,0,.13)}.fx2-dash-stats small,.fx2-dash-stats b{display:block}.fx2-dash-stats small{color:#8fa79c;font-size:9px}.fx2-dash-stats b{margin-top:3px;color:#fff;font-size:19px}.fx2-float-lock{position:absolute;left:-20px;bottom:-3px;display:flex;align-items:center;gap:10px;min-width:220px;padding:13px 15px;border:1px solid #e4d6b5;border-radius:15px;background:#fff;color:#163027;box-shadow:0 16px 45px rgba(0,0,0,.25)}.fx2-float-lock>svg{width:37px;height:37px;padding:8px;border-radius:10px;background:#eaf8f2;color:#087a55}.fx2-float-lock b,.fx2-float-lock small{display:block}.fx2-float-lock b{font-size:12px}.fx2-float-lock small{margin-top:2px;color:#7a8781;font-size:9px}

.fx2-main{position:relative;padding-bottom:80px}.fx2-filter{position:relative;z-index:5;display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:12px;margin-top:-41px;padding:16px;border:1px solid #e2e9e5;border-radius:18px;background:#fff;box-shadow:0 20px 55px rgba(8,44,32,.11)}.fx2-filter label>span{display:block;margin-bottom:5px;color:#78847e;font-size:10px;font-weight:700}.fx2-filter input,.fx2-filter select{width:100%;height:46px;border:1px solid #dfe6e2;border-radius:10px;background:#fafcfb;padding:0 12px;color:#243b32;font:500 12px "Vazirmatn";outline:none}.fx2-search{position:relative;align-self:end}.fx2-search svg{position:absolute;right:14px;top:14px;width:18px;height:18px;color:#87968f}.fx2-search input{padding-right:42px}.fx2-filter input:focus,.fx2-filter select:focus{border-color:#35a980;box-shadow:0 0 0 3px rgba(11,165,117,.08)}.fx2-filter-btn{align-self:end;height:46px;display:flex;align-items:center;gap:8px;padding:0 20px;border:0;border-radius:10px;background:#0a6d4e;color:#fff;font:800 12px "Vazirmatn";cursor:pointer}.fx2-filter-btn svg{width:17px;height:17px}.fx2-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0 55px}.fx2-stats article{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid var(--x-line);border-radius:17px;background:#fff;box-shadow:0 7px 25px rgba(12,50,37,.035)}.fx2-stat-icon{width:48px;height:48px;display:grid;place-items:center;flex:none;border-radius:14px}.fx2-stat-icon svg{width:23px;height:23px}.fx2-stat-icon.ask{background:#fff0ef;color:#d95e56}.fx2-stat-icon.bid{background:#e7f8f1;color:#0a986b}.fx2-stat-icon.neutral{background:#f8f1df;color:#ac7c1e}.fx2-stats span,.fx2-stats b,.fx2-stats em{display:block}.fx2-stats span{color:#74817a;font-size:10px}.fx2-stats b{margin:2px 0;color:#163128;font-size:18px}.fx2-stats b small{font-size:9px;font-weight:600}.fx2-stats em{color:#98a29d;font-size:9px;font-style:normal}.fx2-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}.fx2-section-head>div>span{color:#b88a2c;font-size:11px;font-weight:800}.fx2-section-head h2{margin:3px 0 0;color:#142a22;font-size:25px}.fx2-section-head p{margin:4px 0 0;color:#7b8781;font-size:11px}.fx2-section-head>a{display:flex;align-items:center;gap:7px;padding:9px 14px;border:1px solid #cbd9d2;border-radius:10px;background:#fff;color:#086f50;font-size:11px;font-weight:800}.fx2-section-head>a svg{width:17px;height:17px}.fx2-books{display:grid;grid-template-columns:1fr 1fr;gap:16px}.fx2-book{overflow:hidden;border:1px solid #dbe4df;border-radius:20px;background:#fff;box-shadow:0 12px 35px rgba(13,52,39,.06)}.fx2-book>header{display:flex;align-items:center;justify-content:space-between;padding:17px 18px;border-bottom:1px solid #e8eeeb}.fx2-book>header>div{display:flex;align-items:center;gap:11px}.fx2-book>header svg{width:38px;height:38px;padding:9px;border-radius:11px}.fx2-book.sell>header svg{background:#fff0ef;color:#d75a52}.fx2-book.buy>header svg{background:#e8f8f2;color:#0b9e70}.fx2-book header b,.fx2-book header small{display:block}.fx2-book header b{font-size:13px}.fx2-book header small{color:#87938d;font-size:9px}.fx2-book header i{font-style:normal;padding:4px 9px;border-radius:99px;font-size:9px;font-weight:800}.fx2-book.sell header i{background:#fff0ef;color:#bb4942}.fx2-book.buy header i{background:#e8f8f2;color:#087c59}.fx2-row{display:grid;grid-template-columns:1.25fr .9fr 1fr 22px;gap:8px;align-items:center;min-height:64px;padding:10px 16px;border-bottom:1px solid #edf1ef;transition:.18s}.fx2-row:not(.labels):hover{background:#f8fbf9}.fx2-row.labels{min-height:36px;background:#f8faf9;color:#929e98;font-size:9px}.fx2-row b,.fx2-row small{display:block}.fx2-row b{color:#243930;font-size:11px}.fx2-row small{color:#909b96;font-size:9px}.fx2-row>svg{width:17px;height:17px;color:#9ba7a1}.fx2-price b{font-size:12px!important}.fx2-book.sell .fx2-price b{color:#c34c46}.fx2-book.buy .fx2-price b{color:#07845e}.fx2-book-empty{height:165px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#91a098}.fx2-book-empty svg{width:38px;height:38px;margin-bottom:8px;color:#aebbb5}.fx2-book-empty b{color:#4d6057;font-size:12px}.fx2-book-empty span{font-size:9px}.fx2-flow{margin-top:70px}.fx2-flow-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.fx2-flow-grid article{position:relative;min-height:195px;padding:22px;border:1px solid var(--x-line);border-radius:18px;background:#fff}.fx2-flow-grid article>i{position:absolute;left:15px;top:14px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#f1f4f2;color:#7c8983;font-size:10px;font-style:normal;font-weight:800}.fx2-flow-grid article>svg{width:43px;height:43px;padding:10px;border-radius:13px;background:#eaf7f2;color:#087a55}.fx2-flow-grid b{display:block;margin:18px 0 5px;font-size:13px}.fx2-flow-grid p{margin:0;color:#7d8983;font-size:10px;line-height:1.9}.fx2-latest{margin-top:70px}.fx2-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.fx2-listing{padding:18px;border:1px solid var(--x-line);border-radius:18px;background:#fff;box-shadow:0 7px 25px rgba(10,48,34,.04);transition:.2s}.fx2-listing:hover{transform:translateY(-3px);border-color:#c8d8d0;box-shadow:0 15px 35px rgba(10,48,34,.09)}.fx2-listing-top,.fx2-listing-foot{display:flex;align-items:center;justify-content:space-between}.fx2-listing-top>span{padding:4px 9px;border-radius:7px;font-size:9px;font-weight:800}.fx2-listing-top>span.sell{background:#fff0ef;color:#b8423b}.fx2-listing-top>span.buy{background:#e7f8f1;color:#087b59}.fx2-doc-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:#f3f6f4;color:#6c7c74}.fx2-doc-icon svg{width:21px;height:21px}.fx2-listing h3{min-height:48px;margin:13px 0 10px;font-size:13px;line-height:1.8}.fx2-tags{display:flex;gap:12px;padding-bottom:14px;border-bottom:1px solid #edf1ef}.fx2-tags span{display:flex;align-items:center;gap:4px;color:#78867f;font-size:9px}.fx2-tags svg{width:13px;height:13px}.fx2-listing-foot{padding-top:13px}.fx2-listing-foot small,.fx2-listing-foot b{display:block}.fx2-listing-foot small{color:#98a29d;font-size:8px}.fx2-listing-foot b{color:#087a55;font-size:12px}.fx2-listing-foot>svg{width:18px;height:18px;color:#a5b0ab}.fx2-empty{text-align:center;padding:50px;border:1px dashed #cbd8d1;border-radius:18px;background:#fff}.fx2-empty>svg{width:50px;height:50px;margin:0 auto 10px;color:#7e9188}.fx2-security{display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;margin-top:70px;padding:28px 30px;border-radius:23px;background:linear-gradient(125deg,#09281e,#0d4d39);color:#fff;box-shadow:0 22px 55px rgba(7,50,35,.17)}.fx2-security-icon{width:65px;height:65px;display:grid;place-items:center;border-radius:18px;background:rgba(86,207,161,.13);color:#6bdbb3}.fx2-security-icon svg{width:34px;height:34px}.fx2-security span{color:#d9b55d;font-size:10px;font-weight:800}.fx2-security h2{margin:2px 0 3px;color:#fff;font-size:19px}.fx2-security p{margin:0;color:#acc0b7;font-size:10px}.fx2-security>a{display:flex;align-items:center;gap:8px;padding:10px 15px;border-radius:10px;background:#d7af53;color:#17241d;font-size:11px;font-weight:800}.fx2-security>a svg{width:16px;height:16px}

@media(max-width:950px){.fx2-hero{min-height:auto;padding:58px 0 85px}.fx2-hero-grid{grid-template-columns:1fr}.fx2-visual{display:none}.fx2-filter{grid-template-columns:1fr 1fr}.fx2-search{grid-column:1/-1}.fx2-stats{grid-template-columns:1fr}.fx2-books{grid-template-columns:1fr}.fx2-flow-grid{grid-template-columns:repeat(2,1fr)}.fx2-card-grid{grid-template-columns:repeat(2,1fr)}}

@media(max-width:600px){.fx2-hero{padding:38px 0 70px}.fx2-copy h1{font-size:33px;letter-spacing:-.5px}.fx2-copy>p{font-size:13px;line-height:1.95}.fx2-crumb{margin-bottom:16px}.fx2-actions{display:grid;grid-template-columns:1fr 1fr}.fx2-btn{padding:9px 11px;font-size:11px}.fx2-trust{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.fx2-filter{grid-template-columns:1fr;margin-top:-34px;padding:12px}.fx2-search{grid-column:auto}.fx2-filter label>span{margin-top:2px}.fx2-filter-btn{justify-content:center}.fx2-stats{gap:8px;margin:16px 0 40px}.fx2-stats article{padding:13px}.fx2-stat-icon{width:42px;height:42px}.fx2-section-head{align-items:flex-start}.fx2-section-head h2{font-size:20px}.fx2-section-head p{display:none}.fx2-section-head>a{padding:8px 10px;font-size:9px}.fx2-books{gap:12px}.fx2-book{border-radius:16px}.fx2-row{grid-template-columns:1.15fr .8fr 1fr 16px;padding:9px 10px;gap:4px}.fx2-row b{font-size:9.5px}.fx2-row small{font-size:8px}.fx2-row.labels{font-size:8px}.fx2-flow{margin-top:48px}.fx2-flow-grid{grid-template-columns:1fr 1fr;gap:8px}.fx2-flow-grid article{min-height:174px;padding:15px}.fx2-flow-grid article>svg{width:38px;height:38px}.fx2-flow-grid b{margin-top:13px;font-size:11px}.fx2-flow-grid p{font-size:9px}.fx2-latest{margin-top:48px}.fx2-card-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px}.fx2-listing{min-width:78vw;scroll-snap-align:start}.fx2-security{grid-template-columns:auto 1fr;gap:13px;margin-top:45px;padding:20px 16px}.fx2-security-icon{width:50px;height:50px}.fx2-security h2{font-size:14px}.fx2-security p{font-size:9px;line-height:1.8}.fx2-security>a{grid-column:1/-1;justify-content:center}}



/* ===== Receipt detail and buyer/seller profile v4 ===== */

.fx3-page{--g:#087a55;--gd:#082c21;--gold:#d2a746;--ink:#14271f;--muted:#728078;--line:#dfe6e2;background:#f4f6f4;color:var(--ink);font-family:"Vazirmatn",Tahoma,sans-serif;overflow:hidden}.fx3-page svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.fx3-detail-hero{height:112px;padding-top:28px;background:linear-gradient(120deg,#071d16,#0b4935);color:#fff}.fx3-detail-hero nav{display:flex;align-items:center;gap:8px;color:#a9bcb3;font-size:11px}.fx3-detail-hero nav a{color:#dabb70}.fx3-detail-hero nav svg{width:13px;height:13px}.fx3-detail-hero nav span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fx3-detail-shell{position:relative;margin-top:-48px;padding-bottom:75px}.fx3-receipt-card{display:grid;grid-template-columns:.85fr 1.15fr;overflow:hidden;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 24px 65px rgba(7,43,31,.13)}.fx3-receipt-visual{position:relative;min-height:520px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 20% 20%,rgba(34,170,121,.2),transparent 35%),linear-gradient(145deg,#0a271e,#0d4e39);color:#fff}.fx3-receipt-visual:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:35px 35px}.fx3-watermark{width:160px;height:205px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:rgba(255,255,255,.05);box-shadow:0 25px 60px rgba(0,0,0,.22);transform:rotate(-4deg)}.fx3-watermark svg{width:70px;height:70px;color:#dfbc6c}.fx3-receipt-badge{position:absolute;right:22px;top:22px;display:flex;align-items:center;gap:7px;padding:7px 11px;border-radius:99px;background:rgba(255,255,255,.09);font-size:10px;font-weight:800}.fx3-receipt-badge svg{width:15px;height:15px}.fx3-receipt-badge.sell{color:#ffaaa3}.fx3-receipt-badge.buy{color:#7de0b9}.fx3-receipt-seal{position:absolute;right:25px;left:25px;bottom:28px;display:flex;align-items:center;gap:10px;padding:13px;border:1px solid rgba(255,255,255,.1);border-radius:13px;background:rgba(0,0,0,.16);backdrop-filter:blur(8px)}.fx3-receipt-seal>svg{width:36px;height:36px;padding:8px;border-radius:10px;background:rgba(58,204,151,.12);color:#65d7ae}.fx3-receipt-seal b,.fx3-receipt-seal small{display:block}.fx3-receipt-seal b{font-size:11px}.fx3-receipt-seal small{color:#9ab0a6;font-size:8px}.fx3-receipt-lines{position:absolute;left:28px;top:32px;display:flex;gap:4px}.fx3-receipt-lines i{width:3px;height:30px;background:#d9b45d}.fx3-receipt-lines i:nth-child(2){opacity:.6}.fx3-receipt-lines i:nth-child(3){opacity:.3}.fx3-detail-info{padding:38px}.fx3-detail-flags{display:flex;align-items:center;gap:8px}.fx3-type,.fx3-verified{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:7px;font-size:9px;font-weight:800}.fx3-type.sell{background:#fff0ef;color:#b9423c}.fx3-type.buy{background:#e8f8f2;color:#087a57}.fx3-verified{background:#eef8f4;color:#087a55}.fx3-verified svg{width:14px;height:14px}.fx3-detail-info h1{margin:14px 0 3px;font-size:28px;line-height:1.55}.fx3-sub{margin:0;color:#7b8881;font-size:11px}.fx3-price-box{margin:25px 0;padding:16px 18px;border:1px solid #dae5df;border-radius:14px;background:#f7faf8}.fx3-price-box span,.fx3-price-box b{display:block}.fx3-price-box span{color:#7d8a83;font-size:9px}.fx3-price-box b{margin-top:2px;color:#087a55;font-size:23px}.fx3-price-box b small{font-size:10px}.fx3-specs{display:grid;grid-template-columns:1fr 1fr;gap:9px}.fx3-specs>div{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #e5ebe8;border-radius:11px}.fx3-specs svg{width:27px;height:27px;padding:6px;border-radius:8px;background:#eef6f2;color:#087a55}.fx3-specs span,.fx3-specs b{display:block}.fx3-specs span{color:#89958f;font-size:8px}.fx3-specs b{margin-top:2px;color:#2b3e35;font-size:10px}.fx3-main-cta{width:100%;min-height:50px;display:flex;align-items:center;justify-content:center;gap:9px;margin-top:20px;border:0;border-radius:12px;background:linear-gradient(135deg,#0b8b62,#076647);color:#fff!important;font:800 12px "Vazirmatn";box-shadow:0 12px 25px rgba(8,122,85,.2);cursor:pointer}.fx3-main-cta.owner{background:#243c32}.fx3-main-cta svg{width:19px;height:19px}.fx3-lock-note{display:flex;gap:10px;margin-top:12px;padding:11px;border-radius:11px;background:#fff9ec;color:#8c6825}.fx3-lock-note>svg{width:25px;height:25px;padding:5px;flex:none}.fx3-lock-note p{margin:0}.fx3-lock-note b,.fx3-lock-note span{display:block}.fx3-lock-note b{font-size:9px}.fx3-lock-note span{color:#816f4c;font-size:8px;line-height:1.8}.fx3-description{margin-top:18px;padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff}.fx3-description header{display:flex;align-items:center;gap:9px}.fx3-description header svg{width:34px;height:34px;padding:8px;border-radius:10px;background:#eef6f2;color:#087a55}.fx3-description h2{margin:0;font-size:16px}.fx3-description p{margin:14px 0 0;color:#66756e;font-size:11px;line-height:2.1;white-space:pre-line}.fx3-steps{margin-top:45px}.fx3-steps>header span{color:#b8882b;font-size:10px;font-weight:800}.fx3-steps h2{margin:2px 0 17px;font-size:21px}.fx3-steps>div{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.fx3-steps article{position:relative;padding:19px;border:1px solid var(--line);border-radius:15px;background:#fff}.fx3-steps i{width:26px;height:26px;display:grid;place-items:center;margin-bottom:14px;border-radius:8px;background:#eaf7f2;color:#087a55;font-size:10px;font-style:normal;font-weight:900}.fx3-steps b{font-size:11px}.fx3-steps p{margin:5px 0 0;color:#7b8881;font-size:9px;line-height:1.8}

.fx3-profile-hero{padding:43px 0 68px;background:radial-gradient(circle at 15% 0,rgba(40,181,130,.18),transparent 35%),linear-gradient(120deg,#071d16,#0c4b37);color:#fff}.fx3-profile-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px}.fx3-avatar{width:65px;height:65px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.13);border-radius:19px;background:rgba(255,255,255,.07)}.fx3-avatar svg{width:31px;height:31px;color:#dbba6b}.fx3-profile-head>div:nth-child(2)>span{color:#78d7b5;font-size:9px}.fx3-profile-head h1{margin:2px 0;color:#fff;font-size:25px}.fx3-profile-head p{margin:0;color:#a8bbb2;font-size:10px}.fx3-profile-actions{display:flex;align-items:center;gap:8px}.fx3-profile-actions>a,.fx3-profile-actions button{height:42px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:rgba(255,255,255,.06);color:#fff;font:800 10px "Vazirmatn";cursor:pointer}.fx3-profile-actions>a{padding:0 14px;background:#d4aa4c;color:#18251e;border:0}.fx3-profile-actions button{width:42px}.fx3-profile-actions svg{width:17px;height:17px}.fx3-profile-actions form{margin:0}.fx3-profile-main{position:relative;margin-top:-31px;padding-bottom:75px}.fx3-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.fx3-kpis article{display:flex;align-items:center;gap:11px;padding:15px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 9px 28px rgba(8,48,34,.07)}.fx3-kpis article>svg{width:39px;height:39px;padding:9px;border-radius:11px;background:#edf7f3;color:#087a55}.fx3-kpis span,.fx3-kpis b{display:block}.fx3-kpis span{color:#86928c;font-size:8px}.fx3-kpis b{margin-top:2px;color:#1a3127;font-size:15px}.fx3-kpis article.verified>svg{background:#fff5df;color:#aa7920}.fx3-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:26px}.fx3-role-grid>a{position:relative;overflow:hidden;min-height:215px;padding:25px;border-radius:20px;color:#fff}.fx3-role-grid>a.seller{background:linear-gradient(135deg,#5a2522,#9a443d)}.fx3-role-grid>a.buyer{background:linear-gradient(135deg,#07382a,#087a55)}.fx3-role-grid a>div{position:relative;z-index:2;max-width:74%}.fx3-role-grid span{font-size:9px;color:rgba(255,255,255,.65)}.fx3-role-grid h2{margin:4px 0 7px;color:#fff;font-size:18px}.fx3-role-grid p{margin:0;color:rgba(255,255,255,.72);font-size:9px;line-height:1.9}.fx3-role-grid b{display:flex;align-items:center;gap:6px;margin-top:19px;font-size:10px}.fx3-role-grid b svg{width:15px;height:15px}.fx3-role-grid .role-icon{position:absolute;left:-22px;bottom:-25px;width:155px;height:155px;color:rgba(255,255,255,.09);stroke-width:1}.fx3-panel-section{margin-top:42px}.fx3-panel-section>header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:14px}.fx3-panel-section header span{color:#b48428;font-size:9px;font-weight:800}.fx3-panel-section h2{margin:2px 0 0;font-size:19px}.fx3-panel-section header>b{color:#75827b;font-size:9px}.fx3-panel-section header>a{display:flex;align-items:center;gap:5px;color:#087a55;font-size:10px;font-weight:800}.fx3-panel-section header>a svg{width:15px;height:15px}.fx3-deals{display:grid;gap:8px}.fx3-deals>a{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:12px;padding:13px;border:1px solid var(--line);border-radius:13px;background:#fff}.fx3-deal-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:#eef6f2;color:#087a55}.fx3-deal-icon svg{width:21px;height:21px}.fx3-deals small,.fx3-deals b{display:block}.fx3-deals small{color:#8b9690;font-size:8px}.fx3-deals b{font-size:11px}.fx3-deals i{padding:4px 8px;border-radius:7px;background:#eef6f2;color:#087a55;font-size:8px;font-style:normal}.fx3-deals>a>svg{width:16px;height:16px;color:#9aa69f}.fx3-profile-listings{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.fx3-profile-listings>article,.fx3-profile-listings>a{padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff}.fx3-profile-listings>article>span,.fx3-profile-listings>a>span{display:inline-block;padding:3px 8px;border-radius:6px;font-size:8px;font-weight:800}.fx3-profile-listings .sell{background:#fff0ef;color:#b6423b}.fx3-profile-listings .buy{background:#e8f8f2;color:#087b59}.fx3-profile-listings h3{min-height:39px;margin:10px 0 3px;font-size:11px;line-height:1.8}.fx3-profile-listings p{margin:0;color:#85918b;font-size:8px}.fx3-profile-listings>b,.fx3-profile-listings article>b,.fx3-profile-listings a>b{display:block;margin-top:12px;color:#087a55;font-size:11px}.fx3-profile-listings footer{display:flex;align-items:center;justify-content:space-between;margin:13px -16px -16px;padding:9px 16px;border-top:1px solid #edf1ef}.fx3-profile-listings footer a,.fx3-profile-listings footer button{border:0;background:none;color:#087a55;font:800 9px "Vazirmatn";cursor:pointer}.fx3-profile-listings footer button{color:#b64943}.fx3-profile-listings footer form{margin:0}.fx3-profile-empty{text-align:center;padding:45px;border:1px dashed #cbd8d1;border-radius:17px;background:#fff}.fx3-profile-empty>svg{width:45px;height:45px;margin:auto;color:#8b9a92}.fx3-profile-empty h3{font-size:14px}.fx3-profile-empty p{color:#7f8b85;font-size:10px}.fx3-profile-empty a{display:inline-flex;padding:8px 13px;border-radius:9px;background:#087a55;color:#fff;font-size:9px;font-weight:800}.fx3-shop-links{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:42px;padding-top:25px;border-top:1px solid #dfe6e2}.fx3-shop-links>a{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid var(--line);border-radius:13px;background:#fff}.fx3-shop-links>a>svg{width:38px;height:38px;padding:9px;border-radius:10px;background:#f2f6f4;color:#087a55}.fx3-shop-links b,.fx3-shop-links small{display:block}.fx3-shop-links b{font-size:10px}.fx3-shop-links small{color:#89958f;font-size:8px}

@media(max-width:850px){.fx3-receipt-card{grid-template-columns:1fr}.fx3-receipt-visual{min-height:320px}.fx3-kpis,.fx3-kpis.fx3-kpis-three{grid-template-columns:1fr 1fr}.fx3-profile-listings{grid-template-columns:1fr 1fr}.fx3-shop-links{grid-template-columns:1fr}.fx3-steps>div{grid-template-columns:1fr 1fr}}

@media(max-width:560px){.fx3-detail-hero{height:85px;padding-top:18px}.fx3-detail-shell{margin-top:-33px;padding-inline:12px}.fx3-receipt-card{border-radius:18px}.fx3-receipt-visual{min-height:245px}.fx3-watermark{width:115px;height:145px}.fx3-watermark svg{width:52px;height:52px}.fx3-receipt-seal{right:14px;left:14px;bottom:14px}.fx3-detail-info{padding:20px 16px}.fx3-detail-info h1{font-size:21px}.fx3-price-box{margin:18px 0}.fx3-specs{gap:6px}.fx3-specs>div{padding:8px}.fx3-specs svg{width:24px;height:24px}.fx3-steps>div{gap:7px}.fx3-steps article{padding:13px}.fx3-profile-hero{padding:27px 0 55px}.fx3-profile-head{grid-template-columns:auto 1fr;padding-inline:14px}.fx3-avatar{width:51px;height:51px}.fx3-profile-head h1{font-size:18px}.fx3-profile-actions{grid-column:1/-1}.fx3-profile-actions>a{flex:1}.fx3-profile-main{padding-inline:12px}.fx3-kpis{gap:7px}.fx3-kpis article{padding:10px;gap:7px}.fx3-kpis article>svg{width:33px;height:33px}.fx3-kpis b{font-size:12px}.fx3-role-grid{grid-template-columns:1fr;gap:9px}.fx3-role-grid>a{min-height:190px;padding:20px}.fx3-profile-listings{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px}.fx3-profile-listings>article,.fx3-profile-listings>a{min-width:76vw;scroll-snap-align:start}.fx3-deals>a{grid-template-columns:auto 1fr auto}.fx3-deals i{display:none}.fx3-shop-links{margin-top:30px}}



/* ===== Professional exchange terminal ===== */

.ft-page{--t-bg:#f1f3f2;--t-panel:#fff;--t-line:#e0e5e2;--t-text:#17251f;--t-muted:#78847e;--t-green:#11966c;--t-red:#d85c57;background:var(--t-bg);color:var(--t-text);min-height:900px;font-family:"Vazirmatn",Tahoma,sans-serif}.ft-page svg,.fo-shell svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ft-top{border-bottom:1px solid #dfe5e2;background:#fff}.ft-top-inner{height:74px;display:flex;align-items:center;gap:30px}.ft-title{display:flex;align-items:center;gap:10px;min-width:190px}.ft-title>svg{width:38px;height:38px;padding:8px;border-radius:11px;background:#e8f6f1;color:#087c59}.ft-title span,.ft-title h1{display:block}.ft-title span{color:#8b9690;font-size:8px}.ft-title h1{margin:0;font-size:14px}.ft-markets{height:100%;display:flex;align-items:stretch;gap:4px;flex:1}.ft-markets a{position:relative;min-width:125px;display:flex;flex-direction:column;justify-content:center;padding:0 15px;color:#55635c;font-size:11px;font-weight:700}.ft-markets a small{color:#a0aaa5;font-size:8px}.ft-markets a.active{color:#087a55;background:#f7faf8}.ft-markets a.active:after{content:"";position:absolute;right:12px;left:12px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:#0a9a6c}.ft-user-actions a{display:flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #d8e1dc;border-radius:9px;color:#087a55;font-size:10px;font-weight:800}.ft-user-actions svg{width:16px;height:16px}.ft-shell{padding-top:14px;padding-bottom:60px}.ft-ticker{min-height:73px;display:grid;grid-template-columns:1.5fr repeat(5,1fr);align-items:center;border:1px solid var(--t-line);border-radius:12px;background:#fff}.ft-ticker>div{padding:9px 15px;border-left:1px solid #edf0ee}.ft-ticker>div:last-child{border:0}.ft-ticker span,.ft-ticker b{display:block}.ft-ticker span{color:#8a9690;font-size:8px}.ft-ticker b{margin-top:3px;font-size:11px}.ft-ticker b.green{color:var(--t-green);font-size:14px}.ft-symbol{display:flex;align-items:center;gap:9px}.ft-coin{width:39px;height:39px;display:grid!important;place-items:center;border-radius:50%;background:#e9f7f2;color:#087a55}.ft-coin svg{width:19px;height:19px}.ft-symbol b{font-size:12px}.ft-terminal{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.8fr) minmax(270px,.65fr);gap:8px;margin-top:8px}.ft-chart-panel,.ft-orderbook,.ft-order-entry,.ft-bottom{border:1px solid var(--t-line);border-radius:11px;background:#fff}.ft-chart-panel>header,.ft-orderbook>header{height:47px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;border-bottom:1px solid #edf0ee}.ft-tabs,.ft-periods{display:flex;align-items:center;gap:3px}.ft-tabs button,.ft-periods button,.ft-orderbook header button{border:0;background:none;color:#8c9892;font:700 9px "Vazirmatn";cursor:pointer}.ft-tabs button{height:47px;padding:0 10px}.ft-tabs button.active{border-bottom:2px solid #0a966a;color:#087a55}.ft-periods button{padding:4px 7px;border-radius:5px}.ft-periods button.active{background:#eaf6f1;color:#087a55}.ft-chart-area{position:relative;height:390px;padding:25px 42px 25px 15px;background-image:linear-gradient(#f0f3f1 1px,transparent 1px),linear-gradient(90deg,#f0f3f1 1px,transparent 1px);background-size:100% 25%,12.5% 100%}.ft-chart-area>svg{width:100%;height:100%}.ft-chart-area .ft-area{fill:url(#ftFill);stroke:none}.ft-chart-area .ft-line{fill:none;stroke:#13a674;stroke-width:2.5}.ft-yaxis{position:absolute;right:5px;top:17px;bottom:25px;display:flex;flex-direction:column;justify-content:space-between;color:#9aa59f;font-size:7px}.ft-xaxis{position:absolute;right:45px;left:15px;bottom:4px;display:flex;justify-content:space-between;color:#a0aaa5;font-size:7px}.ft-chart-empty{position:absolute;right:50%;top:48%;display:flex;align-items:center;gap:6px;transform:translate(50%,-50%);padding:7px 10px;border:1px solid #dfe7e3;border-radius:7px;background:rgba(255,255,255,.88);color:#7c8982;font-size:8px}.ft-chart-empty svg{width:14px;height:14px;color:#0b966a}.ft-orderbook h2{margin:0;font-size:11px}.ft-orderbook header>div{display:flex}.ft-orderbook header button{width:26px;height:26px;display:grid;place-items:center;border-radius:5px}.ft-orderbook header button.active{background:#edf5f1;color:#087a55}.ft-orderbook header svg{width:14px;height:14px}.ft-ob-labels,.ft-ob-list a{display:grid;grid-template-columns:1.1fr 1fr 40px;align-items:center}.ft-ob-labels{height:30px;padding:0 10px;color:#9aa49f;font-size:7px}.ft-ob-list a{position:relative;height:27px;padding:0 10px;font-size:8px}.ft-ob-list a i{position:absolute;left:0;top:2px;bottom:2px;opacity:.09}.ft-ob-list.asks a i{background:var(--t-red)}.ft-ob-list.bids a i{background:var(--t-green)}.ft-ob-list b,.ft-ob-list span,.ft-ob-list em{position:relative;z-index:1;font-style:normal}.ft-ob-list.asks b{color:var(--t-red)}.ft-ob-list.bids b{color:var(--t-green)}.ft-ob-list span{color:#59675f}.ft-ob-list em{text-align:left;color:#8f9a94}.ft-ob-list p{height:80px;display:grid;place-items:center;margin:0;color:#9ca7a1;font-size:8px}.ft-mid-price{height:48px;display:flex;align-items:center;gap:6px;padding:0 10px;border-block:1px solid #edf0ee}.ft-mid-price span{color:#0a9368;font-size:12px;font-weight:900}.ft-mid-price svg{width:14px;height:14px;color:#0a9368}.ft-mid-price small{color:#99a39e;font-size:7px}.ft-order-entry{overflow:hidden}.ft-order-entry>header{display:grid;grid-template-columns:1fr 1fr;height:48px;border-bottom:1px solid #edf0ee}.ft-order-entry>header button{position:relative;border:0;background:#fff;color:#89958f;font:800 10px "Vazirmatn";cursor:pointer}.ft-order-entry>header button.active.buy{color:var(--t-green)}.ft-order-entry>header button.active.sell{color:var(--t-red)}.ft-order-entry>header button.active:after{content:"";position:absolute;right:15px;left:15px;bottom:0;height:2px;background:currentColor}.ft-balance{display:flex;justify-content:space-between;padding:12px 13px;color:#8b9690;font-size:8px}.ft-balance b{color:#34463d}.ft-order-entry form{padding:0 13px}.ft-order-entry label{display:block;margin-bottom:10px}.ft-order-entry label>span{display:block;margin-bottom:4px;color:#718078;font-size:8px}.ft-order-entry input,.ft-order-entry select{width:100%;height:39px;border:1px solid #dfe5e2;border-radius:7px;background:#fafcfb;padding:0 9px;color:#23372e;font:600 9px "Vazirmatn";outline:none}.ft-order-entry label>div{position:relative}.ft-order-entry label i{position:absolute;left:8px;top:12px;color:#8e9993;font-size:7px;font-style:normal}.ft-total{display:flex;justify-content:space-between;margin:15px 0;padding-top:11px;border-top:1px solid #edf0ee;color:#7f8b85;font-size:8px}.ft-total b{color:#31443a}.ft-submit{width:100%;height:40px;border:0;border-radius:8px;color:#fff;font:800 10px "Vazirmatn";cursor:pointer}.ft-submit.buy{background:#0a966a}.ft-submit.sell{background:#d65853}.ft-secure{display:flex;align-items:center;justify-content:center;gap:5px;padding:11px;color:#89958f;font-size:7px}.ft-secure svg{width:13px;height:13px}.ft-bottom{margin-top:8px;overflow:hidden}.ft-bottom-tabs{height:48px;display:flex;align-items:stretch;gap:5px;padding:0 12px;border-bottom:1px solid #edf0ee}.ft-bottom-tabs button,.ft-bottom-tabs a{position:relative;display:flex;align-items:center;gap:5px;border:0;background:none;color:#77847d;font:700 9px "Vazirmatn"}.ft-bottom-tabs button.active{color:#087a55}.ft-bottom-tabs button.active:after{content:"";position:absolute;right:0;left:0;bottom:0;height:2px;background:#0a986b}.ft-bottom-tabs span{padding:1px 5px;border-radius:5px;background:#edf5f1}.ft-orders-head,.ft-order-row{display:grid;grid-template-columns:70px 1.2fr .6fr 1fr 1fr 60px;align-items:center;min-height:42px;padding:0 15px}.ft-orders-head{background:#fafbfа;color:#9aa49f;font-size:7px}.ft-order-row{border-top:1px solid #eff2f0;color:#536159;font-size:8px}.ft-order-row .buy{color:var(--t-green)}.ft-order-row .sell{color:var(--t-red)}.ft-order-row b{font-size:9px}.ft-order-row em{padding:3px 6px;border-radius:5px;background:#eaf7f2;color:#087a55;font-style:normal;text-align:center}.ft-no-orders{padding:35px;text-align:center;color:#96a19b;font-size:9px}

.fo-shell{padding:40px 20px 75px;color:#17271f;font-family:"Vazirmatn",Tahoma,sans-serif}.fo-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:22px}.fo-head>a{display:flex;align-items:center;gap:5px;color:#087a55;font-size:9px;font-weight:800}.fo-head>a svg{width:15px;height:15px}.fo-head>div{text-align:right}.fo-head span{color:#b18531;font-size:9px;font-weight:800}.fo-head h1{margin:2px 0;font-size:23px}.fo-head p{margin:0;color:#7f8b85;font-size:9px}.fo-layout{display:grid;grid-template-columns:1fr 300px;gap:15px;align-items:start}.fo-form,.fo-summary{border:1px solid #dfe5e2;border-radius:16px;background:#fff}.fo-form{padding:20px}.fo-side-tabs{display:grid;grid-template-columns:1fr 1fr;gap:9px}.fo-side-tabs input{display:none}.fo-side-tabs span{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid #dfe5e2;border-radius:11px;cursor:pointer}.fo-side-tabs svg{width:34px;height:34px;padding:8px;border-radius:9px;background:#f1f5f3}.fo-side-tabs b,.fo-side-tabs small{display:block}.fo-side-tabs b{font-size:10px}.fo-side-tabs small{color:#87938d;font-size:8px}.fo-side-tabs input:checked+span{border-color:#0b966a;background:#f2faf7;color:#087a55}.fo-side-tabs label:last-child input:checked+span{border-color:#d45b55;background:#fff6f5;color:#bb4540}.fo-form section{margin-top:25px;padding-top:20px;border-top:1px solid #edf0ee}.fo-form section h2{display:flex;align-items:center;gap:7px;margin:0 0 14px;font-size:12px}.fo-form section h2 i{width:24px;height:24px;display:grid;place-items:center;border-radius:7px;background:#eaf6f1;color:#087a55;font-size:8px;font-style:normal}.fo-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fo-form label{display:block;margin-bottom:10px;color:#5c6b63;font-size:9px;font-weight:700}.fo-form input,.fo-form select,.fo-form textarea{width:100%;margin-top:4px;border:1px solid #dfe5e2;border-radius:8px;background:#fafcfb;padding:9px;color:#22372d;font:500 9px "Vazirmatn";outline:none}.fo-form input,.fo-form select{height:42px}.fo-form textarea{resize:vertical}.fo-upload{position:relative;height:42px;display:flex!important;align-items:center;gap:7px;margin-top:15px;padding:8px;border:1px dashed #aebdb5;border-radius:8px;color:#087a55!important}.fo-upload svg{width:18px;height:18px}.fo-upload input{position:absolute;inset:0;height:100%;opacity:0;cursor:pointer}.fo-private,.fo-check{display:flex;align-items:flex-start;gap:7px}.fo-private{padding:9px;border-radius:8px;background:#fff8e9;color:#806629;font-size:8px}.fo-private svg{width:15px;height:15px;flex:none}.fo-check{margin-top:18px!important;padding:10px;border:1px solid #dfe5e2;border-radius:9px}.fo-check input{width:15px;height:15px;margin:2px 0 0}.fo-submit{width:100%;height:44px;border:0;border-radius:9px;background:#087a55;color:#fff;font:800 10px "Vazirmatn"}.fo-insight{margin-top:10px;padding:9px;border-radius:8px;background:#edf8f3;color:#087a55;font-size:8px}.fo-summary{position:sticky;top:90px;padding:17px}.fo-summary-head{display:flex;align-items:center;gap:8px;padding-bottom:13px;border-bottom:1px solid #edf0ee}.fo-summary-head svg{width:31px;height:31px;padding:7px;border-radius:8px;background:#eaf6f1;color:#087a55}.fo-summary h2{margin:0;font-size:12px}.fo-summary dl{margin:10px 0}.fo-summary dl div{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #f0f2f1;font-size:8px}.fo-summary dt{color:#849089}.fo-summary dd{margin:0;font-weight:800}.fo-summary dd.ok{color:#087a55}.fo-steps{display:grid;gap:7px;padding-top:8px}.fo-steps span{display:flex;align-items:center;gap:7px;color:#66746d;font-size:8px}.fo-steps i{width:20px;height:20px;display:grid;place-items:center;border-radius:6px;background:#f0f5f2;color:#087a55;font-style:normal;font-weight:800}

.fo-layout.fo-layout-single{grid-template-columns:minmax(0,1fr)}.fo-layout-single .fo-form{max-width:900px;margin-inline:auto;width:100%}

@media(max-width:1050px){.ft-terminal{grid-template-columns:1.5fr .8fr}.ft-order-entry{grid-column:1/-1}.ft-order-entry form{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.ft-balance,.ft-order-entry>header,.ft-secure{grid-column:1/-1}.ft-total{align-self:center}.ft-submit{align-self:end;margin-bottom:10px}}

@media(max-width:760px){.ft-top-inner{height:auto;min-height:65px;flex-wrap:wrap;padding-block:8px}.ft-title{min-width:0}.ft-markets{order:3;width:100%;height:42px;overflow-x:auto}.ft-markets a{min-width:110px}.ft-user-actions{margin-right:auto}.ft-shell{padding-inline:8px}.ft-ticker{display:flex;overflow-x:auto}.ft-ticker>div{min-width:115px}.ft-ticker>.ft-symbol{min-width:170px}.ft-terminal{grid-template-columns:1fr}.ft-chart-area{height:300px}.ft-order-entry{grid-column:auto}.ft-order-entry form{display:block}.ft-orders-head,.ft-order-row{grid-template-columns:55px 1fr .6fr 1fr}.ft-orders-head span:nth-child(5),.ft-orders-head span:nth-child(6),.ft-order-row b,.ft-order-row em{display:none}.fo-shell{padding:25px 10px 60px}.fo-head{display:block}.fo-head>a{margin-bottom:15px}.fo-layout{grid-template-columns:1fr}.fo-summary{position:static;order:-1}.fo-grid{grid-template-columns:1fr}}



/* Official Hajj receipt board: intentionally distinct from crypto trading UIs */

.official-board{--cream:#faf7ef;--gold:#c9a347;background:linear-gradient(180deg,#fbf9f3,#f3f5f1);min-height:auto}.official-board .ft-top{background:#fffdf8;border-color:#eadfca}.official-board .ft-top-inner{justify-content:space-between}.ft-head-note{margin:0;color:#66756d;font-size:11px}.market-guide{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border:1px solid #e6dac1;border-radius:16px;background:linear-gradient(110deg,#fffdf8,#f7efe0);box-shadow:0 8px 30px rgba(75,62,32,.05)}.market-guide span{color:#a27c25;font-size:9px;font-weight:800}.market-guide h2{margin:5px 0;font-size:20px;color:#173c30}.market-guide p{margin:0;color:#68756f;font-size:10px}.market-guide svg{width:65px;height:65px;color:#b58c30;stroke-width:1.2}.market-filters{display:grid;grid-template-columns:repeat(3,1fr) auto;gap:12px;align-items:end;margin-top:14px;padding:16px;border:1px solid #dfe6e1;border-radius:14px;background:#fff}.market-filters label span{display:block;margin-bottom:6px;color:#506158;font-size:9px;font-weight:800}.market-filters select{width:100%;height:44px;padding:0 12px;border:1px solid #d9e1dc;border-radius:9px;background:#fbfcfb;color:#20362c;font:700 10px "Vazirmatn"}.market-filters button{height:44px;padding:0 20px;border:0;border-radius:9px;background:#087a55;color:#fff;font:800 10px "Vazirmatn";cursor:pointer}.market-summary{display:grid;grid-template-columns:1.6fr repeat(3,1fr);margin-top:12px;border:1px solid #dfe6e1;border-radius:14px;background:#fff;overflow:hidden}.market-summary>div{padding:15px 17px;border-left:1px solid #edf0ee}.market-summary>div:last-child{border:0}.market-summary span,.market-summary b{display:block}.market-summary span{color:#859188;font-size:8px}.market-summary b{margin-top:5px;color:#20362d;font-size:12px}.market-summary b.green{color:#087a55}.market-summary small{font-size:8px}.official-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,.72fr);gap:12px;margin-top:12px}.order-board,.quick-order{border:1px solid #dfe6e1;border-radius:15px;background:#fff;box-shadow:0 8px 25px rgba(21,55,43,.035)}.order-board>header{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;border-bottom:1px solid #edf0ee}.order-board header span,.quick-order>span{color:#a07d2e;font-size:8px;font-weight:800}.order-board h2,.quick-order h2{margin:4px 0 0;font-size:15px}.order-board header p{max-width:320px;margin:0;color:#849087;font-size:8px}.order-columns{display:grid;grid-template-columns:1fr 1fr}.order-column{padding:16px}.order-column+div{border-right:1px solid #edf0ee}.order-column h3{display:flex;align-items:center;gap:7px;margin:0 0 12px;font-size:11px}.order-column h3 svg{width:18px;height:18px}.order-column.sell h3{color:#a04c48}.order-column.buy h3{color:#087a55}.order-label,.order-column a{display:grid;grid-template-columns:1.2fr 1fr 50px;align-items:center}.order-label{padding:0 8px 7px;color:#9aa49f;font-size:7px}.order-column a{min-height:44px;padding:0 8px;border-top:1px solid #eff2f0;color:#526158;font-size:8px}.order-column a b{font-size:10px}.order-column.sell a b{color:#a04c48}.order-column.buy a b{color:#087a55}.order-column a small{font-size:7px}.order-column a em{font-style:normal;color:#8c9791}.empty-order{display:grid;place-items:center;min-height:150px;padding:20px;color:#929e97;font-size:9px;text-align:center}.quick-order{padding:24px}.quick-icon{width:50px;height:50px;display:grid;place-items:center;margin-bottom:16px;border-radius:14px;background:#edf7f2;color:#087a55}.quick-icon svg{width:25px;height:25px}.quick-order p{color:#728078;font-size:9px;line-height:2}.quick-actions{display:grid;gap:8px;margin:18px 0}.quick-actions a{display:grid;place-items:center;height:42px;border-radius:9px;font-size:10px;font-weight:800}.quick-actions .buy{background:#087a55;color:#fff}.quick-actions .sell{border:1px solid #d8b5ad;background:#fff8f6;color:#984c46}.quick-order ul{margin:0;padding:14px 18px 0 0;border-top:1px solid #edf0ee;color:#69776f;font-size:8px;line-height:2.2}.official-board .ft-bottom{margin-top:12px;border-radius:15px}.official-board .ft-bottom-tabs{align-items:center;justify-content:space-between}.official-board .ft-bottom-tabs h2{margin:0;font-size:11px}.official-board .ft-bottom-tabs a{color:#087a55}

@media(max-width:760px){.official-board .ft-top-inner{flex-wrap:nowrap}.ft-head-note{display:none}.official-board .ft-user-actions a{white-space:nowrap;padding:7px 9px}.market-guide{padding:16px}.market-guide h2{font-size:15px}.market-guide p{font-size:9px;line-height:1.9}.market-guide svg{width:45px;height:45px;flex:0 0 auto}.market-filters{grid-template-columns:1fr 1fr;padding:12px;gap:9px}.market-filters label:first-child,.market-filters button{grid-column:1/-1}.market-filters select,.market-filters button{height:42px}.market-summary{grid-template-columns:1fr 1fr}.market-summary>div{border-bottom:1px solid #edf0ee;padding:12px}.official-grid{grid-template-columns:1fr}.quick-order{padding:18px}.order-board>header{display:block}.order-board header p{margin-top:7px}.order-columns{grid-template-columns:1fr}.order-column+div{border-right:0;border-top:1px solid #edf0ee}.order-column{padding:12px}.order-column a{min-height:42px}.empty-order{min-height:80px}.official-board .ft-orders-table{overflow-x:auto}.official-board .ft-orders-head,.official-board .ft-order-row{min-width:620px;grid-template-columns:55px 1fr .6fr 1fr 1fr 55px}.official-board .ft-orders-head span:nth-child(5),.official-board .ft-orders-head span:nth-child(6),.official-board .ft-order-row b,.official-board .ft-order-row em{display:block}}

.fx3-kpis.fx3-kpis-three{grid-template-columns:repeat(3,1fr)}.fx3-order-cards>article{display:flex;flex-direction:column}.fx3-order-timeline{display:flex;align-items:center;margin-top:17px;color:#a4aea9;font-size:8px;font-weight:800;white-space:nowrap}.fx3-order-timeline span{position:relative;z-index:1;display:grid;place-items:center;width:26px;height:26px;padding:0;border:1px solid #dce5e0;border-radius:50%;background:#fff;color:#94a19a}.fx3-order-timeline span.done,.fx3-order-timeline span.current{border-color:#087a55;background:#087a55;color:#fff}.fx3-order-timeline span.current{box-shadow:0 0 0 4px #e7f5ef}.fx3-order-timeline i{height:2px;flex:1;background:#dce5e0}.fx3-order-timeline span.done+i{background:#87cdb0}.fx3-order-state{min-height:20px;margin-top:10px!important;color:#617169!important;font-size:8px!important;font-weight:700}.fx3-reactivate{padding:5px 8px!important;border-radius:7px!important;background:#e9f7f0!important;color:#087a55!important}

.fx3-matches{padding:18px;border:1px solid #d4e9de;border-radius:18px;background:linear-gradient(135deg,#f5fcf8,#fff)}.fx3-matches .fx3-match-note{margin:-5px 0 15px;color:#718078;font-size:9px}.fx3-match-action{display:block;margin-top:12px;color:#087a55;font-size:8px;font-weight:800}

/* Secure room — intentional, non-crypto transaction flow */

.secure-room{padding-top:2rem;padding-bottom:4rem;max-width:1140px}.sr-hero{background:linear-gradient(120deg,#063f32,#087055);border-radius:28px;padding:2.15rem 2.4rem;display:flex;justify-content:space-between;align-items:center;gap:1.5rem;color:#fff;box-shadow:0 18px 45px rgba(0,72,56,.13)}.sr-eyebrow{display:inline-flex;align-items:center;gap:.45rem;color:#e9c878;font-size:.82rem;font-weight:800}.sr-eyebrow svg{width:18px;fill:none;stroke:currentColor;stroke-width:2}.sr-hero h1{font-size:1.65rem;margin:.55rem 0 .35rem;color:#fff}.sr-hero p{margin:0;color:#d9eee7;font-size:.93rem}.sr-hero-meta{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);min-width:205px;border-radius:18px;padding:1rem 1.15rem;text-align:left;display:grid;gap:.3rem}.sr-status{font-size:.72rem;color:#fbdaa0}.sr-hero-meta strong{font-size:1.2rem}.sr-hero-meta small,.sr-hero-meta em{font-size:.72rem;font-style:normal;color:#d5e7df}.sr-refresh{display:flex;align-items:center;gap:.45rem;background:#f1f8f5;border:1px solid #d9ebe4;border-radius:13px;padding:.7rem 1rem;margin:1rem 0;color:#47695e;font-size:.78rem}.sr-refresh svg{width:16px;height:16px;fill:none;stroke:#087055;stroke-width:2}.sr-refresh a{color:#087055;font-weight:800;margin-right:auto}.sr-parties{display:grid;grid-template-columns:1fr auto 1fr;gap:1rem;align-items:center;margin:1.25rem 0}.sr-parties article{background:#fff;border:1px solid #e5ece8;border-radius:18px;padding:1rem 1.15rem;display:flex;align-items:center;gap:.8rem;min-width:0}.sr-parties small{display:block;color:#789087;font-size:.74rem;margin-bottom:.12rem}.sr-parties b{font-size:.96rem;color:#163c31;display:block}.sr-parties p{margin:.23rem 0 0;color:#71867e;font-size:.78rem}.sr-avatar{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-weight:900;flex:0 0 auto}.sr-avatar.seller{background:#eef7f2;color:#087055}.sr-avatar.buyer{background:#fff6e6;color:#b27c1c}.sr-link{display:flex;align-items:center;color:#ca9c40}.sr-link span{width:24px;height:1px;background:#e2c68d}.sr-link svg{width:20px;fill:none;stroke:currentColor;stroke-width:1.8}.sr-unlocked{border:1px solid #bee6d7;background:#f3fcf8;border-radius:15px;padding:.9rem 1rem;display:flex;align-items:center;gap:.75rem;color:#135641}.sr-unlocked>svg{width:23px;fill:none;stroke:#087055;stroke-width:2}.sr-unlocked div{display:grid;gap:.12rem}.sr-unlocked span{font-size:.79rem;color:#53776a}.sr-unlocked a{margin-right:auto;color:#087055;font-weight:800;font-size:.82rem}.sr-flow{margin-top:2.2rem}.sr-flow-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:1.1rem}.sr-flow-head span{font-size:.75rem;color:#b17e21;font-weight:800}.sr-flow-head h2{font-size:1.24rem;color:#153d31;margin:.18rem 0 0}.sr-flow-head a{font-size:.8rem;color:#087055;font-weight:800}.sr-step{display:grid;grid-template-columns:44px 1fr;gap:1rem;position:relative;padding-bottom:1rem}.sr-step:not(:last-child):before{content:"";position:absolute;right:21px;top:44px;height:calc(100% - 25px);border-right:1px dashed #ccdad4}.sr-step-marker{position:relative;z-index:1;width:44px;height:44px;border:1px solid #d5e1dc;background:#fff;border-radius:14px;display:grid;place-items:center;color:#789087;font-weight:900}.sr-step.is-current .sr-step-marker{background:#087055;color:#fff;border-color:#087055;box-shadow:0 8px 18px rgba(8,112,85,.18)}.sr-step.is-done .sr-step-marker{background:#e7f7ef;color:#087055;border-color:#c3e8d8}.sr-step-main{background:#fff;border:1px solid #e3ebe7;border-radius:19px;padding:1.2rem 1.3rem}.sr-step.is-locked .sr-step-main{background:#fafcfb;color:#91a19b}.sr-step-main header{display:flex;gap:1rem;justify-content:space-between;align-items:start}.sr-step-main h3{font-size:1rem;color:#173f33;margin:0 0 .35rem}.sr-step-main p{color:#667c73;font-size:.82rem;line-height:1.9;margin:0}.sr-step-main header>b{white-space:nowrap;color:#087055;background:#eef8f3;padding:.36rem .6rem;border-radius:8px;font-size:.71rem}.sr-step.is-locked header>b{background:#f1f4f3;color:#9baaa4}.sr-checks,.sr-deposit-state{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1rem}.sr-checks span,.sr-deposit-state span{background:#fafcfb;border:1px solid #e4ece8;border-radius:9px;padding:.43rem .6rem;font-size:.76rem;color:#80918a}.sr-checks .yes,.sr-deposit-state .yes{background:#eff9f4;color:#087055;border-color:#c9ebdb}.sr-btn{font-family:inherit;border:0;border-radius:10px;padding:.7rem 1.05rem;cursor:pointer;font-weight:800;font-size:.82rem;display:inline-flex;align-items:center;justify-content:center;margin-top:1rem}.sr-btn.primary{background:#087055;color:#fff}.sr-btn.primary:hover{background:#065f48}.sr-btn.outline{background:#fff;color:#087055;border:1px solid #087055}.sr-btn.danger{background:#b83f37;color:#fff}.sr-wait{margin-top:1rem;background:#f7f9f8;border-radius:10px;padding:.7rem .85rem;color:#71847c;font-size:.8rem}.sr-payment-form,.sr-final-form{display:flex;align-items:end;gap:.7rem;flex-wrap:wrap;margin-top:1rem}.sr-payment-form label,.sr-final-form label{display:grid;gap:.35rem;font-size:.75rem;font-weight:700;color:#436459}.sr-payment-form input:not([type=file]),.sr-final-form input{height:39px;border:1px solid #d9e4df;background:#fff;border-radius:9px;padding:0 .7rem;font-family:inherit;min-width:165px}.sr-payment-form label.file input{position:absolute;opacity:0;pointer-events:none}.sr-payment-form label.file span{height:39px;display:flex;align-items:center;border:1px dashed #9fcbb9;color:#087055;background:#f5fbf8;border-radius:9px;padding:0 .75rem}.sr-contract-preview{margin-top:1rem;border:1px solid #e6ebe8;border-radius:12px;background:#fcfdfd}.sr-contract-preview summary{cursor:pointer;padding:.8rem 1rem;font-size:.82rem;color:#145642;font-weight:800;list-style:none;display:flex;justify-content:space-between}.sr-contract-preview summary svg{width:17px;fill:none;stroke:currentColor;stroke-width:2}.sr-contract-preview div{border-top:1px solid #edf1ef;padding:.2rem 1rem .75rem}.sr-contract-preview p{font-size:.78rem}.sr-sign-form{margin-top:1rem;display:flex;align-items:center;gap:.9rem;flex-wrap:wrap}.sr-sign-form label{font-size:.8rem;color:#426359}.sr-sign-form input{accent-color:#087055}.sr-document-link{display:inline-block;margin-top:.85rem;color:#087055;font-size:.8rem;font-weight:800;border-bottom:1px dashed #087055}.sr-dispute{margin:1rem 0;background:#fff7f6;border:1px solid #f0d3cf;border-radius:15px;padding:.9rem 1rem}.sr-dispute summary{cursor:pointer;color:#9e3931;font-size:.84rem;font-weight:900}.sr-dispute summary span{color:#a77b75;font-size:.7rem;font-weight:500}.sr-dispute form{margin-top:.9rem;display:grid;gap:.65rem}.sr-dispute textarea{min-height:90px;resize:vertical;font-family:inherit;border:1px solid #e6cac5;border-radius:10px;padding:.7rem}.agreement-paper{background:#fff;border:1px solid #e2e8e5;border-radius:22px;max-width:820px;margin:2.5rem auto;padding:2.2rem;box-shadow:0 12px 30px rgba(11,62,47,.06);color:#24483d}.agreement-paper header{display:flex;justify-content:space-between;gap:1rem;border-bottom:2px solid #e4c579;padding-bottom:1.2rem}.agreement-paper header span{color:#b5801f;font-weight:800;font-size:.8rem}.agreement-paper h1{font-size:1.45rem;margin:.4rem 0;color:#0a513d}.agreement-paper h2{font-size:1rem;color:#0a513d;margin:1.5rem 0 .75rem}.agreement-paper p,.agreement-paper li{font-size:.88rem;line-height:2.1}.agreement-paper dl{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;margin:0}.agreement-paper dl div{background:#f8fbfa;border-radius:10px;padding:.7rem}.agreement-paper dt{font-size:.72rem;color:#70867d}.agreement-paper dd{margin:.25rem 0 0;font-weight:800;font-size:.86rem}.agreement-paper footer{margin-top:1.5rem;border-top:1px solid #e6ece9;padding-top:1rem;color:#71867e;font-size:.75rem}

@media(max-width:700px){.secure-room{padding:1rem .8rem 5rem}.sr-hero{padding:1.25rem;border-radius:20px;display:block}.sr-hero h1{font-size:1.16rem}.sr-hero-meta{margin-top:1rem;grid-template-columns:1fr auto;min-width:0}.sr-hero-meta em{grid-column:1/3}.sr-refresh{font-size:.69rem;line-height:1.7}.sr-refresh a{margin-right:0}.sr-parties{gap:.45rem;grid-template-columns:1fr 18px 1fr}.sr-parties article{padding:.75rem .55rem;gap:.45rem}.sr-avatar{width:32px;height:32px;border-radius:10px;font-size:.8rem}.sr-parties b{font-size:.76rem}.sr-parties p,.sr-parties small{font-size:.62rem}.sr-link span{display:none}.sr-link svg{width:18px}.sr-unlocked{font-size:.78rem}.sr-unlocked a{font-size:.7rem}.sr-flow-head{align-items:start}.sr-flow-head h2{font-size:1.03rem}.sr-flow-head a{font-size:.68rem;text-align:left}.sr-step{grid-template-columns:35px 1fr;gap:.65rem}.sr-step-marker{width:35px;height:35px;border-radius:11px;font-size:.8rem}.sr-step:not(:last-child):before{right:17px;top:35px}.sr-step-main{padding:1rem;border-radius:15px}.sr-step-main header{display:block}.sr-step-main header>b{display:inline-block;margin-top:.65rem;font-size:.64rem}.sr-step-main h3{font-size:.9rem}.sr-step-main p{font-size:.74rem}.sr-payment-form,.sr-final-form{display:grid;grid-template-columns:1fr}.sr-payment-form input:not([type=file]),.sr-final-form input{width:100%;min-width:0}.sr-payment-form .sr-btn,.sr-final-form .sr-btn{width:100%;margin-top:0}.sr-sign-form{display:grid}.sr-sign-form .sr-btn{width:100%;margin-top:0}.agreement-paper{margin:1rem 0;padding:1.2rem;border-radius:16px}.agreement-paper header{display:block}.agreement-paper .sr-btn{width:100%}.agreement-paper dl{grid-template-columns:1fr}.agreement-paper h1{font-size:1.15rem}}

@media print{.site-header,.site-footer,.sr-btn{display:none!important}.agreement-paper{box-shadow:none;border:0;margin:0;max-width:none}}

/* Compact customer profile: controls live beneath the name in the header. */

.fx3-profile-hero{display:none!important}.fx3-profile-main{padding-top:30px!important}.fx3-basic-information{display:flex;justify-content:space-between;align-items:center;gap:1rem;background:#fff;border:1px solid #e1eae5;border-radius:16px;padding:1rem 1.15rem;margin:0 0 1rem}.fx3-basic-information div{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.fx3-basic-information span{font-size:.74rem;color:#688178}.fx3-basic-information b{font-size:1rem;color:#114736}.fx3-basic-information small{color:#6a8279;font-size:.78rem}.fx3-basic-information a{background:#087055;color:#fff;border-radius:9px;padding:.56rem .9rem;font-size:.78rem;font-weight:800}@media(max-width:600px){.fx3-profile-main{padding-top:16px!important}.fx3-basic-information{align-items:flex-start}.fx3-basic-information div{display:grid;gap:.1rem}.fx3-basic-information a{white-space:nowrap;font-size:.7rem;padding:.48rem .6rem}}



/* Dashboard after the old profile hero was removed. */

.fx3-profile-main{margin-top:0!important;padding-top:34px!important}.fx3-dashboard-intro{margin-bottom:18px}.fx3-dashboard-intro span{font-size:.76rem;color:#b17e21;font-weight:800}.fx3-dashboard-intro h1{margin:.18rem 0;color:#143f32;font-size:1.42rem}.fx3-dashboard-intro p{margin:0;color:#72867e;font-size:.82rem}.fx3-kpis.fx3-kpis-three{grid-template-columns:repeat(2,1fr)}.fx3-kpis.fx3-kpis-three article:nth-child(2){display:none}@media(max-width:600px){.fx3-profile-main{padding-top:20px!important}.fx3-dashboard-intro{margin-bottom:13px}.fx3-dashboard-intro h1{font-size:1.12rem}.fx3-dashboard-intro p{font-size:.73rem}.fx3-kpis.fx3-kpis-three{grid-template-columns:1fr 1fr}}

/* Identity profile */

.ep-page{width:100%}.ep-head{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin:1rem 0 1.2rem}.ep-head span{color:#b17e21;font-size:.78rem;font-weight:800}.ep-head h1{margin:.2rem 0;font-size:1.5rem;color:#143f32}.ep-head p{margin:0;color:#71867e;font-size:.84rem}.ep-card{background:#fff;border:1px solid #e2ebe6;border-radius:20px;overflow:hidden}.ep-identity{display:flex;align-items:center;gap:.85rem;padding:1.25rem;border-bottom:1px solid #e8efeb;background:#f7fbf9}.ep-identity svg{width:42px;height:42px;padding:9px;border-radius:13px;background:#e6f5ed;fill:none;stroke:#087055;stroke-width:1.8}.ep-identity div{display:grid;gap:.12rem}.ep-identity b{color:#123e30}.ep-identity span{font-size:.76rem;color:#668077}.ep-identity i,.ep-identity>a{margin-right:auto;font-size:.75rem;font-style:normal;font-weight:800;padding:.35rem .6rem;border-radius:8px}.ep-identity i{color:#087055;background:#dff4e8}.ep-identity>a{color:#9a6810;background:#fff0cd}.ep-fields{display:grid;grid-template-columns:1fr 1fr;margin:0;padding:1.1rem;gap:.8rem}.ep-fields div{border:1px solid #e7eeea;border-radius:12px;padding:.75rem .85rem;background:#fff}.ep-fields dt{font-size:.73rem;color:#74887f}.ep-fields dd{margin:.28rem 0 0;color:#244a3d;font-size:.9rem;font-weight:800}.ep-note{margin:0 1.1rem 1.1rem;padding:.75rem .85rem;background:#fff8e9;border-radius:11px;color:#86631f;font-size:.78rem;line-height:1.9}@media(max-width:600px){.ep-page{padding-top:.7rem}.ep-head{align-items:start;flex-direction:column}.ep-head .sr-btn{margin-top:0}.ep-fields{grid-template-columns:1fr;padding:.8rem}.ep-identity{padding:1rem}.ep-identity i,.ep-identity>a{font-size:.65rem}.ep-note{margin:.8rem}}

/* Market home: familiar exchange terminal, but deliberately non-crypto. */

.fx-market-home{background:#f5f7f6}.fx-market-hero{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.8rem 2rem;margin-bottom:14px;border-radius:20px;background:linear-gradient(120deg,#073c2e,#087055);color:#fff}.fx-market-hero span,.fx-quick-terminal header span{font-size:.76rem;color:#e3c779;font-weight:800}.fx-market-hero h1{margin:.3rem 0;font-size:1.55rem}.fx-market-hero p{margin:0;color:#d3e7de;font-size:.84rem}.fx-market-hero-stat{min-width:180px;padding:.85rem 1rem;border:1px solid rgba(255,255,255,.17);border-radius:14px;background:rgba(255,255,255,.08)}.fx-market-hero-stat small,.fx-market-hero-stat b,.fx-market-hero-stat em{display:block}.fx-market-hero-stat small,.fx-market-hero-stat em{font-size:.7rem;color:#d9e9e3;font-style:normal}.fx-market-hero-stat b{font-size:1.1rem;color:#fff}.fx-quick-terminal{margin-bottom:14px;border:1px solid #dce6e1;border-radius:18px;background:#fff;box-shadow:0 8px 25px rgba(9,69,51,.05);overflow:hidden}.fx-quick-terminal>header{padding:1.2rem 1.35rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e9efec}.fx-quick-terminal h2{margin:.2rem 0;font-size:1.05rem;color:#164535}.fx-quick-terminal p{margin:0;color:#778a81;font-size:.76rem}.fx-quick-terminal>header>b{font-size:.72rem;color:#087055;background:#e9f7f0;padding:.45rem .7rem;border-radius:9px}.fx-quick-terminal form{padding:1.1rem 1.35rem}.fx-quick-side{display:flex;gap:.55rem;margin-bottom:1rem}.fx-quick-side input{position:absolute;opacity:0}.fx-quick-side span{display:block;padding:.55rem 1rem;border:1px solid #dae5df;border-radius:9px;color:#6b8076;cursor:pointer;font-size:.8rem;font-weight:800}.fx-quick-side input:checked+span{border-color:#087055;background:#edf9f3;color:#087055}.fx-quick-side label:last-child input:checked+span{border-color:#a94640;background:#fff3f1;color:#9d413a}.fx-quick-fields{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem}.fx-quick-fields label,.fx-quick-footer label{display:grid;gap:.35rem;color:#587168;font-size:.72rem;font-weight:800}.fx-quick-fields input,.fx-quick-fields select,.fx-quick-footer select{height:40px;border:1px solid #d9e4de;border-radius:9px;background:#fcfdfc;padding:0 .65rem;color:#28463a;font:600 .78rem "Vazirmatn";outline:none}.fx-quick-file{position:relative}.fx-quick-file input{position:absolute;inset:18px 0 0;width:100%;opacity:0;cursor:pointer}.fx-quick-file span{height:40px;display:flex;align-items:center;padding:0 .65rem;border:1px dashed #8abda9;border-radius:9px;background:#f5fbf8;color:#087055}.fx-quick-terminal footer{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #edf1ef}.fx-quick-terminal footer button{height:42px;padding:0 1.4rem;border:0;border-radius:9px;background:#087055;color:#fff;font:800 .8rem "Vazirmatn";cursor:pointer}.fx-market-home .fx-board{margin-top:14px}.fx-market-home .official-grid{display:none}.fo-shell{max-width:940px!important;padding-top:28px!important}.fo-head{padding:1.25rem 1.4rem;border:1px solid #dfe8e3;border-radius:17px;background:#fff;margin-bottom:14px}.fo-head h1{font-size:1.4rem}.fo-form{border-color:#d9e5df;border-radius:18px;padding:1.35rem;box-shadow:0 10px 30px rgba(8,67,49,.05)}.fo-side-tabs span{padding:1rem}.fo-form section{margin-top:1.4rem;padding-top:1.2rem}.fo-form section h2{font-size:.9rem}.fo-form label{font-size:.75rem}.fo-form input,.fo-form select,.fo-form textarea{font-size:.8rem}.fo-submit{height:48px;font-size:.85rem;border-radius:11px}@media(max-width:850px){.fx-quick-fields{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.fx-market-hero{padding:1.25rem;display:block}.fx-market-hero h1{font-size:1.18rem}.fx-market-hero-stat{margin-top:.9rem}.fx-quick-terminal>header{padding:1rem;display:block}.fx-quick-terminal>header>b{display:inline-block;margin-top:.6rem}.fx-quick-terminal form{padding:1rem}.fx-quick-fields{grid-template-columns:1fr}.fx-quick-terminal footer{align-items:stretch;flex-direction:column}.fx-quick-terminal footer button{width:100%}.fx-quick-side{display:grid;grid-template-columns:1fr 1fr}.fx-quick-side span{text-align:center;padding:.6rem}.fo-head{padding:1rem}.fo-head h1{font-size:1.15rem}}



/* Retire the redundant exchange subheader under Besharat's global header. */

.official-board .ft-top{display:none!important}.official-board .ft-shell{padding-top:18px}

.fo-form label:has(input[name="bank_name"]){display:none!important}

/* The detailed order page is one compact form, not a wizard. */

.fo-form section{margin-top:0!important;padding-top:0!important;border-top:0!important;margin-bottom:1rem}.fo-form section h2{display:none!important}.fo-form .fo-grid{margin-bottom:.75rem}.fo-form .fo-check{margin-top:.65rem!important}

.fo-form:has(input[name="listing_type"][value="buy"]:checked) label:has(>select[name="city"]){display:none!important}

/* Quick order: use the same composed controls for every field; never show browser file widgets. */

.fx-quick-terminal .fx-quick-fields{align-items:end}.fx-quick-terminal .fx-quick-fields>label{min-width:0}.fx-quick-terminal .quick-file{position:relative;grid-template-rows:auto 40px auto}.fx-quick-terminal .quick-file input[type=file]{position:absolute!important;inset:18px 0 auto!important;width:100%!important;height:40px!important;opacity:0!important;cursor:pointer!important;z-index:2!important}.fx-quick-terminal .quick-file-label{height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px dashed #86bda7!important;border-radius:9px!important;background:#f4fbf8!important;color:#087055!important;font-size:.76rem!important;font-weight:800!important}.fx-quick-terminal .quick-file small{min-height:14px;display:block;margin-top:3px;color:#83938b;font-size:.62rem;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fx-quick-terminal footer .quick-buy-duration{display:grid;gap:.35rem;color:#587168;font-size:.72rem;font-weight:800}.fx-quick-terminal footer .quick-buy-duration select{height:42px;min-width:142px;border:1px solid #d9e4de;border-radius:9px;background:#fcfdfc;padding:0 .65rem;color:#28463a;font:600 .78rem "Vazirmatn"}.fx-quick-terminal footer{min-height:60px}.fx-quick-terminal .quick-seller-only{align-content:start}.fx-quick-terminal label:has(>input[name="receipt_number"]){display:none!important}@media(max-width:600px){.fx-quick-terminal footer .quick-buy-duration select{width:100%}.fx-quick-terminal .quick-file{min-height:72px}}

.fx-quick-terminal .quick-file{margin-top:0;transform:translateY(27px)}

/* A compact, exchange-style board for receipt orders — intentionally not crypto. */

.fx-market-home .fx-board{overflow:hidden;border:1px solid #24352e;border-radius:18px;background:#14221d;color:#eaf3ee;box-shadow:0 16px 34px rgba(8,27,20,.16)}.fx-market-home .fx-board>header{padding:1.25rem 1.35rem;border-bottom:1px solid rgba(255,255,255,.09);background:linear-gradient(100deg,#172b23,#1c3028)}.fx-market-home .fx-board>header span{color:#ddbd69}.fx-market-home .fx-board>header h2{color:#fff;font-size:1.1rem}.fx-market-home .fx-board>header p{color:#a7beb4}.fx-market-home .fx-board .order-columns{background:#14221d}.fx-market-home .fx-board .order-column{padding:1rem 1.15rem}.fx-market-home .fx-board .order-column.sell{background:linear-gradient(180deg,rgba(151,63,54,.13),transparent 58%)}.fx-market-home .fx-board .order-column.buy{background:linear-gradient(180deg,rgba(15,133,91,.14),transparent 58%)}.fx-market-home .fx-board .order-column h3{margin:0 0 .8rem;color:#f0f5f2;font-size:.88rem}.fx-market-home .fx-board .order-column.sell h3{color:#ffb2a9}.fx-market-home .fx-board .order-column.buy h3{color:#87e1ba}.fx-market-home .fx-board .order-label{color:#8da59a}.fx-market-home .fx-board .order-column a{position:relative;overflow:hidden;margin-top:5px;padding:10px;border:1px solid rgba(255,255,255,.07);border-radius:8px;background:rgba(255,255,255,.035);color:#dce9e3}.fx-market-home .fx-board .order-column a:before{content:"";position:absolute;z-index:0;right:0;top:0;bottom:0;width:38%;opacity:.22}.fx-market-home .fx-board .order-column.sell a:before{background:#b95148}.fx-market-home .fx-board .order-column.buy a:before{background:#129363}.fx-market-home .fx-board .order-column a>*{position:relative;z-index:1}.fx-market-home .fx-board .order-column a b{color:#fff}.fx-market-home .fx-board .order-column.sell a b{color:#ffb6ae}.fx-market-home .fx-board .order-column.buy a b{color:#91e7bd}.fx-market-home .fx-board .order-column a span,.fx-market-home .fx-board .order-column a em{color:#b1c3ba}.fx-market-home .fx-board .empty-order{color:#a5b8af;background:rgba(255,255,255,.025)}@media(max-width:600px){.fx-market-home .fx-board>header{padding:1rem}.fx-market-home .fx-board>header h2{font-size:1rem}.fx-market-home .fx-board .order-column{padding:.85rem}.fx-market-home .fx-board .order-column a{padding:9px}}

/* Exchange page canvas: calm charcoal across the full page, while forms remain readable. */

body:has(.fx-market-home){background:#1a211f}.fx-market-home{background:#1a211f!important}.fx-market-home .ft-shell{padding-bottom:36px}.fx-market-home .market-filters,.fx-market-home .ft-bottom{box-shadow:0 12px 26px rgba(0,0,0,.16)}

/* Unified dark market surface. */

@media(max-width:600px){.fx-market-home .fx-board .order-columns{grid-template-columns:1fr 1fr;gap:0}.fx-market-home .fx-board .order-column{max-height:300px;min-height:0;padding:.7rem;overflow-y:auto;overscroll-behavior:contain}.fx-market-home .fx-board .order-column+div{border-top:0;border-right:1px solid rgba(255,255,255,.09)}.fx-market-home .fx-board .order-column h3{position:sticky;top:-.7rem;z-index:2;margin:0 -0.7rem .55rem;padding:.7rem;background:#182720;font-size:.78rem}.fx-market-home .fx-board .order-label{grid-template-columns:1fr;font-size:.57rem}.fx-market-home .fx-board .order-label span:last-child{display:none}.fx-market-home .fx-board .order-column a{display:grid;grid-template-columns:1fr;padding:8px;font-size:.66rem}.fx-market-home .fx-board .order-column a b{font-size:.7rem}.fx-market-home .fx-board .order-column a span{font-size:.57rem}.fx-market-home .fx-board .order-column a em{display:none}.fx-market-home .fx-board .empty-order{min-height:100px;padding:12px;font-size:.63rem}}

@media(max-width:600px){.fx-market-home .ft-orders-table{overflow:visible!important}.fx-market-home .ft-orders-head{display:none!important}.fx-market-home .ft-order-row{min-width:0!important;display:grid!important;grid-template-columns:1fr auto!important;gap:3px 10px;padding:11px 12px!important}.fx-market-home .ft-order-row>span:nth-child(1){display:none}.fx-market-home .ft-order-row>span:nth-child(2){grid-column:1;grid-row:1;font-size:.72rem;font-weight:800}.fx-market-home .ft-order-row>span:nth-child(3){grid-column:1;grid-row:2;font-size:.63rem}.fx-market-home .ft-order-row>span:nth-child(4){grid-column:1;grid-row:3;color:#93a99e;font-size:.59rem}.fx-market-home .ft-order-row>b{display:block!important;grid-column:2;grid-row:1;font-size:.72rem;white-space:nowrap}.fx-market-home .ft-order-row>em{display:inline-flex!important;grid-column:2;grid-row:2;justify-content:center;padding:3px 6px;font-size:.57rem;white-space:nowrap}}

@media(max-width:600px){.fx-market-home .ft-order-row{position:relative;display:block!important;min-height:78px;margin:7px 8px!important;padding:12px 92px 10px 12px!important;border:1px solid #314139!important;border-radius:11px;background:#18231e!important}.fx-market-home .ft-order-row>span:nth-child(1){display:none!important}.fx-market-home .ft-order-row>span:nth-child(2){display:block!important;font-size:.75rem;font-weight:800;color:#eef7f1}.fx-market-home .ft-order-row>span:nth-child(3){display:inline-block!important;margin-top:5px;padding:2px 6px;border-radius:5px;background:#25372f;font-size:.59rem}.fx-market-home .ft-order-row>span:nth-child(4){display:block!important;margin-top:5px;color:#91a89c;font-size:.61rem}.fx-market-home .ft-order-row>b{position:absolute;left:11px;top:13px;display:block!important;font-size:.76rem;white-space:nowrap}.fx-market-home .ft-order-row>em{position:absolute;left:11px;top:41px;display:inline-flex!important;padding:3px 6px;border-radius:5px;font-size:.56rem;white-space:nowrap}}

.fx-market-home .fx-quick-terminal,.fx-market-home .market-filters,.fx-market-home .ft-bottom{border-color:#2b3a34!important;background:#202a26!important;color:#eaf2ee}.fx-market-home .fx-quick-terminal>header{border-color:#2d3c36;background:#202a26}.fx-market-home .fx-quick-terminal h2,.fx-market-home .fx-quick-terminal p,.fx-market-home .fx-quick-terminal header span{color:#edf4f0}.fx-market-home .fx-quick-terminal p{color:#a9bcb3}.fx-market-home .fx-quick-terminal>header>b{background:#293b34;color:#99e0bd}.fx-market-home .fx-quick-side span{border-color:#3a4b44;background:#1a231f;color:#b9c9c1}.fx-market-home .fx-quick-side input:checked+span{background:#123d2e;color:#9eebc7;border-color:#16885d}.fx-market-home .fx-quick-side label:last-child input:checked+span{background:#432521;color:#ffb4ac;border-color:#bd5a50}.fx-market-home .fx-quick-fields label,.fx-market-home .fx-quick-terminal footer .quick-buy-duration{color:#bdd0c7}.fx-market-home .fx-quick-fields input,.fx-market-home .fx-quick-fields select,.fx-market-home .fx-quick-terminal footer .quick-buy-duration select{border-color:#3b4b45;background:#151d1a;color:#edf4f0}.fx-market-home .quick-file-label{border-color:#3c7861!important;background:#14251e!important;color:#9de9c2!important}.fx-market-home .quick-file small{color:#91a79c}.fx-market-home .fx-quick-terminal footer{border-color:#2c3b35}.fx-market-home .market-filters label span,.fx-market-home .market-filters label{color:#bbcec5}.fx-market-home .market-filters select{border-color:#3b4b45!important;background:#151d1a!important;color:#eaf2ee!important}.fx-market-home .market-filters button,.fx-market-home .fx-quick-terminal footer button{background:#0d7e57;color:#fff}.fx-market-home .ft-bottom-tabs{border-color:#2d3c36}.fx-market-home .ft-bottom-tabs h2{color:#eef6f1}.fx-market-home .ft-bottom-tabs a{color:#9de7c1}.fx-market-home .ft-orders-head{border-color:#2e3d37!important;background:#19221f!important;color:#8fa79b}.fx-market-home .ft-order-row{border-color:#2e3d37!important;color:#d9e7e0}.fx-market-home .ft-order-row:hover{background:#28352f!important}.fx-market-home .ft-order-row b{color:#9ee9c3}.fx-market-home .ft-order-row em{background:#193d2d!important;color:#8ee1b9!important}.fx-market-home .ft-no-orders{color:#aebfb7;background:#19221f}.fx-market-home .market-summary{background:#202a26;border-color:#2d3c36}.fx-market-home .market-summary>div{border-color:#2d3c36}.fx-market-home .market-summary span{color:#98afa4}.fx-market-home .market-summary b{color:#eef6f1}

.fx-market-home .quick-buy-duration{display:none!important}

/* Desktop market workspace: the book and order entry belong together. */

.fx-market-home .fx-market-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.85fr);gap:14px;align-items:start;margin-top:14px}.fx-market-home .fx-market-workspace .fx-board,.fx-market-home .fx-market-workspace .fx-quick-terminal{margin:0}.fx-market-home .fx-market-workspace .fx-board>header{padding:1rem 1.1rem}.fx-market-home .fx-market-workspace .fx-board>header h2{font-size:1rem}.fx-market-home .fx-market-workspace .fx-board>header p{display:none}.fx-market-home .fx-market-workspace .order-column{padding:.75rem .85rem;max-height:300px;overflow-y:auto}.fx-market-home .fx-market-workspace .order-column h3{font-size:.78rem;margin-bottom:.55rem}.fx-market-home .fx-market-workspace .order-column a{padding:8px;font-size:.68rem}.fx-market-home .fx-market-workspace .order-column a b{font-size:.72rem}.fx-market-home .fx-market-workspace .fx-quick-terminal>header{padding:1rem}.fx-market-home .fx-market-workspace .fx-quick-terminal>header h2{font-size:.94rem}.fx-market-home .fx-market-workspace .fx-quick-terminal form{padding:1rem}.fx-market-home .fx-market-workspace .fx-quick-fields{grid-template-columns:1fr 1fr;gap:.55rem}.fx-market-home .fx-market-workspace .quick-file{grid-column:1/-1;transform:none;margin:0}.fx-market-home .fx-market-workspace .fx-quick-terminal footer{margin-top:.75rem;padding-top:.75rem}.fx-market-home .fx-market-workspace .fx-quick-terminal footer button{width:100%}@media(max-width:780px){.fx-market-home .fx-market-workspace{grid-template-columns:1fr;margin-top:12px}.fx-market-home .fx-market-workspace .fx-board{order:1}.fx-market-home .fx-market-workspace .fx-quick-terminal{order:2}.fx-market-home .fx-market-workspace .fx-quick-fields{grid-template-columns:1fr 1fr}.fx-market-home .fx-market-workspace .quick-file{grid-column:1/-1}.fx-market-home .fx-market-workspace .order-column{max-height:245px}}@media(max-width:420px){.fx-market-home .fx-market-workspace .fx-quick-fields{grid-template-columns:1fr}.fx-market-home .fx-market-workspace .quick-file{grid-column:auto}}

@media(max-width:780px){.fx-market-home .fx-market-workspace{grid-template-columns:minmax(285px,1.08fr) minmax(265px,.92fr);gap:8px;overflow-x:auto;overscroll-behavior-x:contain;padding:0 1px 9px;scroll-snap-type:x proximity}.fx-market-home .fx-market-workspace>.fx-board,.fx-market-home .fx-market-workspace>.fx-quick-terminal{scroll-snap-align:start}.fx-market-home .fx-market-workspace .fx-board{order:0}.fx-market-home .fx-market-workspace .fx-quick-terminal{order:0}.fx-market-home .fx-market-workspace .fx-board>header{padding:.8rem}.fx-market-home .fx-market-workspace .fx-board>header h2{font-size:.88rem}.fx-market-home .fx-market-workspace .fx-board>header span{font-size:.62rem}.fx-market-home .fx-market-workspace .order-column{max-height:285px;padding:.6rem}.fx-market-home .fx-market-workspace .fx-quick-terminal>header{padding:.8rem}.fx-market-home .fx-market-workspace .fx-quick-terminal>header p,.fx-market-home .fx-market-workspace .fx-quick-terminal>header>b{display:none}.fx-market-home .fx-market-workspace .fx-quick-terminal>header h2{font-size:.85rem}.fx-market-home .fx-market-workspace .fx-quick-terminal form{padding:.75rem}.fx-market-home .fx-market-workspace .fx-quick-side{gap:.35rem;margin-bottom:.65rem}.fx-market-home .fx-market-workspace .fx-quick-side span{padding:.45rem .35rem;font-size:.68rem}.fx-market-home .fx-market-workspace .fx-quick-fields{grid-template-columns:1fr 1fr;gap:.45rem}.fx-market-home .fx-market-workspace .fx-quick-fields label{font-size:.62rem}.fx-market-home .fx-market-workspace .fx-quick-fields input,.fx-market-home .fx-market-workspace .fx-quick-fields select{height:36px;font-size:.67rem}.fx-market-home .fx-market-workspace .quick-file-label{height:36px!important}.fx-market-home .fx-market-workspace .fx-quick-terminal footer{margin-top:.6rem;padding-top:.6rem}.fx-market-home .fx-market-workspace .fx-quick-terminal footer button{height:38px;font-size:.72rem}}@media(max-width:420px){.fx-market-home .fx-market-workspace .fx-quick-fields{grid-template-columns:1fr}.fx-market-home .fx-market-workspace .quick-file{grid-column:auto}}

@media(max-width:780px){body:has(.fx-market-home){overflow-x:hidden}.fx-market-home .fx-market-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;overflow:visible;padding:0;scroll-snap-type:none}.fx-market-home .fx-market-workspace .fx-board{order:1;width:100%}.fx-market-home .fx-market-workspace .fx-quick-terminal{order:2;width:100%}.fx-market-home .fx-board .order-columns{grid-template-columns:1fr;gap:0}.fx-market-home .fx-board .order-column{max-height:235px;padding:.7rem;overflow-y:auto}.fx-market-home .fx-board .order-column+div{border-right:0;border-top:1px solid rgba(255,255,255,.10)}.fx-market-home .fx-board .order-column h3{position:sticky;top:-.7rem;margin:0 -0.7rem .55rem;padding:.7rem;background:#182720}.fx-market-home .fx-board .order-label{grid-template-columns:1fr 1fr}.fx-market-home .fx-board .order-label span:last-child{display:block}.fx-market-home .fx-board .order-column a{display:grid;grid-template-columns:1fr auto auto;padding:8px 9px}.fx-market-home .fx-board .order-column a em{display:block}.fx-market-home .fx-board .order-column.sell{background:linear-gradient(180deg,rgba(151,63,54,.15),transparent 75%)}.fx-market-home .fx-board .order-column.buy{background:linear-gradient(180deg,rgba(15,133,91,.16),transparent 75%)}}



/* 2026 market terminal: the board and the order entry are one compact workspace. */

.fx-market-home .fx-market-hero{margin-bottom:12px}.fx-market-home .fx-market-hero h1{font-size:1.65rem}.fx-market-home .fx-market-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:.7rem;margin:0 0 14px;padding:1rem 1.15rem}.fx-market-home .fx-market-filters button{height:40px;white-space:nowrap}.fx-market-home .fx-market-workspace{grid-template-columns:minmax(0,1.18fr) minmax(370px,.82fr)!important;grid-template-areas:"board form";gap:14px;align-items:stretch;margin-top:0}.fx-market-home .fx-market-workspace>.fx-board{grid-area:board;min-width:0}.fx-market-home .fx-market-workspace>.fx-quick-terminal{grid-area:form;min-width:0}.fx-market-home .fx-board>header{display:flex;align-items:center;min-height:70px}.fx-market-home .fx-board>header h2{margin:0}.fx-market-home .fx-board .order-columns{height:calc(100% - 70px);grid-template-columns:1fr 1fr}.fx-market-home .fx-board .order-column{max-height:430px;min-height:360px;overflow-y:auto}.fx-market-home .fx-quick-terminal{display:flex;flex-direction:column}.fx-market-home .fx-quick-terminal form{height:100%;display:flex;flex-direction:column}.fx-market-home .fx-quick-side{justify-content:flex-start;gap:0;margin:.1rem 0 1rem}.fx-market-home .fx-quick-side label{flex:1}.fx-market-home .fx-quick-side span{height:40px;display:flex;align-items:center;justify-content:center;border-radius:0}.fx-market-home .fx-quick-side label:first-child span{border-radius:0 10px 10px 0}.fx-market-home .fx-quick-side label:last-child span{border-radius:10px 0 0 10px;border-right:0}.fx-market-home .fx-quick-side input:checked+span{background:#0d7e57;color:#fff}.fx-market-home .fx-quick-side label:last-child input:checked+span{background:#a94640;color:#fff}.fx-market-home .fx-quick-fields{grid-template-columns:1fr 1fr}.fx-market-home .fx-quick-fields textarea{min-height:72px;resize:vertical;border:1px solid #3b4b45;border-radius:9px;background:#151d1a;color:#edf4f0;padding:.6rem;font:600 .76rem Vazirmatn}.fx-market-home .fx-quick-fields .field-wide{grid-column:1/-1}.fx-market-home .fx-quick-fields small{font-size:.61rem}.fx-market-home #price-delta{margin-top:2px}.fx-market-home #price-delta.above{color:#f3a29d}.fx-market-home #price-delta.below{color:#8ee4ba}.fx-market-home .fx-quick-terminal footer{margin-top:auto}.fx-market-home .fx-quick-terminal footer button.sell-button{background:#b24d45}.fx-market-home .fx-quick-terminal footer button:disabled{opacity:.65;cursor:wait}.fx-market-home .fx-quick-file{transform:none!important;margin:0!important}

@media(max-width:900px){.fx-market-home .fx-market-workspace{grid-template-columns:minmax(0,1fr) minmax(320px,.8fr)!important}.fx-market-home .fx-board .order-column{min-height:330px}.fx-market-home .fx-quick-terminal>header{padding:.85rem 1rem}.fx-market-home .fx-quick-terminal form{padding:.85rem}}

@media(max-width:780px){.fx-market-home .fx-market-hero h1{font-size:1.2rem}.fx-market-home .fx-market-filters{grid-template-columns:1fr 1fr;gap:.55rem}.fx-market-home .fx-market-filters label:last-of-type{grid-column:1/-1}.fx-market-home .fx-market-filters button{grid-column:1/-1}.fx-market-home .fx-market-workspace{grid-template-columns:1fr!important;grid-template-areas:"form" "board";overflow:visible!important}.fx-market-home .fx-board .order-columns{height:auto;grid-template-columns:1fr}.fx-market-home .fx-board .order-column{min-height:0;max-height:245px}.fx-market-home .fx-board .order-column+div{border-top:1px solid rgba(255,255,255,.1);border-right:0}.fx-market-home .fx-quick-fields{grid-template-columns:1fr 1fr}.fx-market-home .fx-quick-terminal{height:auto}}

@media(max-width:420px){.fx-market-home .fx-market-filters,.fx-market-home .fx-quick-fields{grid-template-columns:1fr}.fx-market-home .fx-market-filters label:last-of-type,.fx-market-home .fx-market-filters button{grid-column:auto}.fx-market-home .fx-quick-fields .field-wide{grid-column:auto}}



/* Compact two-column handset order form — no horizontal page scrolling. */

@media(max-width:780px){.fx-market-home .fx-quick-terminal form{padding:.85rem}.fx-market-home .fx-quick-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:.55rem}.fx-market-home .fx-quick-fields .field-wide{grid-column:1/-1!important}.fx-market-home .fx-quick-fields label{min-width:0;font-size:.66rem}.fx-market-home .fx-quick-fields input,.fx-market-home .fx-quick-fields select{min-width:0;height:39px;padding:0 .5rem;font-size:.72rem}.fx-market-home .fx-quick-fields textarea{font-size:.72rem}.fx-market-home .fx-quick-side{margin-bottom:.75rem}.fx-market-home .fx-quick-terminal footer button{width:100%;height:42px}.fx-market-home .fx-quick-file small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

.fx-market-home .fx-board .order-label{display:none}.fx-market-home .fx-board .fx-order-row{display:grid;grid-template-columns:120px minmax(0,1fr) 62px;gap:0;align-items:stretch;min-height:45px;margin:1px 0 0;padding:0;border:0;border-radius:0;background:#18231f;color:#dce9e3;overflow:hidden}.fx-market-home .fx-board .fx-order-row b{display:flex;align-items:center;justify-content:center;padding:0 7px;background:#176047;color:#d8f5e5;white-space:nowrap;font-size:.76rem;font-variant-numeric:tabular-nums}.fx-market-home .fx-board .fx-order-row b small{margin-right:3px;font-size:.55rem;color:#bce9d1}.fx-market-home .fx-board .sell .fx-order-row b{background:#285342;color:#e1f4e8}.fx-market-home .fx-board .buy .fx-order-row b{background:#176047;color:#d8f5e5}.fx-market-home .fx-board .fx-order-row .fx-order-period{display:flex;align-items:center;justify-content:center;min-width:0;padding:0 8px;background:#18231f;color:#e1e8e3;font-size:.72rem;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fx-market-home .fx-board .fx-order-row .fx-order-period:before{content:'•';margin-left:6px;color:#b8933b;font-size:.9rem}.fx-market-home .fx-board .fx-order-row .fx-order-city{display:flex;align-items:center;justify-content:center;padding:0 5px;background:#18231f;color:#a9c8b8;font-size:.66rem;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:780px){.fx-market-home .fx-board .fx-order-row{grid-template-columns:112px minmax(0,1fr) 54px;min-height:42px}.fx-market-home .fx-board .fx-order-row b{font-size:.7rem}.fx-market-home .fx-board .fx-order-row .fx-order-period{font-size:.64rem}.fx-market-home .fx-board .fx-order-row .fx-order-city{font-size:.6rem}}

.fx-market-home .fx-board{border-radius:18px!important;overflow:hidden!important}.fx-market-home .fx-board>header{border-radius:18px 18px 0 0}.fx-market-home .fx-board .order-columns{overflow:hidden;border-radius:0 0 18px 18px}

.fx-market-home .fx-board .order-columns{padding:0;background:#121b17}.fx-market-home .fx-board .order-column{overflow:hidden}.fx-market-home .fx-board .order-column.sell{border-radius:0 14px 14px 0}.fx-market-home .fx-board .order-column.buy{border-radius:14px 0 0 14px}

.fx-market-home .fx-board .order-column .order-label+.fx-order-row{border-radius:0 10px 0 0}.fx-market-home .fx-board .order-column .order-label+.fx-order-row b{border-radius:0 10px 0 0}.fx-market-home .fx-board .order-column .fx-order-row:last-child{border-radius:0 0 10px 0}.fx-market-home .fx-board .order-column .fx-order-row:last-child b{border-radius:0 0 10px 0}.fx-market-home .fx-board .order-column.buy .order-label+.fx-order-row{border-radius:10px 0 0 0}.fx-market-home .fx-board .order-column.buy .order-label+.fx-order-row b{border-radius:0}.fx-market-home .fx-board .order-column.buy .fx-order-row:last-child{border-radius:0 0 0 10px}.fx-market-home .fx-board .order-column.buy .fx-order-row:last-child b{border-radius:0}



/* Order board geometry follows the signed-off market reference. */

.fx-market-home .fx-board{border:1px solid #29423a!important;border-radius:14px!important;background:#14231e!important}.fx-market-home .fx-board>header{min-height:82px;padding:1.1rem 1.45rem!important;border-bottom:1px solid #385047!important;border-radius:14px 14px 0 0!important;background:linear-gradient(120deg,#163a2c,#173126)!important}.fx-market-home .fx-board>header span.eyebrow{display:block;margin-bottom:7px;color:#e3bd62!important;font-size:.66rem!important;font-weight:800}.fx-market-home .fx-board>header h2{font-size:1.1rem!important;color:#fff!important}.fx-market-home .fx-board .order-columns{height:auto!important;min-height:0;padding:0!important;border-radius:0 0 14px 14px!important;background:#15231e!important}.fx-market-home .fx-board .order-column{min-height:0!important;max-height:330px;padding:0 0 10px!important;background:#17231f!important;overflow-y:auto}.fx-market-home .fx-board .order-column.sell{border-radius:0 0 14px 0!important;background:#1c1d19!important}.fx-market-home .fx-board .order-column.buy{border-radius:0 0 0 14px!important;background:#172b24!important}.fx-market-home .fx-board .order-column+div{border-right:1px solid #d8e0dc!important;border-top:0!important}.fx-market-home .fx-board .order-column h3{position:static;margin:0!important;padding:13px 15px 8px!important;background:transparent!important;text-align:center;font-size:.86rem!important}.fx-market-home .fx-board .order-column.sell h3{color:#ff9a8e!important}.fx-market-home .fx-board .order-column.buy h3{color:#33d69b!important}.fx-market-home .fx-board .order-label{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;margin:0 15px 9px!important;padding:0!important;background:transparent!important;color:#79aa96!important;font-size:.52rem!important}.fx-market-home .fx-board .fx-order-row{grid-template-columns:112px minmax(0,1fr) 60px!important;min-height:44px!important;margin:6px 15px 0!important;border:1px solid #34473f!important;border-radius:8px!important;background:#202c27!important;overflow:hidden}.fx-market-home .fx-board .fx-order-row b{border-radius:0!important;background:#176047!important;color:#def6e9!important;font-size:.74rem!important}.fx-market-home .fx-board .sell .fx-order-row b{background:#4a342f!important;color:#ffd0c9!important}.fx-market-home .fx-board .fx-order-row .fx-order-period{background:#202c27!important;color:#e5eee9!important;font-size:.66rem!important}.fx-market-home .fx-board .fx-order-row .fx-order-city{background:#202c27!important;color:#b8d5c7!important;font-size:.64rem!important}.fx-market-home .fx-board .fx-order-row .fx-order-period:before{color:#d5a93d!important}.fx-market-home .fx-board .empty-order{margin:6px 15px!important;border-radius:8px!important;background:#202c27!important;color:#afc0b8!important}

@media(max-width:780px){.fx-market-home .fx-board>header{min-height:72px;padding:.9rem 1rem!important}.fx-market-home .fx-board .order-column{max-height:300px}.fx-market-home .fx-board .fx-order-row{grid-template-columns:105px minmax(0,1fr) 52px;margin:5px 10px 0!important}.fx-market-home .fx-board .order-label{margin:0 10px 8px!important}}



/* Fill the entire order-book depth with the buy/sell market colors. */

.fx-market-home .fx-board{display:flex;flex-direction:column}.fx-market-home .fx-board .order-columns{display:grid;grid-template-columns:1fr 1fr;flex:1;min-height:0}.fx-market-home .fx-board .order-column{height:100%;max-height:none!important}.fx-market-home .fx-board .order-column.sell{background:linear-gradient(180deg,#2c1e1b 0%,#211a18 100%)!important}.fx-market-home .fx-board .order-column.buy{background:linear-gradient(180deg,#143c2e 0%,#102b22 100%)!important}.fx-market-home .fx-board .order-column h3{padding:9px 15px 2px!important;line-height:1.25}.fx-market-home .fx-board .order-label{margin:0 15px 5px!important}.fx-market-home .fx-board .fx-order-row{margin-top:4px!important}

.fx-market-home .fx-quick-terminal .fx-quick-fields{align-items:start!important}

.fx-market-home .fx-board .order-column.sell,.fx-market-home .fx-board .order-column.buy{background:#17231f!important}

.fx-market-home .fx-board .order-label{grid-template-columns:112px minmax(0,1fr) 60px!important;align-items:center}.fx-market-home .fx-board .order-label span{text-align:center;white-space:nowrap}@media(max-width:780px){.fx-market-home .fx-board .order-label{grid-template-columns:105px minmax(0,1fr) 52px!important}}

@media(max-width:780px){.fx-market-home .fx-board .order-columns{grid-template-columns:1fr!important}.fx-market-home .fx-board .order-column{max-height:250px!important}.fx-market-home .fx-board .order-column+div{border-right:0!important;border-top:1px solid #385047!important}.fx-market-home .fx-board .order-column.sell,.fx-market-home .fx-board .order-column.buy{border-radius:0!important}.fx-market-home .fx-board .order-label{grid-template-columns:112px minmax(0,1fr) 60px!important}.fx-market-home .fx-board .fx-order-row{grid-template-columns:112px minmax(0,1fr) 60px!important}}

/* Keep the Persian deposit range fully readable and aligned with its heading. */

.fx-market-home .fx-board .order-label,.fx-market-home .fx-board .fx-order-row{grid-template-columns:112px minmax(74px,1fr) 104px!important}

.fx-market-home .fx-board .fx-order-period{white-space:normal!important;line-height:1.35}

@media(max-width:780px){.fx-market-home .fx-board .order-label,.fx-market-home .fx-board .fx-order-row{grid-template-columns:105px minmax(70px,1fr) 102px!important}.fx-market-home .fx-board .fx-order-period{font-size:.64rem!important}}

/* Amounts remain Persian and grouped while they are being typed. */

.fx-market-home #quick-price{direction:ltr;text-align:right;font-variant-numeric:normal;letter-spacing:.02em}

/* Seller side uses the exact sale-action red, while the board surface stays unified. */

.fx-market-home .fx-board .order-column.sell h3{color:#b24d45!important}

.fx-market-home .fx-board .sell .fx-order-row b{background:#b24d45!important;color:#fff0ed!important}

.fx-market-home .fx-market-hero h1{margin:.3rem 0 .38rem!important}

/* Deposit period is plain text; no decorative bullet inside the trading rows. */

.fx-market-home .fx-board .fx-order-row .fx-order-period:before{content:none!important;display:none!important}

/* Persian price glyphs should read as one compact number, not spaced tabular digits. */

.fx-market-home .fx-board .fx-order-row b{font-variant-numeric:normal!important;letter-spacing:-.045em;word-spacing:-2px}

.fx-market-home .fx-board .fx-order-row b small{margin-right:1px!important;letter-spacing:0;word-spacing:0}

.fx-market-home .fx-board>header h2{margin:0!important}

.fx-market-home .fx-quick-terminal>header span{font-size:.92rem!important;font-weight:900!important;color:#f4faf7!important}

/* Buyer column shares the exact green of the buy action. */

.fx-market-home .fx-board .order-column.buy h3{color:#0d7e57!important}

.fx-market-home .fx-board .buy .fx-order-row b{background:#0d7e57!important;color:#effff7!important}

/* Match the visual header baseline of the adjacent order form. */

@media(min-width:781px){.fx-market-home .fx-board>header{min-height:86.5px!important}}



/* Mobile trading-terminal composition: order entry on the right, order board on the left. */

@media(max-width:780px){

  body:has(.fx-market-home){overflow-x:hidden!important;background:#101a16}

  .fx-market-home{overflow:hidden}

  .fx-market-home .ft-shell{padding-inline:7px!important}

  .fx-market-home .fx-market-workspace{

    display:grid!important;

    grid-template-columns:minmax(0,44%) minmax(0,56%)!important;

    grid-template-areas:"form board"!important;

    gap:6px!important;

    align-items:start!important;

    overflow:visible!important;

    padding:0!important;

  }

  .fx-market-home .fx-market-workspace>.fx-quick-terminal{

    grid-area:form!important;

    order:unset!important;

    width:100%!important;

    min-width:0!important;

  }

  .fx-market-home .fx-market-workspace>.fx-board{

    grid-area:board!important;

    order:unset!important;

    width:100%!important;

    min-width:0!important;

  }

  .fx-market-home .fx-quick-terminal>header{padding:.62rem .58rem .42rem!important;min-height:0!important}

  .fx-market-home .fx-quick-terminal>header span{font-size:.58rem!important}

  .fx-market-home .fx-quick-terminal>header h2{font-size:.86rem!important;line-height:1.35!important;margin:.12rem 0!important}

  .fx-market-home .fx-quick-terminal>header p{display:none!important}

  .fx-market-home .fx-quick-terminal form{padding:.58rem!important;gap:.48rem!important}

  .fx-market-home .fx-side-switch{min-height:35px!important;border-radius:8px!important;margin-bottom:.1rem!important}

  .fx-market-home .fx-side-switch button{font-size:.72rem!important}

  .fx-market-home .fx-quick-fields{grid-template-columns:1fr!important;gap:.42rem!important}

  .fx-market-home .fx-quick-fields .field-wide{grid-column:auto!important}

  .fx-market-home .fx-quick-terminal label{font-size:.59rem!important;margin-bottom:.18rem!important}

  .fx-market-home .fx-quick-terminal input,

  .fx-market-home .fx-quick-terminal select{height:34px!important;min-height:34px!important;padding-inline:.42rem!important;font-size:.69rem!important}

  .fx-market-home .fx-quick-terminal .file-input{min-height:34px!important;padding:.38rem!important;font-size:.62rem!important}

  .fx-market-home .fx-quick-terminal .fx-submit{min-height:38px!important;margin-top:.15rem!important;font-size:.76rem!important}

  .fx-market-home .fx-quick-terminal .price-delta{font-size:.57rem!important;min-height:12px!important}



  .fx-market-home .fx-board{border-radius:8px!important;overflow:hidden!important}

  .fx-market-home .fx-board>header{min-height:0!important;padding:.64rem .42rem!important}

  .fx-market-home .fx-board>header .eyebrow{display:none!important}

  .fx-market-home .fx-board>header h2{font-size:.72rem!important;line-height:1.35!important;white-space:normal!important}

  .fx-market-home .fx-board .order-columns{grid-template-columns:1fr!important;height:auto!important;min-height:0!important}

  .fx-market-home .fx-board .order-column{min-height:0!important;max-height:238px!important;padding:.28rem 0!important;overflow:hidden!important}

  .fx-market-home .fx-board .order-column+div{border-right:0!important;border-top:1px solid #385047!important}

  .fx-market-home .fx-board .order-column h3{font-size:.67rem!important;margin:.08rem .34rem .26rem!important}

  .fx-market-home .fx-board .order-label{display:none!important}

  .fx-market-home .fx-board .fx-order-row{

    display:grid!important;

    grid-template-columns:1fr!important;

    min-height:30px!important;

    margin:3px 4px!important;

    border-radius:5px!important;

    overflow:hidden!important;

  }

  .fx-market-home .fx-board .fx-order-row b{font-size:.62rem!important;line-height:30px!important;padding-inline:.35rem!important;white-space:nowrap!important}

  .fx-market-home .fx-board .fx-order-city,

  .fx-market-home .fx-board .fx-order-period{display:none!important}

}



@media(max-width:390px){

  .fx-market-home .ft-shell{padding-inline:4px!important}

  .fx-market-home .fx-market-workspace{grid-template-columns:minmax(0,43%) minmax(0,57%)!important;gap:4px!important}

  .fx-market-home .fx-quick-terminal form{padding:.48rem!important}

  .fx-market-home .fx-quick-terminal>header{padding:.52rem .46rem .34rem!important}

  .fx-market-home .fx-board>header{padding:.56rem .32rem!important}

  .fx-market-home .fx-board>header h2{font-size:.66rem!important}

}



/* Keep the trading terminal comfortably readable on a phone.  Desktop is untouched. */

@media(max-width:780px){

  body:has(.fx-market-home){background:#101a16!important}

  .fx-market-home .ft-shell{padding-inline:12px!important}

  .fx-market-home .fx-market-workspace{

    grid-template-columns:minmax(0,1fr)!important;

    grid-template-areas:"board" "form"!important;

    gap:14px!important;

  }

  .fx-market-home .fx-market-workspace>.fx-board{grid-area:board!important}

  .fx-market-home .fx-market-workspace>.fx-quick-terminal{grid-area:form!important}



  .fx-market-home .fx-board{border-radius:16px!important}

  .fx-market-home .fx-board>header{padding:1rem!important}

  .fx-market-home .fx-board>header h2{font-size:1rem!important}

  .fx-market-home .fx-board .order-columns{grid-template-columns:1fr 1fr!important}

  .fx-market-home .fx-board .order-column{max-height:none!important;min-height:176px!important;padding:.55rem 0!important}

  .fx-market-home .fx-board .order-column+div{border-top:0!important;border-right:1px solid #385047!important}

  .fx-market-home .fx-board .order-column h3{font-size:.88rem!important;margin:.15rem .55rem .5rem!important}

  .fx-market-home .fx-board .fx-order-row{grid-template-columns:1fr!important;min-height:42px!important;margin:5px 7px!important;border-radius:7px!important}

  .fx-market-home .fx-board .fx-order-row b{font-size:.78rem!important;line-height:42px!important;padding-inline:.62rem!important}



  .fx-market-home .fx-quick-terminal{border-radius:16px!important}

  .fx-market-home .fx-quick-terminal>header{padding:1rem 1rem .72rem!important}

  .fx-market-home .fx-quick-terminal>header span{font-size:.72rem!important}

  .fx-market-home .fx-quick-terminal>header h2{font-size:1.1rem!important;margin:.14rem 0!important}

  .fx-market-home .fx-quick-terminal form{padding:1rem!important;gap:.72rem!important}

  .fx-market-home .fx-side-switch{min-height:45px!important;border-radius:10px!important}

  .fx-market-home .fx-side-switch button{font-size:.9rem!important}

  .fx-market-home .fx-quick-fields{grid-template-columns:1fr 1fr!important;gap:.72rem!important}

  .fx-market-home .fx-quick-fields .field-wide{grid-column:1/-1!important}

  .fx-market-home .fx-quick-terminal label{font-size:.72rem!important;margin-bottom:.28rem!important}

  .fx-market-home .fx-quick-terminal input,

  .fx-market-home .fx-quick-terminal select{height:43px!important;min-height:43px!important;padding-inline:.65rem!important;font-size:.84rem!important}

  .fx-market-home .fx-quick-terminal .file-input{min-height:43px!important;font-size:.75rem!important}

  .fx-market-home .fx-quick-terminal .fx-submit{min-height:47px!important;font-size:.94rem!important}

  .fx-market-home .fx-quick-terminal .price-delta{font-size:.7rem!important}

}



@media(max-width:480px){

  .fx-market-home .ft-shell{padding-inline:10px!important}

  .fx-market-home .fx-board .order-columns{grid-template-columns:1fr!important}

  .fx-market-home .fx-board .order-column{min-height:0!important}

  .fx-market-home .fx-board .order-column+div{border-right:0!important;border-top:1px solid #385047!important}

  .fx-market-home .fx-quick-fields{grid-template-columns:1fr!important}

  .fx-market-home .fx-quick-fields .field-wide{grid-column:auto!important}

}



/* Compact, terminal-like mobile exchange. This intentionally affects mobile only. */

@media(max-width:780px){

  .fx-market-home .ft-shell{padding-inline:0!important}

  .fx-market-home .fx-market-workspace{

    grid-template-columns:minmax(0,44%) minmax(0,56%)!important;

    grid-template-areas:"form board"!important;

    gap:0!important;

    align-items:stretch!important;

    border-top:1px solid #304238!important;

    border-bottom:1px solid #304238!important;

    background:#111c18!important;

  }

  .fx-market-home .fx-market-workspace>.fx-board{grid-area:board!important;border-left:1px solid #304238!important}

  .fx-market-home .fx-market-workspace>.fx-quick-terminal{grid-area:form!important}

  .fx-market-home .fx-board,

  .fx-market-home .fx-quick-terminal{border:0!important;border-radius:0!important;background:#111c18!important;box-shadow:none!important}



  .fx-market-home .fx-quick-terminal>header{padding:.68rem .6rem!important;border-bottom:1px solid #304238!important}

  .fx-market-home .fx-quick-terminal>header span{font-size:.58rem!important;color:#d8b85d!important}

  .fx-market-home .fx-quick-terminal>header h2{font-size:.86rem!important;margin:0!important}

  .fx-market-home .fx-quick-terminal>header p{display:none!important}

  .fx-market-home .fx-quick-terminal form{padding:.62rem!important;gap:.52rem!important}

  .fx-market-home .fx-side-switch{height:39px!important;min-height:39px!important;border:1px solid #405149!important;border-radius:7px!important;background:#121d19!important}

  .fx-market-home .fx-side-switch button{font-size:.75rem!important;border-radius:0!important}

  .fx-market-home .fx-side-switch button.is-active{border-radius:0!important}

  .fx-market-home .fx-quick-fields{grid-template-columns:1fr!important;gap:.43rem!important}

  .fx-market-home .fx-quick-fields .field-wide{grid-column:auto!important}

  .fx-market-home .fx-quick-terminal label{font-size:.58rem!important;color:#b5c6bd!important;margin-bottom:.15rem!important}

  .fx-market-home .fx-quick-terminal input,

  .fx-market-home .fx-quick-terminal select{height:35px!important;min-height:35px!important;padding-inline:.42rem!important;font-size:.7rem!important;border-color:#405149!important;border-radius:7px!important;background:#0e1815!important}

  .fx-market-home .fx-quick-terminal .file-input{min-height:35px!important;padding:.32rem!important;font-size:.58rem!important}

  .fx-market-home .fx-quick-terminal .fx-submit{min-height:40px!important;font-size:.77rem!important;border-radius:7px!important;margin-top:.12rem!important}

  .fx-market-home .fx-quick-terminal .price-delta{font-size:.56rem!important;min-height:10px!important}



  .fx-market-home .fx-board>header{padding:.68rem .42rem!important;min-height:0!important;border-bottom:1px solid #304238!important;background:#123528!important}

  .fx-market-home .fx-board>header h2{font-size:.7rem!important;line-height:1.35!important;text-align:center!important}

  .fx-market-home .fx-board .order-columns{display:block!important;min-height:0!important}

  .fx-market-home .fx-board .order-column{padding:.32rem 0 .46rem!important;min-height:0!important;max-height:none!important;background:transparent!important}

  .fx-market-home .fx-board .order-column+div{border:0!important;border-top:1px solid #304238!important}

  .fx-market-home .fx-board .order-column h3{font-size:.69rem!important;text-align:center!important;margin:.08rem 0 .34rem!important}

  .fx-market-home .fx-board .fx-order-row{display:block!important;min-height:36px!important;margin:4px 7px!important;border:1px solid #3b5147!important;border-radius:5px!important;background:#172520!important}

  .fx-market-home .fx-board .fx-order-row b{display:block!important;line-height:34px!important;text-align:center!important;padding:0 .3rem!important;font-size:.63rem!important;white-space:nowrap!important}

  .fx-market-home .fx-board .fx-order-city,

  .fx-market-home .fx-board .fx-order-period{display:none!important}

}



@media(max-width:390px){

  .fx-market-home .fx-market-workspace{grid-template-columns:minmax(0,43%) minmax(0,57%)!important}

  .fx-market-home .fx-quick-terminal form{padding:.48rem!important}

  .fx-market-home .fx-quick-terminal input,

  .fx-market-home .fx-quick-terminal select{font-size:.64rem!important}

  .fx-market-home .fx-board .fx-order-row{margin:3px 4px!important}

  .fx-market-home .fx-board .fx-order-row b{font-size:.58rem!important}

}



/* Dedicated mobile layout — deliberately not a scaled desktop terminal. */

@media(max-width:780px){

  body:has(.fx-market-home){background:#0b1411!important}

  .fx-market-home{background:linear-gradient(180deg,#0d1e18 0,#0b1411 420px)!important}

  .fx-market-home .ft-shell{padding:0 12px 28px!important}

  .fx-market-home .fx-market-workspace{

    display:flex!important;

    flex-direction:column!important;

    gap:14px!important;

    border:0!important;

    background:transparent!important;

  }

  .fx-market-home .fx-market-workspace>.fx-quick-terminal{order:1!important;width:100%!important}

  .fx-market-home .fx-market-workspace>.fx-board{order:2!important;width:100%!important}

  .fx-market-home .fx-quick-terminal,

  .fx-market-home .fx-board{

    width:100%!important;

    border:1px solid #2f453b!important;

    border-radius:15px!important;

    background:#101d18!important;

    box-shadow:0 12px 30px rgba(0,0,0,.16)!important;

    overflow:hidden!important;

  }



  .fx-market-home .fx-quick-terminal>header{

    display:flex!important;

    align-items:center!important;

    min-height:48px!important;

    padding:.8rem 1rem!important;

    border:0!important;

    border-bottom:1px solid #2b4036!important;

    background:linear-gradient(90deg,#102219,#123627)!important;

  }

  .fx-market-home .fx-quick-terminal>header span{font-size:.84rem!important;font-weight:800!important;color:#f2d486!important}

  .fx-market-home .fx-quick-terminal>header h2{display:none!important}

  .fx-market-home .fx-quick-terminal>header p{display:none!important}

  .fx-market-home .fx-quick-terminal form{padding:1rem!important;gap:.85rem!important}

  .fx-market-home .fx-side-switch{

    order:-1!important;

    display:grid!important;

    grid-template-columns:1fr 1fr!important;

    height:48px!important;

    min-height:48px!important;

    margin:0!important;

    border:1px solid #3c5549!important;

    border-radius:10px!important;

    overflow:hidden!important;

    background:#0c1713!important;

  }

  .fx-market-home .fx-side-switch label,

  .fx-market-home .fx-side-switch button{min-height:46px!important}

  .fx-market-home .fx-side-switch span,

  .fx-market-home .fx-side-switch button{font-size:.92rem!important;font-weight:800!important}

  .fx-market-home .fx-quick-fields{grid-template-columns:1fr 1fr!important;gap:.76rem!important}

  .fx-market-home .fx-quick-fields .field-wide{grid-column:1/-1!important}

  .fx-market-home .fx-quick-terminal label{gap:.28rem!important;font-size:.7rem!important;font-weight:700!important;color:#bfcec5!important}

  .fx-market-home .fx-quick-terminal input,

  .fx-market-home .fx-quick-terminal select{

    height:46px!important;

    min-height:46px!important;

    border:1px solid #405a4e!important;

    border-radius:9px!important;

    background:#0b1511!important;

    color:#f3f7f4!important;

    font-size:.84rem!important;

    font-weight:600!important;

  }

  .fx-market-home .fx-quick-terminal .file-input{min-height:46px!important;border-radius:9px!important}

  .fx-market-home .fx-quick-terminal .price-delta{min-height:14px!important;font-size:.66rem!important;text-align:center!important}

  .fx-market-home .fx-quick-terminal .fx-submit{

    min-height:50px!important;

    margin-top:.1rem!important;

    border-radius:10px!important;

    font-size:.96rem!important;

    font-weight:900!important;

  }



  .fx-market-home .fx-board>header{

    display:flex!important;

    align-items:center!important;

    justify-content:center!important;

    min-height:54px!important;

    padding:.75rem!important;

    border:0!important;

    border-bottom:1px solid #30463b!important;

    background:linear-gradient(90deg,#123426,#154a35)!important;

  }

  .fx-market-home .fx-board>header h2{font-size:.92rem!important;font-weight:900!important;text-align:center!important}

  .fx-market-home .fx-board .order-columns{display:grid!important;grid-template-columns:1fr 1fr!important;min-height:196px!important}

  .fx-market-home .fx-board .order-column{min-height:196px!important;padding:.62rem .42rem!important;background:#101d18!important}

  .fx-market-home .fx-board .order-column+div{border:0!important;border-right:1px solid #30463b!important}

  .fx-market-home .fx-board .order-column h3{margin:0 0 .58rem!important;font-size:.8rem!important;text-align:center!important}

  .fx-market-home .fx-board .order-label{display:none!important}

  .fx-market-home .fx-board .fx-order-row{display:block!important;min-height:42px!important;margin:5px 0!important;border:1px solid #3c5549!important;border-radius:8px!important;background:#172721!important}

  .fx-market-home .fx-board .fx-order-row b{display:block!important;padding:0 .28rem!important;line-height:40px!important;text-align:center!important;font-size:.7rem!important;white-space:nowrap!important}

  .fx-market-home .fx-board .fx-order-row b small{font-size:.52rem!important}

  .fx-market-home .fx-board .fx-order-city,

  .fx-market-home .fx-board .fx-order-period{display:none!important}

  .fx-market-home .fx-board .empty-order{font-size:.64rem!important;line-height:1.8!important;padding:.65rem .35rem!important;text-align:center!important}

}



@media(max-width:480px){

  .fx-market-home .ft-shell{padding-inline:9px!important}

  .fx-market-home .fx-quick-terminal form{padding:.82rem!important}

  .fx-market-home .fx-quick-fields{grid-template-columns:1fr!important;gap:.62rem!important}

  .fx-market-home .fx-quick-fields .field-wide{grid-column:auto!important}

  .fx-market-home .fx-board .order-columns{min-height:172px!important}

  .fx-market-home .fx-board .order-column{min-height:172px!important;padding:.52rem .32rem!important}

  .fx-market-home .fx-board .fx-order-row b{font-size:.64rem!important}

}



/* -------------------------------------------------------------------------

   Phone-only application UI. It does not inherit the desktop form layout. */

.fx-mobile-terminal{display:none}

@media(max-width:780px){

  .fx-market-home .fx-market-hero,

  .fx-market-home .fx-market-filters,

  .fx-market-home .fx-market-workspace{display:none!important}

  .fx-market-home{background:#0b1210!important}

  .fx-market-home .ft-shell{max-width:none!important;padding:0!important}

  .fx-mobile-terminal{

    display:grid!important;

    direction:ltr;

    grid-template-columns:minmax(0,42%) minmax(0,58%);

    min-height:calc(100vh - 74px);

    background:#0e1714;

    border-top:1px solid #2c3c35;

    border-bottom:1px solid #2c3c35;

    overflow:hidden;

  }

  .fx-mobile-terminal>*{direction:rtl;min-width:0}

  .fmt-book{background:linear-gradient(180deg,#10221b 0,#101815 100%);border-right:1px solid #31443a}

  .fmt-book header{

    min-height:58px;padding:10px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;

    background:#103c2b;border-bottom:1px solid #385047;color:#f7faf8;text-align:center;

  }

  .fmt-book header span{font-size:.61rem;color:#ddbd64;font-weight:700}

  .fmt-book header strong{font-size:.73rem;line-height:1.35;font-weight:900}

  .fmt-side{padding:10px 7px 12px}

  .fmt-side+ .fmt-side{border-top:1px solid #34473e}

  .fmt-side h3{margin:0 0 8px;text-align:center;font-size:.74rem;font-weight:900}

  .fmt-sell h3{color:#e16b62}.fmt-buy h3{color:#1bc68d}

  .fmt-row{height:40px;display:flex;align-items:center;justify-content:center;margin:5px 0;border:1px solid #3c5148;border-radius:5px;background:#192823;overflow:hidden}

  .fmt-row b{font-size:.64rem;color:#f4f7f5;white-space:nowrap;font-weight:900}.fmt-row b small{font-size:.48rem;color:inherit}

  .fmt-sell .fmt-row{background:#853d39;border-color:#b9554f}.fmt-buy .fmt-row{background:#087e5a;border-color:#11926a}

  .fmt-row span{display:none}.fmt-side p{margin:0;text-align:center;font-size:.56rem;line-height:1.7;color:#98aaa0}



  .fmt-order{background:#0c1713}

  .fmt-order>header{height:58px;display:flex;align-items:center;justify-content:flex-end;padding:0 14px;border-bottom:1px solid #2f4239;color:#e4c56f;font-size:.8rem;font-weight:900}

  .fmt-order form{padding:13px 12px 22px;display:flex;flex-direction:column;gap:13px}

  .fmt-side-switch{display:grid;grid-template-columns:1fr 1fr;height:48px;overflow:hidden;border:1px solid #475a51;border-radius:9px;background:#111e19}

  .fmt-side-switch label{display:block;position:relative}.fmt-side-switch input{position:absolute;opacity:0;pointer-events:none}.fmt-side-switch span{height:100%;display:grid;place-items:center;font-size:.82rem;font-weight:900;color:#cad5cf}.fmt-side-switch input:checked+span{background:#0e9168;color:#fff}.fmt-side-switch label+label input:checked+span{background:#b44943}

  .fmt-fields{display:grid;grid-template-columns:1fr;gap:10px}

  .fmt-fields label{display:grid;gap:5px;color:#bdcbc3;font-size:.64rem;font-weight:700;text-align:right}

  .fmt-fields select,.fmt-fields input,.fmt-fields textarea{width:100%;box-sizing:border-box;border:1px solid #41564c;border-radius:8px;background:#0a1411;color:#f6f8f7;font:inherit;font-size:.77rem;font-weight:700;outline:0}

  .fmt-fields select,.fmt-fields input{height:44px;padding:0 10px}.fmt-fields textarea{min-height:78px;padding:9px;resize:vertical}.fmt-fields select:focus,.fmt-fields input:focus,.fmt-fields textarea:focus{border-color:#1aa876;box-shadow:0 0 0 2px rgba(26,168,118,.16)}

  .fmt-fields small{min-height:12px;text-align:center;font-size:.56rem}.fmt-fields small.above{color:#57dda9}.fmt-fields small.below{color:#ee938c}

  .fmt-seller input[type=file]{height:auto;padding:8px;font-size:.59rem}.fmt-wide{grid-column:1/-1}

  .fmt-order button[type=submit]{height:50px;border:0;border-radius:9px;background:#0e9168;color:#fff;font:inherit;font-size:.88rem;font-weight:900;cursor:pointer}.fmt-order button.sell-button{background:#b44943}

}

@media(max-width:420px){

  .fx-mobile-terminal{grid-template-columns:minmax(0,41%) minmax(0,59%)}

  .fmt-book header strong{font-size:.66rem}.fmt-row{height:36px}.fmt-row b{font-size:.57rem}.fmt-side{padding-inline:5px}.fmt-order form{padding-inline:9px}.fmt-order>header{padding-inline:11px}.fmt-fields select,.fmt-fields input{height:41px;font-size:.71rem}

}

/* Subtle bid/ask tint lives only at the upper edge of each trading column. */

.fx-market-home .fx-board .order-column.sell{background:linear-gradient(180deg,rgba(178,77,69,.22),#17231f 30%)!important}

.fx-market-home .fx-board .order-column.buy{background:linear-gradient(180deg,rgba(13,126,87,.22),#17231f 30%)!important}

.fx-market-home #price-delta.reference{color:#b9d3c5!important}

/* Login and profile share the calm charcoal market surface. */

body:has(.fx-auth),body:has(.ep-page){background:#1a211f}

body:has(.ep-page) main{min-height:calc(100vh - 86px);background:radial-gradient(circle at 78% 8%,rgba(15,126,87,.16),transparent 32%),#1a211f!important}

.fx-auth{display:grid;place-items:center;min-height:calc(100vh - 140px)!important;background:radial-gradient(circle at 82% 12%,rgba(13,126,87,.2),transparent 31%),#1a211f!important}

.fx-auth .fx-form-card,.ep-page .ep-card{border-color:#32463d!important;background:#202a26!important;box-shadow:0 22px 55px rgba(0,0,0,.25)!important}

.fx-auth .fx-form-card{width:min(100%,460px)}

.fx-auth .fx-form-card h1,.fx-auth .fx-form-card>p,.fx-auth .fx-form-card label{color:#edf5f0!important}

.fx-auth .fx-form-card>p{color:#afc4b9!important}

.fx-auth .fx-form-card input{border-color:#3b4b45!important;background:#151d1a!important;color:#edf4f0!important}

.fx-auth .fx-auth-mark{border-color:#3c5046!important;background:#f8fbf9!important}

.fx-auth .fx-auth-note{border-color:#36473f!important;color:#a9bcb3!important}

.fx-auth .fx-change-phone button{color:#8ee4ba!important}

.ep-page{width:100%!important;max-width:100%!important;min-height:calc(100vh - 120px);padding:0!important;margin:0!important;background:#0b1210!important;color:#edf5f0!important}

.ep-page .ep-head{margin-top:0!important}.ep-page .ep-head h1{color:#f0f6f2!important}.ep-page .ep-head p{color:#a9bcb3!important}.ep-page .ep-head span{color:#d7b45d!important}

.ep-page .ep-identity{border-color:#36473f!important;background:#17231f!important}.ep-page .ep-identity svg{background:#17392c!important;color:#8ee4ba!important;stroke:#8ee4ba!important}.ep-page .ep-identity b{color:#eef6f1!important}.ep-page .ep-identity span{color:#afc4b9!important}.ep-page .ep-identity i{background:#153e2e!important;color:#9be6bf!important}.ep-page .ep-identity>a{background:#0d7e57!important;color:#fff!important}

.ep-page .ep-verification{grid-column:1/-1}.ep-page .ep-verification dd{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.ep-page .ep-verification dd>span{font-weight:800}.ep-page .ep-verification a{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;background:#0d7e57;color:#fff!important;padding:.45rem .7rem;font-size:.74rem;font-weight:800}.ep-page .ep-verification i{font-style:normal;border-radius:9px;background:#153e2e;color:#9be6bf!important;padding:.4rem .62rem;font-size:.72rem;font-weight:800}.fx-otp-phone{color:#e1bd62!important;font-weight:900;letter-spacing:.4px}.fx-otp-card input[name="phone"],.fx-otp-card input[name="code"]{font-variant-numeric:normal}

.ep-page .ep-fields{grid-template-columns:1fr!important}.ep-page .ep-fields div{border-color:#384a42!important;background:#1a231f!important}.ep-page .ep-fields dt{color:#a7bcb1!important}.ep-page .ep-fields dd{color:#f0f7f3!important}.ep-page .ep-note{background:#29261c!important;color:#e5c879!important}

.numeric-ltr{display:inline-block;direction:ltr;unicode-bidi:isolate;text-align:left;font-variant-numeric:tabular-nums}



/* Task-oriented phone flow: find a market, compare it, then place an order. */

@media(max-width:780px){

  .fx-mobile-terminal{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important;padding:12px!important;background:#0b1210!important;border:0!important;overflow:visible!important}

  .fmt-filter,.fmt-book,.fmt-order{width:100%!important;box-sizing:border-box!important;border:1px solid #31483d!important;border-radius:14px!important;overflow:hidden!important;background:#101d18!important}

  .fmt-filter{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;padding:13px!important;direction:rtl!important}

  .fmt-filter-title{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;padding-bottom:3px}.fmt-filter-title span{font-size:.94rem;font-weight:900;color:#f1d284}.fmt-filter-title small{font-size:.62rem;color:#9fb2a8}

  .fmt-filter label{display:grid;gap:5px;color:#b7c8bf;font-size:.65rem;font-weight:700}.fmt-filter label:nth-of-type(3){grid-column:1/-1}.fmt-filter select{width:100%;height:42px;box-sizing:border-box;border:1px solid #405b4e;border-radius:8px;background:#0a1511;color:#f5f7f6;padding:0 9px;font:inherit;font-size:.76rem;font-weight:700}.fmt-filter button{grid-column:1/-1;height:45px;border:0;border-radius:8px;background:#0e9168;color:#fff;font:inherit;font-size:.83rem;font-weight:900}

  .fmt-book{direction:rtl!important;border-radius:14px!important;background:#101d18!important;display:grid!important;grid-template-columns:1fr 1fr!important}.fmt-book header{grid-column:1/-1;min-height:48px!important;flex-direction:row!important;justify-content:space-between!important;padding:0 13px!important;background:#123a2b!important}.fmt-book header span{font-size:.64rem!important}.fmt-book header strong{font-size:.88rem!important}

  .fmt-side{padding:10px!important;min-width:0!important}.fmt-side+.fmt-side{border-top:0!important;border-right:1px solid #31483d!important}.fmt-side h3{font-size:.76rem!important;margin-bottom:8px!important}.fmt-row{height:auto!important;min-height:54px!important;margin:6px 0!important;padding:6px!important;display:grid!important;grid-template-columns:1fr auto!important;grid-template-areas:"price city" "price period"!important;align-content:center!important;gap:1px 5px!important;border-radius:7px!important}.fmt-row b{grid-area:price!important;align-self:center!important;text-align:right!important;font-size:.71rem!important}.fmt-row span{display:block!important;grid-area:city!important;text-align:left!important;font-size:.59rem!important;color:#e5eee9}.fmt-row em{display:block!important;grid-area:period!important;text-align:left!important;font-size:.53rem!important;font-style:normal!important;color:#c2d1c8!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

  .fmt-order{direction:rtl!important;border-radius:14px!important;background:#101d18!important}.fmt-order>header{height:48px!important;justify-content:space-between!important;padding:0 13px!important;background:#12251d!important;font-size:.85rem!important}.fmt-order>header:after{content:'خرید یا فروش فیش';font-size:.62rem;color:#9fb2a8;font-weight:500}.fmt-order form{padding:13px!important;gap:12px!important}.fmt-side-switch{height:46px!important}.fmt-side-switch label{min-height:44px!important}.fmt-fields{grid-template-columns:1fr 1fr!important;gap:11px!important}.fmt-fields .fmt-wide{grid-column:1/-1!important}.fmt-fields label{font-size:.68rem!important}.fmt-fields select,.fmt-fields input{height:44px!important;font-size:.8rem!important}.fmt-order button[type=submit]{height:48px!important}

}

@media(max-width:480px){

  .fx-mobile-terminal{padding:9px!important;gap:10px!important}.fmt-filter{grid-template-columns:1fr!important}.fmt-filter label:nth-of-type(3){grid-column:auto}.fmt-filter-title{display:block}.fmt-filter-title small{display:block;margin-top:3px}.fmt-fields{grid-template-columns:1fr!important}.fmt-fields .fmt-wide{grid-column:auto!important}.fmt-side{padding:8px!important}.fmt-row{grid-template-columns:1fr!important;grid-template-areas:"price" "city" "period"!important;min-height:64px!important}.fmt-row b,.fmt-row span,.fmt-row em{text-align:center!important}.fmt-row span{font-size:.55rem!important}.fmt-row em{font-size:.5rem!important}

}



.fx-order-card.has-room{cursor:pointer}.fx-order-card.has-room:hover,.fx-order-card.has-room:focus{border-color:#d4b45c;box-shadow:0 0 0 2px rgba(212,180,92,.16),0 10px 26px rgba(0,0,0,.16);outline:0}



/* The order terminal and board exchange places on every viewport. */

.fx-market-home .fx-market-workspace{grid-template-areas:"form board"!important}

@media(min-width:901px){

  .fx-market-home .fx-market-workspace{grid-template-columns:minmax(370px,.82fr) minmax(0,1.18fr)!important}

}

@media(min-width:781px) and (max-width:900px){

  .fx-market-home .fx-market-workspace{grid-template-columns:minmax(320px,.8fr) minmax(0,1fr)!important}

}

@media(max-width:780px){

  .fx-mobile-terminal .fmt-order{order:1!important}

  .fx-mobile-terminal .fmt-book{order:2!important}

}



/* My orders — the same dark Besharat market system, not the old dashboard. */

.fx-my-page{min-height:calc(100vh - 100px);background:#0b1210;color:#edf5f0;padding:42px 0 70px}.fx-my-shell{max-width:1120px}.fx-my-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:22px;padding:26px 28px;border:1px solid #315044;border-radius:18px;background:linear-gradient(120deg,#0d3224,#102019 68%)}.fx-my-head span{color:#e1bd62;font-size:.78rem;font-weight:800}.fx-my-head h1{margin:6px 0;font-size:1.75rem}.fx-my-head p{margin:0;color:#b8cabf}.fx-my-head-actions{display:flex;gap:9px;align-items:center}.fx-my-head-actions a,.fx-my-head-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid #4b5f55;border-radius:9px;padding:0 15px;background:#0d8a63;color:#fff;font:inherit;font-size:.8rem;font-weight:800;text-decoration:none}.fx-my-head-actions button{background:transparent;color:#c9d7cf;cursor:pointer}.fx-my-match-note{display:flex;gap:11px;align-items:center;margin:0 0 16px;padding:14px 17px;border:1px solid #9d8033;border-radius:12px;background:#2a2619;color:#f2ddb0;font-size:.8rem}.fx-my-match-note span{color:#d8cda9}.fx-my-orders{display:grid;gap:13px}.fx-order-card{overflow:hidden;border:1px solid #344b40;border-radius:15px;background:#111d18;box-shadow:0 10px 26px rgba(0,0,0,.12)}.fx-order-card>header{padding:15px 18px;border-bottom:1px solid #32483d}.fx-order-card.is-buy>header{background:linear-gradient(90deg,rgba(14,145,104,.23),rgba(14,145,104,.035))}.fx-order-card.is-sell>header{background:linear-gradient(90deg,rgba(180,73,67,.23),rgba(180,73,67,.035))}.fx-order-line-one,.fx-order-line-two{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.fx-order-line-one b{font-size:.86rem;color:#e9c66b;letter-spacing:.2px}.fx-order-line-one span{font-size:.74rem;color:#aabdb2}.fx-order-line-one strong{margin-right:auto;font-size:1rem}.is-buy .fx-order-line-one strong{color:#75e0b6}.is-sell .fx-order-line-one strong{color:#ef9c95}.fx-order-line-two{margin-top:9px;color:#d3dfd8;font-size:.78rem}.fx-order-line-two i{color:#c9ab56;font-style:normal}.fx-order-timeline{display:flex;align-items:flex-start;padding:18px 19px 15px;overflow-x:auto;scrollbar-width:thin}.fx-order-timeline>div{display:grid;justify-items:center;gap:7px;min-width:80px;position:relative}.fx-order-timeline>div span{width:13px;height:13px;border:2px solid #6d7a74;border-radius:50%;box-sizing:border-box;background:#25322c}.fx-order-timeline>div b{font-size:.63rem;white-space:nowrap;color:#8fa198}.fx-order-timeline>i{height:2px;min-width:22px;flex:1;margin-top:5px;background:#3d4a44}.fx-order-timeline .done span{background:#0c9669;border-color:#0c9669}.fx-order-timeline .done b{color:#7fe0ba}.fx-order-timeline .current span{background:transparent;border-color:#e5c464;box-shadow:0 0 0 4px rgba(229,196,100,.13)}.fx-order-timeline .current b{color:#f1d98e}.is-sell .fx-order-timeline .done span{background:#ba514b;border-color:#ba514b}.is-sell .fx-order-timeline .done b{color:#efaaa5}.fx-order-card footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 18px 16px}.fx-order-card footer p{margin:0;color:#acbeb4;font-size:.76rem}.fx-order-card footer form{margin:0}.fx-order-card footer button{min-height:35px;border-radius:8px;padding:0 12px;font:inherit;font-size:.73rem;font-weight:800;cursor:pointer}.fx-order-card footer .cancel{border:1px solid #b85b55;background:transparent;color:#efaaa5}.fx-order-card footer .reactivate{border:0;background:#0e9168;color:#fff}.fx-my-empty{padding:55px 18px;text-align:center;border:1px dashed #40594c;border-radius:15px;background:#101c17}.fx-my-empty h2{font-size:1.1rem}.fx-my-empty p{color:#acbeb4}.fx-my-empty a{display:inline-flex;margin-top:8px;padding:12px 16px;border-radius:9px;background:#0e9168;color:#fff;text-decoration:none;font-size:.8rem;font-weight:800}

.fx-my-order-counts{display:flex;gap:9px;align-items:center}.fx-my-order-counts span{display:inline-flex;align-items:baseline;gap:6px;padding:9px 12px;border:1px solid #3b554a;border-radius:9px;background:#11251d;color:#b9cdbf;font-size:.73rem}.fx-my-order-counts span:first-child{border-color:#1e7054}.fx-my-order-counts span:last-child{border-color:#6d3936}.fx-my-order-counts b{font-size:1rem;color:#7fe0ba}.fx-my-order-counts span:last-child b{color:#efaaa5}.fx-price-edit{display:flex!important;align-items:center;gap:6px}.fx-price-edit input{width:130px;height:35px;border:1px solid #466157;border-radius:8px;background:#0c1713;color:#edf5f0;padding:0 9px;font:700 .74rem Vazirmatn;text-align:center}.fx-price-edit button{border:1px solid #2f8b68!important;background:#12372a!important;color:#8fe4bd!important}

@media(max-width:700px){.fx-my-page{padding:16px 0 44px}.fx-my-shell{padding-inline:11px}.fx-my-head{align-items:flex-start;flex-direction:column;padding:19px 17px;margin-bottom:14px;border-radius:14px}.fx-my-head h1{font-size:1.35rem}.fx-my-head p{font-size:.78rem;line-height:1.8}.fx-my-head-actions{width:100%}.fx-my-head-actions a,.fx-my-head-actions form{flex:1}.fx-my-head-actions button{width:100%}.fx-my-match-note{align-items:flex-start;flex-direction:column;font-size:.72rem}.fx-order-card{border-radius:12px}.fx-order-card>header{padding:13px}.fx-order-line-one strong{width:100%;margin-right:0;font-size:.92rem}.fx-order-line-two{font-size:.69rem;gap:6px}.fx-order-timeline{padding:16px 12px 13px}.fx-order-timeline>div{min-width:68px}.fx-order-timeline>div b{font-size:.56rem}.fx-order-timeline>i{min-width:15px}.fx-order-card footer{padding:0 13px 13px;align-items:flex-start;flex-direction:column}.fx-order-card footer form,.fx-order-card footer button{width:100%}}

@media(max-width:700px){.fx-my-order-counts{width:100%}.fx-my-order-counts span{flex:1;justify-content:center}.fx-price-edit{width:100%!important}.fx-price-edit input{flex:1}.fx-price-edit button{width:auto!important;white-space:nowrap}}

.fx-price-edit .fx-price-field{display:flex;align-items:center;width:156px;height:35px;border:1px solid #466157;border-radius:8px;background:#0c1713;overflow:hidden}.fx-price-edit .fx-price-field input{width:100%;min-width:0;height:33px;border:0!important;outline:0;background:transparent!important;color:#edf5f0;padding:0 9px;font:700 .74rem Vazirmatn;text-align:center}.fx-price-edit .fx-price-field span{padding:0 8px 0 9px;color:#9fb9ad;font-size:.68rem;white-space:nowrap;border-right:1px solid #385047}.fx-price-edit button{height:35px;min-height:35px!important}.fx-order-card.is-sell .fx-price-edit button{border-color:#a94b46!important;background:#3a2422!important;color:#f0aaa4!important}.fx-order-card.is-buy footer .cancel{border-color:#2f8b68!important;background:#12372a!important;color:#8fe4bd!important}@media(max-width:700px){.fx-price-edit .fx-price-field{flex:1;width:auto}.fx-price-edit .fx-price-field input{flex:1}}

@media(max-width:780px){.fx-mobile-terminal .fmt-book{display:block!important;grid-template-columns:none!important}.fx-mobile-terminal .fmt-book-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:8px 10px;background:#10251d;border-bottom:1px solid #31483d}.fx-mobile-terminal .fmt-book-tabs button{height:38px;border:1px solid #3c5348;border-radius:8px;background:#101a16;color:#aebeb5;font:800 .76rem Vazirmatn;cursor:pointer}.fx-mobile-terminal .fmt-book-tabs button.is-active{background:#0e9168;border-color:#0e9168;color:#fff}.fx-mobile-terminal .fmt-book.show-buy .fmt-sell,.fx-mobile-terminal .fmt-book.show-sell .fmt-buy{display:none!important}.fx-mobile-terminal .fmt-book .fmt-side{border:0!important;padding:11px!important}.fx-mobile-terminal .fmt-book .fmt-side h3{margin-bottom:10px!important}.fx-mobile-terminal .fmt-book .fmt-row{max-width:none!important}}

@media(max-width:780px){.fx-mobile-terminal{display:grid!important;grid-template-columns:minmax(0,48%) minmax(0,52%)!important;grid-template-areas:"filter filter" "book order"!important;align-items:start!important}.fx-mobile-terminal>.fmt-filter{grid-area:filter!important}.fx-mobile-terminal>.fmt-book{grid-area:book!important;align-self:stretch!important}.fx-mobile-terminal>.fmt-order{grid-area:order!important;align-self:start!important}.fx-mobile-terminal .fmt-book header{min-height:52px!important;padding:8px!important}.fx-mobile-terminal .fmt-book-tabs{padding:7px!important}.fx-mobile-terminal .fmt-book-tabs button{height:35px!important;font-size:.7rem!important}.fx-mobile-terminal .fmt-book .fmt-side{padding:8px!important}.fx-mobile-terminal .fmt-book .fmt-row{min-height:50px!important;margin:5px 0!important;padding:5px!important}.fx-mobile-terminal .fmt-book .fmt-row b{font-size:.65rem!important}.fx-mobile-terminal .fmt-order form{padding:11px!important}.fx-mobile-terminal .fmt-order>header{height:50px!important}.fx-mobile-terminal .fmt-side-switch{height:42px!important}.fx-mobile-terminal .fmt-side-switch label{min-height:40px!important}.fx-mobile-terminal .fmt-fields{grid-template-columns:1fr!important;gap:9px!important}.fx-mobile-terminal .fmt-fields label{font-size:.64rem!important}.fx-mobile-terminal .fmt-fields select,.fx-mobile-terminal .fmt-fields input{height:40px!important;font-size:.74rem!important}.fx-mobile-terminal .fmt-order button[type=submit]{height:44px!important;font-size:.78rem!important}}

@media(max-width:780px){.fx-mobile-terminal{grid-template-columns:minmax(0,57%) minmax(0,43%)!important;gap:8px!important}.fx-mobile-terminal .fmt-book{border-radius:16px!important}.fx-mobile-terminal .fmt-book header{min-height:58px!important;padding:9px 11px!important}.fx-mobile-terminal .fmt-book header strong{font-size:.86rem!important}.fx-mobile-terminal .fmt-book-tabs{padding:8px 10px!important;gap:6px!important}.fx-mobile-terminal .fmt-book-tabs button{height:39px!important;font-size:.78rem!important}.fx-mobile-terminal .fmt-book .fmt-side{padding:10px!important}.fx-mobile-terminal .fmt-book .fmt-side h3{font-size:.88rem!important;margin-bottom:10px!important}.fx-mobile-terminal .fmt-book .fmt-row{display:grid!important;grid-template-columns:1fr auto!important;grid-template-areas:"price city" "price period"!important;min-height:62px!important;margin:7px 0!important;padding:7px 9px!important;gap:2px 8px!important;border-radius:10px!important}.fx-mobile-terminal .fmt-book .fmt-row b{grid-area:price!important;align-self:center!important;text-align:right!important;font-size:.78rem!important}.fx-mobile-terminal .fmt-book .fmt-row b small{font-size:.52rem!important}.fx-mobile-terminal .fmt-book .fmt-row span{display:block!important;grid-area:city!important;text-align:left!important;font-size:.66rem!important}.fx-mobile-terminal .fmt-book .fmt-row em{display:block!important;grid-area:period!important;text-align:left!important;font-size:.56rem!important}.fx-mobile-terminal .fmt-order{border-radius:16px!important}.fx-mobile-terminal .fmt-order form{padding:10px!important}.fx-mobile-terminal .fmt-order>header{height:54px!important;padding-inline:10px!important}.fx-mobile-terminal .fmt-order>header:after{display:none}.fx-mobile-terminal .fmt-side-switch{height:44px!important}.fx-mobile-terminal .fmt-fields{gap:10px!important}.fx-mobile-terminal .fmt-fields label{font-size:.65rem!important}.fx-mobile-terminal .fmt-fields select,.fx-mobile-terminal .fmt-fields input{height:42px!important;font-size:.76rem!important}.fx-mobile-terminal .fmt-order button[type=submit]{height:46px!important;font-size:.8rem!important}}

@media(max-width:780px){.fx-mobile-terminal .fmt-book header{justify-content:center!important;text-align:center!important}.fx-mobile-terminal .fmt-book header span{font-size:.94rem!important;font-weight:900!important;color:#f1f4f2!important}.fx-mobile-terminal .fmt-book header strong{display:none!important}.fx-mobile-terminal .fmt-order>header{justify-content:center!important;text-align:center!important;font-weight:900!important;font-size:.9rem!important;color:#f1f4f2!important}}

@media(max-width:780px){.fx-mobile-terminal .fmt-book header span,.fx-mobile-terminal .fmt-order>header{color:#d4aa45!important}.fx-mobile-terminal .fmt-filter-title{text-align:center!important;align-items:center!important}.fx-mobile-terminal .fmt-filter-title small{display:block!important;width:100%!important;text-align:center!important}}

@media(max-width:780px){.fx-mobile-terminal .fmt-book-tabs button[data-book-side="sell"].is-active{background:#b94f49!important;border-color:#b94f49!important;color:#fff!important}}

/* The phone view owns its search form (.fmt-mobile-search-form).  Never let
   the desktop search subbar render above it, even when other responsive rules
   are loaded later in the stylesheet. */
@media (max-width: 900px) {
  .fx-unified-page .fx-unified-subbar.fx-search-subbar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
}

/* Phone-only spacing and compact trading-board controls. */
@media (max-width: 780px) {
  .fx-unified-page .fx-unified-head {
    margin-top: 10px !important;
    margin-right: 9px !important;
    margin-left: 9px !important;
    margin-bottom: 5px !important;
    padding-top: 11px !important;
    padding-bottom: 11px !important;
  }

  .fx-unified-page .fx-mobile-terminal {
    padding-top: 5px !important;
  }

  .fx-unified-page .fmt-book-tabs {
    gap: 0 !important;
    padding: 5px 8px !important;
  }

  .fx-unified-page .fmt-book-tabs button {
    height: 30px !important;
    border-radius: 0 !important;
  }

  .fx-unified-page .fmt-book-tabs button:first-child {
    border-radius: 0 7px 7px 0 !important;
  }

  .fx-unified-page .fmt-book-tabs button:last-child {
    border-radius: 7px 0 0 7px !important;
    border-right: 0 !important;
  }

  .fx-mobile-terminal .fmt-book .fmt-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 36px !important;
    margin: 4px 0 !important;
    padding: 5px 8px !important;
    gap: 7px !important;
  }

  .fx-mobile-terminal .fmt-book .fmt-row span {
    display: none !important;
  }

  .fx-mobile-terminal .fmt-book .fmt-row b,
  .fx-mobile-terminal .fmt-book .fmt-row em {
    display: block !important;
    width: auto !important;
    text-align: initial !important;
    white-space: nowrap !important;
  }

  .fx-mobile-terminal .fmt-book .fmt-row em {
    font-size: .6rem !important;
  }
}



/* Universal Persian placeholder styling */

input::placeholder,

textarea::placeholder,

select::placeholder {

  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, Tahoma, sans-serif !important;

  color: #789087 !important;

  opacity: 0.85 !important;

  font-size: 0.88rem !important;

  font-weight: 400 !important;

  direction: rtl !important;

  text-align: right !important;

}



input[dir="ltr"]::placeholder {

 direction: ltr !important;

 text-align: left !important;

}





/* ========================================================

   UNIFIED 4-PAGE TEMPLATE SYSTEM (Besharat Fee Exchange)

   Width: 1180px | Unified 3-Tier Header | Unified Sub-Header Bar

   ======================================================== */



/* Global container shell for all 4 main exchange pages */

.fx-unified-shell {

  max-width: 1180px !important;

  width: 100% !important;

  margin: 0 auto !important;

  padding: 24px 20px 24px !important;

  box-sizing: border-box !important;

}



/* Ensure body / page shells respect 1180px bounds */

.ft-shell,

.fx-my-shell,

.ep-page,

.secure-room {

  max-width: 1180px !important;

  width: 100% !important;

  margin: 0 auto !important;

  box-sizing: border-box !important;

}



/* Sleek dark scrollbar everywhere across fee-exchange */

html, body, *, .fx-modal-card, .secure-room {

  scrollbar-width: thin !important;

  scrollbar-color: #2e4a3d #0b1511 !important;

}

::-webkit-scrollbar {

  width: 7px !important;

  height: 7px !important;

}

::-webkit-scrollbar-track {

  background: #0b1511 !important;

}

::-webkit-scrollbar-thumb {

  background: #2e4a3d !important;

  border-radius: 4px !important;

}

::-webkit-scrollbar-thumb:hover {

  background: #3e6352 !important;

}

::-webkit-scrollbar-corner {

  background: #0b1511 !important;

}



/* 1. Unified 3-Tier Header */

.fx-unified-head {

  display: flex !important;

  justify-content: space-between !important;

  align-items: center !important;

  flex-wrap: wrap !important;

  gap: 18px !important;

  margin-bottom: 14px !important;

  padding: 22px 20px !important;

  border: 1px solid #315044 !important;

  border-radius: 16px !important;

  background: linear-gradient(120deg, #0d3224 0%, #102019 72%) !important;

  box-sizing: border-box !important;

}



.fx-unified-head-content {

  display: flex !important;

  flex-direction: column !important;

  align-items: flex-start !important;

  justify-content: center !important;

  gap: 3px !important;

  min-width: 0 !important;

  flex: 1 1 320px !important;

}



/* Tier 1: Besharat Golden Eyebrow Tag */

.fx-unified-eyebrow {

  color: #d4b45c !important;

  font-size: 0.84rem !important;

  font-weight: 800 !important;

  letter-spacing: 0.3px !important;

  display: inline-block !important;

  margin-bottom: 2px !important;

}



/* Tier 2: Page Title (Clean White) */

.fx-unified-title {

  color: #ffffff !important;

  font-size: 1.52rem !important;

  font-weight: 900 !important;

  line-height: 1.4 !important;

  margin: 0 !important;

  padding: 0 !important;

}



/* Tier 3: Subtitle / Description (Soft muted white/grey) */

.fx-unified-desc {

  color: #a9bcb3 !important;

  font-size: 0.88rem !important;

  font-weight: 400 !important;

  line-height: 1.6 !important;

  margin: 2px 0 0 !important;

  padding: 0 !important;

}



/* Fixed-size Shortcut Button (left side of header) */

.fx-unified-action {

  display: flex !important;

  align-items: center !important;

  justify-content: flex-end !important;

  flex-shrink: 0 !important;

}



.fx-unified-btn {

  width: 175px !important;

  min-width: 175px !important;

  max-width: 175px !important;

  height: 44px !important;

  box-sizing: border-box !important;

  display: inline-flex !important;

  align-items: center !important;

  justify-content: center !important;

  gap: 8px !important;

  padding: 0 16px !important;

  border-radius: 10px !important;

  background: #0e9168 !important;

  border: 1px solid #14a87a !important;

  color: #ffffff !important;

  font-family: inherit !important;

  font-size: 0.86rem !important;

  font-weight: 800 !important;

  text-decoration: none !important;

  cursor: pointer !important;

  transition: all 0.15s ease-in-out !important;

  white-space: nowrap !important;

}



.fx-unified-btn:hover {

  background: #11ab7c !important;

  border-color: #17c690 !important;

  color: #ffffff !important;

  transform: translateY(-1px) !important;

  box-shadow: 0 4px 12px rgba(14, 145, 104, 0.25) !important;

}



.fx-unified-btn svg {

  width: 16px !important;

  height: 16px !important;

  stroke: currentColor !important;

  fill: none !important;

  stroke-width: 2.2 !important;

}



/* 2. Unified Thin Sub-Header Bar (Directly below header) */

.fx-unified-subbar {

  background: #14221c !important;

  border: 1px solid #283e33 !important;

  border-radius: 12px !important;

  min-height: 48px !important;

  padding: 6px 20px !important;

  margin-bottom: 24px !important;

  display: flex !important;

  align-items: center !important;

  justify-content: space-between !important;

  gap: 14px !important;

  box-sizing: border-box !important;

  color: #d1ded7 !important;

  font-size: 0.84rem !important;

}



.fx-subbar-msg {

  display: flex !important;

  align-items: center !important;

  gap: 9px !important;

  color: #c4d7ce !important;

  font-size: 0.84rem !important;

}



.fx-subbar-msg svg {

  width: 18px !important;

  height: 18px !important;

  stroke: #d4b45c !important;

  fill: none !important;

  flex-shrink: 0 !important;

}



.fx-subbar-extra {

  display: flex !important;

  align-items: center !important;

  gap: 10px !important;

}



.fx-subbar-badge {

  display: inline-flex !important;

  align-items: center !important;

  gap: 6px !important;

  padding: 4px 12px !important;

  border-radius: 8px !important;

  font-size: 0.78rem !important;

  font-weight: 800 !important;

  background: #1a3227 !important;

  border: 1px solid #2c5442 !important;

  color: #8fe4bd !important;

  white-space: nowrap !important;

}



.fx-subbar-badge.gold {

  background: rgba(212, 180, 92, 0.12) !important;

  border-color: rgba(212, 180, 92, 0.35) !important;

  color: #f1d284 !important;

}



.fx-subbar-filter-group {

  display: flex !important;

  align-items: center !important;

  gap: 14px !important;

  flex-wrap: wrap !important;

  flex: 1 1 auto !important;

}



.fx-subbar-filter-group label {

  display: flex !important;

  align-items: center !important;

  gap: 6px !important;

  color: #b9ccc1 !important;

  font-size: 0.82rem !important;

  font-weight: 700 !important;

}



.fx-subbar-filter-group select {

  height: 38px !important;

  border-radius: 8px !important;

  background: #0d1814 !important;

  border: 1px solid #334d40 !important;

  color: #f5f7f6 !important;

  padding: 0 10px !important;

  font: inherit !important;

  font-size: 0.82rem !important;

}



.fx-subbar-filter-btn {

  height: 38px !important;

  padding: 0 20px !important;

  border-radius: 8px !important;

  background: #0e9168 !important;

  border: 0 !important;

  color: #ffffff !important;

  font: inherit !important;

  font-size: 0.84rem !important;

  font-weight: 800 !important;

  cursor: pointer !important;

  transition: background 0.15s !important;

}



.fx-subbar-filter-btn:hover {

  background: #11ab7c !important;

}



/* 3. Profile 2x2 Grid Layout */

.ep-grid-card {

  background: #111e18 !important;

  border: 1px solid #2d4439 !important;

  border-radius: 16px !important;

  padding: 28px 30px !important;

  box-sizing: border-box !important;

}



.ep-grid-2x2 {

  display: grid !important;

  grid-template-columns: 1fr 1fr !important;

  gap: 20px 24px !important;

  margin-bottom: 20px !important;

}



.ep-grid-item {

  background: #091310 !important;

  border: 1px solid #24382e !important;

  border-radius: 12px !important;

  padding: 18px 20px !important;

  display: flex !important;

  flex-direction: column !important;

  gap: 6px !important;

  box-sizing: border-box !important;

}



.ep-item-label {

  color: #8ca396 !important;

  font-size: 0.8rem !important;

  font-weight: 700 !important;

}



.ep-item-val {

  color: #ffffff !important;

  font-size: 1.15rem !important;

  font-weight: 800 !important;

}



.ep-item-sub {

  color: #6d8276 !important;

  font-size: 0.74rem !important;

}



.ep-badge-verified {

  display: inline-flex !important;

  align-items: center !important;

  gap: 6px !important;

  padding: 4px 10px !important;

  border-radius: 6px !important;

  background: #113628 !important;

  border: 1px solid #1a5e44 !important;

  color: #79dfb3 !important;

  font-size: 0.8rem !important;

  font-weight: 800 !important;

}



/* Responsive adjustments */

@media (max-width: 768px) {

  .ep-grid-2x2 {

    grid-template-columns: 1fr !important;

  }

  .fx-unified-head {

    padding: 18px 20px !important;

  }

  .fx-unified-action {

    width: 100% !important;

  }

  .fx-unified-btn {

    width: 100% !important;

    max-width: none !important;

  }

  .fx-unified-subbar {

    flex-direction: column !important;

    align-items: flex-start !important;

    height: auto !important;

  }

  .fx-subbar-filter-group {

    width: 100% !important;

  }

  .fx-subbar-filter-btn {

    width: 100% !important;

  }

}





/* ========================================================

   GLOBAL PADDING & SPACING ALIGNMENT ACROSS ALL 4 PAGES

   Zero pixel difference from top, bottom, left, and right

   ======================================================== */



/* Outer page wrappers: absolute 0 margin & padding */

.fx-unified-page,

.ep-page,

.fx-my-page,

.ft-page,

.fx-market-home,

body:has(.secure-room),

body:has(.ep-page),

body:has(.fx-my-page) {

  margin: 0 !important;

  padding: 0 !important;

  background: #0b1210 !important;

}



/* Master container shell: identical 24px top, 20px horizontal, 60px bottom */

.fx-unified-shell,

main.fx-unified-shell,

.ep-page main,

.fx-my-shell,

.ft-shell,

.secure-room {

  max-width: 1180px !important;

  width: 100% !important;

  margin: 0 auto !important;

  padding-top: 24px !important;

  padding-bottom: 24px !important;

  padding-left: 20px !important;

  padding-right: 20px !important;

  box-sizing: border-box !important;

}



/* Base main container in base_main.html */

body:has(.fx-unified-shell) main,

body:has(.fx-unified-page) main {

  padding: 0 !important;

  margin: 0 !important;

}



/* Header Component Spacing: Identical top, bottom, left, right bounds */

.fx-unified-head {

  display: flex !important;

  justify-content: space-between !important;

  align-items: center !important;

  flex-wrap: wrap !important;

  gap: 18px !important;

  margin-top: 0 !important;

  margin-left: 0 !important;

  margin-right: 0 !important;

  margin-bottom: 14px !important;

  padding: 22px 20px !important;

  border: 1px solid #315044 !important;

  border-radius: 16px !important;

  background: linear-gradient(120deg, #0d3224 0%, #102019 72%) !important;

  box-sizing: border-box !important;

  width: 100% !important;

}



/* ========================================================

   UNIFIED 4-PAGE SYSTEM - EXACT IDENTICAL SPACING & GRID

   Zero pixel difference from top, bottom, left, and right

   ======================================================== */



/* Body & base_main.html outer main */

body:has(.fx-unified-page),

body:has(.fx-unified-shell),

body:has(.secure-room),

body:has(.ep-page),

body:has(.fx-my-page) {

  background-color: #0b1210 !important;

}



body:has(.fx-unified-page) > main,

body:has(.fx-unified-shell) > main {

  padding: 0 !important;

  margin: 0 !important;

  background-color: #0b1210 !important;

}



.fx-unified-page,

.ep-page,

.fx-my-page,

.ft-page,

.fx-market-home,

.secure-room-page {

  margin: 0 !important;

  padding: 0 !important;

  background-color: #0b1210 !important;

  width: 100% !important;

}



/* Master container shell: 100% matching .bh-container navbar grid */

.fx-unified-shell,

.ft-shell,

.fx-my-shell,

.ep-shell,

.secure-room {

  max-width: 1180px !important;

  width: 100% !important;

  margin: 0 auto !important;

  padding: 24px 20px 24px !important;

  box-sizing: border-box !important;

  background: transparent !important;

}



/* Header Window: 100% identical dimensions, colors, typography and padding across all 4 pages */

.fx-unified-head {

  display: flex !important;

  justify-content: space-between !important;

  align-items: center !important;

  gap: 20px !important;

  width: 100% !important;

  box-sizing: border-box !important;

  margin-top: 0 !important;

  margin-left: 0 !important;

  margin-right: 0 !important;

  margin-bottom: 14px !important;

  padding: 22px 20px !important;

  border: 1px solid #315044 !important;

  border-radius: 16px !important;

  background: linear-gradient(120deg, #0d3224 0%, #102019 72%) !important;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22) !important;

  min-height: 108px !important;

}



.fx-unified-head-content {

  display: flex !important;

  flex-direction: column !important;

  gap: 5px !important;

  text-align: right !important;

  flex: 1 !important;

  min-width: 0 !important;

}



.fx-unified-eyebrow {

  color: #dfbc6c !important;

  font-size: 13px !important;

  font-weight: 700 !important;

  line-height: 1.4 !important;

  display: block !important;

  letter-spacing: 0.2px !important;

}



.fx-unified-title {

  color: #ffffff !important;

  font-size: 22px !important;

  font-weight: 800 !important;

  line-height: 1.35 !important;

  margin: 0 !important;

  padding: 0 !important;

  display: block !important;

}



.fx-unified-desc {

  color: #a9b7b0 !important;

  font-size: 13px !important;

  font-weight: 400 !important;

  line-height: 1.6 !important;

  margin: 0 !important;

  padding: 0 !important;

  display: block !important;

}



.fx-unified-action {

  flex-shrink: 0 !important;

  display: flex !important;

  align-items: center !important;

}



.fx-unified-btn {

  display: inline-flex !important;

  align-items: center !important;

  justify-content: center !important;

  gap: 8px !important;

  width: 160px !important;

  height: 44px !important;

  padding: 0 16px !important;

  border-radius: 10px !important;

  background: #11966c !important;

  color: #ffffff !important;

  font-size: 13.5px !important;

  font-weight: 700 !important;

  text-decoration: none !important;

  border: 1px solid #1bb886 !important;

  box-shadow: 0 4px 14px rgba(17, 150, 108, 0.28) !important;

  transition: all 0.2s ease !important;

  box-sizing: border-box !important;

  white-space: nowrap !important;

}



.fx-unified-btn:hover {

  background: #0ea879 !important;

  color: #ffffff !important;

  transform: translateY(-1px) !important;

  box-shadow: 0 6px 18px rgba(17, 150, 108, 0.4) !important;

}



.fx-unified-btn svg {

  width: 17px !important;

  height: 17px !important;

  stroke: currentColor !important;

  stroke-width: 2.2 !important;

  fill: none !important;

  flex-shrink: 0 !important;

}



/* Sub-header bar Spacing: Identical margin-bottom */

.fx-unified-subbar {

  margin-top: 0 !important;

  margin-bottom: 24px !important;

  box-sizing: border-box !important;

  width: 100% !important;

}







/* ========================================================

   MASTER UNIFIED DARK THEME (Identical to exchange_my)

   Deep dark forest base (#0b1210) & polished cards (#101c17)

   ======================================================== */



html:has(.fx-unified-page),

html:has(.fx-unified-shell),

html:has(.secure-room),

html:has(.ep-page),

html:has(.fx-my-page),

html:has(.fx-market-home),

body:has(.fx-unified-page),

body:has(.fx-unified-shell),

body:has(.secure-room),

body:has(.ep-page),

body:has(.fx-my-page),

body:has(.fx-market-home),

body:has(.ft-page) {

  background: #0b1210 !important;

  background-color: #0b1210 !important;

  color: #edf5f0 !important;

}



body:has(.fx-unified-page) > main,

body:has(.fx-unified-shell) > main,

body:has(.fx-market-home) > main,

body:has(.ep-page) > main,

body:has(.secure-room) > main,

body:has(.fx-my-page) > main {

  background: #0b1210 !important;

  background-color: #0b1210 !important;

  padding: 0 !important;

  margin: 0 !important;

  min-height: auto !important;

}



.fx-unified-page,

.ep-page,

.fx-my-page,

.ft-page,

.fx-market-home,

.official-board,

.secure-room-page {

  background: #0b1210 !important;

  background-color: #0b1210 !important;

  color: #edf5f0 !important;

  min-height: auto !important;

  margin: 0 !important;

  padding: 0 !important;

}



.fx-unified-shell,

.ft-shell,

.fx-my-shell,

.ep-shell,

.secure-room {

  background: transparent !important;

  background-color: transparent !important;

  color: #edf5f0 !important;

}



/* Master Cards & Panels Darkness */

.fx-market-home .fx-quick-terminal,

.fx-market-home .fx-board,

.fx-market-home .order-board,

.fx-market-home .market-filters,

.fx-market-home .ft-bottom,

.ep-page .ep-grid-card,

.secure-room .sr-step-main,

.secure-room .sr-contract-preview,

.fx-order-card {

  background: #101c17 !important;

  background-color: #101c17 !important;

  border: 1px solid #2b4438 !important;

  border-radius: 14px !important;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22) !important;

  color: #edf5f0 !important;

}



.fx-market-home .fx-quick-terminal > header,

.fx-market-home .fx-board > header,

.fx-market-home .order-board > header,

.ep-page .ep-grid-card > header {

  background: #101c17 !important;

  border-bottom: 1px solid #23372c !important;

  color: #edf5f0 !important;

}



.fx-market-home .fx-quick-terminal form {

  background: #101c17 !important;

}



/* Master Inputs & Selects Darkness */

.fx-market-home .fx-quick-fields input,

.fx-market-home .fx-quick-fields select,

.fx-market-home .fx-quick-fields textarea,

.fx-market-home .market-filters select,

.fx-market-home .fx-subbar-filter-group select,

.ep-page input,

.ep-page select,

.secure-room input:not([type=file]),

.secure-room select,

.secure-room textarea {

  background: #08110e !important;

  border: 1px solid #365044 !important;

  color: #f5f7f6 !important;

}



.fx-market-home .fx-quick-fields input:focus,

.fx-market-home .fx-quick-fields select:focus,

.fx-market-home .fx-quick-fields textarea:focus,

.fx-market-home .market-filters select:focus,

.secure-room input:focus,

.secure-room select:focus,

.secure-room textarea:focus {

  border-color: #d4aa45 !important;

  outline: none !important;

  box-shadow: 0 0 0 2px rgba(212, 170, 69, 0.18) !important;

}



.fx-market-home .fx-board .order-columns {

  background: #101c17 !important;

  border-radius: 0 0 14px 14px !important;

}



.fx-market-home .fx-board .order-column {

  background: transparent !important;

}



.ep-page .ep-grid-item {

  background: #0d1814 !important;

  border: 1px solid #25392f !important;

  border-radius: 12px !important;

}





/* Mathematical precision for the 3 Equal Gaps System:

   Gap 1 (Top Navbar to Header): 24px

   Header to Subbar (upper grouping): 14px

   Gap 2 (Subbar to Operational Box): 24px

   Gap 3 (Lowest Box to Footer): 24px

*/

.fx-market-workspace,

.fx-mobile-terminal,

.fx-my-orders,

.fx-my-empty,

.ep-grid-card,

.secure-room .sr-parties {

  margin-top: 0 !important;

}



.fx-market-workspace,

.fx-mobile-terminal,

.fx-my-orders,

.fx-my-empty,

.ep-grid-card,

.secure-room .sr-flow,

.secure-room .agreement-paper {

  margin-bottom: 0 !important;

}





/* ========================================================

   UNIFIED MARKET WORKSPACE HEADERS & TYPOGRAPHY

   Identical font family, size, weight, color, alignment, and height

   ======================================================== */

.fx-market-home .fx-board > header,

.fx-market-home .order-board > header,

.fx-market-home .fx-quick-terminal > header,

.fx-panel-head {

  display: flex !important;

  flex-direction: column !important;

  justify-content: center !important;

  align-items: flex-start !important;

  text-align: right !important;

  min-height: 72px !important;

  height: 72px !important;

  padding: 12px 20px !important;

  margin: 0 !important;

  background: #101c17 !important;

  border: 0 !important;

  border-bottom: 1px solid #283e33 !important;

  border-radius: 14px 14px 0 0 !important;

  box-sizing: border-box !important;

  width: 100% !important;

}



.fx-panel-head-content {

  display: flex !important;

  flex-direction: column !important;

  justify-content: center !important;

  align-items: flex-start !important;

  gap: 4px !important;

  width: 100% !important;

  text-align: right !important;

  margin: 0 !important;

  padding: 0 !important;

}



/* Titles: 100% Identical Typography */

.fx-market-home .fx-board > header h2,

.fx-market-home .order-board > header h2,

.fx-market-home .fx-quick-terminal > header h2,

.fx-market-home .fx-quick-terminal > header span,

.fx-panel-title {

  display: block !important;

  font-family: "Vazirmatn", Tahoma, sans-serif !important;

  font-size: 1.05rem !important;

  font-weight: 800 !important;

  color: #ffffff !important;

  line-height: 1.35 !important;

  margin: 0 !important;

  padding: 0 !important;

  text-align: right !important;

  white-space: nowrap !important;

  letter-spacing: 0 !important;

}



/* Subtitles / Descriptions: 100% Identical Typography */

.fx-market-home .fx-board > header p,

.fx-market-home .order-board > header p,

.fx-market-home .fx-quick-terminal > header p,

.fx-panel-desc {

  display: flex !important;

  align-items: center !important;

  flex-wrap: wrap !important;

  gap: 8px !important;

  font-family: "Vazirmatn", Tahoma, sans-serif !important;

  font-size: 0.80rem !important;

  font-weight: 500 !important;

  color: #a9b7b0 !important;

  line-height: 1.5 !important;

  margin: 0 !important;

  padding: 0 !important;

  text-align: right !important;

}



.fx-desc-val {

  font-weight: 700 !important;

  color: #dfbc6c !important;

}



.fx-desc-sep {

  color: #385447 !important;

  font-style: normal !important;

  user-select: none !important;

  margin: 0 2px !important;

}



/* Mobile Terminal Header styling */

.fmt-book header {

  display: flex !important;

  flex-direction: column !important;

  align-items: flex-start !important;

  justify-content: center !important;

  gap: 4px !important;

  min-height: 64px !important;

  padding: 10px 14px !important;

  background: #101c17 !important;

  border-bottom: 1px solid #283e33 !important;

}



.fmt-book-head-content {

  display: flex !important;

  flex-direction: column !important;

  gap: 3px !important;

  width: 100% !important;

  text-align: right !important;

}



.fmt-book-titles {

  display: flex !important;

  align-items: center !important;

  gap: 8px !important;

}

/* Final phone layout: concise inline field labels and matching control heights. */
@media (max-width: 780px) {
  .fx-unified-page .fx-unified-head { margin-right:9px !important; margin-left:9px !important; }
  .fx-mobile-terminal .fmt-book > header,
  .fx-mobile-terminal .fmt-order > header { height:54px !important; min-height:54px !important; box-sizing:border-box !important; }
  .fx-mobile-terminal .fmt-side-switch,
  .fx-mobile-terminal .fmt-side-switch label,
  .fx-mobile-terminal .fmt-side-switch span { height:30px !important; min-height:30px !important; }
  .fx-mobile-terminal .fmt-side-switch span { font-size:.72rem !important; }
  .fx-mobile-terminal .fmt-fields .fmt-infield { position:relative !important; display:flex !important; align-items:center !important; min-height:40px !important; height:40px !important; gap:5px !important; padding:0 10px !important; border:1px solid #41564c !important; border-radius:8px !important; background:#0a1411 !important; color:#f6f8f7 !important; font-size:.72rem !important; font-weight:700 !important; box-sizing:border-box !important; }
  .fx-mobile-terminal .fmt-fields .fmt-infield::before { display:none !important; content:none !important; }
  .fx-mobile-terminal .fmt-fields .fmt-inline-label { flex:0 0 auto !important; color:#9fb2a8 !important; font-size:.61rem !important; white-space:nowrap !important; }
  .fx-mobile-terminal .fmt-fields .fmt-infield > select,
  .fx-mobile-terminal .fmt-fields .fmt-infield > input { flex:1 1 auto !important; width:0 !important; height:38px !important; min-width:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; color:#f6f8f7 !important; text-align:left !important; }
  .fx-mobile-terminal .fmt-fields .fmt-infield > select { padding-left:20px !important; }
  .fx-mobile-terminal .fmt-fields .fmt-infield:focus-within { border-color:#1aa876 !important; box-shadow:0 0 0 2px rgba(26,168,118,.16) !important; }
}

@media (max-width: 780px) {
  .fx-mobile-terminal .fmt-fields .fmt-infield {
    position: relative !important;
    display: block !important;
    min-height: 52px !important;
    font-size: 0 !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield::before {
    content: attr(data-label) !important;
    position: absolute !important;
    z-index: 1 !important;
    top: 6px !important;
    right: 11px !important;
    color: #9fb2a8 !important;
    font: 700 .56rem/1 Vazirmatn, Tahoma, sans-serif !important;
    pointer-events: none !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield > select,
  .fx-mobile-terminal .fmt-fields .fmt-infield > input {
    height: 52px !important;
    padding: 16px 10px 3px !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield > select {
    padding-left: 28px !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield > small {
    position: absolute !important;
    top: 53px !important;
    right: 0 !important;
    left: 0 !important;
  }
}

/* Final phone board layout: no side overflow, seller above buyer. */
@media (max-width: 780px) {
  .fx-unified-page,
  .fx-unified-page .fx-unified-shell,
  .fx-unified-page .fx-mobile-terminal {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
  }

  .fx-unified-page .fx-unified-head {
    width: calc(100% - 18px) !important;
    max-width: calc(100% - 18px) !important;
    box-sizing: border-box !important;
    margin-right: 9px !important;
    margin-left: 9px !important;
  }

  .fx-mobile-terminal .fmt-book-tabs { display: none !important; }
  .fx-mobile-terminal .fmt-book {
    display: flex !important;
    flex-direction: column !important;
  }
  .fx-mobile-terminal .fmt-book.show-buy .fmt-sell,
  .fx-mobile-terminal .fmt-book.show-sell .fmt-buy,
  .fx-mobile-terminal .fmt-book .fmt-sell,
  .fx-mobile-terminal .fmt-book .fmt-buy {
    display: block !important;
  }
  .fx-mobile-terminal .fmt-book .fmt-sell { order: 2 !important; }
  .fx-mobile-terminal .fmt-book .fmt-buy { order: 3 !important; border-top: 1px solid #31483d !important; }
  .fx-mobile-terminal .fmt-book > header { order: 1 !important; }

  .fx-mobile-terminal #mobile-board-desc {
    display: flex !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #9fb2a8 !important;
    font-size: .48rem !important;
    line-height: 1.1 !important;
  }
  .fx-mobile-terminal #mobile-board-desc .fx-board-meta-item { display: inline-flex !important; }
  .fx-mobile-terminal #mobile-board-desc .fx-board-meta-item + .fx-board-meta-item { display: none !important; }
  .fx-mobile-terminal #mobile-board-desc .fx-board-meta-label,
  .fx-mobile-terminal #mobile-board-desc .fx-board-meta-val { font-size: inherit !important; color: inherit !important; }
  .fx-mobile-terminal .fmt-book-head-content { flex-direction: column !important; gap: 1px !important; }
}



.fmt-book-titles span {

  font-family: "Vazirmatn", Tahoma, sans-serif !important;

  font-size: 0.92rem !important;

  font-weight: 800 !important;

  color: #ffffff !important;

}



.fmt-book-titles strong {

  font-family: "Vazirmatn", Tahoma, sans-serif !important;

  font-size: 0.92rem !important;

  font-weight: 800 !important;

  color: #dfbc6c !important;

}



.fmt-book-desc {

  display: flex !important;

  align-items: center !important;

  gap: 6px !important;

  font-family: "Vazirmatn", Tahoma, sans-serif !important;

  font-size: 0.74rem !important;

  color: #a9b7b0 !important;

  margin: 0 !important;

}





/* ========================================================

   EXACT EQUAL WIDTH INPUTS FOR SEARCH SUBBAR

   Equal flex-basis and fixed identical 46px label width

   ======================================================== */

.fx-search-subbar .fx-subbar-field,

.fx-unified-subbar .fx-subbar-field {

  display: flex !important;

  align-items: center !important;

  gap: 8px !important;

  flex: 1 1 0 !important;

  min-width: 0 !important;

  margin: 0 !important;

}



.fx-search-subbar .fx-subbar-label,

.fx-unified-subbar .fx-subbar-label {

  color: #b9ccc1 !important;

  font-size: 0.82rem !important;

  font-weight: 700 !important;

  white-space: nowrap !important;

  flex-shrink: 0 !important;

  width: auto !important;

  min-width: 0 !important;

  max-width: none !important;

  text-align: right !important;

  display: inline-block !important;

  box-sizing: border-box !important;

  margin: 0 !important;

  padding: 0 !important;

}



.fx-search-subbar .fx-subbar-field select,

.fx-unified-subbar .fx-subbar-field select {

  flex: 1 1 0 !important;

  width: 100% !important;

  min-width: 0 !important;

  height: 36px !important;

  border-radius: 8px !important;

  background: #08110e !important;

  border: 1px solid #365044 !important;

  color: #f5f7f6 !important;

  padding: 0 10px !important;

  font-family: inherit !important;

  font-size: 0.82rem !important;

  font-weight: 600 !important;

  box-sizing: border-box !important;

  cursor: pointer !important;

}



.fx-order-timeline .cancelled span,

.fx-order-timeline .expired span,

.fx-order-timeline .void span {

  background: #7a8f84 !important;

  border: 2px solid #9aa39c !important;

  box-shadow: 0 0 8px rgba(154, 163, 156, 0.3) !important;

}

.fx-order-timeline .cancelled b,

.fx-order-timeline .expired b,

.fx-order-timeline .void b {

  color: #c5d2cb !important;

  font-weight: 800 !important;

}

.is-buy .fx-order-timeline .completed span,

.fx-order-timeline .completed span {

  background: #0e9168 !important;

  border: 2px solid #0e9168 !important;

  box-shadow: 0 0 6px rgba(14, 145, 104, 0.4) !important;

}

.is-buy .fx-order-timeline .completed b,

.fx-order-timeline .completed b {

  color: #7fe0ba !important;

  font-weight: 700 !important;

}



.is-sell .fx-order-timeline .completed span {

  background: #ba514b !important;

  border: 2px solid #ba514b !important;

  box-shadow: 0 0 6px rgba(186, 81, 75, 0.4) !important;

}



.is-sell .fx-order-timeline .completed b {

  color: #efaaa5 !important;

  font-weight: 700 !important;

}



/* Ensure board-desc spans never break or stack into vertical lines */

.fx-market-home .fx-panel-desc,

.fx-market-home #board-desc,

.fx-panel-desc,

#board-desc {

  display: block !important;

  text-align: right !important;

  white-space: nowrap !important;

  line-height: 1.5 !important;

  margin: 0 !important;

  padding: 0 !important;

}



.fx-market-home .fx-panel-desc span:not(.fx-board-meta-item),

.fx-market-home #board-desc span:not(.fx-board-meta-item),

.fx-panel-desc span:not(.fx-board-meta-item),

#board-desc span:not(.fx-board-meta-item),

#board-desc .fx-desc-val,

#board-desc .fx-desc-sep {

  display: inline !important;

  margin: 0 !important;

  padding: 0 !important;

  font-size: 0.80rem !important;

  font-weight: 500 !important;

  color: #a9b7b0 !important;

  line-height: inherit !important;

  white-space: nowrap !important;

}



#board-desc .fx-desc-sep {

  color: #5d7e70 !important;

  margin: 0 6px !important;

}





.fx-btn-action {

  display: inline-flex !important;

  align-items: center !important;

  justify-content: center !important;

  width: 136px !important;

  min-width: 136px !important;

  max-width: 136px !important;

  height: 36px !important;

  min-height: 36px !important;

  padding: 0 6px !important;

  border-radius: 8px !important;

  background: transparent !important;

  font-family: inherit !important;

  font-size: 0.78rem !important;

  font-weight: 700 !important;

  text-decoration: none !important;

  cursor: pointer !important;

  box-sizing: border-box !important;

  white-space: nowrap !important;

  transition: all 0.15s ease !important;

  text-align: center !important;

  line-height: 1.15 !important;

  overflow: hidden !important;

}



/* Responsive font scaling for fixed-width action buttons and badges */

.fx-text-sm {

  font-size: 0.72rem !important;

  padding-left: 6px !important;

  padding-right: 6px !important;

  letter-spacing: -0.2px !important;

}

.fx-text-xs {

  font-size: 0.62rem !important;

  padding-left: 4px !important;

  padding-right: 4px !important;

  letter-spacing: -0.3px !important;

}

.fx-text-xxs {

  font-size: 0.52rem !important;

  padding-left: 3px !important;

  padding-right: 3px !important;

  letter-spacing: -0.4px !important;

  white-space: normal !important;

  line-height: 1.1 !important;

}

.fx-btn-pair {

  display: inline-flex !important;

  align-items: center !important;

  gap: 6px !important;

  width: 136px !important;

  min-width: 136px !important;

  max-width: 136px !important;

  box-sizing: border-box !important;

  margin: 0 !important;

  padding: 0 !important;

}

.fx-btn-pair form,

.fx-btn-half-form {

  margin: 0 !important;

  padding: 0 !important;

  display: inline-flex !important;

  flex: 1 1 0% !important;

  width: 50% !important;

  height: 36px !important;

}

.fx-btn-pair .fx-btn-action,

.fx-btn-action.fx-btn-half {

  width: 100% !important;

  min-width: 0 !important;

  max-width: none !important;

  flex: 1 1 0% !important;

  height: 36px !important;

  min-height: 36px !important;

  padding: 0 4px !important;

  font-size: 0.78rem !important;

  font-weight: 700 !important;

  border-radius: 8px !important;

  box-sizing: border-box !important;

  text-align: center !important;

  justify-content: center !important;

}



/* Scoped Board Meta Elements */

.fx-board-meta-item {

  display: inline-flex !important;

  align-items: center !important;

  gap: 5px !important;

  white-space: nowrap !important;

}

.fx-board-meta-label {

  display: inline !important;

  color: #a9b7b0 !important;

  font-weight: 500 !important;

  font-size: 0.80rem !important;

  line-height: inherit !important;

}

.fx-board-meta-val {

  display: inline !important;

  color: #dfbc6c !important;

  font-weight: 700 !important;

  font-size: 0.80rem !important;

  line-height: inherit !important;

}

#board-desc,

#mobile-board-desc,

.fx-panel-desc,

.fmt-book-desc {

  display: flex !important;

  align-items: center !important;

  flex-wrap: wrap !important;

  gap: 22px !important;

  margin: 0 !important;

  padding: 0 !important;

  text-align: right !important;

}

.fx-board-meta-item {

  display: inline-flex !important;

  align-items: center !important;

  gap: 6px !important;

  white-space: nowrap !important;

}

.fx-board-meta-sep {

  display: none !important;

}

.fx-board-meta-item + .fx-board-meta-item,

.fx-market-home #board-desc .fx-board-meta-item + .fx-board-meta-item,

#board-desc .fx-board-meta-item + .fx-board-meta-item,

#mobile-board-desc .fx-board-meta-item + .fx-board-meta-item {

  margin-right: 18px !important;

}



.fx-subbar-gold-search {

  width: 19px !important;

  height: 19px !important;

  stroke: #dfbc6c !important;

  stroke-width: 2.2 !important;

  fill: none !important;

  flex-shrink: 0 !important;

}





/* ==========================================================================

   Universal Persian Digits & Custom Themed Validation Tooltips

   ========================================================================== */

body, input, select, textarea, button, .fx-table, .fx-book-board {

  font-feature-settings: "ss01";

}

[dir="ltr"].latin-digits, input[type="email"], input[type="password"], input[type="url"], .latin-digits {

  font-feature-settings: normal !important;

}



.fx-field-callout {

  position: absolute;

  z-index: 100000;

  display: inline-flex;

  align-items: center;

  gap: 8px;

  background: #0f2219;

  border: 1px solid #dfbc6c;

  border-radius: 9px;

  padding: 8px 14px;

  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75), 0 0 14px rgba(223, 188, 108, 0.28);

  color: #ffffff;

  font-family: 'Vazirmatn', Tahoma, sans-serif;

  font-size: 0.82rem;

  font-weight: 600;

  line-height: 1.5;

  pointer-events: auto;

  animation: fxCalloutPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);

  white-space: nowrap;

}

@media (max-width: 600px) {

  .fx-field-callout {

    white-space: normal;

    max-width: calc(100vw - 24px);

    font-size: 0.78rem;

    padding: 7px 11px;

  }

}

.fx-field-callout .fx-callout-icon {

  flex-shrink: 0;

  color: #dfbc6c;

  display: flex;

  align-items: center;

}

.fx-field-callout .fx-callout-arrow {

  position: absolute;

  width: 9px;

  height: 9px;

  background: #0f2219;

  transform: rotate(45deg);

}

.fx-field-callout.callout-below .fx-callout-arrow {

  top: -5px;

  right: 22px;

  border-top: 1px solid #dfbc6c;

  border-left: 1px solid #dfbc6c;

}

.fx-field-callout.callout-above .fx-callout-arrow {

  bottom: -5px;

  right: 22px;

  border-bottom: 1px solid #dfbc6c;

  border-right: 1px solid #dfbc6c;

}

.fx-input-error {

  border-color: #dfbc6c !important;

  box-shadow: 0 0 0 3px rgba(223, 188, 108, 0.35), 0 0 12px rgba(223, 188, 108, 0.25) !important;

  animation: fxErrorShake 0.35s ease-in-out;

}

@keyframes fxCalloutPop {

  0% { opacity: 0; transform: translateY(-4px) scale(0.96); }

  100% { opacity: 1; transform: translateY(0) scale(1); }

}

@keyframes fxErrorShake {

  0%, 100% { transform: translateX(0); }

  20%, 60% { transform: translateX(-4px); }

  40%, 80% { transform: translateX(4px); }

}



/* Deal Room Custom Header Styles */

.fx-head-deal-id {

  color: #f1d98e !important;

  font-weight: 800 !important;

  letter-spacing: 0.5px !important;

}

.fx-head-deal-date {

  color: #c0cfc6 !important;

  font-weight: 500 !important;

  font-size: 0.9em !important;

}

.fx-desc-dot {

  color: #dfbc6c !important;

  font-weight: 700 !important;

  margin: 0 7px !important;

  display: inline-block !important;

}



/* Deal Room Subbar Alert & Pulse */

@keyframes srStepPulseHighlight {

  0% {

    box-shadow: 0 0 0 0 rgba(223, 188, 108, 0.75);

    border-color: #dfbc6c !important;

  }

  50% {

    box-shadow: 0 0 26px 8px rgba(223, 188, 108, 0.55);

    border-color: #f1d98e !important;

  }

  100% {

    box-shadow: 0 0 0 0 rgba(223, 188, 108, 0);

  }

}

.sr-step.sr-step-pulse {

  animation: srStepPulseHighlight 1.8s ease-out !important;

  border-radius: 14px !important;

}

.sr-step {

  scroll-margin-top: 80px !important;

}



/* KYC Notice on Quick Order */

.fx-quick-kyc-notice {

  display: flex;

  align-items: center;

  gap: 8px;

  background: rgba(217, 119, 6, 0.12);

  border: 1px solid rgba(217, 119, 6, 0.28);

  border-radius: 8px;

  padding: 8px 12px;

  color: #fcd34d;

  font-size: 0.82rem;

  line-height: 1.5;

  margin-bottom: 12px;

  text-align: right;

}

.fx-quick-kyc-notice svg {

  flex-shrink: 0;

  stroke: #fbbf24;

}





/* ========================================================

   GLOBAL AUTOFILL DARK THEME OVERRIDE

   Prevents Chrome, Edge, Safari from turning filled inputs white

   ======================================================== */

.fx-market-home .fx-quick-fields input,

.fx-market-home .fx-quick-fields select,

.fx-market-home .fx-quick-fields textarea,

.fmt-order input,

.fmt-order select,

.fmt-order textarea,

.secure-room input,

.secure-room select,

.secure-room textarea {

  color-scheme: dark !important;

}



input:-webkit-autofill,

input:-webkit-autofill:hover,

input:-webkit-autofill:focus,

input:-webkit-autofill:active,

textarea:-webkit-autofill,

textarea:-webkit-autofill:hover,

textarea:-webkit-autofill:focus,

textarea:-webkit-autofill:active,

select:-webkit-autofill,

select:-webkit-autofill:hover,

select:-webkit-autofill:focus,

select:-webkit-autofill:active {

  -webkit-box-shadow: 0 0 0 1000px #08110e inset !important;

  box-shadow: 0 0 0 1000px #08110e inset !important;

  -webkit-text-fill-color: #f5f7f6 !important;

  color: #f5f7f6 !important;

  caret-color: #f5f7f6 !important;

  border-color: #365044 !important;

  transition: background-color 50000s ease-in-out 0s !important;

}



.fx-market-home .fx-quick-fields input[name="beneficiary_national_code"],

.fx-market-home .fx-quick-fields input[name="beneficiary_phone"],

.fx-market-home .fx-quick-fields input[name="beneficiary_name"],

.fmt-other input {

  background-color: #08110e !important;

  background: #08110e !important;

  color: #f5f7f6 !important;

  border: 1px solid #365044 !important;

}



.fx-btn-action.is-cooldown {

  opacity: 0.8 !important;

  cursor: not-allowed !important;

  background: rgba(220, 160, 40, 0.12) !important;

  border-color: #d4aa45 !important;

  color: #f1d284 !important;

  font-variant-numeric: tabular-nums !important;

  letter-spacing: 0.3px !important;

}



.fx-btn-action.fx-btn-admin-req {

  background: rgba(212, 170, 69, 0.16) !important;

  border-color: #d4aa45 !important;

  color: #f6dc9c !important;

}



input[name="beneficiary_national_code"],

input[name="beneficiary_phone"],

input[name="beneficiary_name"],

.other-only input,

.fmt-other input {

  background-color: #08110e !important;

  background: #08110e !important;

  color: #f5f7f6 !important;

  -webkit-text-fill-color: #f5f7f6 !important;

  border-color: #365044 !important;

}



/* Hide mobile board 3 sub-items: فیش, استان, بازه */
#mobile-board-title,
#mobile-board-desc,
.fmt-book #mobile-board-title,
.fmt-book #mobile-board-desc,
.fmt-book header strong,
.fmt-book header p,
.fmt-book-titles strong,
.fmt-book-desc,
.fx-mobile-terminal .fmt-book-titles strong,
.fx-mobile-terminal .fmt-book-desc,
.fx-mobile-terminal #mobile-board-title,
.fx-mobile-terminal #mobile-board-desc {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
}
.fmt-book header {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 8px 12px !important;
}
.fmt-book-head-content,
.fmt-book-titles {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
}

/* Final phone overrides: placed last to win against the legacy mobile blocks. */
@media (max-width: 780px) {
  .fx-unified-page .fx-unified-head {
    margin-top: 10px !important;
    margin-bottom: 5px !important;
    padding-top: 11px !important;
    padding-bottom: 11px !important;
  }

  .fx-unified-page .fx-mobile-terminal {
    padding-top: 5px !important;
  }

  .fx-unified-page .fmt-book-tabs {
    gap: 0 !important;
    padding: 5px 8px !important;
  }

  .fx-unified-page .fmt-book-tabs button {
    height: 30px !important;
    border-radius: 0 !important;
  }

  .fx-unified-page .fmt-book-tabs button:first-child {
    border-radius: 0 7px 7px 0 !important;
  }

  .fx-unified-page .fmt-book-tabs button:last-child {
    border-radius: 7px 0 0 7px !important;
    border-right: 0 !important;
  }
}

/* Keep labels and values inside narrow phone-order fields. */
@media (max-width: 780px) {
  .fx-mobile-terminal .fmt-fields .fmt-infield {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr) !important;
    align-items: center !important;
    direction: rtl !important;
    overflow: hidden !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-inline-label {
    display: block !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield > select,
  .fx-mobile-terminal .fmt-fields .fmt-infield > input {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    direction: rtl !important;
    text-align: right !important;
  }
}

/* Native select chrome must not look like a second box inside the field. */
@media (max-width: 780px) {
  .fx-mobile-terminal .fmt-fields .fmt-infield {
    column-gap: 6px !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield > select {
    -webkit-appearance: none !important;
    appearance: none !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
    background-image: linear-gradient(45deg, transparent 50%, #d8e3dd 50%), linear-gradient(135deg, #d8e3dd 50%, transparent 50%) !important;
    background-position: left 7px center, left 2px center !important;
    background-size: 5px 5px, 5px 5px !important;
    background-repeat: no-repeat !important;
    padding-left: 18px !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield > input {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
}

/* Persistent mobile-board metadata and equal seller/buyer sections. */
@media (max-width: 780px) {
  .fx-mobile-terminal .fmt-book > header {
    height: 58px !important;
    min-height: 58px !important;
  }

  .fx-mobile-terminal .fmt-book-head-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .fx-mobile-terminal #mobile-board-desc {
    display: flex !important;
    visibility: visible !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    font-size: .49rem !important;
    line-height: 1.1 !important;
    color: #9fb2a8 !important;
  }

  .fx-mobile-terminal #mobile-board-desc .fx-board-meta-item:first-child {
    display: inline-flex !important;
  }

  .fx-mobile-terminal #mobile-board-desc .fx-board-meta-item + .fx-board-meta-item {
    display: none !important;
  }

  .fx-mobile-terminal #mobile-board-desc .fx-board-meta-label,
  .fx-mobile-terminal #mobile-board-desc .fx-board-meta-val {
    display: inline !important;
    font-size: inherit !important;
    color: inherit !important;
  }

  .fx-mobile-terminal .fmt-book .fmt-side {
    display: flex !important;
    flex-direction: column !important;
    min-height: 126px !important;
    box-sizing: border-box !important;
  }

  .fx-mobile-terminal .fmt-book .fmt-side h3 {
    flex: 0 0 24px !important;
    height: 24px !important;
    margin: 0 0 6px !important;
    text-align: center !important;
  }

  .fx-mobile-terminal .fmt-book .fmt-side > p {
    flex: 1 1 auto !important;
    display: grid !important;
    place-items: center !important;
  }
}

/* Last phone refinements: one text baseline and native, readable pickers. */
@media (max-width: 780px) {
  .fx-mobile-terminal .fmt-fields .fmt-inline-label { display:flex !important; align-items:center !important; height:38px !important; line-height:1 !important; }
  .fx-mobile-terminal .fmt-fields .fmt-infield > select,
  .fx-mobile-terminal .fmt-fields .fmt-infield > input { height:38px !important; line-height:38px !important; vertical-align:middle !important; }
  .fx-mobile-terminal .fmt-fields .fmt-infield > select { -webkit-appearance:auto !important; appearance:auto !important; background-image:none !important; padding-left:3px !important; color-scheme:dark !important; }
  .fx-mobile-terminal .fmt-fields .fmt-infield > select option { background:#0a1411 !important; color:#f6f8f7 !important; }
  .fx-mobile-terminal .fmt-book .fmt-side { min-height:144px !important; padding-top:16px !important; }
  .fx-mobile-terminal .fmt-book .fmt-side h3 { margin-top:0 !important; }
}

/* The board's two sides always occupy the same half, regardless of row count. */
@media (max-width: 780px) {
  .fx-mobile-terminal .fmt-book .fmt-sell,
  .fx-mobile-terminal .fmt-book .fmt-buy {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> select[name="province"]) .fmt-inline-label {
    font-size: .54rem !important;
    transform: translateY(-1px) !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-inline-label {
    transform: translateY(2px) !important;
  }
}

/* Exact visual baselines for the compact phone interface. */
@media (max-width: 780px) {
  .fx-mobile-terminal .fmt-fields .fmt-inline-label {
    align-self: center !important;
    line-height: 38px !important;
    transform: translateY(2px) !important;
  }

  .fx-mobile-terminal .fmt-book > header,
  .fx-mobile-terminal .fmt-order > header {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Compact board metadata and matching order-card/field heights. */
@media (max-width: 780px) {
  .fx-mobile-terminal #mobile-board-desc .fx-board-meta-label {
    display: none !important;
  }

  .fx-mobile-terminal .fmt-book .fmt-row,
  .fx-mobile-terminal .fmt-fields .fmt-infield {
    height: 38px !important;
    min-height: 38px !important;
    box-sizing: border-box !important;
  }

  .fx-mobile-terminal .fmt-book .fmt-row {
    padding: 4px 8px !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield > select,
  .fx-mobile-terminal .fmt-fields .fmt-infield > input,
  .fx-mobile-terminal .fmt-fields .fmt-inline-label {
    height: 36px !important;
    line-height: 36px !important;
  }
}

@media (max-width: 780px) {
  .fx-mobile-terminal .fmt-fields .fmt-market-field {
    display: block !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-market-field > select {
    display: block !important;
    width: 100% !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
    text-align-last: center !important;
    line-height: 36px !important;
    transform: translateY(-2px) !important;
  }

  .fx-mobile-terminal .fmt-order button[type=submit] {
    height: 38px !important;
    min-height: 38px !important;
    line-height: 38px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 780px) {
  .fx-mobile-terminal .fmt-fields .fmt-infield > select {
    transform: translateY(-2px) !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]) {
    background: #12372a !important;
    border-color: #237b59 !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]) > input {
    transform: none !important;
  }
}

@media (max-width: 780px) {
  .fx-mobile-terminal #mobile-board-desc { display: none !important; }
  .fx-mobile-terminal #mobile-board-province {
    display: block !important;
    margin-top: 2px !important;
    color: #9fb2a8 !important;
    font: 700 .49rem/1 Vazirmatn, Tahoma, sans-serif !important;
    text-align: center !important;
  }
}

@media (max-width: 780px) {
  .fx-mobile-terminal .fmt-fields .fmt-bare-picker {
    display: block !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-bare-picker > select {
    display: block !important;
    width: 100% !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
    text-align-last: center !important;
    transform: translateY(-2px) !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-market-field > select {
    transform: translateY(-4px) !important;
  }

  .fx-mobile-terminal .fmt-side-switch,
  .fx-mobile-terminal .fmt-side-switch label,
  .fx-mobile-terminal .fmt-side-switch span {
    height: 38px !important;
    min-height: 38px !important;
    line-height: 38px !important;
  }
}

@media (max-width: 780px) {
  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]) {
    background: #0a1411 !important;
    border-color: #41564c !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]):focus-within {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]):focus-within .fmt-inline-label {
    display: none !important;
  }
}

@media (max-width: 780px) {
  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]):focus-within {
    grid-template-columns: max-content minmax(0, 1fr) !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]):focus-within .fmt-inline-label {
    display: flex !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]):has(> input:not(:placeholder-shown)) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]):has(> input:not(:placeholder-shown)) .fmt-inline-label {
    display: none !important;
  }

  .fx-mobile-terminal .fmt-fields input[name="price"]::placeholder {
    color: transparent !important;
  }
}

@media (max-width: 780px) {
  .fx-mobile-terminal .fmt-fields .fmt-bare-picker > select {
    transform: translateY(-4px) !important;
    padding-bottom: 3px !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-market-field > select {
    transform: translateY(-5px) !important;
    padding-bottom: 3px !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]):has(> input:placeholder-shown) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]):has(> input:placeholder-shown) .fmt-inline-label {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    font-size: .64rem !important;
    font-weight: 700 !important;
    transform: translateY(-1px) !important;
  }
}

@media (max-width: 780px) {
  .fx-mobile-terminal .fmt-fields input[name="price"] {
    text-align: center !important;
    transform: translateY(-3px) !important;
  }

  .fx-my-page .fx-unified-head {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 10px !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 10px !important;
  }

  .fx-my-page .fx-unified-subbar { margin-bottom: 12px !important; }
  .fx-my-page .fx-my-orders { gap: 10px !important; }

  .secure-room .fx-unified-head { width:100% !important; max-width:100% !important; margin-right:0 !important; margin-left:0 !important; margin-bottom:8px !important; }
  .secure-room .fx-unified-subbar { margin-bottom:8px !important; }
  .fx-my-page .fx-unified-btn { background:#0e9168 !important; border-color:#0e9168 !important; color:#fff !important; box-shadow:0 4px 14px rgba(14,145,104,.24) !important; }
  .fx-my-page .fx-unified-btn:hover { background:#0ba177 !important; border-color:#0ba177 !important; box-shadow:0 6px 18px rgba(14,145,104,.34) !important; }
}

@media (max-width: 780px) {
  .fx-my-page .fx-unified-action {
    width: 100% !important;
    justify-content: flex-end !important;
  }

  .fx-my-page .fx-unified-btn {
    width: auto !important;
    min-width: 168px !important;
    max-width: 100% !important;
    height: 38px !important;
  }

  .ep-page .ep-head,
  .ep-page .ep-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .ep-page .ep-head { margin-bottom: 8px !important; }
}


/* ========================================================
   DEFINITIVE VERTICAL CENTERING FIX FOR ORDER FORM FIELDS
   ======================================================== */
@media (max-width: 780px) {
  .fx-mobile-terminal .fmt-fields .fmt-infield {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield > select,
  .fx-mobile-terminal .fmt-fields .fmt-infield > input {
    height: 38px !important;
    line-height: 38px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    margin: 0 !important;
    transform: none !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    font-family: inherit !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    width: 100% !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-bare-picker > select,
  .fx-mobile-terminal .fmt-fields .fmt-market-field > select {
    display: block !important;
    width: 100% !important;
    height: 38px !important;
    line-height: 38px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    text-align: center !important;
    text-align-last: center !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]) .fmt-inline-label {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 38px !important;
    line-height: 38px !important;
    transform: none !important;
    pointer-events: none !important;
    color: #9fb2a8 !important;
    font-size: .68rem !important;
    font-weight: 700 !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]):focus-within .fmt-inline-label,
  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]):has(> input:not(:placeholder-shown)) .fmt-inline-label {
    display: none !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]) > input {
    height: 38px !important;
    line-height: 38px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    margin: 0 !important;
    text-align: center !important;
    transform: none !important;
    width: 100% !important;
    color: #f6f8f7 !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]):has(> input:placeholder-shown) > input {
    opacity: 1 !important;
  }
  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]):focus-within > input,
  .fx-mobile-terminal .fmt-fields .fmt-infield:has(> input[name="price"]):has(> input:not(:placeholder-shown)) > input {
    opacity: 1 !important;
  }
}


/* ========================================================
   UNIFIED PROFILE HEADER & MOBILE MARGIN/PADDING FIX
   ======================================================== */
.ep-page {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 24px 20px !important;
  box-sizing: border-box !important;
}

.ep-head {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 20px 20px !important;
  border: 1px solid #315044 !important;
  border-radius: 16px !important;
  background: linear-gradient(120deg, #0d3224 0%, #102019 72%) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22) !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 16px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.ep-head span {
  color: #dfbc6c !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  display: block !important;
  letter-spacing: 0.2px !important;
}

.ep-head h1 {
  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35 !important;
}

.ep-head p {
  color: #a9b7b0 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.6 !important;
}

@media (max-width: 780px) {
  /* Profile Page Mobile Breathing Room */
  .ep-page {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 12px 30px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .ep-page .ep-head {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px 0 !important;
    padding: 16px 14px !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
  }

  .ep-page .ep-head span {
    font-size: 13px !important;
  }

  .ep-page .ep-head h1 {
    font-size: 19px !important;
  }

  .ep-page .ep-head p {
    font-size: 12.5px !important;
  }

  .ep-page .ep-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* My Orders Page Mobile Breathing Room */
  .fx-my-page {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 12px 30px !important;
    margin: 0 !important;
  }

  .fx-my-page .fx-my-shell {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .fx-my-page .fx-unified-head {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px 0 !important;
    padding: 16px 14px !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
  }

  .fx-my-page .fx-unified-subbar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px 0 !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  .fx-my-page .fx-my-orders {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}


/* ========================================================
   MOBILE PRICE DELTA, INDEPENDENT SCROLLING & SEARCH POLISH
   ======================================================== */
/* Desktop sticky column headers for smooth scrolling */
.fx-market-home .fx-board .order-column {
  overscroll-behavior: contain !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(159, 178, 168, 0.35) transparent !important;
}
.fx-market-home .fx-board .order-column h3 {
  position: sticky !important;
  top: 0 !important;
  z-index: 3 !important;
  background: #17231f !important;
}

@media (max-width: 780px) {
  /* 1. Mobile Price Field: label + centered market price + visible percentage delta */
  .fx-mobile-terminal .fmt-fields .fmt-price-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-price-title {
    display: block !important;
    color: #9fb2a8 !important;
    font-size: 0.64rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield.fmt-price-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border: 1px solid #41564c !important;
    border-radius: 8px !important;
    background: #0a1411 !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield.fmt-price-box > input[name="price"],
  .fx-mobile-terminal .fmt-fields .fmt-infield.fmt-price-box:has(> input:placeholder-shown) > input[name="price"] {
    opacity: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 38px !important;
    line-height: 38px !important;
    padding: 0 8px !important;
    margin: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #f6f8f7 !important;
    text-align: center !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-infield.fmt-price-box > input[name="price"]::placeholder {
    color: #6f857a !important;
    font-weight: 600 !important;
  }

  .fx-mobile-terminal .fmt-fields .fmt-price-delta {
    display: block !important;
    min-height: 14px !important;
    margin: 1px 0 0 !important;
    padding: 0 2px !important;
    text-align: center !important;
    font-size: 0.58rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    position: static !important;
    white-space: normal !important;
  }
  .fx-mobile-terminal .fmt-fields .fmt-price-delta[hidden] {
    display: none !important;
  }
  .fx-mobile-terminal .fmt-fields .fmt-price-delta.reference {
    color: #b9d3c5 !important;
  }
  .fx-mobile-terminal .fmt-fields .fmt-price-delta.above {
    color: #f3a29d !important;
  }
  .fx-mobile-terminal .fmt-fields .fmt-price-delta.below {
    color: #8ee4ba !important;
  }

  /* 2. Mobile Order Book: Separate scrollable Buy and Sell sections */
  .fx-mobile-terminal .fmt-book {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  .fx-mobile-terminal .fmt-book .fmt-sell,
  .fx-mobile-terminal .fmt-book .fmt-buy {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0 !important;
    min-height: 170px !important;
    max-height: 235px !important;
    overflow: hidden !important;
    padding: 10px 6px 8px !important;
    box-sizing: border-box !important;
  }

  .fx-mobile-terminal .fmt-book .fmt-side h3 {
    flex: 0 0 auto !important;
    height: 22px !important;
    line-height: 22px !important;
    margin: 0 0 6px !important;
    text-align: center !important;
  }

  .fx-mobile-terminal .fmt-book .fmt-rows {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 0 1px 2px !important;
    box-sizing: border-box !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(159, 178, 168, 0.35) transparent !important;
  }

  .fx-mobile-terminal .fmt-book .fmt-rows::-webkit-scrollbar {
    width: 3px !important;
  }

  .fx-mobile-terminal .fmt-book .fmt-rows::-webkit-scrollbar-track {
    background: transparent !important;
  }

  .fx-mobile-terminal .fmt-book .fmt-rows::-webkit-scrollbar-thumb {
    background: rgba(159, 178, 168, 0.35) !important;
    border-radius: 99px !important;
  }

  .fx-mobile-terminal .fmt-book .fmt-rows > .fmt-row {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .fx-mobile-terminal .fmt-book .fmt-rows > p {
    flex: 1 1 auto !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
    min-height: 80px !important;
  }
}

/* ========================================================
   MOBILE BOARD HISTORY ICON & COMPLETED DEALS MODAL
   ======================================================== */
.fmt-history-modal[hidden] {
  display: none !important;
}

@media (max-width: 780px) {
  .fx-mobile-terminal .fmt-book > header {
    position: relative !important;
  }

  .fx-mobile-terminal .fmt-history-btn {
    position: absolute !important;
    left: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    border: 1px solid rgba(223, 188, 108, 0.35) !important;
    background: rgba(223, 188, 108, 0.10) !important;
    color: #dfbc6c !important;
    cursor: pointer !important;
    z-index: 4 !important;
    transition: background 0.18s ease, border-color 0.18s ease !important;
  }

  .fx-mobile-terminal .fmt-history-btn:active,
  .fx-mobile-terminal .fmt-history-btn:hover {
    background: rgba(223, 188, 108, 0.22) !important;
    border-color: #dfbc6c !important;
  }

  .fx-mobile-terminal .fmt-history-btn svg {
    width: 15px !important;
    height: 15px !important;
    display: block !important;
  }
}

.fx-market-home .fx-board > header {
  position: relative !important;
}

.fx-market-home .fx-board .fx-board-history-btn {
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  border: 1px solid rgba(223, 188, 108, 0.35) !important;
  background: rgba(223, 188, 108, 0.10) !important;
  color: #dfbc6c !important;
  cursor: pointer !important;
  z-index: 4 !important;
  transition: background 0.18s ease, border-color 0.18s ease !important;
}

.fx-market-home .fx-board .fx-board-history-btn:hover,
.fx-market-home .fx-board .fx-board-history-btn:active {
  background: rgba(223, 188, 108, 0.22) !important;
  border-color: #dfbc6c !important;
}

.fx-market-home .fx-board .fx-board-history-btn svg {
  width: 17px !important;
  height: 17px !important;
  display: block !important;
}

.fmt-history-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
    background: rgba(5, 11, 9, 0.78) !important;
    backdrop-filter: blur(4px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    box-sizing: border-box !important;
  }

  .fmt-history-dialog {
    width: 100% !important;
    max-width: 390px !important;
    max-height: 78vh !important;
    background: #101d18 !important;
    border: 1px solid #31483d !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    direction: rtl !important;
  }

  .fmt-history-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 13px 14px !important;
    background: #12261e !important;
    border-bottom: 1px solid #283e33 !important;
  }

  .fmt-history-head h3 {
    margin: 0 !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: #dfbc6c !important;
    line-height: 1.35 !important;
  }

  .fmt-history-head span {
    display: block !important;
    margin-top: 2px !important;
    font-size: 0.68rem !important;
    color: #9fb2a8 !important;
    font-weight: 600 !important;
  }

  .fmt-history-close {
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
    border: 1px solid #365044 !important;
    background: #0a1411 !important;
    color: #dce6e0 !important;
    font-size: 1.1rem !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }

  .fmt-history-list {
    padding: 12px !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    overscroll-behavior: contain !important;
  }

  .fmt-history-item {
    background: #0b1612 !important;
    border: 1px solid #263b31 !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
  }

  .fmt-history-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .fmt-history-top strong {
    font-size: 0.84rem !important;
    font-weight: 800 !important;
    color: #8ee4ba !important;
    font-variant-numeric: tabular-nums !important;
  }

  .fmt-history-top strong small {
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    color: #b7d8c7 !important;
  }

  .fmt-history-badge {
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    color: #7ee3b4 !important;
    background: rgba(14, 145, 104, 0.16) !important;
    border: 1px solid rgba(14, 145, 104, 0.35) !important;
    border-radius: 6px !important;
    padding: 2px 7px !important;
  }

  .fmt-history-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    font-size: 0.68rem !important;
    color: #dce6e0 !important;
  }

  .fmt-history-meta em {
    font-style: normal !important;
    color: #b8c9c0 !important;
    text-align: left !important;
  }

  .fmt-history-date {
    font-size: 0.62rem !important;
    color: #8ca096 !important;
  }

  .fmt-history-empty {
    margin: 20px 0 !important;
    text-align: center !important;
    font-size: 0.76rem !important;
    color: #9fb2a8 !important;
  }


