/* Shared working-account presentation for the existing page contracts. */
.m-workspace .m-page{max-width:1440px;margin-inline:auto;width:100%}
.m-workspace .m-team b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.m-workspace .m-profile>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}
.m-workspace .m-page .card,.m-workspace .order-card,.m-workspace .sell-form-card,.m-workspace .active-orders-panel,.m-workspace .wallet-deposit-card,.m-workspace .setting-card{border-radius:16px;border-color:var(--m-line);box-shadow:none;background:var(--m-surface)}
.m-workspace .m-page .card-header,.m-workspace .sell-form-header,.m-workspace .aop-header{background:var(--m-surface);border-color:var(--m-line);padding:18px 22px}
.m-workspace .m-page .card-body,.m-workspace .sell-form-body,.m-workspace .aop-body{padding:22px}
.m-workspace .m-page h2,.m-workspace .m-page h3{font-family:var(--m-font);font-weight:600}
.m-workspace .m-page input,.m-workspace .m-page textarea,.m-workspace .m-page select{border-radius:10px;min-height:44px;font-family:var(--m-font)}
.m-workspace .m-page input:focus-visible,.m-workspace .m-page textarea:focus-visible,.m-workspace .m-page select:focus-visible{outline:2px solid var(--m-primary);outline-offset:2px}
.m-workspace .m-page .btn,.m-workspace .btn-submit{min-height:42px;font-size:13px;font-weight:600;border-radius:10px;letter-spacing:normal;text-transform:none}
.m-workspace button:disabled{cursor:not-allowed;opacity:.55}
.m-workspace .m-page .field label{letter-spacing:normal;text-transform:none;font-size:13px;font-weight:500}
.m-workspace .m-page .order-amount-big{font-size:22px;font-weight:600}
.m-workspace .m-page .empty-state,.m-workspace .empty-p2p{padding:32px 20px}
.m-workspace .settings-grid{margin-top:20px}
.m-workspace .commission-info{margin-top:20px}
.m-workspace .balance-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.m-workspace .kpi-value{display:flex;align-items:baseline;gap:8px}
.m-workspace .wallet-address{overflow-wrap:anywhere}
.m-workspace .m-support-card{max-width:920px}
.m-workspace #chatMessages{min-height:280px;height:clamp(280px,45vh,500px)!important}
.m-workspace #chatMessages .support-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}
.m-workspace .support-compose{display:flex;gap:10px;align-items:flex-end}
.m-workspace .support-compose textarea{resize:vertical;min-height:48px;max-height:160px;flex:1;padding:12px}
.m-workspace .support-compose button{flex:none}
.m-workspace .support-hint{font-size:12px;color:var(--m-muted);margin:10px 0 0}
.m-workspace .wallet-unavailable{padding:15px;border:1px solid var(--m-line);border-radius:10px;background:var(--m-surface-raised);line-height:1.65;font-size:13px}
.m-workspace .wallet-unavailable a{color:var(--m-primary);display:inline-block;margin-top:6px}
@media(max-width:1000px){.m-workspace .sell-layout{grid-template-columns:1fr}}
@media(max-width:767px){.m-workspace .m-page .card-body,.m-workspace .sell-form-body,.m-workspace .aop-body{padding:16px}.m-workspace .m-profile>span:last-child{max-width:120px}.m-workspace .support-compose{flex-wrap:wrap}.m-workspace .support-compose textarea{flex-basis:100%}.m-workspace .support-compose button{width:100%}.m-workspace .m-page-heading .m-badge{white-space:normal;line-height:1.6}}

.m-workspace [hidden]{display:none!important}

.m-workspace .m-sidebar nav a{gap:12px!important}.m-workspace .m-sidebar nav .m-icon{flex:0 0 20px;margin:0}
.m-workspace .support-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}
.m-workspace .m-page .btn-outline{border:1px solid var(--m-line);background:var(--m-surface);color:var(--m-ink)}
.m-workspace #supportStatus{font-size:13px;color:var(--m-muted);line-height:1.75}
.m-workspace #supportLinkError:empty{display:none}
