/* Layout accommodates complete translated phrases without shrinking the three balances. */
.closed-order-compact{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 6px;white-space:normal}
.closed-order-compact>strong{grid-column:1;grid-row:1;min-width:0;overflow-wrap:anywhere}
.closed-order-compact>b{grid-column:2;grid-row:1;white-space:nowrap;direction:ltr;unicode-bidi:isolate}
.closed-order-compact>button{grid-column:1/-1;grid-row:2;white-space:normal;text-align:start;justify-self:start;line-height:1.4}
.page-head{min-width:0;flex-wrap:wrap}.page-head>div{min-width:0;max-width:100%}.page-head h1{overflow-wrap:anywhere}
.order-panel .order-heading{grid-template-columns:minmax(0,1fr) auto auto;gap:8px}
.order-heading-clock{min-width:54px;flex-shrink:0;white-space:normal;text-align:center}
.order-heading-clock small{white-space:normal;line-height:1.3}
.order-heading-clock strong{direction:ltr;unicode-bidi:isolate;white-space:nowrap}
.trade-asset-metrics strong,.limit-value-line>b{direction:ltr;unicode-bidi:isolate;max-width:100%}
.chart-pair{flex-shrink:0;min-width:125px}.chart-last{min-width:0}.chart-last small{white-space:normal}
html[dir=rtl] .trade-asset-metrics>div{align-items:flex-start}
@media(max-width:760px){
 .chart-heading{gap:8px}.chart-pair{min-width:121px}.chart-last{flex:1}.chart-last strong{font-size:clamp(20px,6vw,28px)}
 .chart-last small{font-size:9px;line-height:1.4}.chart-last small b{display:inline-block;direction:ltr;unicode-bidi:isolate}
 .order-panel .order-heading{gap:5px;grid-template-columns:minmax(0,1fr) auto auto}
 .order-panel .order-heading h2{font-size:12px;line-height:1.35;min-width:0}
 .order-panel .order-heading>.pill{max-width:85px;white-space:normal;text-align:center;line-height:1.3}
 .order-heading-clock{min-width:50px}.order-heading-clock small{font-size:8px}.order-heading-clock strong{font-size:19px}
 .classic-invite-view .page-head{display:flex;flex-direction:column;align-items:stretch}.classic-invite-view .page-head h1{font-size:26px;line-height:1.25;white-space:normal}
}
