:root {
  --bg: #080b11;
  --surface: #10151f;
  --surface-2: #151b27;
  --surface-3: #1b2331;
  --line: rgba(255,255,255,.08);
  --text: #f4f7fb;
  --muted: #8d98a9;
  --yellow: #f6c744;
  --yellow-2: #ffe28a;
  --green: #2dcc91;
  --red: #ff6b72;
  --orange: #f1a64a;
  --blue: #5a9cff;
  --shadow: 0 22px 60px rgba(0,0,0,.26);
  --radius: 20px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 85% -10%, rgba(246,199,68,.09), transparent 30%), var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1,h2,h3,p { margin-top: 0; }
h1 { font-size: 25px; margin-bottom: 0; letter-spacing: -.03em; }
h2 { font-size: 20px; margin-bottom: 8px; letter-spacing: -.02em; }
h3 { font-size: 16px; margin-bottom: 6px; }
.muted { color: var(--muted); }
.eyebrow { color: var(--yellow); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 5px; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 250px; padding: 28px 18px; border-right: 1px solid var(--line); background: rgba(10,14,21,.92); backdrop-filter: blur(22px); z-index: 20; display: flex; flex-direction: column; }
.logo { display: flex; align-items: center; gap: 12px; padding: 0 9px 28px; }
.logo span, .brand-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: #11151c; background: linear-gradient(145deg,var(--yellow-2),var(--yellow)); font-size: 14px; font-weight: 950; box-shadow: 0 12px 30px rgba(246,199,68,.16); }
.logo strong { font-size: 15px; letter-spacing: -.02em; }
.side-nav { display: grid; gap: 6px; }
.side-nav a { display: flex; align-items: center; gap: 13px; color: var(--muted); padding: 13px 14px; border-radius: 13px; font-weight: 700; font-size: 14px; transition: .2s ease; }
.side-nav a span { display: grid; place-items: center; width: 24px; height: 24px; font-size: 18px; }
.side-nav a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.side-nav a.active { color: #171b22; background: linear-gradient(135deg,var(--yellow-2),var(--yellow)); box-shadow: 0 10px 25px rgba(246,199,68,.13); }
.security-note { margin-top: auto; display: flex; gap: 10px; padding: 14px; border-radius: 15px; border: 1px solid rgba(45,204,145,.18); background: rgba(45,204,145,.06); }
.security-note > span { color: var(--green); font-size: 10px; margin-top: 4px; }
.security-note strong, .security-note small { display: block; }
.security-note strong { font-size: 12px; }
.security-note small { color: var(--muted); margin-top: 3px; font-size: 10px; line-height: 1.5; }
.page-area { margin-left: 250px; min-height: 100vh; }
.topbar { height: 92px; border-bottom: 1px solid var(--line); padding: 0 34px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 15; background: rgba(8,11,17,.78); backdrop-filter: blur(22px); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.icon-button, .logout-link { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; color: var(--muted); background: var(--surface); }
.user-chip { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: var(--surface); padding: 6px 12px 6px 6px; border-radius: 14px; }
.user-chip > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-3); color: var(--yellow); font-weight: 900; }
.user-chip strong,.user-chip small { display: block; }
.user-chip strong { font-size: 12px; }
.user-chip small { color: var(--muted); font-size: 10px; text-transform: capitalize; }
.content { padding: 28px 34px 55px; max-width: 1540px; margin: 0 auto; }
.hero-panel,.report-hero { padding: 28px 30px; border: 1px solid rgba(246,199,68,.18); border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; gap: 25px; background: radial-gradient(circle at 90% 0,rgba(246,199,68,.15),transparent 36%),linear-gradient(135deg,#151a24,#0f141d); box-shadow: var(--shadow); }
.hero-panel h2,.report-hero h2 { font-size: clamp(22px,3vw,32px); margin: 9px 0 8px; }
.hero-panel p,.report-hero p { color: var(--muted); margin: 0; max-width: 680px; }
.hero-panel > div:first-child > span { color: var(--muted); font-size: 12px; font-weight: 700; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(45,204,145,.1); }
.hero-actions { display: flex; gap: 9px; flex: 0 0 auto; }
.button { min-height: 43px; padding: 0 17px; border: 1px solid var(--line); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 800; font-size: 13px; transition: transform .18s ease,filter .18s ease; }
.button:hover { transform: translateY(-1px); filter: brightness(1.05); }
.button:disabled { opacity: .6; cursor: wait; }
.button.primary { color: #14171d; border-color: transparent; background: linear-gradient(135deg,var(--yellow-2),var(--yellow)); }
.button.ghost { color: var(--text); background: rgba(255,255,255,.035); }
.button.full { width: 100%; }
.button.small { min-height: 36px; padding: 0 13px; }
.empty-banner { display: flex; align-items: center; gap: 18px; padding: 21px; margin-top: 18px; border-radius: var(--radius); border: 1px dashed rgba(246,199,68,.28); background: rgba(246,199,68,.045); }
.empty-banner .empty-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(246,199,68,.1); color: var(--yellow); font-size: 24px; }
.empty-banner div:nth-child(2) { flex: 1; }
.empty-banner h3,.empty-banner p { margin-bottom: 3px; }
.empty-banner p { color: var(--muted); font-size: 13px; }
.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; margin-top: 18px; }
.metric-card { min-height: 137px; display: flex; align-items: center; gap: 15px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg,var(--surface-2),var(--surface)); box-shadow: 0 12px 28px rgba(0,0,0,.12); position: relative; overflow: hidden; }
.metric-card::after { content:""; width: 90px; height: 90px; position: absolute; right: -42px; top: -42px; border-radius: 50%; background: currentColor; opacity: .055; }
.metric-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.055); color: inherit; font-size: 0; }
.metric-icon::after { content: attr(data-icon); font-size: 18px; }
.metric-card .metric-icon { font-size: 18px; }
.metric-card > div:last-child span,.metric-card > div:last-child strong,.metric-card > div:last-child small { display: block; }
.metric-card span { color: var(--muted); font-size: 12px; }
.metric-card strong { color: var(--text); font-size: 29px; margin: 3px 0; letter-spacing: -.04em; }
.metric-card small { color: var(--muted); font-size: 10px; }
.metric-card.warning { color: var(--orange); }.metric-card.accent { color: var(--yellow); }.metric-card.danger { color: var(--red); }.metric-card.success { color: var(--green); }
.turnover-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-top: 15px; }
.turnover-grid article { padding: 19px 21px; border: 1px solid var(--line); border-radius: 16px; background: rgba(16,21,31,.76); }
.turnover-grid span,.turnover-grid strong,.turnover-grid small { display: block; }
.turnover-grid span { color: var(--muted); font-size: 11px; }
.turnover-grid strong { font-size: 21px; margin: 5px 0; }
.turnover-grid small { color: #596475; font-size: 10px; }
.workspace-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-top: 15px; }.workspace-grid > a { min-width: 0; padding: 17px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(16,21,31,.76); transition: transform .18s,border-color .18s; }.workspace-grid > a:hover { transform: translateY(-2px); border-color: rgba(246,199,68,.25); }.workspace-grid > a > span { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: var(--yellow); background: rgba(246,199,68,.08); font-size: 18px; }.workspace-grid div { min-width: 0; flex: 1; }.workspace-grid strong,.workspace-grid small { display: block; }.workspace-grid strong { font-size: 11px; }.workspace-grid small { color: var(--muted); margin-top: 4px; font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.workspace-grid b { color: var(--yellow); font-size: 8px; white-space: nowrap; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(300px,.75fr); gap: 15px; margin-top: 15px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(16,21,31,.82); padding: 22px; box-shadow: 0 12px 35px rgba(0,0,0,.1); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.panel-heading h2,.panel-heading p { margin-bottom: 0; }
.panel-heading > a,.panel-heading > span { color: var(--yellow); font-size: 11px; font-weight: 800; }
.order-list { display: grid; }
.order-row { display: flex; align-items: center; gap: 13px; padding: 14px 0; border-top: 1px solid var(--line); }
.trade-badge { width: 39px; height: 39px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; font-weight: 900; }
.trade-badge.buy,.type-pill.buy { color: var(--green); background: rgba(45,204,145,.1); }.trade-badge.sell,.type-pill.sell { color: var(--red); background: rgba(255,107,114,.1); }
.order-main { min-width: 0; flex: 1; }.order-main > div { display: flex; align-items: center; gap: 9px; }.order-main strong { font-size: 13px; }.order-main small { color: var(--muted); display: block; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; }
.order-value { text-align: right; }.order-value strong,.order-value small { display: block; }.order-value strong { font-size: 13px; }.order-value small { color: var(--muted); margin-top: 4px; font-size: 10px; }
.status-pill,.type-pill,.read-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; padding: 0 8px; border-radius: 99px; font-size: 9px; font-weight: 900; letter-spacing: .035em; white-space: nowrap; background: rgba(141,152,169,.1); color: var(--muted); }
.status-pill.pending,.status-pill.trading,.status-pill.untested { color: var(--orange); background: rgba(241,166,74,.1); }
.status-pill.buyer_payed,.status-pill.distributing,.status-pill.connected,.status-pill.completed { color: var(--green); background: rgba(45,204,145,.1); }
.status-pill.in_appeal,.status-pill.error,.status-pill.cancelled,.status-pill.cancelled_by_system { color: var(--red); background: rgba(255,107,114,.1); }
.health-row { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.health-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }.health-dot.connected { background: var(--green); box-shadow: 0 0 0 4px rgba(45,204,145,.1); }.health-dot.error { background: var(--red); }
.health-row div { flex: 1; min-width: 0; }.health-row strong,.health-row small { display: block; }.health-row strong { font-size: 12px; }.health-row small { color: var(--muted); margin-top: 4px; font-size: 9px; }.health-row > span:last-child { color: var(--muted); font-size: 9px; text-transform: capitalize; }
.bank-warning { padding: 15px; margin-top: 10px; border: 1px solid rgba(246,199,68,.15); border-radius: 14px; background: rgba(246,199,68,.055); }.bank-warning strong { color: var(--yellow); font-size: 11px; }.bank-warning p { color: var(--muted); font-size: 10px; line-height: 1.6; margin: 5px 0 0; }
.empty-state { text-align: center; padding: 42px 20px; color: var(--muted); }.empty-state > span { color: var(--yellow); font-size: 28px; }.empty-state h3 { color: var(--text); margin-top: 10px; }.empty-state p { margin-bottom: 0; font-size: 12px; }.empty-state.compact { padding: 20px; }
.split-layout { display: grid; grid-template-columns: minmax(320px,.75fr) minmax(420px,1.25fr); gap: 16px; align-items: start; }
.connect-panel { position: sticky; top: 120px; }
.read-badge { color: var(--green); background: rgba(45,204,145,.1); }
.credential-shield { display: flex; gap: 12px; padding: 14px; margin-bottom: 16px; border-radius: 14px; background: rgba(90,156,255,.06); border: 1px solid rgba(90,156,255,.14); }.credential-shield > span { color: var(--blue); }.credential-shield strong { font-size: 11px; }.credential-shield p { color: var(--muted); font-size: 10px; line-height: 1.5; margin: 4px 0 0; }
.stack-form { display: grid; gap: 14px; }.stack-form h2 { margin: 7px 0 -4px; font-size: 15px; }.stack-form label,.filter-form label,.date-form label { color: #c7ced9; font-size: 11px; font-weight: 800; display: grid; gap: 7px; }.stack-form small { color: var(--muted); font-weight: 500; }
input,select,textarea { width: 100%; min-height: 45px; color: var(--text); background: #0b1018; border: 1px solid var(--line); border-radius: 11px; padding: 0 12px; outline: 0; transition: border .2s,box-shadow .2s; }
textarea { padding: 12px; resize: vertical; line-height: 1.55; }
input:focus,select:focus,textarea:focus { border-color: rgba(246,199,68,.45); box-shadow: 0 0 0 3px rgba(246,199,68,.08); }
.secret-input { display: flex; position: relative; }.secret-input button { position: absolute; right: 7px; top: 7px; height: 31px; color: var(--yellow); background: var(--surface-3); border: 0; border-radius: 8px; font-size: 10px; font-weight: 800; }.secret-input input { padding-right: 62px; }
.permission-list { display: grid; gap: 7px; padding: 13px; border-radius: 13px; background: rgba(255,255,255,.025); }.permission-list strong { font-size: 11px; margin-bottom: 2px; }.permission-list span { color: var(--muted); font-size: 10px; }.permission-list span:first-of-type { color: var(--green); }
.account-list { display: grid; gap: 10px; }.account-card { display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.018); }.account-card.disabled { opacity: .55; }.account-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; color: #161a20; background: var(--yellow); font-weight: 950; }.account-info { flex: 1; min-width: 0; }.account-info > div { display: flex; gap: 8px; align-items: center; }.account-info code,.account-info small,.account-info em { display: block; margin-top: 4px; }.account-info code { color: var(--yellow-2); font-size: 10px; }.account-info small { color: var(--muted); font-size: 9px; }.account-info em { color: var(--red); font-size: 9px; max-width: 430px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.account-actions { display: flex; gap: 5px; }.mini-button { min-height: 31px; padding: 0 9px; border: 1px solid var(--line); color: var(--muted); background: var(--surface-3); border-radius: 9px; font-size: 9px; font-weight: 800; }.danger-text { color: var(--red); }
.filter-panel { margin-bottom: 15px; }.filter-form { display: grid; grid-template-columns: minmax(190px,1.5fr) repeat(3,minmax(130px,1fr)) auto; gap: 10px; align-items: end; }.filter-form .button { min-height: 45px; }
.table-wrap { width: 100%; overflow-x: auto; }table { width: 100%; border-collapse: collapse; }th { color: #667185; font-size: 9px; text-align: left; text-transform: uppercase; letter-spacing: .07em; padding: 11px 12px; border-bottom: 1px solid var(--line); }td { font-size: 11px; padding: 14px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }td strong,td small { display: block; }td small { color: var(--muted); margin-top: 4px; font-size: 9px; }
.mobile-order-cards { display: none; }.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 18px; }.pagination a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: 11px; }.pagination a.active { color: #14171d; background: var(--yellow); }
.report-hero { margin-bottom: 15px; }.date-form { display: flex; gap: 8px; align-items: end; }.date-form input { min-width: 145px; }
.alert { padding: 13px 15px; margin-bottom: 14px; border-radius: 12px; font-size: 11px; line-height: 1.55; border: 1px solid var(--line); }.alert.success { color: #9ce7c9; background: rgba(45,204,145,.08); border-color: rgba(45,204,145,.18); }.alert.danger { color: #ffabb0; background: rgba(255,107,114,.08); border-color: rgba(255,107,114,.18); }.alert.info { color: #b8d2ff; background: rgba(90,156,255,.07); border-color: rgba(90,156,255,.16); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; max-width: 360px; padding: 13px 17px; border-radius: 12px; color: #11151b; background: var(--green); font-size: 11px; font-weight: 800; transform: translateY(30px); opacity: 0; pointer-events: none; transition: .25s ease; box-shadow: var(--shadow); }.toast.show { transform: none; opacity: 1; }.toast.error { background: var(--red); }
.bottom-nav { display: none; }

.module-hero { padding: 25px 28px; border: 1px solid rgba(90,156,255,.18); border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 25px; background: radial-gradient(circle at 92% 10%,rgba(90,156,255,.16),transparent 35%),linear-gradient(135deg,#151a24,#0f141d); box-shadow: var(--shadow); }
.module-hero h2 { font-size: clamp(22px,3vw,31px); margin: 7px 0; }.module-hero p { color: var(--muted); margin: 0; max-width: 730px; font-size: 12px; line-height: 1.6; }
.coverage-ring { width: 104px; height: 104px; flex: 0 0 auto; border-radius: 50%; border: 8px solid rgba(90,156,255,.15); box-shadow: inset 0 0 0 2px var(--blue); display: grid; place-items: center; align-content: center; }.coverage-ring strong { font-size: 30px; line-height: 1; }.coverage-ring span { color: var(--muted); font-size: 8px; margin-top: 5px; text-transform: uppercase; }
.module-hero + .alert { margin-top: 15px; }.module-tabs { display: flex; gap: 7px; padding: 6px; margin: 14px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; background: rgba(16,21,31,.75); }.module-tabs a { min-height: 42px; padding: 0 13px; display: flex; align-items: center; gap: 7px; white-space: nowrap; border-radius: 10px; color: var(--muted); font-size: 10px; font-weight: 800; }.module-tabs a > span { font-size: 15px; }.module-tabs a small { min-width: 19px; height: 19px; display: grid; place-items: center; border-radius: 99px; background: rgba(255,255,255,.06); font-size: 8px; }.module-tabs a.active { color: #15181e; background: var(--yellow); }.module-tabs a.active small { background: rgba(0,0,0,.1); }
.api-model-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }.api-model-card { min-width: 0; padding: 19px; border: 1px solid var(--line); border-radius: 18px; background: rgba(16,21,31,.84); }.api-model-card.write-model { border-color: rgba(255,107,114,.14); }.api-card-head { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; gap: 10px; align-items: start; }.api-number { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: var(--yellow); background: rgba(246,199,68,.08); font-size: 11px; font-weight: 900; }.api-card-head h3 { margin: 1px 0 5px; }.api-card-head code { color: var(--muted); font-size: 8px; overflow-wrap: anywhere; }.api-card-head code b { color: var(--blue); margin-right: 4px; }.risk-badge { min-height: 22px; padding: 0 7px; display: inline-flex; align-items: center; border-radius: 99px; font-size: 7px; font-weight: 900; letter-spacing: .08em; }.risk-badge.read { color: var(--green); background: rgba(45,204,145,.09); }.risk-badge.write { color: var(--orange); background: rgba(241,166,74,.1); }.risk-badge.funds { color: var(--red); background: rgba(255,107,114,.1); }.api-model-card > p { min-height: 34px; color: var(--muted); margin: 12px 0; font-size: 10px; line-height: 1.55; }.api-model-form { display: grid; gap: 10px; }.api-model-form label { display: grid; gap: 6px; color: #c7ced9; font-size: 9px; font-weight: 800; }.api-model-form textarea { min-height: 150px; font: 10px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace; color: #bdd3fa; }.api-model-form textarea[readonly] { min-height: 62px; color: var(--muted); }.button.danger-button { color: #ffe5e7; background: rgba(255,107,114,.11); border-color: rgba(255,107,114,.22); }.api-result { margin-top: 12px; overflow: hidden; border: 1px solid rgba(45,204,145,.15); border-radius: 12px; background: #080d14; }.api-result.error { border-color: rgba(255,107,114,.2); }.api-result > div { padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.api-result strong { font-size: 9px; }.api-result button { color: var(--yellow); background: none; border: 0; font-size: 8px; }.api-result pre { max-height: 330px; margin: 0; padding: 12px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: #b9c6da; font: 9px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace; }
.chat-layout { display: grid; grid-template-columns: minmax(280px,.62fr) minmax(0,1.38fr); gap: 15px; align-items: start; }.chat-search-panel { position: sticky; top: 120px; }.chat-help { padding: 14px; margin: 15px 0 10px; border-radius: 13px; border: 1px solid rgba(90,156,255,.13); background: rgba(90,156,255,.055); }.chat-help strong { font-size: 10px; }.chat-help p { color: var(--muted); font-size: 9px; line-height: 1.6; margin: 5px 0 0; }.conversation-panel { min-height: 650px; display: flex; flex-direction: column; }.message-list { height: 510px; padding: 10px 3px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }.message-bubble { position: relative; width: min(74%,620px); padding: 12px 14px; border-radius: 16px; }.message-bubble.other { align-self: flex-start; border: 1px solid var(--line); background: var(--surface-3); border-bottom-left-radius: 5px; }.message-bubble.self { align-self: flex-end; color: #171a20; background: linear-gradient(135deg,var(--yellow-2),var(--yellow)); border-bottom-right-radius: 5px; }.message-bubble small { display: block; margin-bottom: 5px; opacity: .65; font-size: 8px; }.message-bubble p { margin: 0; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }.message-bubble > span { display: block; margin-top: 5px; text-align: right; opacity: .55; font-size: 7px; text-transform: uppercase; }.message-bubble img { display: block; max-width: min(100%,360px); max-height: 360px; border-radius: 11px; object-fit: cover; }.chat-composer { display: grid; grid-template-columns: minmax(0,1fr) 42px auto; gap: 8px; align-items: end; padding-top: 14px; margin-top: auto; border-top: 1px solid var(--line); }.chat-composer textarea { min-height: 48px; max-height: 130px; }.attachment-button { width: 42px; height: 43px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--yellow); background: var(--surface-3); font-size: 20px; cursor: pointer; }.attachment-button input { display: none; }.composer-locked { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 15px; margin-top: auto; border: 1px solid rgba(241,166,74,.15); border-radius: 13px; background: rgba(241,166,74,.055); }.composer-locked strong { color: var(--orange); font-size: 10px; }.composer-locked span { color: var(--muted); font-size: 9px; }.detail-actions { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 14px; }.order-detail-hero { padding: 24px 27px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid rgba(246,199,68,.16); border-radius: var(--radius); background: radial-gradient(circle at 90% 0,rgba(246,199,68,.13),transparent 35%),var(--surface); }.order-detail-hero h2 { font-size: 28px; margin: 5px 0; }.order-detail-hero p { color: var(--muted); margin: 0; font-size: 11px; }.order-detail-hero > div:last-child { display: grid; gap: 8px; justify-items: end; }.order-detail-hero > div:last-child > strong { font-size: 25px; }.detail-grid { display: grid; grid-template-columns: minmax(300px,.8fr) minmax(0,1.2fr); gap: 15px; margin-top: 15px; }.detail-list { margin: 0; display: grid; }.detail-list div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); }.detail-list dt { color: var(--muted); font-size: 9px; }.detail-list dd { margin: 0; text-align: right; font-size: 10px; font-weight: 700; overflow-wrap: anywhere; }.json-viewer { max-height: 570px; margin: 0; padding: 15px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 13px; color: #bdd3fa; background: #080d14; font: 9px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; }.order-link:hover strong { color: var(--yellow); }

.login-body,.installer-body { display: grid; place-items: center; padding: 24px; }
.login-shell { width: min(1040px,100%); min-height: 620px; display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); background: var(--surface); }
.login-brand { padding: 58px; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 20% 10%,rgba(246,199,68,.15),transparent 30%),linear-gradient(145deg,#171d28,#0c1119); }.brand-mark.large { width: 62px; height: 62px; margin-bottom: 34px; }.login-brand h1 { font-size: clamp(37px,5vw,57px); line-height: 1.04; }.login-brand h1 span { color: var(--yellow); }.login-brand > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; max-width: 520px; }.login-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 32px; }.login-stats div { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }.login-stats strong,.login-stats small { display: block; }.login-stats strong { font-size: 11px; }.login-stats small { color: var(--muted); font-size: 9px; margin-top: 3px; }
.login-card { padding: 58px 48px; align-self: center; }.login-card h2 { font-size: 29px; }.login-card .stack-form { margin-top: 27px; }.safe-line { color: var(--muted); font-size: 9px; text-align: center; margin-top: 22px; }.safe-line::first-letter { color: var(--green); }
.install-shell { width: min(620px,100%); }.install-card { padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }.install-card .brand-mark { margin-bottom: 20px; }.check-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; margin: 20px 0; }.check-item { padding: 10px; border-radius: 10px; color: var(--muted); background: rgba(255,255,255,.025); font-size: 10px; }.check-item span { margin-right: 7px; font-weight: 900; }.check-item.pass span { color: var(--green); }.check-item.fail span { color: var(--red); }.form-grid.two { display: grid; grid-template-columns: 1fr 110px; gap: 10px; }

@media (max-width: 1100px) {
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .filter-form { grid-template-columns: repeat(2,1fr); }
  .split-layout { grid-template-columns: 1fr; }.connect-panel { position: static; }
}

@media (max-width: 760px) {
  body { padding-bottom: env(safe-area-inset-bottom); }
  .sidebar { display: none; }.page-area { margin-left: 0; }.content { padding: 18px 14px 96px; }.topbar { height: 74px; padding: 0 14px; }.topbar .eyebrow { display: none; }.topbar h1 { font-size: 20px; }.user-chip div,.logout-link { display: none; }.user-chip { padding-right: 6px; border: 0; background: transparent; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5,1fr); position: fixed; z-index: 30; left: 10px; right: 10px; bottom: max(10px,env(safe-area-inset-bottom)); padding: 7px; border: 1px solid var(--line); border-radius: 19px; background: rgba(16,21,31,.94); backdrop-filter: blur(20px); box-shadow: var(--shadow); }.bottom-nav a { min-height: 50px; display: grid; place-items: center; align-content: center; gap: 1px; color: var(--muted); border-radius: 13px; }.bottom-nav a span { font-size: 18px; line-height: 1; }.bottom-nav a small { font-size: 8px; }.bottom-nav a.active { color: #15181e; background: var(--yellow); }
  .hero-panel,.report-hero { padding: 21px; display: block; }.hero-panel h2,.report-hero h2 { font-size: 24px; }.hero-panel p,.report-hero p { font-size: 12px; line-height: 1.55; }.hero-actions { margin-top: 17px; }.hero-actions .button { flex: 1; }
  .metric-grid { grid-template-columns: repeat(2,1fr); gap: 9px; }.metric-card { min-height: 122px; padding: 15px; display: block; }.metric-icon { width: 33px; height: 33px; border-radius: 10px; margin-bottom: 9px; }.metric-card strong { font-size: 25px; }.metric-card small { display: none!important; }
  .turnover-grid { grid-template-columns: 1fr; gap: 8px; }.turnover-grid article { padding: 15px 17px; }.dashboard-grid { gap: 10px; }.panel { padding: 16px; border-radius: 17px; }.account-health { display: none; }
  .workspace-grid { grid-template-columns: 1fr; gap: 8px; }.workspace-grid > a { padding: 14px; }
  .order-row { gap: 9px; }.trade-badge { width: 35px; height: 35px; }.order-main .status-pill { display: none; }.order-value strong { font-size: 12px; }
  .empty-banner { align-items: flex-start; flex-wrap: wrap; }.empty-banner .button { width: 100%; }
  .account-card { align-items: flex-start; flex-wrap: wrap; }.account-actions { width: 100%; padding-left: 54px; }
  .filter-form { grid-template-columns: 1fr 1fr; }.filter-form label:first-child { grid-column: 1/-1; }.filter-form .button { grid-column: 1/-1; }
  .desktop-orders { display: none; }.mobile-order-cards { display: grid; gap: 10px; }.mobile-order-cards article { padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.018); }.mobile-order-head { display: flex; justify-content: space-between; }.mobile-order-value { padding: 15px 0; }.mobile-order-value strong,.mobile-order-value small { display: block; }.mobile-order-value strong { font-size: 22px; }.mobile-order-value small { color: var(--muted); margin-top: 4px; font-size: 10px; }.mobile-order-cards dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }.mobile-order-cards dl div { min-width: 0; }.mobile-order-cards dt { color: var(--muted); font-size: 8px; text-transform: uppercase; }.mobile-order-cards dd { margin: 3px 0 0; font-size: 10px; overflow: hidden; text-overflow: ellipsis; }
  .date-form { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; }.date-form .button { grid-column: 1/-1; }.date-form input { min-width: 0; }
  .login-body,.installer-body { padding: 12px; place-items: start center; }.login-shell { grid-template-columns: 1fr; min-height: 0; }.login-brand { padding: 31px 27px; }.brand-mark.large { margin-bottom: 23px; }.login-brand h1 { font-size: 38px; }.login-stats { display: none; }.login-card { padding: 31px 27px; }.install-card { padding: 23px; }.check-grid { grid-template-columns: 1fr; }
  .toast { left: 14px; right: 14px; bottom: 86px; max-width: none; }
  .module-hero { padding: 20px; }.coverage-ring { display: none; }.api-model-grid { grid-template-columns: 1fr; }.module-tabs { margin-left: -14px; margin-right: -14px; border-radius: 0; border-left: 0; border-right: 0; }.api-model-card { padding: 15px; }.api-card-head { grid-template-columns: 32px minmax(0,1fr) auto; }.api-number { width: 32px; height: 32px; }
  .chat-layout,.detail-grid { grid-template-columns: 1fr; }.chat-search-panel { position: static; }.conversation-panel { min-height: 570px; }.message-list { height: 420px; }.message-bubble { width: 88%; }.chat-composer { grid-template-columns: minmax(0,1fr) 42px; }.chat-composer .button { grid-column: 1/-1; }.composer-locked { display: grid; }.order-detail-hero { padding: 19px; align-items: flex-start; }.order-detail-hero h2 { font-size: 23px; }.order-detail-hero > div:last-child > strong { font-size: 18px; }
}

@media (max-width: 390px) {
  .metric-grid { grid-template-columns: 1fr 1fr; }.metric-card { padding: 13px; }.metric-card span { font-size: 10px; }.metric-card strong { font-size: 23px; }.hero-actions { display: grid; }.filter-form { grid-template-columns: 1fr; }.filter-form label:first-child,.filter-form .button { grid-column: auto; }.form-grid.two { grid-template-columns: 1fr; }
}

/* v3 native P2P application */
.nav-divider { padding: 17px 14px 6px; color: #4f5b6d; font-size: 8px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.native-titlebar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }.native-title-copy p { color: var(--yellow); margin: 0 0 4px; font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }.native-title-copy h2 { margin: 0; font-size: 28px; }.native-title-actions { display: flex; align-items: center; gap: 9px; }.native-notification-button { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 13px; color: var(--muted); background: var(--surface); font-size: 18px; }.notification-button.enabled { color: #101720; border-color: var(--yellow); background: var(--yellow); box-shadow: 0 0 0 4px rgba(248,203,61,.1); }.notification-button.blocked { color: #ff6b7e; border-color: rgba(255,107,126,.38); }.live-account-control { min-width: 210px; display: flex; align-items: center; gap: 8px; padding: 5px 7px 5px 11px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }.live-account-control select { min-height: 35px; border: 0; background: transparent; padding: 0 28px 0 0; font-size: 10px; font-weight: 800; }.live-pulse,.live-status-line i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(45,204,145,.09); }
.native-screen { max-width: 1080px; margin: 0 auto; }.product-tabs { display: flex; justify-content: center; gap: 30px; margin: 5px 0 30px; }.product-tabs button { padding: 8px 0; border: 0; color: #697485; background: none; font-size: 15px; font-weight: 800; }.product-tabs button:disabled { cursor: not-allowed; opacity: .45; }.product-tabs button.active { color: var(--text); opacity: 1; }.market-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }.trade-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: #161e29; }.trade-toggle button { min-width: 88px; height: 43px; border: 0; border-radius: 999px; color: #727e90; background: transparent; font-weight: 850; }.trade-toggle button.active { color: #151a21; background: #edf0f4; }.fiat-select { width: 120px; border-color: #758092; background: transparent; font-weight: 800; }
.market-filters { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 46px; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }.market-filters label { display: grid; gap: 5px; }.market-filters label > span { color: var(--yellow); font-size: 9px; font-weight: 800; }.market-filters input,.market-filters select { min-height: 42px; border: 0; background: rgba(255,255,255,.025); }.filter-icon-button,.icon-action { width: 43px; height: 43px; align-self: end; border: 1px solid var(--line); border-radius: 12px; color: var(--yellow); background: var(--surface-2); font-size: 18px; }
.live-status-line { min-height: 41px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #738094; font-size: 9px; }.live-status-line > span { display: flex; align-items: center; gap: 8px; }.live-status-line small { font-size: 8px; }.app-loader { min-height: 250px; display: grid; place-items: center; align-content: center; gap: 13px; color: #788497; }.app-loader > span { width: 28px; height: 28px; border: 3px solid rgba(255,255,255,.09); border-top-color: var(--yellow); border-radius: 50%; animation: app-spin .8s linear infinite; }.app-loader p { margin: 0; font-size: 10px; }@keyframes app-spin { to { transform: rotate(360deg); } }
.market-list,.my-ads-list,.native-order-list { display: grid; }.market-ad-card { padding: 23px 4px; border-top: 1px solid var(--line); }.market-ad-card:first-child { border-top: 0; }.market-ad-card header { display: flex; align-items: center; gap: 10px; }.merchant-avatar,.chat-avatar { position: relative; width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #1a2029; background: #e9edf2; font-weight: 900; }.merchant-avatar i { position: absolute; right: -1px; bottom: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--green); border: 2px solid #1a222e; }.market-ad-card header strong,.market-ad-card header small { display: block; }.market-ad-card header strong { font-size: 13px; }.market-ad-card header small { color: #7c8798; margin-top: 5px; font-size: 9px; }.market-ad-card header small b { color: #3f4958; margin: 0 6px; }.ad-card-body { display: grid; grid-template-columns: 1fr 280px; gap: 30px; margin-top: 19px; }.ad-price small,.ad-price span,.ad-price strong { display: block; }.ad-price small { color: #778294; font-size: 9px; }.ad-price > strong { margin: 4px 0 14px; font-size: 28px; letter-spacing: -.035em; }.ad-price > strong em { color: #8792a2; font-size: 10px; font-style: normal; font-weight: 600; letter-spacing: 0; }.ad-price span { color: #788395; margin-top: 7px; font-size: 10px; }.ad-price span b { color: #e4e8ef; }.ad-methods { display: grid; justify-items: end; align-content: end; gap: 7px; }.ad-methods > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }.ad-methods > div span { padding-left: 6px; border-left: 3px solid var(--orange); color: #8994a4; font-size: 9px; }.ad-methods > div span:nth-child(2) { border-color: var(--green); }.ad-methods > div span:nth-child(3) { border-color: var(--yellow); }.ad-methods small { color: #758091; font-size: 9px; }.trade-action { min-width: 130px; height: 40px; margin-top: 5px; border: 0; border-radius: 8px; color: white; font-weight: 900; }.trade-action.buy { background: #2cc192; }.trade-action.sell { background: #ef5b70; }
.native-empty { min-height: 460px; display: grid; place-items: center; align-content: center; text-align: center; color: #697587; }.native-empty h3 { color: #8a95a5; margin: 22px 0 7px; font-size: 18px; }.native-empty p { max-width: 420px; margin: 0 0 20px; font-size: 10px; line-height: 1.6; }.empty-document { position: relative; width: 100px; height: 110px; display: grid; place-items: center; border: 5px solid #5e697b; border-radius: 12px; color: #5e697b; font-size: 44px; opacity: .75; }.empty-document b { position: absolute; right: -21px; bottom: -12px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #1b2430; background: #768296; font-size: 28px; }.error-empty .empty-document { width: 75px; height: 75px; border-radius: 50%; color: var(--red); border-color: rgba(255,107,114,.45); }.error-empty h3 { color: var(--red); }
.screen-action-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }.screen-action-row > div:last-child { display: flex; gap: 8px; }.segmented-filter { display: flex; gap: 5px; }.segmented-filter button,.order-subtabs button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 10px; color: #778294; background: transparent; font-weight: 800; }.segmented-filter button.active,.order-subtabs button.active { color: var(--text); background: #26303e; }
.my-ads-list { gap: 12px; }.my-ad-card { padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: #111822; }.my-ad-card header,.my-ad-card footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.my-ad-card header strong { font-size: 15px; }.my-ad-card header strong.buy,.native-order-card .buy { color: var(--green); }.my-ad-card header strong.sell,.native-order-card .sell { color: #ff5c72; }.my-ad-card header small { display: block; color: #657083; margin-top: 4px; font-size: 8px; }.my-ad-values { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; padding: 18px 0; }.my-ad-values div { min-width: 0; }.my-ad-values span,.my-ad-values strong { display: block; }.my-ad-values span { color: #6f7a8b; font-size: 8px; }.my-ad-values strong { margin-top: 5px; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.my-ad-card footer { justify-content: flex-end; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 13px; }.my-ad-card .native-status.offline { color: #e9b84b; background: rgba(233,184,75,.1); }.my-ad-card .native-status.closed { color: #8792a2; background: rgba(135,146,162,.1); }.my-ad-card.closed-ad { opacity: .78; }
.order-view-tabs { display: flex; align-items: center; gap: 28px; margin-top: 4px; }.order-view-tabs > button { position: relative; padding: 11px 0; border: 0; color: #7f8a9a; background: none; font-size: 17px; font-weight: 800; }.order-view-tabs > button.active { color: var(--text); }.order-view-tabs > button.active::after { content:""; position: absolute; left: 50%; bottom: 0; width: 32px; height: 4px; border-radius: 9px; background: var(--yellow); transform: translateX(-50%); }.order-view-tabs > div { display: flex; gap: 7px; margin-left: auto; }.order-view-tabs > div button { width: 39px; height: 39px; border: 0; color: #dce2eb; background: none; font-size: 22px; }.order-subtabs { display: flex; gap: 5px; padding: 18px 0 7px; }.inline-search { display: flex; gap: 8px; padding: 10px 0; }.inline-search button { width: 43px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: var(--surface-2); }.native-order-card { padding: 22px 0; border-top: 1px solid var(--line); cursor: pointer; }.native-order-card:first-child { border-top: 0; }.native-order-card:hover { background: rgba(255,255,255,.012); }.native-order-card header { display: flex; align-items: center; justify-content: space-between; }.native-order-card header > strong { font-size: 17px; }.native-order-card header > strong b { color: var(--text); }.native-status { display: inline-flex; align-items: center; min-height: 27px; padding: 0 9px; border-radius: 7px; color: #b5bfcc; background: #27313f; font-size: 9px; }.native-status.completed,.native-status.buyer_payed { color: #e7ebf0; }.native-status.cancelled,.native-status.cancelled_by_system { color: #7a8494; opacity: .65; }.native-status.in_appeal { color: var(--red); }.native-order-card dl { display: grid; gap: 8px; margin: 19px 0 13px; }.native-order-card dl div { display: flex; align-items: center; justify-content: space-between; gap: 20px; }.native-order-card dt { color: #7d8899; font-size: 11px; }.native-order-card dd { margin: 0; font-size: 12px; }.native-order-card dd:first-letter { text-transform: uppercase; }.native-order-card dd button { border: 0; color: #657083; background: none; }.native-order-card footer { display: flex; justify-content: space-between; align-items: center; }.native-order-card footer span { padding: 8px 11px; border-radius: 8px; background: #26303e; font-size: 10px; }.native-order-card footer span i { font-style: normal; }.native-order-card footer time { color: #7a8595; font-size: 9px; }
.binance-profile-card { position: relative; min-height: 145px; display: flex; align-items: center; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg,#151d28,#101721); }.profile-avatar { width: 82px; height: 82px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #f2f4f7; background: #343e4d; font-size: 42px; }.profile-identity h2 { font-size: 22px; margin-bottom: 6px; }.profile-identity p { color: #a3adbb; margin-bottom: 13px; font-size: 10px; }.profile-identity span { color: var(--green); font-size: 10px; }.profile-live-badge { position: absolute; top: 18px; right: 18px; display: flex; align-items: center; gap: 7px; color: #8d98a9; font-size: 8px; }.profile-live-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }.profile-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); margin: 16px 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }.profile-stat-grid article { padding: 20px; border-left: 1px solid var(--line); }.profile-stat-grid article:first-child { border-left: 0; }.profile-stat-grid strong,.profile-stat-grid span { display: block; }.profile-stat-grid strong { font-size: 24px; }.profile-stat-grid span { color: #798495; margin-top: 8px; font-size: 9px; }.profile-menu { display: grid; margin: 15px 0; }.profile-menu a,.profile-menu button { width: 100%; min-height: 62px; padding: 0 8px; display: grid; grid-template-columns: 35px 1fr auto 20px; align-items: center; gap: 10px; border: 0; border-bottom: 1px solid var(--line); color: var(--text); background: transparent; text-align: left; }.profile-menu span { color: #dde3eb; font-size: 20px; }.profile-menu strong { font-size: 12px; }.profile-menu b { color: #8a95a5; font-size: 10px; }.profile-menu i { color: #687486; font-size: 23px; font-style: normal; }.operational-control { display: flex; align-items: center; justify-content: space-between; gap: 20px; }.operational-control p { color: var(--muted); margin-bottom: 0; font-size: 9px; }.mode-enable-form { display: flex; gap: 8px; }.mode-enable-form input { width: 120px; }
.chat-app-layout { min-height: 660px; display: grid; grid-template-columns: 330px minmax(0,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #101721; }.conversation-list-panel { border-right: 1px solid var(--line); }.conversation-toolbar { display: flex; gap: 7px; padding: 12px; border-bottom: 1px solid var(--line); }.conversation-toolbar label { position: relative; flex: 1; }.conversation-toolbar label span { position: absolute; left: 11px; top: 11px; color: #687486; }.conversation-toolbar input { min-height: 40px; padding-left: 32px; }.conversation-toolbar button { width: 40px; border: 1px solid var(--line); border-radius: 10px; color: var(--yellow); background: var(--surface-2); }.conversation-list { max-height: 600px; overflow-y: auto; }.conversation-item { position: relative; width: 100%; min-height: 72px; padding: 11px 12px; display: grid; grid-template-columns: 37px minmax(0,1fr) auto; align-items: center; gap: 10px; border: 0; border-bottom: 1px solid var(--line); color: var(--text); background: transparent; text-align: left; }.conversation-item.active { background: rgba(246,199,68,.07); }.conversation-item .chat-avatar { width: 37px; height: 37px; }.conversation-item strong,.conversation-item small { display: block; }.conversation-item strong { font-size: 10px; }.conversation-item small { color: #697586; margin-top: 5px; font-size: 8px; }.conversation-item time { color: #667284; font-size: 7px; }.conversation-item > b { position: absolute; right: 11px; bottom: 9px; min-width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; color: #151a20; background: var(--yellow); font-size: 7px; }.active-conversation { min-width: 0; min-height: 660px; display: flex; flex-direction: column; }.active-chat-header { min-height: 68px; padding: 10px 15px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.active-chat-header > div { display: flex; align-items: center; gap: 10px; }.active-chat-header strong,.active-chat-header small { display: block; }.active-chat-header strong { font-size: 11px; }.active-chat-header small { color: #788496; margin-top: 4px; font-size: 8px; }.active-chat-header a { color: var(--yellow); font-size: 8px; font-weight: 800; }.app-message-list { height: 500px; padding: 17px; }.active-conversation .chat-composer,.active-conversation .composer-locked { margin: auto 14px 14px; }.active-conversation .composer-locked[hidden] { display: none; }
.app-modal[hidden] { display: none; }.app-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 18px; }.app-modal-backdrop { position: absolute; inset: 0; background: rgba(3,6,10,.78); backdrop-filter: blur(6px); }.app-modal-card { position: relative; z-index: 1; width: min(560px,100%); max-height: min(88vh,900px); padding: 24px; overflow-y: auto; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: #151d28; box-shadow: 0 32px 90px rgba(0,0,0,.5); }.app-modal.wide .app-modal-card { width: min(780px,100%); }.compact-modal.app-modal-card { width: min(470px,100%); }.modal-close { position: absolute; top: 13px; right: 13px; width: 34px; height: 34px; border: 0; border-radius: 10px; color: #9aa4b3; background: #202a38; font-size: 20px; }.native-form { display: grid; gap: 12px; margin-top: 18px; }.native-form label { display: grid; gap: 6px; color: #cbd2dc; font-size: 9px; font-weight: 800; }.selected-ad-summary { padding: 13px; display: flex; justify-content: space-between; border: 1px solid var(--line); border-radius: 12px; background: #101721; }.selected-ad-summary span { color: #909bab; font-size: 9px; }.selected-ad-summary strong { font-size: 11px; }.action-warning { padding: 12px; border: 1px solid rgba(255,107,114,.17); border-radius: 12px; background: rgba(255,107,114,.055); }.action-warning strong { color: #ff9299; font-size: 9px; }.action-warning p { color: #8c97a7; margin: 5px 0 0; font-size: 8px; line-height: 1.55; }.ad-editor-grid { grid-template-columns: repeat(2,1fr); }.ad-editor-grid .full-field { grid-column: 1/-1; }.switch-field { display: flex!important; align-items: center; gap: 8px!important; }.switch-field input { width: 18px; min-height: 18px; }.modal-open { overflow: hidden; }.live-order-detail dl,.profile-panel-body dl { display: grid; margin: 0; }.live-order-detail dl div,.profile-panel-body dl div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }.live-order-detail dt,.profile-panel-body dt { color: #7f8a9a; font-size: 9px; }.live-order-detail dd,.profile-panel-body dd { margin: 0; text-align: right; font-size: 10px; overflow-wrap: anywhere; }.live-order-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }.safe-action-note { width: 100%; color: var(--orange); font-size: 8px; }.profile-panel-body article { display: flex; align-items: center; gap: 12px; padding: 13px; border-bottom: 1px solid var(--line); }.profile-panel-body article > span { font-size: 20px; }.profile-panel-body article strong,.profile-panel-body article small { display: block; }.profile-panel-body article strong { font-size: 10px; }.profile-panel-body article small { color: #7c8797; margin-top: 4px; font-size: 8px; }

@media (max-width: 1100px) {
  .chat-app-layout { grid-template-columns: 280px minmax(0,1fr); }.my-ad-values { grid-template-columns: repeat(2,1fr); }.profile-stat-grid { grid-template-columns: repeat(2,1fr); }.profile-stat-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }.profile-stat-grid article:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .native-app { background: #1b2430; }.native-app .topbar { display: none; }.native-app .content { max-width: none; padding: 0 0 92px; }.native-titlebar { min-height: 94px; padding: 18px 22px 12px; margin: 0; background: #1b2430; }.native-title-copy p { display: none; }.native-title-copy h2 { font-size: 25px; }.native-notification-button { width: 40px; height: 40px; border: 0; background: #232d3b; }.live-account-control { min-width: 0; max-width: 145px; border: 0; background: #232d3b; }.live-account-control select { font-size: 8px; }.native-screen { padding: 0 22px; }.native-app .bottom-nav { left: 0; right: 0; bottom: 0; padding: 7px 11px max(9px,env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 0; background: rgba(27,36,48,.98); }.native-app .bottom-nav a { min-height: 60px; }.native-app .bottom-nav a.active { color: #f3f5f8; background: transparent; }.native-app .bottom-nav a.active span { color: #f3f5f8; }.native-app .bottom-nav a span { color: #7f8a9a; font-size: 23px; }.native-app .bottom-nav a small { font-size: 9px; }
  .product-tabs { justify-content: flex-start; gap: 25px; margin: 3px 0 28px; }.product-tabs button { font-size: 14px; }.market-toolbar { margin-bottom: 19px; }.trade-toggle button { min-width: 75px; }.fiat-select { width: 95px; }.market-filters { grid-template-columns: repeat(4,1fr) 42px; margin: 0 -22px; padding: 13px 22px; overflow-x: auto; }.market-filters label { min-width: 105px; }.market-filters label > span { font-size: 8px; }.market-filters input,.market-filters select { padding: 0 6px; font-size: 10px; }.live-status-line { min-height: 36px; }.market-ad-card { margin: 0 -22px; padding: 22px 22px 25px; }.ad-card-body { grid-template-columns: 1fr 125px; gap: 10px; }.ad-price > strong { font-size: 24px; }.ad-methods > div { display: grid; justify-items: end; }.trade-action { min-width: 110px; }.native-empty { min-height: 540px; }.empty-document { width: 84px; height: 94px; }
  .screen-action-row { align-items: flex-start; }.screen-action-row .button { min-height: 41px; padding: 0 13px; }.segmented-filter { overflow-x: auto; }.segmented-filter button { padding: 0 10px; }.my-ad-card { margin: 0 -8px; }.my-ad-values { grid-template-columns: 1fr 1fr; }.my-ad-card footer { justify-content: stretch; }.my-ad-card footer .button { flex: 1 1 30%; padding-left: 8px; padding-right: 8px; }
  .order-view-tabs { gap: 26px; }.order-view-tabs > button { font-size: 16px; }.order-view-tabs > div { gap: 2px; }.order-view-tabs > div button { width: 32px; font-size: 20px; }.order-subtabs { margin: 0 -5px; overflow-x: auto; }.order-subtabs button { padding: 0 11px; font-size: 10px; }.native-order-card { margin: 0 -8px; padding: 22px 8px; }.native-order-card header > strong { font-size: 16px; }.native-order-card dt { font-size: 11px; }.native-order-card dd { max-width: 68%; text-align: right; overflow-wrap: anywhere; }
  .binance-profile-card { border: 0; border-radius: 0; background: transparent; padding: 18px 0; }.profile-avatar { width: 70px; height: 70px; font-size: 36px; }.profile-stat-grid { margin-top: 5px; }.profile-stat-grid article { padding: 17px 13px; }.profile-stat-grid strong { font-size: 21px; }.profile-menu { margin: 13px -3px; }.profile-menu a,.profile-menu button { min-height: 65px; }.operational-control { display: grid; }.mode-enable-form { display: grid; grid-template-columns: 1fr; }.mode-enable-form input { width: 100%; }
  .chat-native-screen { padding: 0; }.chat-app-layout { min-height: calc(100vh - 186px); grid-template-columns: 135px minmax(0,1fr); border-left: 0; border-right: 0; border-radius: 0; }.conversation-toolbar { padding: 8px 6px; }.conversation-toolbar input { padding-left: 26px; font-size: 8px; }.conversation-toolbar button { display: none; }.conversation-item { min-height: 68px; padding: 8px 6px; grid-template-columns: 32px minmax(0,1fr); }.conversation-item .chat-avatar { width: 32px; height: 32px; }.conversation-item time { display: none; }.active-conversation { min-height: calc(100vh - 186px); }.active-chat-header { padding: 8px; }.active-chat-header .chat-avatar { width: 32px; height: 32px; }.active-chat-header small { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.app-message-list { height: calc(100vh - 355px); padding: 10px 8px; }.active-conversation .message-bubble { width: 90%; }.active-conversation .chat-composer { grid-template-columns: minmax(0,1fr) 39px; margin: auto 7px 7px; }.active-conversation .chat-composer .button { grid-column: 1/-1; }.active-conversation .composer-locked { margin: auto 7px 7px; }.conversation-list .native-empty h3,.conversation-list .native-empty p,.conversation-list .empty-document { display: none; }
  .app-modal { align-items: end; padding: 0; }.app-modal-card,.app-modal.wide .app-modal-card { width: 100%; max-height: 91vh; padding: 22px; border-radius: 24px 24px 0 0; }.ad-editor-grid { grid-template-columns: 1fr; }.ad-editor-grid .full-field { grid-column: auto; }
}

@media (max-width: 410px) {
  .native-titlebar { padding-left: 17px; padding-right: 17px; }.native-screen { padding-left: 17px; padding-right: 17px; }.market-filters { margin-left: -17px; margin-right: -17px; padding-left: 17px; padding-right: 17px; }.market-ad-card { margin-left: -17px; margin-right: -17px; padding-left: 17px; padding-right: 17px; }.ad-card-body { grid-template-columns: minmax(0,1fr) 105px; }.trade-action { min-width: 98px; }.ad-price > strong { font-size: 22px; }.live-account-control { max-width: 122px; }.chat-app-layout { grid-template-columns: 112px minmax(0,1fr); }.conversation-item { grid-template-columns: 30px minmax(0,1fr); gap: 6px; }.conversation-item .chat-avatar { width: 30px; height: 30px; }.active-chat-header a { display: none; }
}

/* v3.1 order-state and conversation polish */
[hidden],.order-subtabs[hidden],.inline-search[hidden],.order-detail-panel[hidden],.chat-composer[hidden],.composer-locked[hidden] { display: none!important; }
.native-order-card { border-radius: 14px; transition: background .18s ease,transform .18s ease; }
.native-order-card:hover { transform: translateY(-1px); }
.native-order-card footer > div { display: flex; align-items: center; gap: 9px; }
.order-countdown { min-width: 82px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 10px; border: 1px solid rgba(246,199,68,.22); border-radius: 999px; color: var(--yellow); background: rgba(246,199,68,.07); font-size: 9px; font-weight: 900; font-variant-numeric: tabular-nums; }
.order-countdown::before { content:"◷"; font-size: 12px; }.order-countdown.expired { color: var(--red); border-color: rgba(255,107,114,.22); background: rgba(255,107,114,.06); }
.order-detail-sheet { overflow: hidden; }.order-detail-heading { padding-right: 42px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }.order-detail-heading h2 { margin: 3px 0 0; font-size: 20px; overflow-wrap: anywhere; }.order-detail-state { display: grid; justify-items: end; gap: 7px; }.order-detail-state .native-status { white-space: nowrap; }
.order-detail-tabs { display: flex; gap: 6px; padding: 18px 0 10px; overflow-x: auto; border-bottom: 1px solid var(--line); }.order-detail-tabs button { min-height: 38px; padding: 0 15px; border: 0; border-radius: 10px; color: #7f8a9a; background: transparent; font-size: 9px; font-weight: 900; white-space: nowrap; }.order-detail-tabs button.active { color: #171b21; background: var(--yellow); }
.order-detail-panel { padding-top: 12px; animation: orderPanelIn .18s ease; }@keyframes orderPanelIn { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:none; } }
.live-order-detail dl { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }.live-order-detail dl div { min-width: 0; padding: 13px; display: grid; gap: 6px; border: 1px solid var(--line); border-radius: 12px; background: #101721; }.live-order-detail dd { text-align: left; font-size: 11px; font-weight: 800; }
.counterparty-hero { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(135deg,#192330,#111822); }.counterparty-avatar { width: 55px; height: 55px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #111720; background: var(--yellow); font-size: 25px; font-weight: 900; }.counterparty-hero strong,.counterparty-hero span { display: block; }.counterparty-hero strong { font-size: 15px; }.counterparty-hero span { color: #8792a2; margin-top: 5px; font-size: 9px; }.counterparty-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }.counterparty-badges i { padding: 5px 8px; border-radius: 999px; color: var(--green); background: rgba(44,193,146,.08); font-size: 8px; font-style: normal; }
.counterparty-stat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 10px; }.counterparty-stat-grid article { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #101721; }.counterparty-stat-grid strong,.counterparty-stat-grid span { display: block; }.counterparty-stat-grid strong { font-size: 16px; overflow-wrap: anywhere; }.counterparty-stat-grid span { color: #778294; margin-top: 7px; font-size: 8px; line-height: 1.4; }.feedback-api-note { padding: 12px 14px; margin-top: 10px; border: 1px solid rgba(90,156,255,.16); border-radius: 12px; color: #8591a1; background: rgba(90,156,255,.05); font-size: 8px; line-height: 1.55; }.feedback-api-note strong { color: #b9c9df; }
.order-embedded-chat { padding-top: 0; }.order-embedded-chat .app-message-list { height: min(440px,48vh); padding: 14px 4px; }.order-embedded-chat .chat-composer { margin-top: 8px; }.message-bubble.system-event { width: min(88%,680px); align-self: center; border-color: rgba(90,156,255,.14); color: #b8c6d9; background: rgba(90,156,255,.055); text-align: center; }.message-bubble.system-event small { display: none; }.message-bubble.system-event > span { text-align: center; color: #7893b9; }.message-bubble.system-event p { font-size: 10px; }.message-bubble p { white-space: normal; }
.chat-back-button { display: none; width: 34px; height: 34px; flex: 0 0 auto; border: 0; border-radius: 10px; color: var(--text); background: #222c39; font-size: 25px; line-height: 1; }.active-chat-header > a { margin-left: auto; }

@media (max-width: 760px) {
  .native-order-card { padding-left: 12px; padding-right: 12px; }.native-order-card footer { align-items: flex-end; gap: 8px; }.native-order-card footer > div { align-items: flex-end; flex-direction: column; }.order-countdown { min-width: 76px; padding: 6px 8px; }
  .order-detail-sheet { padding: 20px 17px 16px!important; }.order-detail-heading { padding-right: 36px; }.order-detail-heading h2 { max-width: 210px; font-size: 16px; }.order-detail-tabs { margin-left: -3px; margin-right: -3px; }.order-detail-tabs button { flex: 1; padding: 0 9px; }.live-order-detail dl { grid-template-columns: 1fr 1fr; }.live-order-detail dl div { padding: 11px; }.counterparty-stat-grid { grid-template-columns: 1fr 1fr; }.counterparty-hero { align-items: flex-start; }.counterparty-badges { max-width: 105px; justify-content: flex-end; }.order-embedded-chat .app-message-list { height: min(470px,53vh); }.order-embedded-chat .chat-composer { grid-template-columns: minmax(0,1fr) 42px; }.order-embedded-chat .chat-composer .button { grid-column: 1/-1; }
  .chat-native-screen { padding: 0; }.chat-app-layout { min-height: calc(100vh - 186px); display: block; border-left: 0; border-right: 0; border-radius: 0; }.conversation-list-panel { min-height: calc(100vh - 186px); border-right: 0; }.conversation-toolbar { padding: 11px 14px; }.conversation-toolbar input { min-height: 44px; padding-left: 34px; font-size: 10px; }.conversation-toolbar label span { top: 13px; }.conversation-toolbar button { display: block; height: 44px; }.conversation-list { max-height: calc(100vh - 250px); }.conversation-item { min-height: 78px; padding: 12px 16px; grid-template-columns: 42px minmax(0,1fr) auto; gap: 12px; }.conversation-item .chat-avatar { width: 42px; height: 42px; }.conversation-item strong { font-size: 11px; }.conversation-item small { font-size: 8px; }.conversation-item time { display: block; }.active-conversation { display: none; min-height: calc(100vh - 186px); }.chat-native-screen.chat-show-conversation .conversation-list-panel { display: none; }.chat-native-screen.chat-show-conversation .active-conversation { display: flex; }.chat-back-button { display: grid; place-items: center; }.active-chat-header { min-height: 64px; padding: 9px 12px; gap: 8px; }.active-chat-header > div { min-width: 0; }.active-chat-header small { max-width: 205px; }.app-message-list { height: calc(100vh - 340px); padding: 14px 12px; }.active-conversation .message-bubble { width: min(88%,620px); }.active-conversation .chat-composer { grid-template-columns: minmax(0,1fr) 42px; margin: auto 11px 10px; }.active-conversation .chat-composer .button { grid-column: 1/-1; }.active-conversation .composer-locked { margin: auto 11px 10px; }.conversation-list .native-empty h3,.conversation-list .native-empty p { display: block; }.conversation-list .native-empty .empty-document { display: grid; }
}

@media (max-width: 420px) {
  .live-order-detail dl,.counterparty-stat-grid { grid-template-columns: 1fr; }.counterparty-hero { padding: 13px; }.counterparty-avatar { width: 47px; height: 47px; }.counterparty-badges { display: none; }
}

/* v3.2 official order lifecycle and chat message model */
.order-subtabs [data-filter-count] { margin-left: 3px; color: var(--yellow); font-size: 8px; }
.chat-live-state { min-height: 24px; padding: 0 9px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; color: #8c98a8; background: #111923; font-size: 7px; font-weight: 900; white-space: nowrap; }.chat-live-state i { width: 7px; height: 7px; border-radius: 50%; background: #7a8493; }.chat-live-state.live { color: #65dcb6; border-color: rgba(44,193,146,.2); background: rgba(44,193,146,.06); }.chat-live-state.live i { background: var(--green); box-shadow: 0 0 0 5px rgba(44,193,146,.08); }.chat-live-state.connecting i { background: var(--yellow); animation: livePulse 1.2s infinite; }.chat-live-state.polling i { background: #7d8999; }@keyframes livePulse { 50% { opacity:.35; } }
.embedded-chat-toolbar { min-height: 43px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.embedded-chat-toolbar button { width: 34px; height: 34px; border: 0; border-radius: 9px; color: var(--yellow); background: #111923; font-size: 17px; }
.active-chat-header > div { min-width: 0; flex: 1; }.active-chat-header > div > div { min-width: 0; }.active-chat-header strong,.active-chat-header small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.active-chat-header .chat-live-state { margin-left: auto; }.active-chat-header > a { flex: 0 0 auto; }
.conversation-item > div { min-width: 0; }.conversation-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.message-date-separator { width: 100%; display: flex; align-items: center; gap: 10px; color: #718096; font-size: 7px; font-weight: 800; }.message-date-separator::before,.message-date-separator::after { content:""; height: 1px; flex: 1; background: var(--line); }.message-date-separator span { padding: 5px 9px; border-radius: 999px; background: #151e2a; white-space: nowrap; }
.message-bubble.auto-reply:not(.system-event) { border: 1px solid rgba(246,199,68,.15); background: rgba(246,199,68,.055); }.message-bubble.message-error { align-self: center; color: #ffadb2; border: 1px solid rgba(255,107,114,.22); background: rgba(255,107,114,.065); }.message-bubble.message-recalled { align-self: center; color: #8591a2; border: 1px dashed #354152; background: transparent; }.recalled-message { font-style: italic; }.chat-media { display: block; }.message-bubble .chat-media img { width: auto; max-width: min(100%,390px); max-height: 420px; background: #0b1119; }.chat-video { display: block; width: min(100%,390px); max-height: 420px; border-radius: 11px; background: #070b11; }.message-bubble.self > span { color: #354252; opacity: .78; }.message-bubble.other > span { color: #8390a2; }.chat-composer textarea { line-height: 1.5; resize: vertical; }

@media (max-width: 760px) {
  .active-chat-header > a { display: none; }.active-chat-header .chat-live-state { padding: 0 7px; }.active-chat-header > div { max-width: calc(100% - 115px); }.message-bubble { padding: 11px 12px; }.message-bubble p { font-size: 10px; }.message-date-separator { margin: 2px 0; }
}

/* v3.4 order command center: mobile-first order detail, reputation, appeal and verification */
.button.subtle { color: #c8d1dd; background: #202a37; border-color: rgba(255,255,255,.07); }
.order-command-modal .order-detail-sheet { width: min(920px,100%); max-height: min(92dvh,940px); padding: 0; overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(180deg,#151e2a 0%,#101720 100%); border-color: rgba(255,255,255,.1); }
.order-command-modal .modal-close { z-index: 5; top: 18px; right: 18px; background: #263141; }
.order-detail-heading { flex: 0 0 auto; min-height: 108px; padding: 24px 72px 18px 24px; background: radial-gradient(circle at 78% -20%,rgba(246,199,68,.13),transparent 40%); border-bottom: 1px solid rgba(255,255,255,.045); }
.order-detail-title-copy { min-width: 0; }
.order-detail-title-copy h2 { font-size: 22px; line-height: 1.2; }
.order-detail-title-copy small { display: block; max-width: 580px; margin-top: 8px; color: #8793a5; font-size: 10px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-command-modal .order-detail-tabs { flex: 0 0 auto; margin: 0; padding: 10px 18px; border-bottom: 1px solid var(--line); background: rgba(12,18,27,.82); backdrop-filter: blur(18px); scrollbar-width: none; }
.order-command-modal .order-detail-tabs::-webkit-scrollbar { display: none; }
.order-command-modal .order-detail-tabs button { flex: 1 0 auto; min-height: 42px; padding: 0 18px; font-size: 10px; }
.order-detail-scroll { min-height: 0; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px 22px; scrollbar-gutter: stable; }
.order-command-modal .order-detail-panel { padding-top: 0; }
.order-summary-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
.order-summary-strip > article { min-width: 0; padding: 16px; border: 1px solid rgba(255,255,255,.07); border-radius: 15px; background: linear-gradient(145deg,#17212d,#111923); }
.order-summary-strip span,.order-summary-strip strong { display: block; }
.order-summary-strip span { color: #7d899a; font-size: 9px; }
.order-summary-strip strong { margin-top: 7px; font-size: 17px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.order-summary-strip .app-loader { grid-column: 1/-1; min-height: 96px; }
.order-detail-section-title,.profile-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 10px; }
.order-detail-section-title span,.profile-section-heading span { display: block; color: var(--yellow); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.order-detail-section-title strong,.profile-section-heading strong { display: block; margin-top: 4px; font-size: 12px; }
.order-command-modal .live-order-detail dl { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.order-command-modal .live-order-detail dl div { padding: 13px 14px; border-radius: 13px; background: #0f1721; border-color: rgba(255,255,255,.065); }
.order-command-modal .live-order-detail dt { font-size: 9px; }
.order-command-modal .live-order-detail dd { margin-top: 1px; font-size: 11px; line-height: 1.45; }
.order-command-modal .live-order-actions { position: sticky; bottom: -22px; z-index: 4; margin: 17px -20px -22px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.07); background: rgba(13,19,28,.92); backdrop-filter: blur(18px); box-shadow: 0 -12px 30px rgba(0,0,0,.18); }
.order-command-modal .live-order-actions .button { min-height: 40px; }
.order-check-result { display: grid; gap: 5px; margin-top: 12px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: #111923; }
.order-check-result strong { font-size: 10px; }.order-check-result span { color: #8692a4; font-size: 9px; line-height: 1.5; }
.order-check-result.allowed { border-color: rgba(45,204,145,.22); background: rgba(45,204,145,.055); }.order-check-result.allowed strong { color: #6de2bb; }
.order-check-result.blocked { border-color: rgba(255,107,114,.2); background: rgba(255,107,114,.055); }.order-check-result.blocked strong { color: #ff969d; }
.counterparty-profile { padding-bottom: 4px; }
.order-command-modal .counterparty-hero { padding: 18px; border-radius: 17px; }
.order-command-modal .counterparty-avatar { width: 64px; height: 64px; font-size: 28px; }
.order-command-modal .counterparty-hero strong { font-size: 18px; }
.order-command-modal .counterparty-hero span { font-size: 10px; }
.order-command-modal .profile-section-heading { margin-top: 18px; }
.order-command-modal .counterparty-stat-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.order-command-modal .counterparty-stat-grid article { min-height: 88px; padding: 14px; border-radius: 13px; }
.order-command-modal .counterparty-stat-grid strong { font-size: 17px; }
.order-command-modal .counterparty-stat-grid span { margin-top: 8px; font-size: 9px; }
.feedback-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.feedback-card-grid article { padding: 15px; border: 1px solid rgba(45,204,145,.16); border-radius: 13px; background: rgba(45,204,145,.045); }
.feedback-card-grid span,.feedback-card-grid strong { display: block; }.feedback-card-grid span { color: #7f8d9f; font-size: 9px; }.feedback-card-grid strong { margin-top: 8px; font-size: 17px; }
.feedback-unavailable { display: grid; gap: 7px; padding: 15px; border: 1px solid rgba(90,156,255,.16); border-radius: 13px; background: rgba(90,156,255,.045); }
.feedback-unavailable strong { color: #c3d3e8; font-size: 10px; }.feedback-unavailable span { color: #8491a3; font-size: 9px; line-height: 1.6; }
.appeal-status-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.appeal-status-hero > div { padding: 16px; border: 1px solid rgba(246,199,68,.14); border-radius: 14px; background: linear-gradient(145deg,rgba(246,199,68,.07),#111923); }
.appeal-status-hero span,.appeal-status-hero strong { display: block; }.appeal-status-hero span { color: #8591a2; font-size: 9px; }.appeal-status-hero strong { margin-top: 6px; font-size: 15px; }
.appeal-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.appeal-detail-grid article { min-width: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #0f1721; }
.appeal-detail-grid span,.appeal-detail-grid strong { display: block; }.appeal-detail-grid span { color: #768294; font-size: 9px; }.appeal-detail-grid strong { margin-top: 6px; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.appeal-action-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.appeal-api-note { display: grid; gap: 6px; margin-top: 13px; padding: 13px 14px; border: 1px solid rgba(90,156,255,.14); border-radius: 12px; background: rgba(90,156,255,.045); }
.appeal-api-note.warning { border-color: rgba(241,166,74,.18); background: rgba(241,166,74,.055); }.appeal-api-note.warning strong { color: #f0bc72; }
.appeal-api-note strong { color: #b9cae0; font-size: 10px; }.appeal-api-note span { color: #8491a2; font-size: 9px; line-height: 1.55; }
.verification-confirm-card { display: grid; gap: 6px; padding: 14px; border: 1px solid rgba(246,199,68,.16); border-radius: 12px; background: rgba(246,199,68,.05); }.verification-confirm-card strong { color: var(--yellow); font-size: 11px; }.verification-confirm-card span { color: #8894a5; font-size: 9px; line-height: 1.5; }
.order-command-modal .order-embedded-chat { min-height: min(620px,68dvh); display: flex; flex-direction: column; }
.order-command-modal .order-embedded-chat .app-message-list { flex: 1 1 auto; height: min(470px,52dvh); min-height: 260px; }
.order-command-modal .order-embedded-chat .chat-composer { padding-bottom: env(safe-area-inset-bottom); }

@media (max-width: 760px) {
  .order-command-modal { align-items: stretch; padding: 0; }
  .order-command-modal .app-modal-card.order-detail-sheet { width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
  .order-command-modal .modal-close { top: calc(10px + env(safe-area-inset-top)); right: 12px; width: 38px; height: 38px; }
  .order-detail-heading { min-height: 96px; padding: calc(16px + env(safe-area-inset-top)) 58px 13px 15px; align-items: flex-start; }
  .order-detail-title-copy h2 { max-width: none; font-size: 17px; }
  .order-detail-title-copy small { max-width: 250px; margin-top: 6px; font-size: 9px; }
  .order-detail-state { max-width: 112px; gap: 5px; }
  .order-detail-state .order-countdown { min-width: 72px; padding: 6px 7px; }
  .order-command-modal .order-detail-tabs { padding: 7px 8px; gap: 5px; overflow-x: auto; }
  .order-command-modal .order-detail-tabs button { flex: 0 0 auto; min-height: 39px; padding: 0 13px; font-size: 9px; }
  .order-detail-scroll { padding: 13px 12px calc(18px + env(safe-area-inset-bottom)); }
  .order-summary-strip { grid-template-columns: 1fr 1fr; gap: 8px; }
  .order-summary-strip article:first-child { grid-column: 1/-1; }
  .order-summary-strip > article { padding: 13px; }
  .order-summary-strip strong { font-size: 15px; }
  .order-command-modal .live-order-detail dl { grid-template-columns: 1fr; gap: 7px; }
  .order-command-modal .live-order-detail dl div { padding: 12px 13px; }
  .order-command-modal .live-order-detail dd { font-size: 11px; }
  .order-command-modal .live-order-actions { bottom: calc(-18px - env(safe-area-inset-bottom)); margin: 14px -12px calc(-18px - env(safe-area-inset-bottom)); padding: 11px 12px calc(11px + env(safe-area-inset-bottom)); gap: 7px; }
  .order-command-modal .live-order-actions .button { flex: 1 1 calc(50% - 8px); min-height: 42px; padding: 0 10px; font-size: 10px; }
  .order-command-modal .live-order-actions .safe-action-note { flex-basis: 100%; }
  .order-command-modal .counterparty-hero { align-items: center; padding: 14px; }
  .order-command-modal .counterparty-avatar { width: 51px; height: 51px; font-size: 23px; }
  .order-command-modal .counterparty-hero strong { font-size: 15px; }
  .order-command-modal .counterparty-badges { display: none; }
  .order-command-modal .counterparty-stat-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .order-command-modal .counterparty-stat-grid article { min-height: 78px; padding: 12px; }
  .order-command-modal .counterparty-stat-grid strong { font-size: 15px; }
  .feedback-card-grid { grid-template-columns: 1fr; }
  .appeal-status-hero,.appeal-detail-grid { grid-template-columns: 1fr; gap: 7px; }
  .appeal-status-hero { grid-template-columns: 1fr 1fr; }
  .appeal-status-hero > div { padding: 13px; }
  .appeal-status-hero strong { font-size: 12px; }
  .appeal-action-row .button { flex: 1 1 100%; min-height: 43px; }
  .order-command-modal .order-embedded-chat { min-height: calc(100dvh - 190px - env(safe-area-inset-top)); }
  .order-command-modal .order-embedded-chat .app-message-list { height: auto; min-height: 0; }
}

@media (max-width: 420px) {
  .order-summary-strip { grid-template-columns: 1fr; }.order-summary-strip article:first-child { grid-column: auto; }
  .order-command-modal .counterparty-stat-grid { grid-template-columns: 1fr 1fr; }
  .appeal-status-hero { grid-template-columns: 1fr; }
}

/* v3.5 home landing page and funding-wallet assets */
.home-app-header { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:5px 0 22px; }
.home-app-header p,.home-app-header h2 { margin:0; }.home-app-header p { color:var(--muted); font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }.home-app-header h2 { margin-top:4px; font-size:28px; }
.home-header-actions { display:flex; gap:8px; }.home-header-actions a { width:42px; height:42px; display:grid; place-items:center; border:1px solid var(--line); border-radius:13px; color:#cdd4df; background:#17202c; font-size:20px; }
.home-native-screen { display:grid; gap:17px; }.home-account-card { padding:25px; display:flex; align-items:center; justify-content:space-between; gap:20px; border:1px solid rgba(246,199,68,.17); border-radius:22px; background:radial-gradient(circle at 92% 8%,rgba(246,199,68,.14),transparent 34%),linear-gradient(145deg,#182230,#111923); box-shadow:var(--shadow); }
.home-account-card span { color:#8f9bab; font-size:10px; font-weight:800; }.home-account-card span i { width:7px; height:7px; display:inline-block; margin-right:7px; border-radius:50%; background:var(--green); box-shadow:0 0 0 5px rgba(45,204,145,.08); }.home-account-card h3 { margin:9px 0 6px; font-size:22px; }.home-account-card p { max-width:700px; margin:0; color:#8a96a6; font-size:11px; line-height:1.65; }.home-account-card > a { min-height:42px; padding:0 15px; flex:0 0 auto; display:inline-flex; align-items:center; border-radius:12px; color:#15191f; background:var(--yellow); font-size:10px; font-weight:900; }
.home-section-heading { display:flex; align-items:end; justify-content:space-between; gap:14px; }.home-section-heading span { color:#798596; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.11em; }.home-section-heading h3 { margin:3px 0 0; font-size:16px; }.home-section-heading > a { color:var(--yellow); font-size:9px; font-weight:900; white-space:nowrap; }
.home-action-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }.home-action-grid a { min-height:116px; padding:16px 13px; display:grid; align-content:center; justify-items:center; gap:5px; text-align:center; border:1px solid var(--line); border-radius:17px; background:#121a25; }.home-action-grid a:hover { border-color:rgba(246,199,68,.22); transform:translateY(-1px); }.home-action-grid b { width:42px; height:42px; display:grid; place-items:center; margin-bottom:4px; border-radius:13px; color:var(--yellow); background:#202a38; font-size:20px; }.home-action-grid strong { font-size:11px; }.home-action-grid small { color:#778395; font-size:8px; }
.home-status-heading { margin-top:3px; }.home-status-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }.home-status-grid article { padding:17px; border:1px solid var(--line); border-radius:16px; background:#111923; }.home-status-grid span,.home-status-grid strong,.home-status-grid small { display:block; }.home-status-grid span { color:#808c9d; font-size:9px; }.home-status-grid strong { margin:4px 0; font-size:24px; }.home-status-grid small { color:#5f6b7c; font-size:8px; }
.home-recent-card { padding:20px; border:1px solid var(--line); border-radius:20px; background:#101821; }.home-order-list { margin-top:10px; }.home-order-list > a { min-height:69px; display:flex; align-items:center; gap:11px; border-top:1px solid var(--line); }.home-order-list > a:first-child { border-top:0; }.home-order-side { width:35px; height:35px; flex:0 0 auto; display:grid; place-items:center; border-radius:11px; font-size:10px; font-weight:950; }.home-order-side.buy { color:var(--green); background:rgba(45,204,145,.09); }.home-order-side.sell { color:var(--red); background:rgba(255,107,114,.09); }.home-order-list > a > div { min-width:0; flex:1; }.home-order-list > a > div:last-child { flex:0 0 auto; text-align:right; }.home-order-list strong,.home-order-list small { display:block; }.home-order-list strong { font-size:10px; }.home-order-list small { margin-top:4px; color:#778395; font-size:8px; }.home-empty { min-height:130px; display:grid; place-items:center; align-content:center; gap:5px; color:#7d8999; }.home-empty b { font-size:30px; }.home-empty strong { color:#c8d0db; font-size:11px; }.home-empty span { font-size:8px; }

.asset-tabs { display:flex; gap:24px; margin:3px 0 22px; overflow-x:auto; scrollbar-width:none; }.asset-tabs::-webkit-scrollbar { display:none; }.asset-tabs button { min-height:36px; padding:0; border:0; color:#758091; background:transparent; font-size:13px; font-weight:850; white-space:nowrap; }.asset-tabs button.active { color:#f5f7fa; }.asset-tabs button:disabled { opacity:.45; cursor:default; }
.asset-value-card { padding:25px; border:1px solid var(--line); border-radius:22px; background:radial-gradient(circle at 92% 16%,rgba(246,199,68,.10),transparent 32%),linear-gradient(145deg,#17212d,#111923); box-shadow:0 16px 35px rgba(0,0,0,.13); }.asset-value-heading { display:flex; align-items:center; gap:8px; }.asset-value-heading > span { color:#c4cbd5; font-size:11px; font-weight:800; }.asset-value-heading button { width:30px; height:30px; border:0; border-radius:9px; color:#758193; background:#202a37; }.asset-value-main { margin-top:12px; display:flex; align-items:baseline; gap:8px; }.asset-value-main strong { font-size:38px; line-height:1; letter-spacing:-.04em; font-variant-numeric:tabular-nums; }.asset-value-main span { color:#e4e8ee; font-size:13px; font-weight:850; }.asset-value-card > p { margin:9px 0 0; color:#758193; font-size:11px; }.asset-source-line { min-height:34px; margin-top:18px; padding-top:14px; display:flex; align-items:center; justify-content:space-between; gap:10px; border-top:1px solid var(--line); }.asset-source-line span { color:#94a0b0; font-size:8px; font-weight:850; }.asset-source-line span i { width:7px; height:7px; display:inline-block; margin-right:6px; border-radius:50%; background:var(--green); }.asset-source-line small { color:#657182; font-size:8px; }
.asset-action-row { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin:14px 0 17px; }.asset-action-row a,.asset-action-row button { min-height:78px; display:grid; place-items:center; align-content:center; gap:6px; border:1px solid var(--line); border-radius:16px; color:#d7dde5; background:#121a25; }.asset-action-row b { font-size:22px; font-weight:500; }.asset-action-row span { font-size:9px; font-weight:850; }
.asset-balance-card { overflow:hidden; border:1px solid var(--line); border-radius:20px; background:#111923; }.asset-balance-heading { min-height:70px; padding:0 18px; display:flex; align-items:center; justify-content:space-between; gap:15px; border-bottom:1px solid var(--line); }.asset-balance-heading > div span,.asset-balance-heading > div small { display:block; }.asset-balance-heading > div span { font-size:14px; font-weight:900; }.asset-balance-heading > div small { margin-top:4px; color:#717d8e; font-size:8px; }.asset-balance-heading label { display:flex; align-items:center; gap:6px; color:#8692a3; font-size:8px; font-weight:800; }.asset-balance-heading input { accent-color:var(--yellow); }.asset-list { min-height:150px; }.asset-row { min-height:85px; padding:14px 18px; display:flex; align-items:center; gap:12px; border-top:1px solid var(--line); }.asset-row:first-child { border-top:0; }.asset-token-icon { width:39px; height:39px; flex:0 0 auto; display:grid; place-items:center; border-radius:50%; color:#15191f; background:linear-gradient(145deg,var(--yellow-2),var(--yellow)); font-size:15px; font-weight:950; }.asset-row-main { min-width:0; flex:1; }.asset-row-main strong,.asset-row-main small,.asset-row-value strong,.asset-row-value small { display:block; }.asset-row-main strong { font-size:13px; }.asset-row-main small { margin-top:5px; color:#758193; font-size:8px; }.asset-row-value { max-width:55%; text-align:right; }.asset-row-value strong { font-size:13px; font-variant-numeric:tabular-nums; }.asset-row-value small { margin-top:5px; color:#6f7b8c; font-size:8px; overflow-wrap:anywhere; }.asset-doc-note { padding:13px 15px; display:flex; gap:7px; border:1px solid rgba(90,156,255,.13); border-radius:14px; color:#7e8b9d; background:rgba(90,156,255,.045); font-size:8px; line-height:1.55; }.asset-doc-note strong { color:#b6c4d8; flex:0 0 auto; }

@media (max-width: 1100px) {
  .home-action-grid { grid-template-columns:repeat(3,1fr); }.home-status-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 760px) {
  .home-native-app .content { padding-top:0; }.home-app-header { min-height:94px; padding:18px 20px 12px; background:#1b2430; }.home-app-header p { display:none; }.home-app-header h2 { margin:0; font-size:25px; }.home-header-actions a { width:40px; height:40px; border:0; background:#232d3b; }
  .home-native-screen { padding:0 20px; gap:16px; }.home-account-card { padding:20px; display:block; border-radius:18px; }.home-account-card h3 { font-size:20px; }.home-account-card p { font-size:9px; }.home-account-card > a { margin-top:16px; }.home-action-grid { grid-template-columns:repeat(3,1fr); gap:8px; }.home-action-grid a { min-height:103px; padding:12px 7px; }.home-action-grid b { width:38px; height:38px; }.home-action-grid small { font-size:7px; }.home-status-grid { grid-template-columns:repeat(2,1fr); gap:8px; }.home-status-grid article { padding:14px; }.home-status-grid strong { font-size:21px; }.home-recent-card { margin:0 -20px; padding:17px 20px; border-left:0; border-right:0; border-radius:0; }.home-order-list > a { min-height:72px; }
  .assets-screen { padding-bottom:18px; }.asset-tabs { gap:25px; margin:3px 0 18px; }.asset-tabs button { font-size:13px; }.asset-value-card { margin:0 -22px; padding:23px 22px; border-left:0; border-right:0; border-radius:0; }.asset-value-main strong { font-size:34px; }.asset-source-line { margin-top:16px; }.asset-action-row { gap:8px; margin:13px 0 15px; }.asset-action-row a,.asset-action-row button { min-height:72px; border:0; background:#232d3b; }.asset-balance-card { margin:0 -22px; border-left:0; border-right:0; border-radius:0; }.asset-row { padding-left:22px; padding-right:22px; }.asset-doc-note { margin:15px -2px 0; }
}

@media (max-width: 410px) {
  .home-app-header,.home-native-screen { padding-left:17px; padding-right:17px; }.home-action-grid { grid-template-columns:repeat(3,1fr); }.home-recent-card { margin-left:-17px; margin-right:-17px; padding-left:17px; padding-right:17px; }
  .asset-value-card,.asset-balance-card { margin-left:-17px; margin-right:-17px; }.asset-value-card,.asset-row { padding-left:17px; padding-right:17px; }.asset-row-value { max-width:58%; }.asset-row-value small { font-size:7px; }
}

/* v3.6 responsive desktop polish, faster live workspace, and merchant profile */
.home-status-heading em { color: var(--green); font-style: normal; font-weight: 850; text-transform: none; letter-spacing: 0; }
.home-status-heading em.cached { color: var(--orange); }

.merchant-profile-cover { position: relative; width: min(1040px,100%); min-height: 154px; margin: 0 auto; padding: 24px 28px; display: flex; align-items: flex-start; justify-content: space-between; overflow: hidden; border-radius: 24px 24px 0 0; background: linear-gradient(135deg,#fcd535 0%,#f6c744 48%,#eeb828 100%); box-shadow: 0 18px 42px rgba(0,0,0,.18); }
.merchant-profile-cover::before,.merchant-profile-cover::after { content:""; position:absolute; width:260px; height:260px; transform:rotate(45deg); background:rgba(255,255,255,.10); pointer-events:none; }
.merchant-profile-cover::before { left:16%; top:-205px; }.merchant-profile-cover::after { right:10%; top:-176px; background:rgba(162,113,0,.08); }
.merchant-back,.merchant-refresh,.merchant-mobile-logout { position:relative; z-index:1; width:42px; height:42px; display:grid; place-items:center; border:0; border-radius:13px; color:#151a21; background:rgba(255,255,255,.18); font-size:23px; font-weight:800; backdrop-filter:blur(8px); }
.merchant-cover-actions { position:relative; z-index:1; display:flex; align-items:center; gap:9px; }.merchant-refresh { font-size:19px; }.merchant-mobile-logout { color:#151a21; font-size:19px; }
.merchant-account-picker { min-width:210px; height:42px; padding:0 10px; display:flex; align-items:center; gap:8px; border-radius:13px; background:rgba(255,255,255,.20); }.merchant-account-picker .live-pulse { background:#151a21; box-shadow:0 0 0 4px rgba(21,26,33,.09); }.merchant-account-picker select { min-width:0; width:100%; height:100%; padding:0 22px 0 0; border:0; color:#151a21; background:transparent; font-size:10px; font-weight:900; outline:0; }.merchant-account-picker select option { color:#fff; background:#1b2430; }
.merchant-profile-screen { position:relative; width:min(1040px,100%); max-width:1040px; margin:-58px auto 0; padding:0 28px 30px; z-index:2; }
.profile-alert { margin-bottom:12px; }
.profile-native-app .binance-profile-card { min-height:180px; padding:64px 24px 24px; align-items:flex-end; gap:18px; border:1px solid rgba(255,255,255,.065); border-radius:22px; background:linear-gradient(180deg,rgba(27,36,48,.97),#1b2430); box-shadow:0 18px 45px rgba(0,0,0,.18); }
.profile-native-app .profile-avatar { width:92px; height:92px; margin-top:-47px; align-self:flex-start; border:7px solid #1b2430; background:#eef0f4; color:#1d2530; font-size:45px; font-weight:500; box-shadow:0 8px 20px rgba(0,0,0,.2); }
.profile-identity { min-width:0; flex:1; }.profile-name-row { display:flex; align-items:center; gap:10px; }.profile-name-row h2 { margin:0; font-size:28px; letter-spacing:-.03em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.profile-verified-medal { width:24px; height:24px; flex:0 0 auto; display:grid; place-items:center; border-radius:50%; color:#f7f9fc!important; background:#8f9aaa; font-size:12px!important; }.profile-identity p { margin:7px 0 13px; color:#a6afbb; font-size:11px; }.profile-identity p i { color:#566273; margin:0 5px; font-style:normal; }.profile-meta-line { display:flex; flex-wrap:wrap; align-items:center; gap:0; }.profile-meta-line span { position:relative; padding:0 13px; color:#a7b0bd!important; font-size:10px!important; }.profile-meta-line span:first-child { padding-left:0; }.profile-meta-line span + span::before { content:""; position:absolute; left:0; top:2px; width:1px; height:13px; background:rgba(255,255,255,.12); }.profile-meta-line span.verified { color:var(--green)!important; }
.profile-native-app .profile-live-badge { top:77px; right:22px; padding:7px 10px; border-radius:999px; color:#9ca7b6; background:#222c39; }.profile-live-badge.offline i { background:#6e7886; }
.merchant-category-tabs { display:flex; gap:28px; min-height:76px; align-items:end; padding:0 14px 13px; }.merchant-category-tabs button { position:relative; padding:0 0 10px; border:0; color:#717c8c; background:transparent; font-size:16px; font-weight:850; }.merchant-category-tabs button.active { color:#f3f6f9; }.merchant-category-tabs button.active::after { content:""; position:absolute; left:0; bottom:0; width:28px; height:4px; border-radius:99px; background:#fcd535; }
.profile-native-app .profile-stat-grid { grid-template-columns:repeat(4,minmax(0,1fr)); margin:0 0 22px; overflow:hidden; border:1px solid rgba(255,255,255,.11); border-radius:20px; background:#1b2430; }.profile-native-app .profile-stat-grid article { min-height:128px; padding:24px; display:flex; flex-direction:column; justify-content:center; border-left:1px solid rgba(255,255,255,.08); }.profile-native-app .profile-stat-grid article:first-child { border-left:0; }.profile-native-app .profile-stat-grid strong { font-size:31px; font-weight:780; letter-spacing:-.035em; }.profile-native-app .profile-stat-grid span { margin-top:9px; color:#8d97a7; font-size:10px; }
.profile-native-app .profile-menu { overflow:hidden; margin:0 0 20px; border-top:1px solid rgba(255,255,255,.06); }.profile-native-app .profile-menu a,.profile-native-app .profile-menu button { min-height:72px; padding:0 10px; grid-template-columns:38px 1fr auto 20px; border-bottom:1px solid rgba(255,255,255,.07); }.profile-native-app .profile-menu span { color:#e4e9f0; }.profile-native-app .profile-menu strong { font-size:13px; }.profile-native-app .profile-menu b { color:#7e8999; font-size:10px; }.profile-native-app .profile-menu i { color:#667282; }.profile-native-app .profile-menu .profile-logout-row span,.profile-native-app .profile-menu .profile-logout-row strong { color:#ff757c; }.profile-native-app .profile-menu .profile-logout-row b { color:#9c686d; }
.profile-operational-control { margin-top:10px; }

@media (min-width: 1180px) {
  .home-app-header { max-width:1280px; }
  .home-native-screen { max-width:1280px; grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr); column-gap:22px; row-gap:18px; align-items:start; }
  .home-account-card { grid-column:1/-1; padding:30px 32px; }
  .home-native-screen > .home-section-heading:not(.home-status-heading) { grid-column:1/-1; }
  .home-action-grid { grid-column:1/-1; gap:12px; }.home-action-grid a { min-height:128px; border-radius:19px; }.home-action-grid b { width:46px; height:46px; }
  .home-status-heading { grid-column:1; grid-row:4; margin:0; }
  .home-status-grid { grid-column:1; grid-row:5; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }.home-status-grid article { min-height:124px; padding:22px; }.home-status-grid strong { font-size:30px; }
  .home-recent-card { grid-column:2; grid-row:4 / span 2; min-height:100%; padding:22px 24px; }
  .home-order-list > a { min-height:82px; }

  .assets-native-app .native-titlebar { max-width:1280px; margin-left:auto; margin-right:auto; }
  .assets-screen { max-width:1280px; display:grid; grid-template-columns:minmax(0,.78fr) minmax(460px,1.22fr); gap:16px 22px; align-items:start; }
  .assets-screen .asset-tabs { grid-column:1/-1; margin-bottom:4px; }
  .assets-screen .asset-value-card { grid-column:1; grid-row:2; min-height:245px; padding:32px; display:flex; flex-direction:column; justify-content:center; }.assets-screen .asset-value-main strong { font-size:48px; }.assets-screen .asset-source-line { margin-top:auto; }
  .assets-screen .asset-action-row { grid-column:1; grid-row:3; margin:0; }.assets-screen .asset-action-row a,.assets-screen .asset-action-row button { min-height:92px; }
  .assets-screen .asset-balance-card { grid-column:2; grid-row:2 / span 2; min-height:353px; }.assets-screen .asset-balance-heading { min-height:79px; padding:0 22px; }.assets-screen .asset-row { min-height:92px; padding-left:22px; padding-right:22px; }
  .assets-screen .asset-doc-note { grid-column:1/-1; margin-top:2px; }
}

@media (min-width: 761px) and (max-width: 1179px) {
  .home-native-screen,.home-app-header,.assets-native-app .native-titlebar,.assets-screen { max-width:900px; }
  .merchant-profile-cover,.merchant-profile-screen { max-width:900px; }
}

@media (max-width: 760px) {
  .bottom-nav { grid-template-columns:repeat(6,1fr); }
  .bottom-nav a small { font-size:7.5px; }
  .native-app .bottom-nav { grid-template-columns:repeat(6,1fr); padding-left:5px; padding-right:5px; }
  .native-app .bottom-nav a { min-width:0; }
  .native-app .bottom-nav a span { font-size:21px; }.native-app .bottom-nav a small { font-size:7.5px; }

  .profile-native-app { background:#1b2430; }
  .profile-native-app .content { padding-top:0; }
  .merchant-profile-cover { width:100%; min-height:188px; margin:0; padding:26px 28px 0; border-radius:0; box-shadow:none; }
  .merchant-back,.merchant-refresh,.merchant-mobile-logout { width:42px; height:42px; border-radius:50%; background:rgba(255,255,255,.16); }
  .merchant-account-picker { max-width:155px; min-width:0; width:155px; background:rgba(255,255,255,.18); }.merchant-account-picker select { font-size:8px; text-overflow:ellipsis; }
  .merchant-cover-actions { gap:7px; }.merchant-refresh { display:none; }
  .merchant-profile-screen { width:100%; max-width:none; margin:-54px 0 0; padding:0 28px 24px; }
  .profile-native-app .binance-profile-card { min-height:210px; margin:0 -28px; padding:65px 28px 22px; align-items:flex-end; border:0; border-radius:0; box-shadow:none; background:#1b2430; }
  .profile-native-app .profile-avatar { width:106px; height:106px; margin-top:-74px; border-width:7px; font-size:52px; }
  .profile-name-row h2 { font-size:25px; }.profile-identity p { font-size:10px; }.profile-meta-line span { padding:0 10px; font-size:9px!important; }
  .profile-native-app .profile-live-badge { top:68px; right:28px; padding:6px 9px; }
  .merchant-category-tabs { min-height:76px; margin:0 -5px; padding-left:5px; gap:28px; }.merchant-category-tabs button { font-size:16px; }
  .profile-native-app .profile-stat-grid { grid-template-columns:repeat(2,1fr); margin:0 0 22px; border-radius:18px; }.profile-native-app .profile-stat-grid article { min-height:128px; padding:20px 18px; }.profile-native-app .profile-stat-grid article:nth-child(3) { border-left:0; border-top:1px solid rgba(255,255,255,.08); }.profile-native-app .profile-stat-grid article:nth-child(4) { border-top:1px solid rgba(255,255,255,.08); }.profile-native-app .profile-stat-grid strong { font-size:31px; }.profile-native-app .profile-stat-grid span { font-size:10px; }
  .profile-native-app .profile-menu { margin:4px -6px 20px; }.profile-native-app .profile-menu a,.profile-native-app .profile-menu button { min-height:72px; padding:0 6px; grid-template-columns:38px 1fr auto 18px; }.profile-native-app .profile-menu strong { font-size:12px; }
  .profile-operational-control { margin:0 -6px; }
}

@media (max-width: 410px) {
  .merchant-profile-cover { padding-left:20px; padding-right:20px; }.merchant-account-picker { width:132px; }.merchant-profile-screen { padding-left:20px; padding-right:20px; }.profile-native-app .binance-profile-card { margin-left:-20px; margin-right:-20px; padding-left:20px; padding-right:20px; }.profile-native-app .profile-live-badge { right:20px; }.profile-native-app .profile-avatar { width:96px; height:96px; font-size:47px; }.profile-name-row h2 { font-size:22px; }.profile-meta-line span { font-size:8px!important; }
}

@media (min-width: 761px) {
  .home-native-app .home-app-header { display:none; }
  .assets-native-app .native-titlebar { min-height:52px; justify-content:flex-end; margin-bottom:14px; }
  .assets-native-app .native-title-copy { display:none; }
}
@media (min-width: 761px) { .merchant-mobile-logout { display:none; } }
@media (max-width: 760px) { .merchant-mobile-logout { display:grid; } }

/* v3.7 profile, five-item mobile nav, and completed-report polish */
.merchant-cover-icon { width:44px; height:44px; display:grid; place-items:center; border:0; border-radius:50%; color:#171b20; background:rgba(255,255,255,.14); font-size:21px; cursor:pointer; }
.merchant-cover-actions { position:relative; z-index:2; display:flex; align-items:center; gap:10px; }
.profile-stat-shell { overflow:hidden; margin:0 0 25px; border:1px solid rgba(255,255,255,.12); border-radius:18px; background:#1b2430; }
.profile-stat-shell .profile-stat-grid { margin:0!important; border:0!important; border-radius:0!important; }
.profile-more-button { width:100%; min-height:48px; display:flex; align-items:center; justify-content:center; gap:7px; border:0; border-top:1px solid rgba(255,255,255,.08); color:#e7ebf0; background:transparent; font-size:12px; font-weight:750; }
.profile-more-button span { color:#98a2af; font-size:16px; }
.profile-secondary-tabs { min-height:62px; display:flex; align-items:end; gap:28px; padding:0 7px 13px; }
.profile-secondary-tabs button { position:relative; padding:0 0 9px; border:0; color:#7a8595; background:transparent; font-size:14px; font-weight:820; }
.profile-secondary-tabs button.active { color:#f3f5f8; }
.profile-secondary-tabs button.active::after { content:""; position:absolute; left:0; bottom:0; width:25px; height:4px; border-radius:99px; background:#fcd535; }
.profile-account-label { display:grid; gap:8px; color:#9aa5b4; font-size:10px; }
.profile-account-select { min-height:48px; padding:0 13px; display:flex; align-items:center; gap:9px; border:1px solid var(--line); border-radius:12px; background:#111923; }
.profile-account-select select { width:100%; border:0; outline:0; color:#f3f5f8; background:transparent; }
.profile-settings-links { display:grid; margin-top:14px; }
.profile-settings-links a { min-height:52px; display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--line); color:#e7ebf1; font-size:11px; font-weight:800; }
.profile-settings-links a.danger { color:#ff747d; }

.report-daily-hero { max-width:1280px; margin:0 auto 14px; padding:24px 26px; display:flex; align-items:center; justify-content:space-between; gap:25px; border:1px solid rgba(246,199,68,.16); border-radius:21px; background:radial-gradient(circle at 86% 0,rgba(246,199,68,.12),transparent 35%),linear-gradient(145deg,#17212d,#111923); }
.report-daily-copy { max-width:720px; }.report-daily-copy h2 { margin:5px 0 8px; font-size:27px; }.report-daily-copy > p:last-child { margin:0; color:#8d98a8; font-size:10px; line-height:1.65; }
.report-back-link { display:inline-flex; margin-bottom:10px; color:var(--yellow); font-size:9px; font-weight:900; }.daily-date-form { min-width:330px; display:flex; align-items:end; gap:9px; }.daily-date-form label { flex:1; display:grid; gap:6px; color:#8793a3; font-size:9px; font-weight:800; }.daily-date-form input { min-height:42px; padding:0 12px; border:1px solid var(--line); border-radius:11px; color:#f1f4f7; background:#0e151e; color-scheme:dark; }
.report-toolbar { max-width:1280px; margin:0 auto 14px; display:flex; justify-content:flex-end; gap:9px; }.daily-report-metrics { max-width:1280px; margin:0 auto 14px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }.daily-report-metrics article { min-height:112px; padding:18px; border:1px solid var(--line); border-radius:17px; background:#111923; }.daily-report-metrics span,.daily-report-metrics strong,.daily-report-metrics small { display:block; }.daily-report-metrics span { color:#8995a5; font-size:9px; font-weight:850; }.daily-report-metrics strong { margin:6px 0; font-size:28px; }.daily-report-metrics small { color:#687486; font-size:8px; }.daily-report-metrics .buy strong { color:var(--green); }.daily-report-metrics .sell strong { color:var(--red); }
.daily-report-note,.daily-account-panel,.daily-orders-panel { max-width:1280px; margin-left:auto; margin-right:auto; }.daily-account-panel { margin-bottom:14px; }.daily-account-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }.daily-account-grid article { padding:16px; border:1px solid var(--line); border-radius:14px; background:#101821; }.daily-account-grid article > div strong,.daily-account-grid article > div span { display:block; }.daily-account-grid article > div span { margin-top:5px; color:#7a8697; font-size:8px; }.daily-account-grid dl { margin:14px 0 0; display:grid; gap:7px; }.daily-account-grid dl div { display:flex; align-items:center; justify-content:space-between; gap:10px; }.daily-account-grid dt { color:#768293; font-size:8px; }.daily-account-grid dd { margin:0; font-size:9px; font-weight:850; }
.completed-only-badge { padding:6px 9px; border-radius:999px; color:var(--green); background:rgba(45,204,145,.08); font-size:8px; font-weight:900; }.desktop-daily-report table td small { display:block; margin-top:4px; color:#6f7b8b; font-size:7px; }.report-side { display:inline-flex; min-width:39px; min-height:23px; align-items:center; justify-content:center; border-radius:7px; font-size:8px; font-weight:950; }.report-side.buy { color:var(--green); background:rgba(45,204,145,.09); }.report-side.sell { color:var(--red); background:rgba(255,107,114,.09); }.mobile-daily-report { display:none; }

@media (max-width:760px) {
  .bottom-nav,.native-app .bottom-nav { grid-template-columns:repeat(5,1fr)!important; padding-left:9px; padding-right:9px; }
  .native-app .bottom-nav a { min-width:0; }.native-app .bottom-nav a span { font-size:23px; }.native-app .bottom-nav a small { font-size:8px; }

  .profile-native-app .content { padding:0 0 88px; }.profile-native-app { background:#1d2632; }
  .merchant-profile-cover { min-height:158px; padding:24px 28px 0; align-items:flex-start; background:linear-gradient(135deg,#fbd43a 0%,#f8c928 54%,#f3be25 100%); }
  .merchant-profile-cover::before { width:205px; height:205px; left:21%; top:-134px; }.merchant-profile-cover::after { width:205px; height:205px; right:-8%; top:-101px; }
  .merchant-back,.merchant-cover-icon { width:43px; height:43px; background:rgba(255,255,255,.15); font-size:21px; }
  .merchant-profile-screen { margin:0; padding:0 28px 25px; background:#1d2632; }
  .profile-native-app .binance-profile-card { min-height:246px; margin:0 -28px; padding:0 28px 28px; display:block; border:0; background:#1d2632; }
  .profile-native-app .profile-avatar { width:88px; height:88px; margin:-41px 0 20px; border:6px solid #1d2632; font-size:44px; box-shadow:none; }
  .profile-native-app .profile-identity { width:100%; }.profile-name-row { gap:8px; }.profile-name-row h2 { max-width:82%; font-size:24px; line-height:1.15; }.profile-verified-medal { width:22px; height:22px; font-size:10px!important; }
  .profile-native-app .profile-identity p.profile-tier-line { margin:13px 0 15px; display:flex; align-items:center; flex-wrap:wrap; gap:0; color:#c3c9d2; font-size:10px; }.profile-tier-line i { width:1px; height:15px; margin:0 12px!important; background:rgba(255,255,255,.13); }
  .profile-meta-line { row-gap:7px; }.profile-meta-line span { padding:0 11px; font-size:9px!important; }.profile-native-app .profile-live-badge { display:none; }
  .merchant-category-tabs { min-height:82px; margin:0; padding:0 7px 15px; align-items:end; gap:28px; }.merchant-category-tabs button { font-size:16px; }.merchant-category-tabs button.active::after { width:30px; }
  .profile-stat-shell { margin:0 0 23px; border-radius:16px; }.profile-native-app .profile-stat-grid { grid-template-columns:repeat(2,1fr); }.profile-native-app .profile-stat-grid article { min-height:105px; padding:17px 14px; }.profile-native-app .profile-stat-grid article:nth-child(3) { border-left:0; border-top:1px solid rgba(255,255,255,.08); }.profile-native-app .profile-stat-grid article:nth-child(4) { border-top:1px solid rgba(255,255,255,.08); }.profile-native-app .profile-stat-grid strong { font-size:28px; line-height:1; }.profile-native-app .profile-stat-grid span { margin-top:10px; font-size:9px; }.profile-more-button { min-height:44px; font-size:11px; }
  .profile-secondary-tabs { min-height:63px; padding:0 7px 13px; }.profile-secondary-tabs button { font-size:14px; }
  .profile-native-app .profile-menu { margin:0 -3px 21px; border-top:0; }.profile-native-app .profile-menu a,.profile-native-app .profile-menu button { min-height:66px; padding:0 3px; grid-template-columns:34px 1fr auto 16px; }.profile-native-app .profile-menu span { font-size:19px; }.profile-native-app .profile-menu strong { font-size:12px; }.profile-native-app .profile-menu b { font-size:9px; }.profile-native-app .profile-menu i { font-size:20px; }.profile-operational-control { margin:8px -3px 0; }

  .report-native-app .content { padding:0 18px 92px; }.report-daily-hero { margin:0 -18px 12px; padding:22px 20px 18px; display:block; border-left:0; border-right:0; border-radius:0; }.report-daily-copy h2 { font-size:24px; }.daily-date-form { min-width:0; margin-top:18px; display:grid; grid-template-columns:1fr auto; }.report-toolbar { margin:0 0 12px; justify-content:stretch; }.report-toolbar .button { flex:1; padding-left:8px; padding-right:8px; font-size:8px; }.daily-report-metrics { grid-template-columns:repeat(2,1fr); gap:8px; }.daily-report-metrics article { min-height:96px; padding:14px; }.daily-report-metrics strong { font-size:24px; }.daily-report-note { font-size:8px; }.daily-account-grid { grid-template-columns:1fr; }.daily-account-panel,.daily-orders-panel { margin-left:-18px; margin-right:-18px; border-left:0; border-right:0; border-radius:0; }.daily-account-panel .panel-heading,.daily-orders-panel .panel-heading { padding-left:18px; padding-right:18px; }.daily-account-grid { padding:0 18px 18px; }.desktop-daily-report { display:none; }.mobile-daily-report { display:grid; }.mobile-daily-report article { padding:17px 18px; border-top:1px solid var(--line); background:#111923; }.mobile-daily-report header { display:flex; align-items:center; justify-content:space-between; gap:10px; }.mobile-daily-report header > div { display:flex; align-items:center; gap:8px; }.mobile-daily-report header time { color:#7f8a9a; font-size:9px; }.mobile-report-value { padding:16px 0; }.mobile-report-value strong,.mobile-report-value span { display:block; }.mobile-report-value strong { font-size:24px; }.mobile-report-value span { margin-top:6px; color:#788495; font-size:9px; }.mobile-daily-report dl { margin:0; display:grid; gap:8px; }.mobile-daily-report dl div { display:flex; justify-content:space-between; gap:14px; }.mobile-daily-report dt { color:#758193; font-size:8px; }.mobile-daily-report dd { max-width:64%; margin:0; overflow-wrap:anywhere; text-align:right; font-size:8px; font-weight:800; }
}

@media (max-width:410px) {
  .merchant-profile-cover { padding-left:20px; padding-right:20px; }.merchant-profile-screen { padding-left:20px; padding-right:20px; }.profile-native-app .binance-profile-card { margin-left:-20px; margin-right:-20px; padding-left:20px; padding-right:20px; }.profile-native-app .profile-avatar { width:84px; height:84px; margin-top:-39px; font-size:41px; }.profile-name-row h2 { font-size:22px; }.profile-meta-line span { padding:0 8px; font-size:8px!important; }.profile-native-app .profile-stat-grid strong { font-size:26px; }
}

/* v3.8 order flow: verification gate + payment/release/appeal lifecycle */
.native-status.verification { color: #17130a; background: var(--yellow); font-weight: 900; }
.order-verification-badge { display: inline-flex; width: fit-content; margin: 9px 0 -1px; padding: 5px 8px; border: 1px solid rgba(246,199,68,.22); border-radius: 999px; color: var(--yellow); background: rgba(246,199,68,.07); font-size: 8px; font-weight: 900; letter-spacing: .01em; }
.verification-flow { display: grid; gap: 14px; }
.verification-intro { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid rgba(246,199,68,.2); border-radius: 16px; background: linear-gradient(135deg,rgba(246,199,68,.09),rgba(255,255,255,.025)); }
.verification-intro > div { min-width: 0; flex: 1; }.verification-intro strong,.verification-intro small { display: block; }
.verification-intro strong { font-size: 15px; }.verification-intro small { margin-top: 5px; color: #8f9aab; font-size: 9px; line-height: 1.5; }
.verification-lock { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; color: #17130a; background: var(--yellow); font-size: 18px; font-weight: 900; }
.verification-counterparty-card,.order-flow-counterparty { display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: #121b26; }
.verification-counterparty-card > div:nth-child(2),.order-flow-counterparty > div:nth-child(2) { min-width: 0; flex: 1; }
.verification-counterparty-card strong,.verification-counterparty-card span,.order-flow-counterparty strong,.order-flow-counterparty span { display: block; }
.verification-counterparty-card strong,.order-flow-counterparty strong { font-size: 15px; }.verification-counterparty-card span,.order-flow-counterparty span { margin-top: 4px; color: #8490a2; font-size: 9px; line-height: 1.45; }
.verification-avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; color: #e7ecf3; background: #303b4b; font-size: 17px; font-weight: 900; }
.verify-chat-button { min-width: 72px; min-height: 38px; color: #151108; background: var(--yellow); border-color: transparent; }
.verification-trade-card { padding: 17px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: #111923; }
.verification-trade-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.verification-trade-card header strong { font-size: 17px; }.verification-trade-card header strong.sell { color: #ff6176; }.verification-trade-card header strong.buy { color: var(--green); }.verification-trade-card header strong b { color: var(--text); }.verification-trade-card header span { color: #707d90; font-size: 8px; }
.verification-trade-card dl { display: grid; gap: 11px; margin: 18px 0 0; }.verification-trade-card dl div { display: flex; align-items: center; justify-content: space-between; gap: 18px; }.verification-trade-card dt { color: #7d899a; font-size: 10px; }.verification-trade-card dd { margin: 0; font-size: 13px; font-weight: 800; }
.verification-payment { padding: 4px 2px; }.verification-payment span,.verification-payment strong { display: block; }.verification-payment span { color: #7d899a; font-size: 10px; }.verification-payment strong { margin-top: 8px; font-size: 13px; }.verification-payment strong::before { content:"•"; margin-right: 7px; color: #e98d36; }
.verification-terms { padding: 14px 15px; border: 1px solid rgba(255,255,255,.065); border-radius: 14px; background: #0f1721; }.verification-terms span { color: #7e899a; font-size: 9px; }.verification-terms p { margin: 7px 0 0; color: #c2cad5; font-size: 10px; line-height: 1.6; white-space: pre-wrap; }
.verification-help { display: flex; align-items: flex-start; gap: 9px; padding: 12px 13px; border-radius: 13px; background: #263140; }.verification-help > span { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 20px; border: 1px solid #788396; border-radius: 50%; color: #aab4c1; font-size: 11px; }.verification-help p { margin: 1px 0 0; color: #a1abba; font-size: 9px; line-height: 1.55; }
.verification-required .order-detail-tabs { display: none!important; }.verification-required .order-detail-scroll { padding-top: 18px; }
.verification-chat-back { display: none; min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; color: #cbd3de; background: #18212d; font-size: 9px; font-weight: 800; }.verification-required .verification-chat-back { display: inline-flex; align-items: center; }
.verification-required .order-detail-heading { background: radial-gradient(circle at 80% -20%,rgba(246,199,68,.2),transparent 42%); }
.verification-required .live-order-actions { justify-content: stretch; }.verification-required .live-order-actions .verify-order-button { flex: 1 1 100%; min-height: 52px; color: #161207; background: var(--yellow); border-color: transparent; font-size: 13px; }
.order-stage-summary { grid-column: span 1; position: relative; }.order-stage-summary small { display: block; margin-top: 6px; color: #8591a2; font-size: 8px; line-height: 1.45; }.stage-timers { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.order-flow-card { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 11px; }.order-flow-card > div { min-width: 0; padding: 13px 14px; border: 1px solid rgba(255,255,255,.065); border-radius: 13px; background: #0f1721; }.order-flow-card span,.order-flow-card strong { display: block; }.order-flow-card span { color: #7c8899; font-size: 9px; }.order-flow-card strong { margin-top: 6px; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.payment-safety-note { display: grid; gap: 5px; margin-top: 11px; padding: 13px 14px; border: 1px solid rgba(255,107,114,.2); border-radius: 13px; background: rgba(255,107,114,.055); }.payment-safety-note strong { color: #ff9aa1; font-size: 10px; }.payment-safety-note span { color: #939eae; font-size: 9px; line-height: 1.5; }
.order-flow-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; padding: 10px 2px; color: #768294; font-size: 8px; }.order-flow-meta b { color: #8e99a9; font-weight: 800; }
.release-button { color: #151108!important; background: var(--yellow)!important; border-color: transparent!important; font-weight: 900; }.appeal-button { color: #ff9aa2!important; background: rgba(255,93,112,.08)!important; border-color: rgba(255,93,112,.22)!important; font-weight: 900; }
.order-action-message { display: flex; align-items: center; min-height: 40px; flex: 1 1 260px; padding: 10px 12px; border-radius: 11px; color: #9ba6b5; background: #1a2330; font-size: 9px; line-height: 1.45; }
.action-countdown { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 13px; border: 1px solid rgba(246,199,68,.22); border-radius: 11px; color: var(--yellow); background: rgba(246,199,68,.065); font-size: 9px; font-weight: 900; font-variant-numeric: tabular-nums; }.action-countdown.expired { color: #ff939b; border-color: rgba(255,107,114,.22); background: rgba(255,107,114,.06); }.blocked-action { color: #8994a5; border-color: var(--line); background: #18212d; }
.appeal-api-note .appeal-countdown { width: fit-content; margin-top: 4px; }

@media (max-width:760px) {
  .verification-required .order-detail-heading { min-height: 84px; }.verification-required .order-detail-scroll { padding: 12px 12px calc(18px + env(safe-area-inset-bottom)); }
  .verification-intro { align-items: flex-start; padding: 13px; }.verification-intro .order-countdown { margin-left: auto; }
  .verification-counterparty-card,.order-flow-counterparty { padding: 13px; }.verification-avatar { width: 40px; height: 40px; flex-basis: 40px; }.verification-counterparty-card strong,.order-flow-counterparty strong { font-size: 13px; }
  .verification-trade-card { padding: 14px; }.verification-trade-card header strong { font-size: 16px; }.verification-trade-card dd { font-size: 12px; }
  .order-flow-card { grid-template-columns: 1fr 1fr; gap: 7px; }.order-flow-card > div { padding: 11px; }
  .order-command-modal .live-order-actions .release-button,.order-command-modal .live-order-actions .appeal-button { flex: 1 1 calc(50% - 8px); }
  .order-command-modal .live-order-actions .action-countdown { flex: 1 1 calc(50% - 8px); }
}
@media (max-width:420px) {
  .verification-intro { flex-wrap: wrap; }.verification-intro .order-countdown { margin-left: 50px; }
  .verify-chat-button { min-width: 62px; padding: 0 10px; }.order-flow-card { grid-template-columns: 1fr; }
  .order-flow-meta { align-items: flex-start; flex-direction: column; }
}

/* v3.9 buy payment flow, smooth release, and higher-contrast chat */
.buy-plain-countdown { color: var(--yellow); font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.buy-plain-countdown.expired { color: #ff8c96; }
.buy-plain-countdown.unavailable { color: #7d8998; }
.buy-order-created-flow,.buy-payment-screen { display: grid; gap: 18px; }
.buy-screen-actions,.buy-payment-topline { display: flex; align-items: center; justify-content: flex-end; min-height: 24px; }
.buy-payment-topline { justify-content: space-between; }
.buy-payment-topline > button:first-child { border: 0; color: #97a3b4; background: transparent; font-size: 9px; font-weight: 800; }
.buy-cancel-link { padding: 4px 0; border: 0; border-bottom: 1px dotted #6e7989; color: #8b95a5; background: transparent; font-size: 9px; cursor: pointer; }
.buy-cancel-link:hover { color: #cbd3de; }
.buy-counterparty-card { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid #313b49; border-radius: 17px; background: #17212d; }
.buy-counterparty-card > div:nth-child(2) { min-width: 0; flex: 1; }
.buy-counterparty-card strong { display: block; font-size: 15px; }
.escrow-badge { display: inline-flex; width: fit-content; margin-top: 10px; padding: 6px 9px; border-radius: 7px; color: #c5cdd8; background: #27313d; font-size: 8px; }
.buy-trade-card { padding: 18px; border: 1px solid #303b49; border-radius: 17px; background: #151f2b; }
.buy-trade-card header strong { color: #34c89c; font-size: 18px; }
.buy-trade-card header strong b { color: #f0f3f7; }
.buy-trade-card dl { display: grid; gap: 14px; margin: 20px 0 0; }
.buy-trade-card dl div { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.buy-trade-card dt { color: #8994a5; font-size: 10px; }
.buy-trade-card dd { margin: 0; color: #f3f5f8; font-size: 13px; font-weight: 800; text-align: right; }
.buy-payment-method,.buy-advertiser-terms { padding: 0 2px; }
.buy-payment-method span,.buy-advertiser-terms > span { display: block; color: #828e9f; font-size: 10px; }
.buy-payment-method strong { display: inline-flex; align-items: center; margin-top: 9px; font-size: 13px; }
.buy-payment-method strong::before { content:""; width: 4px; height: 14px; margin-right: 8px; border-radius: 99px; background: #ef8e39; }
.buy-advertiser-terms { margin-top: 4px; }
.buy-advertiser-terms p { max-height: 88px; margin: 10px 0 0; overflow: hidden; color: #aeb7c4; font-size: 10px; line-height: 1.65; white-space: pre-wrap; }
.order-command-modal .live-order-actions .buy-payment-button,.order-command-modal .live-order-actions .buy-notify-button { flex: 1 1 100%; min-height: 52px; border-color: transparent; color: #18140a; background: var(--yellow); font-size: 13px; font-weight: 900; }
.buy-payment-tabs { display: flex; gap: 30px; padding: 2px 0 14px; border-bottom: 1px solid #303a47; }
.buy-payment-tabs button { position: relative; padding: 8px 0; border: 0; color: #7b8798; background: transparent; font-size: 11px; font-weight: 800; }
.buy-payment-tabs button.active { color: #f2f4f7; }
.buy-payment-tabs button.active::after { content:""; position: absolute; left: 0; right: 0; bottom: -15px; height: 3px; border-radius: 4px; background: var(--yellow); }
.payment-step { position: relative; display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 12px; }
.payment-step:not(.second)::after { content:""; position: absolute; left: 20px; top: 38px; bottom: -24px; width: 1px; background: #566171; }
.payment-step-number { position: relative; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; margin-top: 1px; border-radius: 4px; color: #18202a; background: #e7ebf0; font-size: 12px; font-weight: 900; clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); }
.payment-step-body h3 { margin: 0 0 13px; color: #f0f3f7; font-size: 13px; line-height: 1.5; }
.payment-transfer-card { display: grid; gap: 14px; padding: 17px; border: 1px solid #364252; border-radius: 15px; background: #18222e; }
.payment-transfer-card > div { display: grid; grid-template-columns: minmax(120px,.72fr) minmax(0,1.28fr); align-items: center; gap: 12px; }
.payment-transfer-card dt { color: #8b96a7; font-size: 10px; }
.payment-transfer-card dd { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 0; color: #e7ebf1; font-size: 12px; font-weight: 750; overflow-wrap: anywhere; text-align: right; }
.payment-transfer-card dd.pay-total { font-size: 22px; }
.payment-transfer-card dd button { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; border: 0; border-radius: 7px; color: #9da8b7; background: #273342; cursor: pointer; }
.payment-tip { margin: 12px 2px 0; color: #8f9aaa; font-size: 9px; line-height: 1.6; }
.payment-step.second { margin-top: 6px; }

.release-confirm-modal .compact-modal { width: min(590px,calc(100vw - 24px)); padding: 24px!important; }
.release-confirm-modal .eyebrow { color: #8591a2; }
.release-confirm-modal .action-warning { display: none; }
.smooth-release-flow { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 12px; margin-top: 4px; }
.release-shield { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(44,193,146,.22); border-radius: 14px; color: #65dcb6; background: rgba(44,193,146,.08); font-size: 20px; font-weight: 900; }
.release-heading-copy strong,.release-heading-copy span { display: block; }
.release-heading-copy strong { margin-top: 2px; font-size: 15px; }
.release-heading-copy span { margin-top: 5px; color: #8d99aa; font-size: 9px; line-height: 1.5; }
.release-payment-summary { grid-column: 1/-1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 3px; }
.release-payment-summary > div { min-width: 0; padding: 13px; border: 1px solid #303b49; border-radius: 12px; background: #141e2a; }
.release-payment-summary span,.release-payment-summary strong { display: block; }
.release-payment-summary span { color: #7e8a9b; font-size: 8px; }
.release-payment-summary strong { margin-top: 6px; color: #eef2f6; font-size: 11px; overflow-wrap: anywhere; }
.release-received-check { grid-column: 1/-1; display: flex!important; align-items: flex-start; gap: 11px; padding: 14px!important; border: 1px solid rgba(246,199,68,.2)!important; border-radius: 13px!important; background: rgba(246,199,68,.055)!important; cursor: pointer; }
.release-received-check input { width: 18px!important; height: 18px!important; min-height: 0!important; margin: 1px 0 0; accent-color: var(--yellow); }
.release-received-check > span { display: block; }
.release-received-check strong,.release-received-check small { display: block; }
.release-received-check strong { color: #f2f4f7; font-size: 10px; }
.release-received-check small { margin-top: 4px; color: #929dab; font-size: 8px; line-height: 1.5; }
.release-auth-grid { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.release-auth-grid label { min-width: 0; }
.release-auth-note { grid-column: 1/-1; display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border: 1px solid #2c3745; border-radius: 11px; background: #111923; }
.release-auth-note strong { flex: 0 0 auto; color: #e8edf3; font-size: 8px; }
.release-auth-note span { color: #8693a4; font-size: 8px; line-height: 1.5; }
#order-action-result small { display: block; margin-top: 3px; color: #7f8b9b; font-size: 8px; line-height: 1.45; }
.release-final-note { grid-column: 1/-1; display: flex; align-items: flex-start; gap: 9px; padding: 10px 12px; border-radius: 11px; color: #8f9aaa; background: #111923; }
.release-final-note p { margin: 0; font-size: 8px; line-height: 1.55; }
.release-confirm-button { min-height: 50px; border-color: transparent!important; color: #17130a!important; background: var(--yellow)!important; font-size: 12px; font-weight: 900; }

.chat-clarity-banner { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #2a3543; color: #9eabbc; background: #111a25; }
.chat-clarity-banner > span { width: 20px; height: 20px; flex: 0 0 20px; display: grid; place-items: center; border: 1px solid #4a596b; border-radius: 50%; color: #b9c4d1; font-size: 9px; font-weight: 900; }
.chat-clarity-banner strong,.chat-clarity-banner small { display: block; }
.chat-clarity-banner strong { color: #dbe2eb; font-size: 9px; }
.chat-clarity-banner small { margin-top: 3px; color: #7f8c9e; font-size: 8px; line-height: 1.45; }
.main-chat-banner { border-top: 0; }
.app-message-list { background: radial-gradient(circle at 50% 0,rgba(64,88,118,.13),transparent 42%),#0c141e; }
.message-bubble { box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.message-bubble.other { color: #eef2f7; border: 1px solid #344152; background: #192432; }
.message-bubble.self { color: #f2f6fb; border: 1px solid #3e5f82; background: #2b4563; }
.message-bubble small { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; color: #aeb9c8; opacity: 1; font-size: 8px; }
.message-bubble small b { color: inherit; font-weight: 850; }
.message-bubble small time { color: #8492a4; font-size: 7px; font-weight: 600; }
.message-bubble.self small { color: #d7e1ec; }
.message-bubble.self small time { color: #b8c7d8; }
.message-bubble p { color: inherit; font-size: 11px; line-height: 1.62; }
.message-bubble > span { color: #8794a5; opacity: 1; }
.message-bubble.self > span { color: #c2cfdd; opacity: .88; }
.message-bubble.system-event { width: min(92%,680px); border: 1px solid #2f3c4d; color: #c4ceda; background: #131d29; box-shadow: none; }
.message-bubble.system-event p { color: #b8c4d2; }
.message-date-separator span { color: #8e9aac; background: #141e2a; border: 1px solid #293544; }
.active-conversation,.order-embedded-chat { background: #0d151f; }
.chat-composer { padding: 11px; border: 1px solid #2b3746; border-radius: 14px; background: #111b27; }
.chat-composer textarea { border-color: #313e4f; color: #edf2f7; background: #172332; }
.chat-composer textarea::placeholder { color: #718094; }
.attachment-button { border-color: #344152; color: #c3cedc; background: #182432; }
.order-embedded-chat .app-message-list { border-left: 1px solid #26313f; border-right: 1px solid #26313f; }

@media (max-width:760px) {
  .buy-order-created-flow,.buy-payment-screen { gap: 15px; }
  .buy-counterparty-card,.buy-trade-card { padding: 14px; }
  .buy-trade-card dd { font-size: 12px; }
  .payment-transfer-card { padding: 14px; }
  .payment-transfer-card > div { grid-template-columns: minmax(96px,.72fr) minmax(0,1.28fr); }
  .payment-transfer-card dd.pay-total { font-size: 20px; }
  .release-payment-summary { grid-template-columns: 1fr; }
  .release-auth-grid { grid-template-columns: 1fr; }
  .chat-clarity-banner { padding: 9px 10px; }
  .main-chat-banner { margin: 0; }
}
@media (max-width:420px) {
  .buy-counterparty-card { gap: 10px; }
  .buy-counterparty-card strong { font-size: 13px; }
  .payment-step { grid-template-columns: 34px minmax(0,1fr); gap: 9px; }
  .payment-step-number { width: 26px; height: 26px; font-size: 10px; }
  .payment-step:not(.second)::after { left: 13px; top: 32px; }
  .payment-transfer-card > div { grid-template-columns: 1fr; gap: 5px; }
  .payment-transfer-card dd { justify-content: flex-start; text-align: left; }
  .release-confirm-modal .compact-modal { padding: 20px 16px!important; }
}


/* v3.11: visible ongoing-order badges on desktop + mobile navigation */
.side-nav a > span,.bottom-nav a > span { position: relative; overflow: visible; }
.order-nav-badge {
  position: absolute; z-index: 3; top: -9px; right: -11px; min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center; border: 2px solid #10151f; border-radius: 999px;
  color: #15181e; background: var(--yellow); box-shadow: 0 4px 12px rgba(0,0,0,.32);
  font-size: 9px; font-weight: 950; line-height: 1; letter-spacing: -.02em;
}
.order-nav-badge[hidden] { display: none!important; }
.side-nav a.active .order-nav-badge { color: var(--yellow); background: #15181e; border-color: rgba(255,255,255,.65); }
@media (max-width: 760px) {
  .bottom-nav .order-nav-badge { top: -8px; right: -12px; min-width: 18px; height: 18px; padding: 0 5px; border-color: #1b2430; font-size: 9px; }
  .native-app .bottom-nav a.active .order-nav-badge { color: #15181e; background: var(--yellow); border-color: #1b2430; }
}


/* v3.12: desktop sidebar scrolling, order-rate fallback, and local P/L report */
.sidebar { overflow: hidden; }
.side-nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; padding-right: 5px; scrollbar-width: thin; scrollbar-color: rgba(246,199,68,.42) rgba(255,255,255,.035); }
.side-nav::-webkit-scrollbar { width: 7px; }
.side-nav::-webkit-scrollbar-track { background: rgba(255,255,255,.025); border-radius: 99px; }
.side-nav::-webkit-scrollbar-thumb { background: rgba(246,199,68,.38); border-radius: 99px; border: 1px solid rgba(10,14,21,.65); }
.sidebar-scroll-button { flex: 0 0 auto; width: 34px; height: 28px; margin: 8px auto 6px; border: 1px solid rgba(246,199,68,.18); border-radius: 9px; color: var(--yellow); background: rgba(246,199,68,.055); font-size: 14px; font-weight: 950; }
.sidebar-scroll-button:hover { background: rgba(246,199,68,.1); }
.sidebar-scroll-button[hidden] { display:none!important; }
.security-note { flex: 0 0 auto; margin-top: 4px; }

.local-profit-panel { max-width:1280px; margin:0 auto 14px; border-color:rgba(90,156,255,.16); background:linear-gradient(145deg,#111b27,#0d151f); }
.local-profit-panel .panel-heading { align-items:flex-start; gap:20px; }
.local-only-badge { display:inline-flex; align-items:center; min-height:25px; padding:0 9px; border-radius:999px; color:#b8d2ff; background:rgba(90,156,255,.09); border:1px solid rgba(90,156,255,.16); font-size:8px; font-weight:900; white-space:nowrap; }
.local-profit-settings { display:grid; grid-template-columns:repeat(2,minmax(130px,180px)) auto; gap:9px; align-items:end; padding:0 18px 16px; }
.local-profit-settings label { display:grid; gap:5px; color:#8d98a9; font-size:8px; font-weight:850; }
.local-profit-settings input { min-height:39px; }
.local-profit-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; padding:0 18px 18px; }
.local-profit-grid article { min-height:104px; padding:15px; border:1px solid var(--line); border-radius:14px; background:#0f1822; }
.local-profit-grid article.hero-profit { grid-column:span 2; border-color:rgba(45,204,145,.2); background:radial-gradient(circle at 90% 10%,rgba(45,204,145,.11),transparent 42%),#101a23; }
.local-profit-grid article.hero-profit.loss { border-color:rgba(255,107,114,.2); background:radial-gradient(circle at 90% 10%,rgba(255,107,114,.1),transparent 42%),#101820; }
.local-profit-grid span,.local-profit-grid strong,.local-profit-grid small { display:block; }
.local-profit-grid span { color:#8491a2; font-size:8px; font-weight:850; }
.local-profit-grid strong { margin:7px 0 5px; font-size:20px; letter-spacing:-.025em; }
.local-profit-grid .hero-profit strong { color:var(--green); font-size:30px; }
.local-profit-grid .hero-profit.loss strong { color:var(--red); }
.local-profit-grid small { color:#647184; font-size:7.5px; line-height:1.55; }
.local-profit-breakdown { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; padding:0 18px 18px; }
.local-profit-breakdown article { padding:13px 14px; border:1px solid var(--line); border-radius:12px; background:#0d151e; }
.local-profit-breakdown strong,.local-profit-breakdown span,.local-profit-breakdown small { display:block; }
.local-profit-breakdown strong { font-size:11px; }
.local-profit-breakdown span { margin-top:5px; color:var(--yellow-2); font-size:9px; font-weight:850; }
.local-profit-breakdown small { margin-top:4px; color:#6c7889; font-size:7.5px; line-height:1.5; }
.local-profit-formula { margin:0 18px 18px; padding:12px 13px; border-radius:11px; border:1px solid rgba(90,156,255,.14); color:#8ea0b7; background:rgba(90,156,255,.045); font-size:8px; line-height:1.65; }
.bdt-highlight { color:var(--yellow-2); }
@media (max-width:760px) {
  .sidebar-scroll-button { display:none!important; }
  .local-profit-panel { margin-left:-18px; margin-right:-18px; border-left:0; border-right:0; border-radius:0; }
  .local-profit-panel .panel-heading { padding-left:18px; padding-right:18px; }
  .local-profit-settings { grid-template-columns:1fr 1fr; padding-left:18px; padding-right:18px; }
  .local-profit-settings .button { grid-column:1/-1; }
  .local-profit-grid { grid-template-columns:repeat(2,1fr); padding-left:18px; padding-right:18px; }
  .local-profit-grid article.hero-profit { grid-column:1/-1; }
  .local-profit-breakdown { grid-template-columns:1fr; padding-left:18px; padding-right:18px; }
  .local-profit-formula { margin-left:18px; margin-right:18px; }
}

/* v3.13: fast lifecycle reconciliation + marketplace pagination */
.market-load-more-wrap { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; padding:14px 0 4px; }
.market-load-more-wrap small { color:#6f7d90; font-size:8px; font-weight:700; }
.market-load-more { min-width:150px; }
.market-load-more-wrap.done { padding-bottom:10px; }

/* v3.14: Bangladesh market filters, premium ad editor, email 2-step login, chat media */
.market-filters-v314 { grid-template-columns:minmax(130px,.8fr) minmax(150px,1fr) minmax(160px,1fr) 46px; }
.bd-payment-filter { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 0 16px; border-bottom:1px solid var(--line); }
.bd-payment-filter > div:first-child strong,.bd-payment-filter > div:first-child small { display:block; }
.bd-payment-filter > div:first-child strong { font-size:10px; }
.bd-payment-filter > div:first-child small { margin-top:4px; color:#6e7a8b; font-size:8px; }
.bd-payment-chips { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.bd-payment-chips button { min-height:34px; padding:0 12px; display:inline-flex; align-items:center; gap:7px; border:1px solid #2d3949; border-radius:999px; color:#9da8b7; background:#121b26; font-size:9px; font-weight:850; cursor:pointer; }
.bd-payment-chips button span { width:19px; height:19px; display:grid; place-items:center; border-radius:50%; color:#ced5df; background:#263140; font-size:9px; font-weight:950; }
.bd-payment-chips button[data-market-payment="bkash"] span { color:#fff; background:#d52d6b; }
.bd-payment-chips button[data-market-payment="nagad"] span { color:#fff; background:#f05a28; }
.bd-payment-chips button[data-market-payment="rocket"] span { color:#fff; background:#8a2d91; }
.bd-payment-chips button[data-market-payment="bank"] span { color:#fff; background:#315d9b; }
.bd-payment-chips button.active { color:#17130a; border-color:var(--yellow); background:var(--yellow); box-shadow:0 7px 22px rgba(246,199,68,.12); }
.bd-payment-chips button.active span { color:#17130a; background:rgba(255,255,255,.55); }
.market-ad-card-v314 { padding:20px; margin:10px 0; border:1px solid #263242!important; border-radius:18px; background:linear-gradient(145deg,#111a25,#0e1721); box-shadow:0 10px 30px rgba(0,0,0,.08); }
.market-ad-card-v314:first-child { border-top:1px solid #263242!important; }
.market-seller-head { padding-bottom:13px; border-bottom:1px solid rgba(255,255,255,.055); }
.market-seller-copy { min-width:0; flex:1; }
.market-seller-copy small { display:flex!important; flex-wrap:wrap; gap:7px 12px; }
.market-seller-copy small b { color:#d7dee8!important; margin:0!important; }
.market-seller-copy small span { color:#748194; }
.market-ad-main { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr); gap:26px; padding-top:17px; }
.market-rate-block > small { color:#728094; font-size:8px; font-weight:800; }
.market-rate-block > strong { display:block; margin:5px 0 14px; color:#f3f6fa; font-size:29px; letter-spacing:-.035em; }
.market-rate-block > strong em { color:#7f8c9d; font-size:10px; font-style:normal; font-weight:700; letter-spacing:0; }
.market-ad-meta { display:flex; flex-wrap:wrap; gap:8px 18px; }
.market-ad-meta span { color:#768396; font-size:9px; }.market-ad-meta b { color:#cbd3de; }
.market-action-block { display:grid; justify-items:end; align-content:end; gap:9px; }
.market-method-list { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
.market-method-chip { min-height:26px; padding:0 8px; display:inline-flex; align-items:center; gap:6px; border:1px solid #293646; border-radius:8px; color:#a9b3c1; background:#151f2b; font-size:8px; font-weight:800; }
.market-method-chip i { width:16px; height:16px; display:grid; place-items:center; border-radius:4px; color:#fff; background:#4b596b; font-size:7px; font-style:normal; font-weight:950; }
.market-method-chip.bkash i { background:#d52d6b; }.market-method-chip.nagad i { background:#f05a28; }.market-method-chip.rocket i { background:#8a2d91; }.market-method-chip.bank i { background:#315d9b; }
.market-pay-time { color:#6d7a8d; font-size:8px; }
.market-ad-card-v314 .trade-action { min-width:150px; height:42px; border-radius:10px; }

.my-ads-toolbar { display:flex; align-items:center; gap:8px; }
.my-ads-toolbar a.icon-action { display:grid; place-items:center; text-decoration:none; }
.ad-editor-v314 { gap:12px; padding-bottom:74px; }
.ad-edit-section { padding:16px; border:1px solid #2a3544; border-radius:16px; background:#111a25; }
.ad-edit-section > header { display:flex; align-items:flex-start; gap:10px; margin-bottom:14px; }
.ad-edit-section > header > span { width:26px; height:26px; flex:0 0 26px; display:grid; place-items:center; border-radius:9px; color:#17130a; background:var(--yellow); font-size:9px; font-weight:950; }
.ad-edit-section > header strong,.ad-edit-section > header small { display:block; }
.ad-edit-section > header strong { color:#eef2f7; font-size:11px; }
.ad-edit-section > header small { margin-top:4px; color:#748194; font-size:8px; line-height:1.45; }
.ad-edit-grid { display:grid; gap:10px; }.ad-edit-grid.two { grid-template-columns:repeat(2,minmax(0,1fr)); }.ad-edit-grid.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.ad-price-type-switch { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin-bottom:11px; padding:4px; border-radius:11px; background:#0d151f; }
.ad-price-type-switch button { min-height:34px; border:0; border-radius:8px; color:#7e8a9b; background:transparent; font-size:9px; font-weight:850; }
.ad-price-type-switch button.active { color:#17130a; background:var(--yellow); }
.ad-current-payment-note { margin-top:10px; padding:10px 12px; border:1px solid rgba(90,156,255,.14); border-radius:10px; background:rgba(90,156,255,.05); }
.ad-current-payment-note strong,.ad-current-payment-note span { display:block; }.ad-current-payment-note strong { color:#b8d2ff; font-size:8px; }.ad-current-payment-note span { margin-top:4px; color:#8492a5; font-size:8px; }
.ad-publish-switch { padding:12px 14px; border:1px solid #2a3544; border-radius:13px; background:#101922; }
.ad-publish-switch span b,.ad-publish-switch span small { display:block; }.ad-publish-switch span b { font-size:9px; }.ad-publish-switch span small { margin-top:3px; color:#708095; font-size:7.5px; }
.ad-editor-save-bar { position:sticky; left:0; right:0; bottom:-22px; z-index:4; margin:2px -22px -22px; padding:12px 22px calc(12px + env(safe-area-inset-bottom)); border-top:1px solid #2a3544; background:rgba(21,29,40,.96); backdrop-filter:blur(16px); }
.app-modal.wide .app-modal-card:has(.ad-editor-v314) { width:min(820px,100%); padding-bottom:0; }

.otp-shield { width:46px; height:46px; display:grid; place-items:center; margin-bottom:18px; border:1px solid rgba(246,199,68,.22); border-radius:14px; color:var(--yellow); background:rgba(246,199,68,.07); font-size:20px; }
.otp-form input[name="otp_code"] { height:58px; text-align:center; font-size:25px; font-weight:900; letter-spacing:.28em; font-variant-numeric:tabular-nums; }
.otp-actions { display:flex; justify-content:space-between; gap:10px; margin-top:14px; }
.otp-actions form { margin:0; }.otp-actions button { border:0; color:#8492a5; background:transparent; font-size:8px; font-weight:800; cursor:pointer; }
.otp-actions button:hover { color:var(--yellow); }

.security-screen { max-width:980px; margin:0 auto; padding-bottom:40px; }
.security-hero-card { display:flex; align-items:center; gap:15px; padding:18px; margin-bottom:14px; border:1px solid rgba(246,199,68,.16); border-radius:18px; background:radial-gradient(circle at 100% 0,rgba(246,199,68,.1),transparent 40%),#111a25; }
.security-shield { width:54px; height:54px; flex:0 0 54px; display:grid; place-items:center; border-radius:16px; color:#17130a; background:var(--yellow); font-size:22px; }
.security-hero-card h2 { margin:0; }.security-hero-card p:not(.eyebrow) { margin:5px 0 0; color:#7e8b9d; font-size:9px; line-height:1.55; }
.security-settings-form { display:grid; gap:12px; }
.security-settings-card { padding:17px; border:1px solid #283443; border-radius:16px; background:#101923; }
.security-settings-card > header { display:flex; gap:10px; margin-bottom:14px; }
.security-settings-card > header > span { width:27px; height:27px; flex:0 0 27px; display:grid; place-items:center; border-radius:9px; color:#17130a; background:var(--yellow); font-size:9px; font-weight:950; }
.security-settings-card > header strong,.security-settings-card > header small { display:block; }.security-settings-card > header strong { font-size:11px; }.security-settings-card > header small { margin-top:4px; color:#718095; font-size:8px; line-height:1.45; }
.security-settings-card label { display:grid; gap:6px; color:#c8d0db; font-size:9px; font-weight:800; }
.security-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.security-span-two { grid-column:1/-1; }
.security-toggle { min-height:60px; padding:10px 12px; grid-template-columns:20px minmax(0,1fr)!important; align-items:center; border:1px solid #2d3948; border-radius:12px; background:#0d161f; }
.security-toggle input { width:18px; min-height:18px; accent-color:var(--yellow); }.security-toggle span b,.security-toggle span small { display:block; }.security-toggle span b { font-size:9px; }.security-toggle span small { margin-top:4px; color:#718095; font-size:7.5px; }
.security-save-bar { position:sticky; bottom:12px; z-index:4; display:flex; justify-content:flex-end; gap:8px; padding:11px; border:1px solid #2b3746; border-radius:14px; background:rgba(13,21,31,.93); backdrop-filter:blur(16px); box-shadow:0 14px 40px rgba(0,0,0,.25); }
.chat-media { overflow:hidden; border-radius:12px; border:1px solid #334152; background:#0b1119; text-decoration:none; }
.message-bubble .chat-media img { display:block; width:100%; max-width:min(100%,390px); max-height:420px; object-fit:contain; border-radius:11px 11px 0 0; }
.chat-image-open { display:block!important; margin:0!important; padding:7px 9px; color:#8fa0b5!important; background:#111a24; font-size:7px!important; text-align:center; }

@media (max-width:760px) {
  .market-filters-v314 { grid-template-columns:110px 130px 130px 42px; }
  .bd-payment-filter { align-items:flex-start; flex-direction:column; margin:0 -22px; padding:14px 22px 16px; }
  .bd-payment-chips { width:100%; flex-wrap:nowrap; overflow-x:auto; padding-bottom:2px; scrollbar-width:none; }.bd-payment-chips::-webkit-scrollbar { display:none; }.bd-payment-chips button { flex:0 0 auto; }
  .market-ad-card-v314 { margin:10px -8px; padding:16px; border-radius:16px; }
  .market-ad-main { grid-template-columns:1fr; gap:14px; }.market-action-block { justify-items:stretch; }.market-method-list { justify-content:flex-start; }.market-ad-card-v314 .trade-action { width:100%; min-width:0; }.market-rate-block > strong { font-size:25px; }
  .ad-edit-grid.two,.ad-edit-grid.three,.security-form-grid { grid-template-columns:1fr; }.security-span-two { grid-column:auto; }
  .app-modal.wide .app-modal-card:has(.ad-editor-v314) { max-height:96vh; border-radius:22px 22px 0 0; }
  .ad-edit-section { padding:14px; }.ad-editor-save-bar { bottom:-22px; }
  .security-screen { padding-left:14px; padding-right:14px; }.security-hero-card { align-items:flex-start; }.security-save-bar { bottom:calc(74px + env(safe-area-inset-bottom)); }.security-save-bar .button { flex:1; padding-left:8px; padding-right:8px; }
}
@media (max-width:420px) {
  .market-seller-copy small span:nth-of-type(n+3) { display:none; }
  .market-rate-block > strong { font-size:23px; }.market-ad-meta { display:grid; gap:6px; }
  .security-hero-card { padding:14px; }.security-shield { width:44px; height:44px; flex-basis:44px; font-size:18px; }
  .otp-actions { flex-direction:column; align-items:flex-start; }
}

/* v3.15: ad-update hardening, live order/chat sounds, unread badges, trusted-browser PIN */
.trusted-pin-shield { background:rgba(45,212,160,.09); border-color:rgba(45,212,160,.22); color:#52dbad; }
.trusted-pin-form input[name="trusted_pin"] { height:60px; text-align:center; font-size:25px; font-weight:900; letter-spacing:.30em; font-variant-numeric:tabular-nums; }
.otp-actions.single { justify-content:center; }
.otp-actions a { color:#8b98aa; font-size:8px; font-weight:850; text-decoration:none; }
.otp-actions a:hover { color:var(--yellow); }
.security-inline-note { margin:12px 0; padding:10px 12px; border:1px solid rgba(90,156,255,.14); border-radius:10px; color:#8492a5; background:rgba(90,156,255,.05); font-size:8px; line-height:1.55; }
.danger-outline { border-color:rgba(255,96,109,.34)!important; color:#ff8c96!important; background:rgba(255,96,109,.04)!important; }
.ad-editor-v314 select:disabled,.ad-editor-v314 input:disabled { opacity:.62; cursor:not-allowed; background:#0b131c; color:#7c899a; }
.ad-editor-v314 label:has(select:disabled)::after,.ad-editor-v314 label:has(input:disabled)::after { content:'Locked for existing ad'; width:max-content; margin-top:-3px; color:#687689; font-size:7px; font-weight:650; }
.chat-nav-badge { background:#4f8cff!important; color:#fff!important; }
@media (max-width:420px) {
  .trusted-pin-form input[name="trusted_pin"] { font-size:23px; }
}


/* v3.16: BUY amount copy, adaptive ad detail updates, desktop notification fallback, 10-second order alarm */
.payment-transfer-card dd.pay-total > span { min-width:0; overflow-wrap:anywhere; }
.payment-transfer-card dd.pay-total > button { margin-left:4px; }
@media (max-width: 720px) { .payment-transfer-card dd.pay-total { display:flex; flex-direction:row; align-items:center; justify-content:flex-start; } }

/* v3.18: fast Binance diagnostics + Home active-account switcher */
.home-header-actions .home-account-switcher { min-width: 150px; max-width: 230px; }
.home-header-actions .home-account-switcher select { width: 100%; }
.fast-network-panel { max-width: 980px; }
.network-test-intro { color: var(--muted, #98a2b3); line-height: 1.65; max-width: 820px; }
.network-test-form { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 16px; align-items: end; margin-top: 22px; }
.network-test-form label { display: grid; gap: 8px; color: #d8dee9; font-weight: 700; }
.network-test-form select { min-height: 48px; border-radius: 14px; border: 1px solid #273244; background: #0d1420; color: #f7f9fc; padding: 0 14px; }
.network-test-note { margin-top: 20px; padding: 16px 18px; border: 1px solid #253246; background: #101824; border-radius: 16px; display: grid; gap: 6px; }
.network-test-note strong { color: #f5c84b; }
.network-test-note span { color: #aab4c3; line-height: 1.55; }
.diagnostic-result-panel { margin-top: 18px; }
.diagnostic-verdict { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; border-radius: 20px; padding: 20px; border: 1px solid #2a3648; background: #101824; }
.diagnostic-verdict small, .diagnostic-grid small, .parallel-diagnostic small { display: block; color: #8e9bad; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.diagnostic-verdict strong { display: block; margin: 5px 0; font-size: 21px; }
.diagnostic-verdict p { margin: 0; color: #aab4c3; max-width: 720px; line-height: 1.55; }
.diagnostic-verdict > span { white-space: nowrap; color: #f5c84b; font-weight: 800; }
.diagnostic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.diagnostic-grid article { border: 1px solid #263247; border-radius: 18px; padding: 16px; display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; background: #0e1622; }
.diagnostic-grid article > span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #192337; color: #f5c84b; font-weight: 900; }
.diagnostic-grid article strong { display: block; margin: 3px 0; }
.diagnostic-grid article p { margin: 0; color: #8f9bad; font-size: 12px; overflow-wrap: anywhere; }
.diagnostic-grid article > b { font-size: 12px; color: #c6cfda; white-space: nowrap; }
.diag-pass strong { color: #31d49b; }
.diag-fail strong { color: #ff7182; }
.diag-warn strong { color: #f5c84b; }
.parallel-diagnostic { margin-top: 16px; padding: 17px 18px; border: 1px solid #273348; border-radius: 18px; background: #0d1520; }
.parallel-diagnostic > div:first-child { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.parallel-request-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.parallel-request-list span { padding: 8px 10px; border-radius: 11px; background: #172131; color: #aeb8c7; font-size: 12px; }
.parallel-request-list b { color: #edf2f8; }
@media (max-width: 760px) {
  .home-app-header { align-items: flex-start; }
  .home-header-actions { flex-wrap: wrap; justify-content: flex-end; }
  .home-header-actions .home-account-switcher { order: 3; flex-basis: 100%; max-width: 210px; min-width: 170px; }
  .network-test-form { grid-template-columns: 1fr; }
  .diagnostic-grid { grid-template-columns: 1fr; }
  .diagnostic-verdict { flex-direction: column; }
}

/* v3.19 deep C2C network diagnostics */
.network-test-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end}.route-mode-card{margin-top:14px;padding:14px 16px;border:1px solid #2a3548;border-radius:16px;background:#0d1520;display:grid;gap:4px}.route-mode-card span,.route-mode-card small{color:#8e9bad}.route-mode-card strong{color:#f4f7fb}.route-mode-card.ipv4-on{border-color:#536d2c}.diagnostic-grid article em{display:block;margin-top:6px;color:#718099;font-style:normal;font-size:11px}.diag-neutral{border-color:#2a3548!important}.deep-test-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.deep-test-summary span{padding:14px;border:1px solid #273348;border-radius:14px;background:#0d1520}.deep-test-summary small{display:block;color:#8e9bad;text-transform:uppercase;letter-spacing:.07em;font-size:10px}.deep-test-summary strong{display:block;margin-top:6px;color:#f3f6fa}.deep-rounds{display:grid;gap:14px;margin-top:16px}.deep-round{border:1px solid #273348;border-radius:16px;background:#0d1520;overflow:hidden}.deep-round>header{display:flex;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid #243044}.deep-round>header span{color:#8e9bad;font-size:12px}.deep-round-table{display:grid}.deep-row{display:grid;grid-template-columns:1.1fr .7fr .8fr repeat(5,1fr);gap:8px;padding:11px 15px;border-bottom:1px solid rgba(39,51,72,.55);font-size:12px;align-items:center}.deep-row:last-child{border-bottom:0}.deep-row span{color:#9aa6b8}.deep-row b{color:#eef3f9}.ok-text{color:#31d19c!important}.bad-text{color:#ff6677!important}.deep-error{margin:0;padding:0 15px 12px;color:#ff8290;font-size:12px}.alert.success{border-color:#245c4d;background:#0d201c;color:#70ddb8}
@media(max-width:900px){.deep-test-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.deep-row{grid-template-columns:1fr 1fr 1fr 1fr}.deep-row span:nth-of-type(n+4){font-size:11px}}
@media(max-width:640px){.network-test-actions{width:100%}.network-test-actions .button{flex:1}.deep-test-summary{grid-template-columns:1fr 1fr}.deep-row{grid-template-columns:1fr 1fr}.deep-row b{grid-column:1/-1}.diagnostic-grid{grid-template-columns:1fr!important}}

/* v3.20 — Binance-style Edit Details and inventory clarity */
.binance-ad-editor-card { width:min(820px,calc(100vw - 36px))!important; max-height:min(92vh,980px)!important; padding:0!important; overflow-y:auto!important; overflow-x:hidden!important; overscroll-behavior:contain; scrollbar-gutter:stable; background:#1c2531!important; border-color:#2a3442!important; }
.binance-editor-head { min-height:58px; display:grid; grid-template-columns:42px 1fr 42px; align-items:center; padding:0 12px; border-bottom:1px solid #2b3543; background:#1b2430; position:sticky; top:0; z-index:8; }
.binance-editor-head h2 { margin:0; text-align:center; font-size:15px; }
.binance-editor-back { width:36px; height:36px; border:0; border-radius:10px; color:#dce3ec; background:transparent; font-size:20px; }
.ad-editor-v320 { gap:0; margin:0; padding:0 16px 82px; background:#1b2430; }
.binance-ad-overview { padding:15px 0 14px; border-bottom:1px solid #2b3543; }
.binance-ad-overview-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.binance-ad-overview-top strong { color:#3bd3a0; font-size:12px; }.binance-ad-overview > small { display:block; margin-top:12px; color:#788596; font-size:8px; }
.binance-ad-number-row { display:flex; align-items:center; gap:7px; margin-top:4px; }.binance-ad-number-row b { font-size:10px; font-weight:650; color:#dce2eb; }.mini-copy { min-height:25px; padding:0 8px; border:1px solid #334052; border-radius:7px; color:#93a0b1; background:#222d3b; font-size:7px; font-weight:800; }
.binance-new-ad-fields { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:14px; }.binance-new-ad-fields label { display:grid; gap:5px; color:#8c98a8; font-size:8px; }
.binance-editor-section { padding:15px 0; border-bottom:1px solid #2b3543; }.binance-field-title { display:block!important; margin:0 0 8px; color:#9ba6b5!important; font-size:9px!important; font-weight:650!important; }.field-help { color:#647184; font-weight:500; }
.binance-price-stepper { display:grid; grid-template-columns:42px 1fr 42px; border:1px solid #303c4c; border-radius:9px; overflow:hidden; background:#242f3d; }.binance-price-stepper input { height:45px; min-height:45px; text-align:center; border:0; border-radius:0; background:transparent; font-size:12px; font-weight:800; }.binance-price-stepper button { border:0; color:#8290a2; background:transparent; font-size:18px; }.binance-price-stepper button:first-child { border-right:1px solid #303c4c; }.binance-price-stepper button:last-child { border-left:1px solid #303c4c; }
.binance-inline-stats { display:flex; justify-content:space-between; gap:12px; margin-top:10px; color:#758294; font-size:8px; }.binance-inline-stats b { margin-left:5px; color:#edf2f7; font-size:10px; }
.binance-suffix-input { position:relative; }.binance-suffix-input input { padding-right:64px; background:#242f3d; border-color:#303c4c; }.binance-suffix-input b { position:absolute; right:13px; top:50%; transform:translateY(-50%); font-size:9px; color:#dce3eb; }
.binance-conversion { display:block; margin-top:6px; color:#687689; font-size:8px; }
.ad-target-source { margin-top:9px; padding:9px 11px; border:1px solid rgba(65,198,159,.16); border-radius:9px; color:#86a99f; background:rgba(65,198,159,.045); font-size:7.5px; line-height:1.55; }.ad-target-source.warning { border-color:rgba(246,199,68,.24); color:#c9b677; background:rgba(246,199,68,.055); }
.ad-quantity-explainer { display:grid; grid-template-columns:1fr auto; gap:5px 12px; margin-top:10px; padding:10px 12px; border:1px solid rgba(246,199,68,.13); border-radius:9px; background:rgba(246,199,68,.04); }.ad-quantity-explainer span { color:#7f8b9c; font-size:8px; }.ad-quantity-explainer strong { color:#f0f4f8; font-size:9px; }.ad-quantity-explainer small { grid-column:1/-1; color:#748193; font-size:7.5px; line-height:1.5; }.ad-quantity-explainer code { color:#d9ba61; }
.binance-limit-row { display:grid; grid-template-columns:1fr 18px 1fr; align-items:center; gap:4px; }.binance-limit-row > span { text-align:center; color:#657284; }.binance-limit-row > div { position:relative; }.binance-limit-row input { padding-right:52px; background:#242f3d; border-color:#303c4c; }.binance-limit-row b { position:absolute; right:10px; top:50%; transform:translateY(-50%); color:#d8dfe8; font-size:8px; }
.binance-editor-section select,.binance-editor-section textarea { background:#242f3d; border-color:#303c4c; }.binance-editor-section textarea { min-height:96px; }
.binance-section-label-row { display:flex; align-items:end; justify-content:space-between; gap:12px; }.binance-section-label-row > span { color:#677486; font-size:7px; }.ad-current-payment-note { margin-top:9px; padding:9px 10px; border-radius:8px; background:#202a36; }.ad-current-payment-note strong,.ad-current-payment-note span { display:block; }.ad-current-payment-note strong { font-size:8px; }.ad-current-payment-note span { margin-top:4px; color:#8794a5; font-size:8px; }
.binance-muted-copy { display:block; margin:-2px 0 10px; color:#687587; font-size:7.5px; line-height:1.5; }.binance-check-row { display:flex!important; align-items:center; gap:9px!important; color:#dce3eb!important; }.binance-check-row input { width:18px; min-height:18px; accent-color:var(--yellow); }.binance-check-row span { font-size:9px; font-weight:600; }
.second-title { margin-top:14px!important; }.binance-condition-row { min-height:42px; display:grid!important; grid-template-columns:minmax(0,1fr) 92px 72px; align-items:center; gap:8px!important; border-top:1px solid #2a3441; color:#d8dfe7!important; }.binance-condition-row:first-of-type { border-top:0; }.binance-condition-row span,.binance-condition-row b { font-size:8px; font-weight:600; }.binance-condition-row input { min-height:34px; height:34px; padding:0 8px; background:#242f3d; border-color:#303c4c; text-align:center; }
.binance-estimated-fee { min-height:44px; display:flex; align-items:center; justify-content:space-between; color:#778496; font-size:8px; }.binance-estimated-fee strong { color:#e7edf4; font-size:9px; }.binance-save-bar { bottom:0!important; margin:8px -16px -82px!important; padding-left:16px!important; padding-right:16px!important; background:rgba(27,36,48,.98)!important; }.binance-save-bar .button { min-height:48px; border-radius:6px; font-size:11px; }
.ad-editor-v320 select:disabled,.ad-editor-v320 input:disabled { opacity:.60; cursor:not-allowed; }

@media (min-width:721px) {
  .binance-ad-editor-modal { align-items:center!important; padding:18px!important; }
  .binance-ad-editor-card::-webkit-scrollbar { width:10px; }
  .binance-ad-editor-card::-webkit-scrollbar-thumb { background:#3a4657; border:2px solid #1c2531; border-radius:999px; }
  .binance-ad-editor-card::-webkit-scrollbar-track { background:#1c2531; }
  .ad-editor-v320 { padding-left:26px; padding-right:26px; }
  .binance-save-bar { margin-left:-26px!important; margin-right:-26px!important; padding-left:26px!important; padding-right:26px!important; }
}

@media (max-width:720px) {
  .binance-ad-editor-modal { padding:0!important; align-items:stretch!important; }
  .binance-ad-editor-card { width:100%!important; height:100dvh!important; max-height:100dvh!important; border:0!important; border-radius:0!important; overflow-y:auto!important; }
  .binance-editor-head { min-height:54px; }
  .ad-editor-v320 { padding:0 14px 92px; }
  .binance-new-ad-fields { grid-template-columns:1fr; }
  .binance-inline-stats { display:grid; grid-template-columns:1fr 1fr; }
  .binance-limit-row { grid-template-columns:1fr 14px 1fr; }
  .binance-condition-row { grid-template-columns:minmax(0,1fr) 75px 65px; }
  .binance-save-bar { margin-left:-14px!important; margin-right:-14px!important; padding-left:14px!important; padding-right:14px!important; }
}

/* v3.22 — Target Quantity manual/diagnostic mode */
.ad-target-source strong{display:block;color:#efd071;font-size:8px;margin-bottom:4px}.ad-target-source span{display:block}.ad-target-source code{display:block;margin-top:7px;padding:7px 8px;border-radius:7px;background:rgba(0,0,0,.16);color:#d8c98f;font-size:7px;line-height:1.55;white-space:normal;overflow-wrap:anywhere}.binance-suffix-input input::placeholder{color:#697789;opacity:1}

/* v3.28 — Binance-like Order History hierarchy */
[data-p2p-screen="orders"] { max-width: 860px; margin-inline: auto; }
[data-p2p-screen="orders"] .native-order-list { border-radius: 0; background: transparent; }
[data-p2p-screen="orders"] .binance-order-card { margin: 0; padding: 27px 4px 25px; border-top: 1px solid rgba(148,163,184,.13); border-radius: 0; background: transparent; box-shadow: none; transform: none; }
[data-p2p-screen="orders"] .binance-order-card:hover { background: rgba(255,255,255,.012); transform: none; }
[data-p2p-screen="orders"] .binance-order-card header { align-items: flex-start; min-height: 52px; }
[data-p2p-screen="orders"] .binance-order-card header > strong { padding-top: 3px; font-size: 21px; line-height: 1.2; font-weight: 750; letter-spacing: -.25px; }
[data-p2p-screen="orders"] .binance-order-card header > strong.buy { color: #2fca93; }
[data-p2p-screen="orders"] .binance-order-card header > strong.sell { color: #f66f7d; }
.native-order-state { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
[data-p2p-screen="orders"] .native-status { min-height: 34px; padding: 0 12px; border-radius: 7px; font-size: 13px; font-weight: 650; letter-spacing: 0; }
[data-p2p-screen="orders"] .native-status.pending { color: #f2c94c; background: rgba(185,139,22,.20); }
[data-p2p-screen="orders"] .native-status.buyer_payed { color: #e1e6ed; background: #303946; }
[data-p2p-screen="orders"] .native-status.in_appeal { color: #ff8a91; background: rgba(207,68,80,.16); }
[data-p2p-screen="orders"] .native-status.completed { color: #52d6a5; background: rgba(47,202,147,.12); }
[data-p2p-screen="orders"] .native-status.cancelled,
[data-p2p-screen="orders"] .native-status.cancelled_by_system { color: #929cab; background: #2a323e; opacity: 1; }
.order-card-countdown { position: relative; display: inline-flex; align-items: center; gap: 5px; color: #8c96a6; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.order-card-countdown::before { content: "◷"; font-size: 18px; line-height: 1; color: #8c96a6; }
.order-card-countdown.expired { color: #727d8d; }
[data-p2p-screen="orders"] .binance-order-card dl { gap: 10px; margin: 20px 0 18px; }
[data-p2p-screen="orders"] .binance-order-card dl div { min-height: 27px; }
[data-p2p-screen="orders"] .binance-order-card dt { color: #8a94a3; font-size: 15px; font-weight: 450; }
[data-p2p-screen="orders"] .binance-order-card dd { max-width: 72%; color: #f0f3f7; font-size: 18px; line-height: 1.25; font-weight: 520; text-align: right; font-variant-numeric: tabular-nums; }
[data-p2p-screen="orders"] .binance-order-card dd b { font-weight: 560; }
[data-p2p-screen="orders"] .binance-order-card dd button { padding: 2px 0 2px 6px; color: #7d8796; font-size: 17px; }
[data-p2p-screen="orders"] .binance-order-card footer { align-items: center; gap: 14px; }
[data-p2p-screen="orders"] .binance-order-card footer .order-user-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 6px; color: #eef2f7; background: #2d3542; font-size: 14px; font-weight: 520; }
[data-p2p-screen="orders"] .binance-order-card footer .order-user-chip i { color: #9da7b6; }
.order-unread-dot { position: absolute; top: -8px; right: -9px; min-width: 21px; height: 21px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; border-radius: 20px; color: #fff; background: #ef4054; font-size: 11px; font-weight: 800; }
[data-p2p-screen="orders"] .binance-order-card footer time { margin-left: auto; color: #818b9a; font-size: 13px; font-weight: 450; font-variant-numeric: tabular-nums; }
[data-p2p-screen="orders"] .order-verification-badge { margin-top: -4px; }

/* v3.28 — Audit log console */
.audit-screen { max-width: 1180px; margin-inline: auto; }
.audit-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.audit-hero h2 { margin: 2px 0 7px; font-size: 26px; }
.audit-hero p:not(.eyebrow) { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.55; }
.audit-actions { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.audit-filter { display: grid; grid-template-columns: minmax(220px,1fr) 100px auto auto; gap: 9px; margin: 16px 0; }
.audit-filter input,.audit-filter select { min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: var(--surface-2); }
.audit-summary { display: flex; align-items: baseline; gap: 8px; margin: 12px 2px; color: var(--muted); }
.audit-summary strong { color: var(--yellow); font-size: 20px; }.audit-summary small { margin-left: auto; }
.audit-log-list { display: grid; gap: 12px; }
.audit-log-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #101721; }
.audit-log-card header,.audit-log-card footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; }
.audit-log-card header { border-bottom: 1px solid var(--line); }.audit-log-card header strong { display: block; font-size: 14px; }.audit-log-card header small,.audit-log-card time,.audit-log-card footer { color: var(--muted); font-size: 11px; }
.audit-log-card pre { max-height: 340px; margin: 0; padding: 14px 15px; overflow: auto; color: #d9e0e9; background: #0a1018; font: 12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.audit-log-card footer { border-top: 1px solid var(--line); }.audit-log-card footer button { border: 0; color: var(--yellow); background: transparent; font-weight: 700; }

@media (max-width: 700px) {
  [data-p2p-screen="orders"] .order-subtabs { padding-top: 15px; gap: 3px; }
  [data-p2p-screen="orders"] .order-subtabs button { min-height: 38px; padding: 0 12px; font-size: 13px; font-weight: 650; white-space: nowrap; }
  [data-p2p-screen="orders"] .order-subtabs [data-filter-count] { font-size: 10px; }
  [data-p2p-screen="orders"] .binance-order-card { padding: 24px 5px 23px; }
  [data-p2p-screen="orders"] .binance-order-card header > strong { font-size: 20px; }
  [data-p2p-screen="orders"] .native-status { min-height: 32px; font-size: 12px; }
  [data-p2p-screen="orders"] .binance-order-card dt { font-size: 14px; }
  [data-p2p-screen="orders"] .binance-order-card dd { max-width: 74%; font-size: 17px; }
  [data-p2p-screen="orders"] .binance-order-card footer .order-user-chip { font-size: 13px; }
  [data-p2p-screen="orders"] .binance-order-card footer time { font-size: 12px; }
  .audit-hero { flex-direction: column; padding: 16px; }.audit-actions { width: 100%; justify-content: stretch; }.audit-actions .button { flex: 1; }
  .audit-filter { grid-template-columns: 1fr 90px; }.audit-filter .button { width: 100%; }.audit-summary small { display: none; }
}

/* v3.28 — explicit Edit Details mode indicator */
.ad-editor-mode-badge{align-self:center;justify-self:end;padding:5px 8px;border:1px solid rgba(250,204,21,.28);border-radius:999px;color:#f3cb4f;background:rgba(250,204,21,.08);font-size:8px;font-weight:900;letter-spacing:.08em;white-space:nowrap}.ad-editor-mode-badge.post{color:#8d98a8;border-color:rgba(148,163,184,.2);background:rgba(148,163,184,.07)}

/* v3.29 — anti-stale build marker */
.client-build-badge{display:inline-flex;align-items:center;padding:2px 7px;border:1px solid rgba(252,213,83,.28);border-radius:999px;color:#fcd553;background:rgba(252,213,83,.08);font-size:10px;font-weight:800;letter-spacing:.04em}

/* v3.30 clean My Ads editor */
.my-ad-card footer .quantity-button{border-color:rgba(246,199,68,.34);color:#f2d469;background:rgba(246,199,68,.055)}
.quantity-live-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:14px 0}
.quantity-live-grid>div{padding:12px;border:1px solid var(--line);border-radius:11px;background:#121a25;min-width:0}
.quantity-live-grid span,.quantity-live-grid strong{display:block}.quantity-live-grid span{color:#7f8a9a;font-size:8px}.quantity-live-grid strong{margin-top:6px;font-size:10px;overflow-wrap:anywhere}
.ad-quantity-card{width:min(620px,calc(100vw - 28px))!important}
.quantity-calculation{margin:12px 0;padding:12px 14px;border:1px solid rgba(65,198,159,.24);border-radius:11px;background:rgba(65,198,159,.055);color:#9bbeb4}
.quantity-calculation span,.quantity-calculation strong,.quantity-calculation small,.quantity-calculation code{display:block}.quantity-calculation strong{margin:4px 0;color:#e8edf4;font-size:15px}.quantity-calculation small{font-size:8px;line-height:1.55}.quantity-calculation code{margin-top:8px;padding:8px;border-radius:8px;background:rgba(0,0,0,.18);white-space:normal;overflow-wrap:anywhere;font-size:7px;line-height:1.5}
.quantity-auth-grid{margin-top:12px}.ad-editor-mode-badge:not(.post){color:#73e2bf;border-color:rgba(65,198,159,.3);background:rgba(65,198,159,.08)}
@media(max-width:680px){.my-ad-card footer{display:grid;grid-template-columns:1fr 1fr;gap:9px}.my-ad-card footer .button{width:100%;min-width:0;min-height:48px;flex:none}.quantity-live-grid{grid-template-columns:1fr}.ad-quantity-card{width:100%!important;max-width:none!important}.quantity-auth-grid{grid-template-columns:1fr!important}}
