/* v309: responsive website presentation; desktop styles untouched. */
.im-mobile-nav,.im-mobile-menu,.im-mobile-toggle,.im-mobile-heading,.im-mobile-history{display:none}
@media(max-width:700px){
 body.m118{background:#071222!important;color:#ecf3ff;padding-bottom:calc(84px + env(safe-area-inset-bottom))!important}
 body.m118 .appHeader{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;position:relative!important;margin:0!important;padding:14px!important;width:100%!important;height:66px!important;border-bottom:1px solid #20324d!important;background:#091629!important}
 body.m118 .appHeader>.brand{display:flex!important;align-items:center;gap:9px;min-width:0}.appHeader .brandMark{background:none!important;font:46px/1 Arial!important;color:#55a6ff!important;width:44px!important;min-width:44px!important}.appHeader .brand b{font-size:15px!important;letter-spacing:-.3px}.appHeader .brand small{display:none!important}
 body.m118 .appHeader>.m118-search,body.m118 .appHeader .premiumHeaderMeta,body.m118 .appHeader .headerActions{display:none!important}
 body.m118 .im-mobile-toggle{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #2a405e;border-radius:12px;background:#10223c;color:#c4d8ff;font-size:23px}
 body.m118 .dashboardTabs{display:none!important}
 body.m118 .dashboardShell{display:block!important;padding:14px!important;margin:0!important;width:100%!important;max-width:100%!important}
 body.m118 .dashboardWorkspace,body.m118 .dashboardPanel{width:100%!important;min-width:0!important;padding:0!important}
 body.m118 .im-mobile-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:1px 0 16px}.im-mobile-heading h1{font-size:25px;line-height:1.2;margin:0}.im-mobile-heading small{display:block;margin-top:5px;color:#91a7c9;font-size:12px}.im-mobile-heading time{font-size:11px;border:1px solid #2b405f;border-radius:10px;padding:9px;color:#bfcee5}
 body.m118 [data-dashboard-panel=home] .overviewHero{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;margin:0 0 20px!important;border:1px solid #2b4264;border-radius:17px;overflow:hidden;background:linear-gradient(130deg,#112540,#0b192d)}
 body.m118 [data-dashboard-panel=home] .overviewHero>div:not([hidden]){padding:14px!important;min-height:78px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
 body.m118 [data-dashboard-panel=home] .overviewHero>div:nth-child(2){grid-row:1;grid-column:1/-1;padding:20px 18px!important;border-bottom:1px solid #29405e!important}
 body.m118 [data-dashboard-panel=home] .overviewHero>div:nth-child(4){grid-column:2;border-left:1px solid #29405e!important}
 body.m118 [data-dashboard-panel=home] .overviewHero .md-hero-icon{display:none!important}
 body.m118 [data-dashboard-panel=home] .overviewHero span{font-size:12px!important;color:#afc3e0!important}
 body.m118 [data-dashboard-panel=home] .overviewHero strong{font-size:23px!important;margin-top:5px!important;line-height:1.3!important;overflow-wrap:anywhere}
 body.m118 [data-dashboard-panel=home] .overviewHero>div:nth-child(2) span{font-size:16px!important;color:#eef5ff!important}
 body.m118 [data-dashboard-panel=home] .overviewHero>div:nth-child(2) strong{font-size:36px!important;color:#5af0b1!important}
 body.m118 .panel,body.m118 [data-dashboard-panel=home] .reportCenter{padding:14px!important;background:#0b1a2f!important;border:1px solid #223956!important;border-radius:15px!important;min-width:0!important}
 body.m118 [data-dashboard-panel=home] .reportCenterTitle{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;margin-bottom:14px!important}
 body.m118 [data-dashboard-panel=home] .reportCenterTitle h2{font-size:20px!important}
 body.m118 [data-dashboard-panel=home] .reportTelegramBtn{width:100%!important;font-size:12px!important;min-height:42px;background:#102c50!important;border:1px solid #315785!important;padding:10px!important;border-radius:10px!important}
 body.m118 [data-dashboard-panel=home] .reportToolbar{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin-bottom:15px!important;align-items:stretch!important}
 body.m118 [data-dashboard-panel=home] .reportToolbar button{font-size:10px!important;height:auto!important;min-height:40px!important;padding:7px 4px!important;white-space:normal!important;min-width:0!important}
 body.m118 [data-dashboard-panel=home] .reportToolbar button.active{background:#2964d9!important;border-color:#5591f2!important}
 body.m118 #reportDateRange{grid-column:span 3;min-width:0}.m118 #reportDateRange>summary{padding:11px!important;font-size:12px!important;min-height:40px;white-space:normal}.m118 #reportDateRange .reportDateRangePopup{max-width:calc(100vw - 58px)!important;width:260px!important}
 body.m118 [data-dashboard-panel=home] .reportToolbar .reportExportBtn{background:#102640!important;color:#b8d6ff!important}
 body.m118 [data-dashboard-panel=home] .reportStats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:0!important}
 body.m118 [data-dashboard-panel=home] .reportStats article{display:flex!important;flex-direction:column!important;align-items:center;justify-content:center;gap:6px;min-width:0!important;min-height:118px!important;padding:13px 9px!important;border:1px solid #2a405e!important;border-radius:13px!important;background:#101e34!important;text-align:center!important;overflow:visible!important}
 body.m118 [data-dashboard-panel=home] .reportStats .md-stat-icon{position:static!important;width:32px!important;height:32px!important;flex-shrink:0}.reportStats .md-stat-icon .md-icon{width:18px;height:18px}
 body.m118 [data-dashboard-panel=home] .reportStats small{font-size:12px!important;white-space:normal!important;overflow-wrap:anywhere}
 body.m118 [data-dashboard-panel=home] .reportStats b{font-size:21px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere;max-width:100%!important}
 body.m118 [data-dashboard-panel=home] .reportStats article:last-child{grid-column:1/-1;min-height:88px!important}
 body.m118 [data-dashboard-panel=home] .reportBreakdown{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin-top:18px!important}
 body.m118 [data-dashboard-panel=home] .reportBreakdown>span{padding:12px!important;font-size:12px!important;max-width:100%;overflow-wrap:anywhere}
 /* Account cards, ledger, expenses and settings use their existing controls. */
 body.m118 .brHero{height:auto!important;padding:14px!important;gap:12px}.brHero h1{font-size:21px!important}.brHeroIcon{width:42px!important;height:42px!important;font-size:25px!important}.brHero blockquote{display:none!important}
 body.m118 .brBalances .accounts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 body.m118 .brBalances .accountCard{padding:55px 12px 12px!important;min-height:122px!important;min-width:0!important;border-radius:13px!important}
 body.m118 .brBalances .accountCard::after{top:12px!important;left:12px!important;width:32px!important;height:32px!important}.accountCard b{overflow-wrap:anywhere;font-size:19px!important}.accountCard small{font-size:11px!important}
 body.m118 .brBalanceGroup>header{gap:10px!important}.brBalanceGroup>header h2{font-size:18px!important}.brBalanceGroup>header .toolbar{width:100%;display:flex;flex-wrap:wrap}.brInsights>div{grid-template-columns:1fr 1fr!important}.brMiddle,.brBottom{grid-template-columns:1fr!important}
 body.m118 #dcMount .dc2Stats{grid-template-columns:1fr 1fr!important;gap:8px!important}.m118 #dcMount .dc2Stat{height:auto!important;min-height:90px!important;padding:12px!important;gap:7px!important;flex-wrap:wrap}.m118 #dcMount .dc2Stat i{width:30px!important;height:30px!important;font-size:19px!important}.m118 #dcMount .dc2Stat small{font-size:11px!important}.m118 #dcMount .dc2Stat b{font-size:22px!important;overflow-wrap:anywhere}
 body.m118 #dcMount .dc2Toolbar{gap:8px!important;display:flex;flex-wrap:wrap}.m118 #dcMount .dc2Toolbar button,.m118 #dcMount .dc2Toolbar select{font-size:12px!important;min-height:42px!important;height:auto!important}.m118 #dcMount .dc2Toolbar input{width:100%!important;min-width:0!important}
 body.m118 #dcMount .dc2Table{min-width:0!important;width:100%!important}.m118 #dcMount .dc2Table thead{display:none}.m118 #dcMount .dc2Table tbody{display:grid;gap:10px;padding:10px}.m118 #dcMount .dc2Table tr{display:flex;flex-wrap:wrap;padding:10px;border:1px solid #2b405e;border-radius:13px;background:#101f35}.m118 #dcMount .dc2Table td{display:block;height:auto!important;min-width:0;padding:7px!important;border:0!important;flex:1 1 45%;font-size:12px!important;overflow-wrap:anywhere}.m118 #dcMount .dc2Table td:first-child,.m118 #dcMount .dc2Table td:last-child{flex-basis:100%}.m118 #dcMount .dc2Table td:before{content:attr(data-mobile-label);display:block;color:#8da6c8;font-size:10px;margin-bottom:3px}.m118 #dcMount .dc2Table td[colspan]{flex-basis:100%}.m118 #dcMount .dc2Actions{display:flex;flex-wrap:wrap;gap:6px!important}.m118 #dcMount .dc2Actions button{font-size:11px!important;padding:8px!important}.m118 #dcMount .dc2Mini{padding:14px!important}.m118 #dcMount .dc2Bottom{grid-template-columns:1fr!important}
 body.m118 .ex-cards{grid-template-columns:1fr 1fr!important;gap:9px!important}.ex-cards article{padding:14px!important;min-width:0}.ex-cards b{font-size:24px!important;overflow-wrap:anywhere}.ex-heading h1{font-size:23px!important}.ex-panel header{gap:8px!important}.ex-panel header input{width:100%;min-width:0}.ex-panel{overflow:hidden}
 body.m118 .settingsColumns,body.m118 .settingsForm,body.m118 .introVolumeGrid{grid-template-columns:1fr!important}.settingsColumns{gap:12px!important}.settingsColumns input,.settingsColumns select{min-width:0!important;max-width:100%!important}
 body.m118 .tableWrap{overflow-x:auto!important;max-width:100%!important}.m118 .appDialogCard,.m118 .balanceDrawer .appDialogCard,.ex-drawer form{max-width:100%!important;width:100%!important;border-radius:18px 18px 0 0!important;padding:18px!important}
 body.m118 .im-mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:1450;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:#0a182bee;border-top:1px solid #29405d;backdrop-filter:blur(15px)}
 .im-mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;padding:7px 2px;border:0;border-radius:10px;background:transparent;color:#a7bbd7;font-size:10px;min-height:48px}.im-mobile-nav svg{width:22px;height:22px}.im-mobile-nav button.active{color:#62a6ff;background:#16345a}
 body.m118 .im-mobile-menu:not([hidden]){display:block;position:fixed;inset:0;z-index:1600;background:#020915ad;backdrop-filter:blur(4px)}
 .im-mobile-menu>section{position:absolute;bottom:0;left:0;right:0;max-height:85dvh;overflow:auto;padding:20px 16px calc(24px + env(safe-area-inset-bottom));border-top:1px solid #395270;border-radius:20px 20px 0 0;background:#0d1d34}.im-mobile-menu header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.im-mobile-menu h2{font-size:20px;margin:0}.im-mobile-menu button,.im-mobile-menu a{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:14px;border:1px solid #263e5f;border-radius:11px;margin:8px 0;background:#12263f;color:#e4efff;text-decoration:none;font-size:14px}.im-mobile-menu header button{width:42px;margin:0;justify-content:center}.im-mobile-menu svg{width:21px;height:21px}
 body.m118 .im-mobile-history[open]{display:block;position:fixed;inset:8px;margin:auto;width:calc(100% - 16px);max-height:90dvh;padding:16px;background:#0c1e35;color:#eaf2ff;border:1px solid #315175;border-radius:17px}.im-mobile-history::backdrop{background:#010918bb}.im-mobile-history header{display:flex;align-items:center;justify-content:space-between}.im-mobile-history h2{font-size:20px}.im-mobile-history input{width:100%;min-height:44px;padding:10px;border:1px solid #345071;border-radius:10px;background:#142842;color:#fff}.im-mobile-history article{padding:13px 0;border-bottom:1px solid #28405e;display:grid;grid-template-columns:1fr auto;gap:5px;font-size:13px}.im-mobile-history small{color:#97aecb;font-size:11px}.im-mobile-history time{grid-column:1/-1;color:#839cbd;font-size:11px}.im-mobile-history button{min-height:40px}.im-mobile-history p{color:#a2b6d4;font-size:13px}
 body.m118 .srTopGrid{grid-template-columns:1fr!important}.srStats{grid-template-columns:1fr 1fr!important}.srStats article{height:auto!important;min-height:82px;gap:8px;padding:12px}.srStats article>i{width:30px;height:30px;font-size:20px}.srHero{height:auto!important;padding:14px!important}.srHero h1{font-size:22px!important}.srHero blockquote{display:none!important}.srCard{padding:15px!important}.srCard h2{font-size:16px!important}.srRates,.srLowAlerts{grid-template-columns:1fr 1fr!important;gap:12px!important}.srSettingsForm label,.srPassword label,.srLowAlerts label{font-size:12px!important}.srSettings input[type=number],.srSettings input[type=password]{height:42px!important;font-size:16px!important;border-radius:8px!important}.srVolumeGrid{grid-template-columns:1fr!important}.srCard header{flex-wrap:wrap}.srSettings button{min-height:42px!important}.srLogs{max-width:100%;overflow:auto}.srStats b{overflow-wrap:anywhere}

 .im-mobile-history details{grid-column:1/-1;font-size:12px}.im-mobile-history summary{cursor:pointer;color:#64b0ff;padding:8px 0}.im-mobile-history details p{margin:7px 0;overflow-wrap:anywhere}
 body.m118 .ex-table-wrap thead{display:none}.m118 .ex-table-wrap table{min-width:0!important;width:100%!important}.m118 #exRows{display:grid;gap:9px}.m118 #exRows tr{display:grid;grid-template-columns:1fr auto;gap:8px;padding:13px;border:1px solid #29435e;border-radius:12px;background:#10213a}.m118 #exRows td{padding:0!important;border:0!important;font-size:13px;overflow-wrap:anywhere;min-width:0}.m118 #exRows td:nth-child(2){grid-column:1;grid-row:1;font-weight:700}.m118 #exRows td:nth-child(4){grid-column:2;grid-row:1;font-weight:700;color:#ffb8b8}.m118 #exRows td:nth-child(1){grid-row:2;color:#9fb3d0;font-size:11px}.m118 #exRows td:nth-child(3){grid-column:1/-1;grid-row:3;color:#b1c3dd}.m118 #exRows td:nth-child(5){grid-column:2;grid-row:2}.m118 #exRows td[colspan]{grid-column:1/-1!important;grid-row:auto!important}.m118 .ex-table-wrap{overflow:visible!important}.m118 .dc2Search{width:100%!important}.m118 #dcMount .dc2Stat:last-child{grid-column:1/-1}.m118 .srVolumeActions{flex-wrap:wrap;gap:10px}.m118 input:not([type=checkbox]):not([type=range]):not([type=hidden]),.m118 textarea{font-size:16px!important}

 .m118 .ex-cards article:last-child{grid-column:1/-1}.m118 .ex-toolbar{display:flex;flex-wrap:wrap;gap:8px}.m118 .ex-toolbar label{flex:1 1 45%;min-width:0}.m118 .ex-toolbar input{width:100%;min-width:0;max-width:100%;box-sizing:border-box}.m118 .ex-table-wrap table tfoot th{padding:12px 5px!important;font-size:12px}.m118 .ex-drawer{top:auto!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;max-height:90dvh!important;border-radius:20px 20px 0 0!important;padding:20px!important}.m118 .ex-drawer textarea{height:86px!important}

}
