/* V20.0.2: money never breaks and the card contains all visible digits */
.v10-account-card{box-sizing:border-box!important;min-width:0!important;max-width:calc(100vw - 34px)!important;overflow:hidden!important}
.v10-account-card .v10-card-name,.v10-account-card .v10-card-caption,.v10-account-card .v10-card-amount{min-width:0!important;max-width:100%!important}
.v10-account-card .v10-card-amount{display:block!important;width:100%!important;box-sizing:border-box!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;letter-spacing:-.04em!important;line-height:1.3!important;font-variant-numeric:tabular-nums;font-size:clamp(14px,2.3vw,29px);overflow:visible!important}
.v10-account-card .v10-card-name{overflow-wrap:break-word}
#appScreen .cards .card .v,.v7-stat .v,#totalIncome,#totalExpenses,#reportIncome,#reportExpense,#reportDifference,.v9-category-row>strong{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;min-width:0!important;font-variant-numeric:tabular-nums;letter-spacing:-.03em!important}
#appScreen .cards .card{min-width:0!important;box-sizing:border-box!important}
#appScreen .cards .card .v{display:block!important;max-width:100%;width:100%;box-sizing:border-box}
.v9-category-row>strong{display:block;max-width:100%}
@media(max-width:420px){.v10-account-card{padding:17px 16px 14px!important;flex-basis:min(270px,calc(100vw - 44px))!important}.v10-card-amount{font-size:clamp(14px,4.2vw,24px)!important}.v10-card-footer{min-width:0}.v10-card-name{font-size:15px}}
/* Installed mobile apps: remove image/text previews only on noneditables. Never cancel tap/focus JS. */
@media(pointer:coarse){
 body[data-mode=app] :is(#appScreen,#authScreen,#lockScreen,#modalRoot) :is(button,a,img,svg,.v10-account-card,.card,.panel h2,.nav-icon,.tab,.mobile-nav,.v9-category-row){-webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important}
 body[data-mode=app] img{-webkit-user-drag:none!important;user-drag:none!important}
 body[data-mode=app] :is(#appScreen,#authScreen,#lockScreen,#modalRoot) :is(p,span,strong,small,em,b,i,h1,h2,h3,h4,h5,h6,li,td,th,dt,dd,svg){-webkit-user-select:none!important;user-select:none!important}

 body[data-mode=app] :is(input:not([type=hidden]),textarea,[contenteditable=true],[role=textbox],select){-webkit-touch-callout:default!important;-webkit-user-select:text!important;user-select:text!important;touch-action:auto!important;pointer-events:auto!important}
 body[data-mode=app] :is(input:not([type=hidden]),textarea,[contenteditable=true],[role=textbox],select) *{-webkit-user-select:text!important;user-select:text!important}
}

/* Report metrics and movements keep whole monetary values. */
.v20-stat{min-width:0!important;overflow:hidden!important}.v20-stat strong{overflow:visible!important;display:block;max-width:100%;white-space:nowrap!important;font-variant-numeric:tabular-nums}
.statrow{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,max-content);align-items:center;column-gap:10px}
.statrow>div:first-child{min-width:0;overflow-wrap:break-word}
.statrow>.sum{display:block;min-width:0;max-width:100%;white-space:nowrap!important;overflow-wrap:normal!important;font-variant-numeric:tabular-nums;text-align:right;letter-spacing:-.03em}
.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
#movementsRows td.sum,#walletRows td.sum,#reportRows td.sum,#reportRows td:nth-child(2),#reportRows td:nth-child(3),#reportCategoryRows td:nth-child(3){white-space:nowrap!important;overflow-wrap:normal!important;font-variant-numeric:tabular-nums}
@media(pointer:coarse){body[data-mode=app] :is(#appScreen,#authScreen,#lockScreen,#modalRoot) :is(p,span,strong,small,h1,h2,h3,h4,label,li,td,th){-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important}body[data-mode=app] :is(#appScreen,#authScreen,#lockScreen,#modalRoot) :is(input,textarea,select,[contenteditable=true],[role=textbox]){-webkit-user-select:text!important;user-select:text!important;-webkit-touch-callout:default!important;touch-action:auto!important}}
