/* V14: compact one-row desktop toolbar, wider modal and 3-column calculations. */
body.bha-exchange-app dialog.v5-demo-dialog{width:min(985px,calc(100vw - 28px))!important;max-width:985px!important}
body.bha-exchange-app dialog.v5-demo-dialog .v14-amounts-row{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0}
body.bha-exchange-app dialog.v5-demo-dialog .v14-amounts-row .v5-calculated{min-width:0;min-height:67px!important;padding:9px 12px!important;gap:4px!important}
body.bha-exchange-app dialog.v5-demo-dialog .v14-amounts-row .v5-calculated small{font-size:10px!important;letter-spacing:.025em}
body.bha-exchange-app dialog.v5-demo-dialog .v14-amounts-row .v5-calculated output{font-size:clamp(12px,1.05vw,15px)!important;line-height:1.35!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.bha-exchange-app #app.is-transactions form.report-filter#exchange-filter.compact-filter-bar{grid-template-columns:minmax(80px,1fr) minmax(80px,1fr) minmax(140px,1.2fr) minmax(140px,1.2fr) minmax(104px,.85fr) minmax(113px,.85fr) minmax(279px,2fr)!important;gap:8px!important;align-items:end!important;padding:9px 10px!important}
body.bha-exchange-app #app.is-transactions #exchange-filter.compact-filter-bar>label{min-width:0!important}
body.bha-exchange-app #app.is-transactions #exchange-filter.compact-filter-bar input,body.bha-exchange-app #app.is-transactions #exchange-filter.compact-filter-bar select{min-width:0;width:100%!important;box-sizing:border-box!important;font-size:12px!important;padding-inline:8px!important}
body.bha-exchange-app #app.is-transactions #exchange-filter.compact-filter-bar .exchange-filter-actions{min-width:0!important;display:flex!important;flex-direction:row!important;align-items:end!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:nowrap!important}
body.bha-exchange-app #app.is-transactions #exchange-filter.compact-filter-bar .exchange-filter-actions button{min-width:0!important;padding:8px 10px!important;font-size:12px!important;height:40px!important;white-space:nowrap!important;flex:0 0 auto!important}
body.bha-exchange-app #app .exchange-table tbody tr.v14-double-click-row{cursor:pointer!important}
body.bha-exchange-app #app .exchange-table tbody tr.v14-double-click-row:hover td{background:#eaf3ff!important}
@media(max-width:1380px){body.bha-exchange-app #app.is-transactions form.report-filter#exchange-filter.compact-filter-bar{grid-template-columns:repeat(4,minmax(130px,1fr))!important;gap:9px!important}body.bha-exchange-app #app.is-transactions .exchange-filter-actions{grid-column:span 2!important;justify-content:flex-end!important}}
@media(max-width:760px){body.bha-exchange-app dialog.v5-demo-dialog .v14-amounts-row{gap:6px!important}body.bha-exchange-app dialog.v5-demo-dialog .v14-amounts-row .v5-calculated{padding:7px!important;min-height:55px!important}body.bha-exchange-app dialog.v5-demo-dialog .v14-amounts-row .v5-calculated output{font-size:11px!important}body.bha-exchange-app #app.is-transactions form.report-filter#exchange-filter.compact-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.bha-exchange-app #app.is-transactions .exchange-filter-actions{grid-column:1/-1!important;justify-content:stretch!important}body.bha-exchange-app #app.is-transactions .exchange-filter-actions button{flex:1 1 auto!important}}
