/* EyR Cash Fast v2.5 — phone-first interactions, original financial forms preserved. */
[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.period-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.period-shortcuts a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 18px;border:1px solid #dbe4f2;border-radius:24px;font-size:13px;font-weight:650;background:white;color:#53698c}.period-shortcuts a.active{background:#214fae;border-color:#214fae;color:white}
.section-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:4px 0 16px}.section-shortcut{display:flex;align-items:center;gap:12px;min-height:86px;padding:16px;border-radius:16px;border:1px solid #e0e7f3;background:#f6f8fd;color:#294775}.section-shortcut span{width:42px;height:42px;border-radius:12px;background:#e9effb;display:grid;place-items:center;flex-shrink:0}.section-shortcut strong{font-size:14px;line-height:1.3}.section-shortcut.selected{border-color:#a8bee8;background:#edf3ff}
.sheet-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.sheet-header h2{margin:0;font-size:23px;line-height:1.25;padding-right:8px}.sheet-header .modal-close{position:static;flex:none;width:44px;height:44px;font-size:25px}.sheet-submit>.btn{width:100%;min-height:48px}.modal-dialog>.sheet-header+p{margin:8px 0 22px;color:#75849b;font-size:14px;line-height:1.5}
.help-disclosure{margin-bottom:20px;background:#edf3ff;border:1px solid #dce6f8;border-radius:12px;padding:14px 16px}.help-disclosure>summary,.danger-disclosure>summary{cursor:pointer;font-size:14px;font-weight:650;min-height:24px}.help-disclosure .info-box{border:0;margin:12px 0 0;padding:0;background:none}.danger-disclosure{border:1px solid #ecd8da;background:#fffbfb;border-radius:12px;margin:16px 0;padding:14px}.danger-disclosure .danger-zone{margin:14px 0 0}.danger-disclosure>summary{color:#9b4c55}
.record-search input{width:100%;min-height:48px;border-radius:13px;padding:12px 15px;background:#fff;font-size:16px}.record-toolbar{padding:0 0 12px}.record-count{font-size:12px;color:#7587a2;margin:10px 3px 0}.record-list{display:grid;gap:14px}.record-card{background:#fff;border:1px solid #dce5f3;border-radius:19px;padding:18px;box-shadow:0 4px 14px #15356705;min-width:0}.record-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:15px}.record-title{min-width:0;flex:1}.record-title strong{font-size:17px;line-height:1.35;font-weight:700;color:#1c345a}.record-title .table-link{display:block;padding:3px 0}.record-title .person-cell{display:flex;gap:11px;align-items:center;padding:0}.record-title .avatar{width:43px;height:43px;font-size:18px;flex-shrink:0}.record-title small{display:block;margin-top:4px;font-size:12px;color:#7a89a1;line-height:1.4}.record-title code{font-size:11px;word-break:break-word}.record-status{flex:none;max-width:115px}.record-status .badge{white-space:normal;line-height:1.35;text-align:center;font-size:11px;padding:6px 9px}.record-amount{background:#f2f6ff;border-radius:13px;padding:13px 15px;margin:0 0 15px;display:flex;align-items:center;justify-content:space-between;gap:10px}.record-amount>.record-label{max-width:45%;font-size:12px;color:#697e9f}.record-amount .record-value,.record-amount strong{font-size:24px;font-weight:750;letter-spacing:-.6px;color:#193967;line-height:1.3}.record-label{display:block;font-size:11px;font-weight:550;color:#8290a7;margin-bottom:4px}.record-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.record-fact{min-width:0}.record-value{font-size:14px;line-height:1.5;color:#3c5277;overflow-wrap:anywhere}.record-value small{font-size:12px;color:#7b8da5}.record-details{border-top:1px solid #e7edf6;margin-top:16px;padding-top:3px}.record-details>summary{padding:12px 0;cursor:pointer;font-size:13px;color:#37619e;min-height:44px;font-weight:600}.record-detail-body{display:grid;gap:14px;padding:4px 0 8px}.record-detail-body pre{font-size:12px;line-height:1.6;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:#f3f6fc;border-radius:9px}.record-detail-body summary{min-height:44px;padding:10px 0}.record-actions{margin-top:14px}.record-actions>.btn{width:100%;min-height:46px}.record-actions .table-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.record-actions .btn,.record-actions .inline-form .btn{min-height:46px;width:100%;font-size:13px;padding:10px 8px}.record-actions .inline-form{display:flex;gap:9px;flex-wrap:wrap}.record-actions .inline-form>.btn{flex:1;min-width:90px}.record-actions .table-actions>.inline-form>.btn{min-width:0}.record-actions .table-actions>.inline-form{display:block;margin:0}.record-more{margin-top:8px}.record-more>summary{font-size:12px;color:#7286a5;min-height:44px;cursor:pointer;padding:12px 0}.record-more-body{display:flex;gap:9px;flex-wrap:wrap}.record-more-body>*{flex:1}.record-empty{text-align:center;padding:28px 18px;color:#7c8da7;font-size:14px}.record-load{width:100%;min-height:48px;margin-top:15px}.record-action-cell>.record-value>.btn{width:100%}
@media(min-width:931px){.content{max-width:1600px}.mobile-nav button{display:none}.sheet-submit{margin-top:15px}}
@media(max-width:930px){
 body{font-size:15px}.content{padding:20px 16px calc(102px + env(safe-area-inset-bottom));max-width:none}.topbar{height:66px;padding:0 16px;position:sticky;top:0;z-index:30}.topbar-title{gap:0}.topbar-title>span{display:none}.topbar-title strong{font-size:14px;white-space:normal;line-height:1.25}.topbar-date{display:none}.topbar-actions{gap:9px}.system-status{display:none}.profile-button{height:38px;width:38px;flex-shrink:0}.menu-toggle{min-width:44px;min-height:44px}.topbar-title{flex:1}.app-footer{padding-bottom:calc(100px + env(safe-area-inset-bottom));font-size:10px}.page-heading{display:block;margin-bottom:20px}.page-heading h1{font-size:27px;letter-spacing:-.8px}.page-heading p{font-size:13px;line-height:1.55;margin-top:7px}.page-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px;width:100%}.page-actions>.btn,.page-actions>form{flex:1;min-width:130px}.page-actions .btn{min-height:48px;font-size:14px;width:100%}.page-actions>form>.btn{height:100%}.btn{min-height:46px;font-size:14px}.btn-sm{min-height:44px}
 .mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:calc(74px + env(safe-area-inset-bottom));padding:6px 8px calc(6px + env(safe-area-inset-bottom));z-index:70;background:#fff;border-top:1px solid #dce5f3;box-shadow:0 -6px 24px #16325608}.mobile-nav a,.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:54px;padding:6px 2px;color:#8190a7;border:0;border-radius:13px;background:none;font:inherit;text-decoration:none}.mobile-nav b{font-size:10px;font-weight:650;line-height:1.25}.mobile-nav span{height:24px;display:grid;place-items:center}.mobile-nav .active{background:#edf3ff!important;color:#285bbc!important}.mobile-nav .active:before{display:none}.sheet-open .mobile-nav{visibility:hidden}
 .panel{padding:19px 17px;border-radius:17px;margin-bottom:18px}.panel-head{gap:10px;flex-wrap:wrap}.panel-head h2{font-size:18px}.panel-head p{font-size:13px}.table-panel:has(.records-active){background:none;border:0;box-shadow:none;padding:0}.table-panel:has(.records-active)>.panel-head{padding:2px 2px 10px}.records-active{overflow:visible;max-width:100%;border:0;border-radius:0;padding:0;background:none}.filter-bar{padding:14px;gap:11px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}.filter-bar .search-box{grid-column:1/-1}.filter-bar>input:not([type=hidden]){grid-column:1/-1}.filter-bar select,.filter-bar label,.filter-bar button{width:100%;min-width:0}.filter-bar .search-box input{width:100%;min-width:0}.filter-bar>.btn{align-self:end}.summary-banner{display:flex;flex-direction:column;align-items:stretch;padding:18px;gap:17px}.summary-banner form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;width:100%}.summary-banner form>.btn{grid-column:1/-1;width:100%}.summary-banner strong{font-size:26px;overflow-wrap:anywhere}.summary-banner label{min-width:0}.period-shortcuts{gap:7px;flex-wrap:nowrap}.period-shortcuts a{flex:1;white-space:nowrap;font-size:12px;padding:10px 7px}.tabs{display:flex;overflow-x:auto;gap:10px;padding-bottom:6px;scrollbar-width:thin}.tabs a{white-space:nowrap;min-height:44px;padding:10px 13px;flex-shrink:0}
 input,select,textarea,.modal form input,.modal form select,.modal form textarea{font-size:16px!important;min-height:49px;border-radius:11px;padding:12px;line-height:1.4;max-width:100%;box-sizing:border-box}input[type=checkbox],input[type=radio]{min-height:22px;min-width:22px;width:22px;height:22px;padding:0}input[type=file]{width:100%;font-size:13px!important;padding:9px}textarea{min-height:104px}label,.modal form label{font-size:13px;font-weight:600;line-height:1.5}label small{font-size:12px;line-height:1.5;margin-top:6px}.form-grid{display:grid;grid-template-columns:1fr;gap:18px;margin-bottom:18px}.form-grid>.span-2{grid-column:1}.stats-grid,.stats-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:20px}.stat-card{padding:16px 13px;min-height:115px;display:flex;flex-direction:column-reverse;align-items:flex-start;gap:9px;position:relative}.stat-card .stat-icon{display:none}.stat-card>div{width:100%;min-width:0}.stat-card span{font-size:12px;line-height:1.3}.stat-card strong{font-size:23px;line-height:1.3;margin:9px 0 0;overflow-wrap:anywhere;letter-spacing:-.6px}.stat-card small{font-size:11px;line-height:1.4;margin-top:6px}.details-grid,.profile-grid,.closure-layout{grid-template-columns:1fr;gap:17px}.profile-main{min-width:0}.profile-card{padding:22px}.profile-avatar{width:70px;height:70px;font-size:27px}.details-list>div{gap:12px}.details-list dd{overflow-wrap:anywhere}.loan-hero{padding:23px 19px;display:flex;flex-direction:column;gap:23px;border-radius:20px}.loan-hero h2{font-size:29px}.loan-hero .balance-box{width:100%;padding:18px}.balance-box strong{font-size:31px}.receipt-card{padding:20px 16px}.receipt-brand{gap:12px;flex-wrap:wrap}.receipt-grid{grid-template-columns:1fr}.receipt-amount strong{font-size:37px}.closure-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.closure-kpis strong{font-size:24px}.bar-chart{overflow-x:auto;padding-bottom:12px;justify-content:flex-start;gap:14px}.bar-item{flex:0 0 64px;min-width:64px}.bar-value{font-size:11px}.info-box{font-size:13px;line-height:1.6}.loan-row{gap:10px;flex-wrap:wrap}.loan-row strong{font-size:17px}.loan-balance strong{font-size:19px}.calendar-summary{display:grid;grid-template-columns:1fr;gap:10px}.calendar-summary>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px}.calendar-summary strong{font-size:20px}.month-grid{display:block}.month-grid>.weekday,.month-grid>.calendar-empty,.month-grid>.no-quota{display:none}.month-day{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;padding:12px 0;min-height:0;border:0;border-bottom:1px solid #e6ecf6}.day-number{font-size:16px;padding-top:10px}.due-entry{grid-column:2;padding:11px 13px;margin:0;font-size:13px;border-radius:10px}.due-entry summary{min-height:30px;font-size:14px;display:flex;justify-content:space-between;gap:10px}.due-entry summary strong{font-size:17px}.due-entry small,.due-entry span,.due-entry>strong{font-size:12px;line-height:1.6}.calendar-month>summary{min-height:48px;font-size:16px;padding:13px}.flexible-calendar .panel-head p{font-size:12px}.toast-stack{bottom:calc(86px + env(safe-area-inset-bottom));top:auto;left:14px;right:14px;width:auto;z-index:2000}.toast{font-size:13px;max-width:100%}
 .modal{padding:0;align-items:flex-start;overflow:hidden;backdrop-filter:none;z-index:1000}.modal-dialog,.modal-lg,.modal-xl{margin:0;width:100%;max-width:100%;height:var(--app-height,100dvh);max-height:var(--app-height,100dvh);min-height:0;overflow-y:auto;overscroll-behavior:contain;border:0;border-radius:0;padding:0 18px calc(18px + env(safe-area-inset-bottom));flex-shrink:0;box-sizing:border-box;scroll-padding-top:80px;scroll-padding-bottom:90px}.sheet-header{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid #e4ebf5;margin:0 -18px 18px;padding:16px 18px;min-height:76px;box-sizing:border-box}.sheet-header h2{font-size:22px;line-height:1.25;letter-spacing:-.5px}.sheet-header .modal-close{height:44px;width:44px;background:#f3f6fb;color:#4d668b;border:1px solid #dde5f2;border-radius:12px}.modal-dialog>.sheet-header+p{font-size:13px;line-height:1.55;margin:0 0 22px}.modal-dialog>form{margin:0}.sheet-submit{position:sticky;bottom:calc(-18px - env(safe-area-inset-bottom));z-index:4;padding:13px 0 calc(13px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e7edf6;margin:14px 0 0}.sheet-submit>.btn{font-size:15px;min-height:51px}.section-shortcuts{padding:4px 0 20px;gap:11px}.sections-modal .modal-dialog{height:auto;min-height:0;max-height:var(--app-height,100dvh);border-radius:24px 24px 0 0}.sections-modal{align-items:flex-end}.sections-modal .sheet-header{border-radius:24px 24px 0 0}.section-shortcut{min-height:92px;flex-direction:column;align-items:flex-start;gap:10px;padding:15px}.section-shortcut strong{font-size:14px}.record-action-cell .modal .btn{min-height:48px}.record-action-cell .modal .sheet-header h2{font-size:22px}
}
@media(max-width:360px){.content{padding-left:12px;padding-right:12px}.record-card{padding:15px}.record-head{flex-wrap:wrap}.record-status{max-width:none}.record-amount .record-value,.record-amount strong{font-size:22px}.stat-card strong{font-size:21px}.topbar-title strong{font-size:13px}.period-shortcuts a{font-size:11px}.mobile-nav b{font-size:9px}}
@media print{.record-toolbar,.record-load,.mobile-nav,.help-disclosure,.danger-disclosure{display:none!important}.record-card{break-inside:avoid;box-shadow:none}.record-card[hidden]{display:block!important}}

@media(max-width:930px){.bar-chart{display:grid;grid-template-columns:1fr;gap:16px;overflow:visible;height:auto;min-height:0;padding:0}.bar-item{display:grid;grid-template-columns:48px minmax(0,1fr) 82px;gap:12px;align-items:center;min-width:0;flex:none;width:100%;height:auto}.bar-item>span{grid-column:1;grid-row:1;font-size:12px}.bar-track{grid-column:2;grid-row:1;width:100%;height:12px;min-height:0;border-radius:8px;background:#edf2fc;display:block;overflow:hidden}.bar-track b{display:block;width:var(--bar-fill,0%);height:100%!important;background:#4b76d2;border-radius:8px}.bar-value{grid-column:3;grid-row:1;text-align:right;font-size:12px;font-weight:700;color:#2e4d7b}}

@media(max-width:930px){.stat-card{display:block}.stat-card>div:last-child{display:flex;flex-direction:column;gap:0}.stat-card>div:last-child>span{font-size:12px;line-height:1.4;color:#72849e}.stat-card>div:last-child>strong{font-size:23px;line-height:1.3;margin-top:8px;white-space:normal;overflow-wrap:anywhere}.stat-card>div:last-child>small{font-size:11px;line-height:1.45;margin-top:7px}.stat-card:after{display:none}.menu-toggle{color:#3c5d96;background:#f0f4fc;border-color:#dce5f4}.tabs{background:#edf2fa}.tabs a.active{background:#fff;color:#285abc}.app-footer{display:none}.page-clients .record-toolbar{padding-bottom:12px}.record-title .table-link{color:#244a84}.record-actions .btn-ghost{background:#f1f5fc;color:#345788}}
@media(max-width:360px){.stat-card>div:last-child>strong{font-size:21px}}

@media(max-width:930px){.modal-dialog{animation:none}.record-amount .amount-negative{color:#b24c59}.record-amount .amount-positive{color:#267960}}
