:root{--navy:#142d38;--ink:#213741;--muted:#738086;--canvas:#f5f5ef;--paper:#fff;--line:#e5e9e6;--teal:#287760;--mint:#a8dac5;--light:#eaf4ef;--red:#ad453d;--red-bg:#fbebe7;--gold:#a97620;--gold-bg:#fbf3e3;--radius:20px;--shadow:0 12px 38px #18312d0c;font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);font-size:15px;background:var(--canvas);font-synthesis:none}
.report-download-button{width:100%;margin-top:20px;background:#244650;color:#fff;border:1px solid #527078;font-size:12px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid var(--mint);outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid var(--teal);outline-offset:1px}input,select,textarea{width:100%;border:1px solid #dce3df;border-radius:12px;background:#fff;padding:12px 13px;color:var(--ink);min-height:46px}input[type=checkbox]{width:19px;min-height:19px;height:19px;accent-color:var(--teal)}textarea{resize:vertical}h1,h2,h3,p{margin:0}h1,h2,h3,.amount,.brand{font-family:'Manrope',system-ui,sans-serif}h1{font-size:30px;letter-spacing:-1.1px;font-weight:800}h2{font-size:18px;letter-spacing:-.5px}h3{font-size:15px;font-weight:800;letter-spacing:-.25px}svg{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.loading{height:100dvh;display:grid;align-content:center;justify-items:center;gap:18px}.brand-mark{font-family:Georgia,serif;font-weight:bold;font-size:35px;width:50px;height:50px;border-radius:15px;display:grid;place-items:center;background:var(--mint);color:var(--navy);line-height:1}.brand{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:800;letter-spacing:-1px}.brand .brand-mark{width:38px;height:38px;font-size:29px;border-radius:12px}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px}.btn{border:0;border-radius:12px;min-height:44px;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;line-height:1.3;white-space:nowrap}.btn-primary{background:var(--teal);color:white}.btn-dark{background:var(--navy);color:white}.btn-soft{background:var(--light);color:var(--teal)}.btn-plain{background:transparent;color:var(--ink);border:1px solid var(--line)}.btn-danger{background:var(--red);color:white}.btn-small{font-size:12px;padding:8px 11px;min-height:36px;border-radius:10px}.icon-btn{padding:9px;width:40px;height:40px;min-height:40px;border:1px solid var(--line);border-radius:11px;background:#fff;display:inline-grid;place-items:center;color:var(--muted)}.icon-btn:hover{background:var(--canvas);color:var(--ink)}.text-btn{border:0;background:none;color:var(--teal);font-size:13px;font-weight:700;padding:9px 0;display:inline-flex;align-items:center;gap:6px}.text-btn svg{width:16px;height:16px}.badge{font-size:10px;font-weight:700;display:inline-flex;align-items:center;gap:5px;border-radius:7px;padding:5px 7px;background:var(--light);color:var(--teal);white-space:nowrap}.badge.overdue,.badge.failed{background:var(--red-bg);color:var(--red)}.badge.due,.badge.pending,.badge.partial{background:var(--gold-bg);color:var(--gold)}.badge.disabled,.badge.no_contacts,.badge.cancelled{background:#eef0f1;color:var(--muted)}.count-badge{background:var(--red);color:#fff;font-size:10px;min-width:17px;height:17px;border-radius:20px;display:inline-grid;place-items:center;padding:0 4px}.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;gap:16px}.page-head p{margin-top:7px;font-size:13px;color:var(--muted)}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.section-gap{margin-top:24px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.actions{display:flex;align-items:center;gap:7px}.stack{display:grid;gap:14px}.empty{text-align:center;padding:40px 16px;display:grid;justify-items:center;gap:12px;color:var(--muted)}.empty-icon{width:54px;height:54px;border-radius:18px;background:var(--canvas);display:grid;place-items:center;color:#9aa9a4}.empty-icon svg{width:27px;height:27px}.empty h3{color:var(--ink)}.empty p{font-size:13px;max-width:310px;line-height:1.6}.app-shell{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100dvh}.sidebar{height:100dvh;position:sticky;top:0;background:var(--navy);color:#fff;padding:33px 22px;display:flex;flex-direction:column}.sidebar .brand{margin:0 10px 47px}.sidebar .brand-mark{background:var(--mint)}.sidebar .eyebrow{color:#83a09c;margin:0 13px 15px;letter-spacing:2px}.side-nav{display:grid;gap:5px}.side-nav button{border:0;border-radius:12px;background:transparent;color:#b7c7c7;text-align:left;display:flex;align-items:center;gap:13px;padding:13px;font-size:13px;font-weight:600}.side-nav button.active{background:#2b4850;color:var(--mint)}.side-nav button:hover{background:#24424c}.side-nav .count-badge{margin-left:auto}.side-account{margin-top:auto;border-top:1px solid #34505a;padding:23px 10px 0;display:flex;align-items:center;gap:10px}.avatar{height:35px;width:35px;display:grid;place-items:center;font-size:12px;font-weight:700;border-radius:50%;background:#36545b;color:var(--mint)}.side-account .small{color:#8ea8ad}.side-account .icon-btn{margin-left:auto;background:transparent;color:#b7c7c7;border-color:#34505a}.workspace{padding:34px 42px 40px;max-width:1400px;width:100%;margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:35px}.topbar .brand{display:none}.date-line{font-size:12px;color:var(--muted)}.topbar-right{display:flex;align-items:center;gap:12px}.notice-button{position:relative}.notice-button .count-badge{position:absolute;right:-4px;top:-4px;border:2px solid var(--canvas);height:20px;min-width:20px}.connection{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}.dot{width:6px;height:6px;border-radius:50%;background:var(--teal)}.bottom-nav{display:none}.balance-panel{background:var(--navy);color:white;border:0;position:relative;overflow:hidden;padding:26px 28px}.balance-panel:after{content:'';position:absolute;right:-45px;top:-90px;width:260px;height:260px;border:40px solid #ffffff04;border-radius:50%;pointer-events:none}.balance-panel .eyebrow{color:#99b7b5}.balance-amount{font-family:Manrope,system-ui,sans-serif;font-size:39px;font-weight:800;letter-spacing:-1.3px;margin-top:11px}.balance-footer{border-top:1px solid #34505a;margin-top:25px;padding-top:20px;display:flex;justify-content:space-between;gap:15px}.balance-footer span{display:block;font-size:11px;color:#9ab4b8;margin-bottom:5px}.balance-footer strong{font-size:15px;font-weight:500}.progress-track{height:7px;background:#e8ede9;border-radius:8px;overflow:hidden}.progress-fill{height:100%;background:var(--teal);border-radius:8px;max-width:100%}.balance-panel .progress-track{background:#35535c;height:5px;margin-top:23px}.balance-panel .progress-fill{background:var(--mint)}.balance-progress{display:flex;justify-content:space-between;font-size:11px;margin-top:9px;color:#adc6c6}.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat{background:white;border:1px solid var(--line);border-radius:18px;padding:20px;display:flex;flex-direction:column;justify-content:space-between;min-height:125px}.stat-icon{height:30px;width:30px;border-radius:9px;background:var(--light);color:var(--teal);display:grid;place-items:center;margin-bottom:11px}.stat-icon svg{width:17px;height:17px}.stat.danger .stat-icon{background:var(--red-bg);color:var(--red)}.stat-label{font-size:11px;color:var(--muted)}.stat strong{display:block;font-size:21px;font-family:Manrope,system-ui,sans-serif;letter-spacing:-.5px;margin-top:5px}.home-top{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.list-row{display:flex;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line);min-width:0}.list-row:first-of-type{padding-top:0}.list-row:last-child{border-bottom:0;padding-bottom:0}.date-tile{width:45px;min-width:45px;height:49px;border-radius:12px;background:var(--canvas);display:grid;align-content:center;justify-items:center;gap:1px}.date-tile strong{font-size:18px;line-height:1.1;font-family:Manrope,system-ui,sans-serif}.date-tile span{font-size:10px;color:var(--muted);text-transform:uppercase}.list-detail{min-width:0;flex:1}.list-detail h3{overflow-wrap:anywhere}.list-detail p{font-size:11px;color:var(--muted);margin-top:5px;line-height:1.5}.list-value{text-align:right;flex-shrink:0}.list-value strong{font-size:14px;display:block;font-weight:700}.list-value .badge{margin-top:6px}.quick-box{background:#e8f0e8;border-color:#dce8dc}.quick-box p{font-size:13px;color:#648070;line-height:1.6;margin-top:8px}.quick-box .btn{margin-top:21px}.quick-box .section-icon{width:40px;height:40px;border-radius:13px;background:#d4e7d8;color:var(--teal);display:grid;place-items:center;margin-bottom:18px}.filter-bar{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px;display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.filter-bar input,.filter-bar select{min-height:42px;padding:9px 11px;font-size:13px;background:#fafbf8;border-color:#e9ece7;flex:1;min-width:130px}.filter-bar .search-field{flex:2;min-width:185px}.filter-bar label{display:flex;flex-direction:column;gap:4px;flex:1;min-width:135px;color:var(--muted);font-size:10px}.filter-bar label input{min-width:0}.result-line{font-size:12px;color:var(--muted);margin-bottom:13px}.credit-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:16px}.credit-card{padding:20px;position:relative}.credit-card .platform{font-size:11px;color:var(--muted);margin-top:5px}.credit-card .row:first-child{align-items:flex-start}.credit-total{font-family:Manrope,system-ui,sans-serif;font-size:27px;font-weight:800;margin:23px 0 4px;letter-spacing:-.8px}.credit-card .progress-track{margin-top:18px;height:5px}.credit-card .progress-label{display:flex;justify-content:space-between;gap:8px;font-size:11px;margin-top:8px;color:var(--muted)}.card-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:15px;margin-top:18px;font-size:11px;color:var(--muted)}.card-foot .text-btn{padding:0;font-size:11px}.rate-card{padding:18px 20px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:15px}.rate-heading{display:flex;gap:11px;align-items:center}.rate-card .rate-money{font-family:Manrope,system-ui,sans-serif;font-size:21px;font-weight:800;letter-spacing:-.5px;text-align:right;margin-top:4px}.rate-card .rate-meta{display:flex;flex-wrap:wrap;gap:7px 17px;margin-top:17px;font-size:11px;color:var(--muted)}.rate-card .rate-meta span{display:inline-flex;gap:5px;align-items:center}.rate-card .rate-meta svg{height:13px;width:13px}.rate-bottom{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:13px;gap:10px}.rate-bottom p{font-size:11px;color:var(--muted)}.notification-card{padding:19px 21px}.notification-card.unread{border-left:3px solid var(--teal)}.notification-card p{white-space:pre-line;font-size:13px;line-height:1.75;margin-top:15px;overflow-wrap:anywhere;color:#52636b}.notification-card .notice-meta{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:16px;padding-top:12px;gap:10px;font-size:11px;color:var(--muted)}.notice-title{display:flex;align-items:center;gap:9px}.notice-title .dot{width:7px;height:7px}.contact-card{display:flex;align-items:center;gap:13px;padding:18px 20px}.contact-card .avatar{width:43px;height:43px;background:var(--light);color:var(--teal);font-size:14px;flex:none}.contact-card .list-detail p{font-size:12px}.contact-card .list-detail .small{margin-top:7px;font-size:10px;line-height:1.5;color:var(--muted)}.contact-card .actions{margin-left:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:grid;gap:7px}.field label{font-size:12px;font-weight:700;color:#52656c}.field small{color:var(--muted);font-size:11px;line-height:1.5}.field.full{grid-column:1/-1}.checkbox-field{display:flex;align-items:center;gap:10px;font-size:13px}.settings-layout{max-width:780px}.settings-layout .panel{margin-bottom:18px}.settings-layout p{font-size:13px;color:var(--muted);line-height:1.65}.settings-title{display:flex;align-items:center;gap:11px;margin-bottom:11px}.settings-title .stat-icon{margin:0;height:35px;width:35px}.settings-layout .form-grid{margin-top:23px}.settings-actions{display:flex;justify-content:space-between;gap:12px;margin-top:22px;flex-wrap:wrap}.info-strip{display:flex;align-items:flex-start;gap:9px;padding:13px 15px;background:var(--light);border-radius:12px;color:#426c58;font-size:12px;line-height:1.6}.info-strip svg{width:16px;height:16px;margin-top:2px}.warning-strip{background:var(--gold-bg);color:var(--gold)}.chart-switch{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.chart-switch button{font-size:12px;border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:10px;padding:11px 14px;font-weight:600}.chart-switch button.active{background:var(--navy);border-color:var(--navy);color:white}.chart-area{min-height:270px;width:100%;display:grid;align-content:center}.chart-area svg{width:100%;height:auto;max-height:300px;stroke:none;overflow:visible}.chart-legend{display:flex;justify-content:center;gap:20px;margin-top:15px;font-size:11px;color:var(--muted)}.legend-key{display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:5px}.chart-table{width:100%;border-collapse:collapse;font-size:12px;margin-top:18px}.chart-table th,.chart-table td{padding:13px 8px;border-bottom:1px solid var(--line);text-align:left}.chart-table th{color:var(--muted);font-weight:500;font-size:11px}.chart-table td:not(:first-child),.chart-table th:not(:first-child){text-align:right}.table-scroll{overflow-x:auto}.chart-details summary{font-size:12px;color:var(--teal);font-weight:600;cursor:pointer;margin-top:23px}.donut-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:25px;max-width:650px;margin:auto}.donut-stats{display:grid;gap:19px}.donut-stats span{color:var(--muted);font-size:12px}.donut-stats strong{display:block;font-family:Manrope,system-ui,sans-serif;font-size:24px;margin-top:4px}.login-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:var(--navy);color:white;padding:50px 64px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story:after{content:'';position:absolute;width:450px;height:450px;border:75px solid #ffffff03;border-radius:50%;right:-210px;bottom:-80px;pointer-events:none}.login-story h1{font-size:48px;letter-spacing:-2px;max-width:500px;line-height:1.2}.login-story h1 span{color:var(--mint)}.login-story p{color:#a1babe;font-size:15px;line-height:1.8;margin-top:23px;max-width:385px}.login-story .eyebrow{color:#91aaa9}.login-form-wrap{display:grid;align-content:center;padding:50px;max-width:520px;width:100%;margin:auto}.login-form-wrap .brand{display:none}.login-form-wrap h2{font-size:27px;letter-spacing:-.8px}.login-form-wrap>p{color:var(--muted);font-size:13px;margin-top:10px;line-height:1.6}.login-form{display:grid;gap:18px;margin-top:33px}.login-form .btn{margin-top:8px;min-height:49px}.login-footer{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px;justify-content:center;margin-top:25px}.login-footer svg{width:13px;height:13px}.form-error{background:var(--red-bg);color:var(--red);border-radius:10px;padding:11px;font-size:12px;line-height:1.5}.modal-overlay{position:fixed;inset:0;background:#0a222e77;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:50;padding:25px;overflow-y:auto}.modal{background:var(--canvas);width:100%;max-width:720px;border-radius:23px;max-height:calc(100dvh - 50px);overflow:auto;box-shadow:0 20px 90px #0b262943}.modal.narrow{max-width:470px}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 24px;border-bottom:1px solid var(--line);background:white;position:sticky;top:0;z-index:1}.modal-header h2{font-size:19px}.modal-header p{color:var(--muted);font-size:11px;margin-top:5px}.modal-content{padding:24px}.modal-content .form-grid{gap:16px}.modal-footer{padding:17px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;background:#fff;position:sticky;bottom:0;z-index:1}.modal .info-strip{margin:19px 0}.preview-head{display:flex;align-items:center;justify-content:space-between;margin:26px 0 13px;gap:10px}.preview-head h3{font-size:14px}.preview-row{display:grid;grid-template-columns:36px 125px 1fr;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.preview-row .rate-number{font-size:11px;color:var(--muted)}.preview-row input{font-size:12px;min-height:41px;padding:9px 10px;min-width:0}.preview-list{max-height:350px;overflow:auto}.preview-total{display:flex;justify-content:space-between;margin-top:13px;font-size:12px}.preview-total.invalid{color:var(--red)}.preview-total.valid{color:var(--teal)}.contact-checkboxes{display:grid;gap:10px;max-height:190px;overflow:auto;padding:13px;border:1px solid var(--line);border-radius:12px;background:white}.contact-checkboxes label{display:flex;align-items:center;gap:9px;font-weight:400;font-size:13px}.confirm-content p{color:var(--muted);font-size:13px;line-height:1.7;margin-top:12px}.confirm-content .empty-icon{background:var(--red-bg);color:var(--red);margin-bottom:19px}.drawer-link{display:flex;align-items:center;gap:13px;width:100%;text-align:left;background:#fff;border:1px solid var(--line);border-radius:13px;padding:17px;margin-bottom:10px;color:var(--ink);font-weight:600}.drawer-link svg:last-child{margin-left:auto;color:var(--muted);width:16px}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:100;max-width:calc(100vw - 32px);width:max-content;display:flex;align-items:center;gap:10px;background:var(--navy);color:#fff;border:1px solid #476064;padding:14px 18px;border-radius:13px;box-shadow:0 8px 35px #0e252233;font-size:13px;line-height:1.5}.toast.error{background:#783b36}.toast svg{width:18px;height:18px}.filters-note{font-size:11px;color:var(--muted);margin-top:10px}.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}
@media(min-width:1600px){.workspace{padding:40px 55px}}@media(max-width:1100px){.app-shell{grid-template-columns:195px minmax(0,1fr)}.sidebar{padding:28px 15px}.workspace{padding:28px}.home-top{gap:16px}.stat{padding:16px}.balance-panel{padding:23px}.balance-amount{font-size:34px}}
@media(max-width:800px){.app-shell{display:block}.sidebar{display:none}.workspace{padding:21px 20px 105px}.topbar{margin-bottom:29px}.topbar .brand{display:flex}.date-line{display:none}.connection{display:none}.topbar-right .icon-btn{width:39px;height:39px}.page-head{margin-bottom:22px;align-items:center;gap:10px}h1{font-size:28px}.page-head p{font-size:12px;line-height:1.5;margin-top:6px}.page-head .btn{padding:11px 13px;font-size:12px;min-height:41px}.page-head .btn svg{width:17px;height:17px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:30;display:grid;grid-template-columns:repeat(5,1fr);background:#fffffff2;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:8px 10px calc(9px + env(safe-area-inset-bottom))}.bottom-nav button{position:relative;background:none;border:0;color:#83908f;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:5px;height:48px;font-size:10px;font-weight:500;border-radius:11px}.bottom-nav button.active{color:var(--teal);font-weight:700;background:var(--light)}.bottom-nav svg{width:22px;height:22px}.bottom-nav .count-badge{position:absolute;top:0;left:calc(50% + 5px)}.home-top{grid-template-columns:1fr}.grid-2{grid-template-columns:1fr;gap:17px}.balance-panel{padding:23px 24px;border-radius:22px}.balance-amount{font-size:36px}.balance-footer{margin-top:21px;padding-top:17px}.balance-footer strong{font-size:14px}.stats{grid-template-columns:1fr 1fr;gap:11px}.stat{padding:15px 17px;min-height:102px;position:relative}.stat-icon{position:absolute;right:14px;top:15px;width:26px;height:26px;border-radius:8px;margin:0}.stat-label{margin-top:5px;font-size:11px;padding-right:24px}.stat strong{font-size:21px;margin-top:18px}.section-gap{margin-top:20px}.panel{padding:19px}.panel-head{margin-bottom:18px}h2{font-size:17px}.credit-grid{grid-template-columns:1fr}.filter-bar{padding:10px;gap:8px;margin-bottom:16px}.filter-bar input,.filter-bar select{font-size:12px;min-width:110px}.filter-bar .search-field{min-width:100%;flex-basis:100%}.filter-bar label{min-width:120px}.result-line{font-size:11px}.rate-card{padding:17px;gap:10px}.rate-card .rate-money{font-size:20px}.rate-heading{gap:9px}.date-tile{width:41px;min-width:41px;height:47px}.rate-card .rate-meta{gap:7px 11px;margin-top:15px;font-size:10px}.rate-bottom{padding-top:12px}.rate-bottom p{font-size:10px}.rate-bottom .actions{gap:6px}.rate-bottom .icon-btn{width:34px;height:34px;min-height:34px;padding:7px}.rate-bottom .icon-btn svg{width:17px;height:17px}.rate-bottom .btn-small{font-size:11px;padding:8px 10px;min-height:34px}.notification-card{padding:17px}.notification-card p{font-size:12px;line-height:1.8}.notice-meta .text-btn{font-size:11px}.contact-card{padding:16px;gap:11px}.contact-card .avatar{width:37px;height:37px;font-size:12px}.contact-card .actions{gap:5px;flex-direction:column}.contact-card .icon-btn{width:31px;height:31px;min-height:31px;padding:6px}.contact-card .icon-btn svg{width:16px;height:16px}.contact-card h3{font-size:14px}.form-grid{gap:14px}.settings-layout .form-grid{grid-template-columns:1fr}.settings-layout .field.full{grid-column:auto}.settings-actions .btn{flex:1;font-size:12px;padding:11px}.chart-switch{gap:6px}.chart-switch button{font-size:11px;padding:10px 11px;flex:1}.chart-table{font-size:11px}.donut-layout{gap:16px}.donut-stats strong{font-size:20px}.donut-stats span{font-size:11px}.login-page{display:block;background:var(--canvas)}.login-story{display:none}.login-form-wrap{padding:36px 27px;min-height:100dvh;max-width:440px;align-content:center}.login-form-wrap .brand{display:flex;margin-bottom:55px}.login-form-wrap .brand .brand-mark{background:var(--navy);color:var(--mint)}.login-form-wrap h2{font-size:29px}.login-form{margin-top:30px}.login-form input{min-height:51px;font-size:16px}.modal-overlay{padding:0;align-items:flex-end}.modal{border-radius:23px 23px 0 0;max-height:95dvh;max-width:none}.modal.narrow{max-width:none}.modal-header{padding:19px 20px}.modal-content{padding:20px}.modal-footer{padding:15px 20px calc(15px + env(safe-area-inset-bottom))}.modal-footer .btn{flex:1;font-size:12px}.modal .form-grid{gap:14px}.modal input,.modal select,.modal textarea{font-size:16px;padding:11px 12px}.modal .field label{font-size:11px}.preview-row{grid-template-columns:26px 95px minmax(0,1fr);gap:7px}.preview-row input{font-size:13px;padding:9px 7px}.preview-total{font-size:11px}.preview-head .badge{font-size:9px}.toast{bottom:calc(88px + env(safe-area-inset-bottom));font-size:12px}.chart-area{min-height:225px}.quick-box{padding:20px}.quick-box p{font-size:12px}}
@media(max-width:375px){.workspace{padding:18px 15px 102px}.page-head h1{font-size:26px}.page-head .btn{padding:10px;font-size:11px}.balance-panel{padding:22px}.balance-amount{font-size:33px}.stat{padding:14px}.stat strong{font-size:19px}.rate-card{padding:15px}.rate-money{font-size:18px!important}.rate-heading h3{font-size:13px}.rate-bottom .btn-small{font-size:10px;padding:8px}.modal-content{padding:18px}.preview-row{grid-template-columns:23px 85px minmax(0,1fr);gap:6px}.form-grid{column-gap:10px}}
.credit-card .row>div:first-child{min-width:0}.credit-card h2{overflow-wrap:anywhere}.credit-card .actions{flex-shrink:0}.credit-tag-row{display:flex;gap:7px;margin-top:13px}.credit-tag-row+.credit-total{margin-top:15px}.field{min-width:0}.preview-date{min-width:0;display:block}.preview-date>span{display:none}input[type="datetime-local"],input[type="date"]{display:block;min-width:0;max-width:100%;width:100%;-webkit-appearance:none}input::-webkit-date-and-time-value{text-align:left;min-width:0}
@media(max-width:800px){.preview-row{grid-template-columns:32px minmax(0,1fr);gap:8px;padding:13px 0}.preview-row.preview-labels{padding:8px 0}.preview-labels span:nth-child(3){display:none}.preview-date{grid-column:1/-1}.preview-date>span{display:block;font-size:11px;color:var(--muted);margin-bottom:6px}.preview-row input{font-size:16px;width:100%;max-width:100%;min-width:0}.preview-row input[type="datetime-local"]{font-size:14px;min-height:45px;padding:11px 10px}.modal input[type="datetime-local"]{max-width:100%;min-width:0;width:100%}}
.badge.undated{background:#eef0f1;color:var(--muted)}.credit-tag-row{flex-wrap:wrap}.credit-tag-row .badge svg{width:12px;height:12px}.total-field-label{position:relative;display:flex;align-items:center;min-height:17px;padding-right:35px}.lock-toggle{position:absolute;right:0;top:-6px;width:29px;height:29px;min-height:29px;padding:5px;background:var(--canvas)}.lock-toggle svg{width:16px;height:16px}.lock-toggle.unlocked{background:var(--light);color:var(--teal);border-color:#bdd9c8}.field input[readonly]{background:#f0f3ef;color:#64736c}.flex-preview-list{max-height:none}.flex-preview-row{background:#fff;border:1px solid var(--line);border-radius:15px;padding:16px;margin-bottom:12px}.flex-preview-row>.row{margin-bottom:15px}.flex-preview-row h3{font-size:13px}.flex-preview-row .icon-btn{width:31px;height:31px;min-height:31px;padding:6px}.flex-preview-row .icon-btn svg{width:16px;height:16px}.flex-preview-row .form-grid{gap:13px}.flex-preview-row label{font-size:11px}.flex-preview-row input{min-width:0;max-width:100%;width:100%}.flex-preview-row .field.full{grid-column:1/-1}
@media(max-width:800px){.flex-preview-row{padding:14px}.flex-preview-row .form-grid{gap:13px 10px}.flex-preview-row input{font-size:16px}.flex-preview-row input[type="datetime-local"],.flex-preview-row input[type="date"]{font-size:14px;min-height:46px}.total-field-label{font-size:11px}.lock-toggle{width:28px;height:28px;min-height:28px}.rate-heading .list-detail p{overflow-wrap:anywhere}}
.badge.extra{background:var(--gold-bg);color:var(--gold)}.balance-monthly-breakdown{display:flex;justify-content:space-between;gap:12px;margin-top:12px;font-size:11px;color:#a9c1c0}.balance-monthly-breakdown strong{color:#e1ece7;font-weight:500;margin-left:5px}.credit-breakdown{display:flex;justify-content:space-between;flex-wrap:wrap;gap:7px;font-size:11px;color:var(--muted);margin-top:14px}.credit-breakdown strong{color:var(--ink);margin-left:3px}.card-extra-button{width:100%;min-height:39px;font-size:12px;margin-top:15px}.selected-credit-summary{margin-bottom:20px}.selected-credit-summary .panel-head>div{min-width:0}.selected-credit-summary h2{overflow-wrap:anywhere}.category-total{font-family:Manrope,system-ui,sans-serif;font-size:26px;letter-spacing:-.7px;display:block;margin-top:5px}.financial-table-wrap{width:100%;overflow-x:auto;margin-top:15px}.financial-table{width:100%;border-collapse:collapse;font-size:12px}.financial-table th,.financial-table td{padding:13px 8px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}.financial-table th:first-child{text-align:left;white-space:normal}.financial-table thead th{font-size:11px;color:var(--muted);font-weight:500}.financial-table tbody th{font-weight:600}.financial-table .total-column{font-weight:700;color:var(--teal)}.unplanned-summary{background:#f5f7f2;border:1px solid var(--line);border-radius:14px;padding:17px;margin-top:25px}.unplanned-summary p,.monthly-summary p{margin-top:7px;line-height:1.65}.monthly-summary{margin-top:28px}.chart-credit-filter{max-width:440px}.chart-legend{flex-wrap:wrap;gap:8px 16px}
@media(max-width:800px){.financial-table-wrap{overflow:visible}.financial-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.financial-table tbody{display:block}.financial-table tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px;border-bottom:1px solid var(--line);padding:16px 0}.financial-table tbody tr:last-child{border-bottom:0;padding-bottom:3px}.financial-table tbody th{grid-column:1/-1;display:block;text-align:left;padding:0;border:0;white-space:normal;font-size:13px}.financial-table tbody td{display:flex;flex-direction:column;gap:5px;align-items:flex-start;text-align:left;white-space:normal;overflow-wrap:anywhere;min-width:0;padding:0;border:0;font-size:12px}.financial-table tbody td:before{content:attr(data-label);display:block;font-size:10px;color:var(--muted);font-weight:400}.financial-table .total-column{font-weight:700}.unplanned-summary{padding:15px;margin-top:22px}.unplanned-summary .financial-table tbody th{display:none}.category-total{font-size:25px}.selected-credit-summary .panel-head{align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:15px}.selected-credit-summary .panel-head .btn{min-height:38px}.balance-monthly-breakdown{font-size:10px}.chart-credit-filter{max-width:none}.monthly-summary{margin-top:23px}}
.subscription-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px}.subscription-card{padding:21px;min-width:0}.subscription-heading{align-items:flex-start}.subscription-heading>div:first-child{min-width:0}.subscription-heading h2{overflow-wrap:anywhere}.subscription-heading p{font-size:12px;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}.subscription-heading .actions{flex-shrink:0}.subscription-tags{display:flex;gap:10px;align-items:center;margin-top:15px}.subscription-paid{background:var(--light);padding:16px 18px;border-radius:14px;margin-top:18px;display:grid;gap:5px}.subscription-paid>span{font-size:11px;color:#648071}.subscription-paid>strong{font-family:Manrope,system-ui,sans-serif;font-size:28px;letter-spacing:-.8px;color:var(--teal)}.subscription-paid>small{font-size:10px;color:#648071}.subscription-costs{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:19px}.subscription-costs>div{min-width:0;display:grid;align-content:start;gap:7px}.subscription-costs span{font-size:10px;color:var(--muted)}.subscription-costs strong{font-size:21px;font-family:Manrope,system-ui,sans-serif;letter-spacing:-.4px}.subscription-costs strong.next-sub-date{font-family:'DM Sans',system-ui,sans-serif;font-size:13px;letter-spacing:0;line-height:1.5}.subscription-costs small{font-size:10px;color:var(--muted)}.subscription-future-price{display:flex;align-items:center;gap:8px;font-size:11px;background:var(--gold-bg);color:var(--gold);padding:11px;border-radius:10px;margin-top:16px}.subscription-future-price svg{height:15px;width:15px}.subscription-main-actions{display:flex;gap:8px;margin-top:19px;padding-bottom:18px}.subscription-main-actions .btn{flex:1;font-size:12px;min-height:40px}.subscription-details{border-top:1px solid var(--line);padding:13px 0;font-size:12px}.subscription-details:last-child{padding-bottom:0}.subscription-details summary{cursor:pointer;font-weight:600;color:var(--teal)}.subscription-payment-row{padding:17px 0;border-bottom:1px solid var(--line)}.subscription-payment-row:last-child{border:0;padding-bottom:0}.subscription-payment-row>.row{align-items:flex-start}.subscription-payment-row .row>div{min-width:0}.subscription-payment-row strong{font-size:12px}.subscription-payment-row .row p{font-size:10px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.subscription-payment-row .payment-actual{font-family:Manrope,system-ui,sans-serif;font-size:16px;white-space:nowrap}.payment-description{font-size:12px;line-height:1.7;color:#52656c;white-space:pre-line;overflow-wrap:anywhere;margin:12px 0 6px}.subscription-payment-row .actions{justify-content:flex-end;gap:18px;margin-top:6px}.subscription-payment-row .text-btn{font-size:10px;padding-bottom:0}.subscription-price-row{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid var(--line);gap:10px}.subscription-price-row:last-child{border:0;padding-bottom:0}.subscription-price-row>div:first-child{display:grid;gap:5px}.subscription-price-row span{font-size:10px;color:var(--muted)}.subscription-price-row .icon-btn{width:30px;height:30px;min-height:30px;padding:6px}.subscription-price-row .icon-btn svg{width:15px;height:15px}.subscription-notes{white-space:pre-line;font-size:12px;color:var(--muted);line-height:1.7;margin-top:12px;overflow-wrap:anywhere}.subscription-home-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.subscription-home-stats>div{background:var(--canvas);padding:14px;border-radius:12px;min-width:0}.subscription-home-stats span{display:block;font-size:10px;color:var(--muted);line-height:1.5}.subscription-home-stats strong{font-family:Manrope,system-ui,sans-serif;font-size:22px;display:block;margin-top:6px;overflow-wrap:anywhere}.subscription-next-list{margin-top:19px}.subscription-caption{font-size:10px;line-height:1.65;margin-top:16px}.subscription-home .list-value .small{display:block;font-size:9px;margin-top:5px}
@media(max-width:800px){.subscription-grid{grid-template-columns:minmax(0,1fr);gap:16px}.subscription-card{padding:19px}.subscription-paid{padding:15px 16px}.subscription-paid>strong{font-size:27px}.subscription-costs{gap:12px}.subscription-main-actions .btn{font-size:11px;padding:10px 11px}.subscription-main-actions .btn svg{width:17px;height:17px}.subscription-home-stats{gap:8px}.subscription-home-stats>div{padding:12px 9px}.subscription-home-stats strong{font-size:17px}.subscription-home .panel-head>div{min-width:0}.subscription-home .panel-head p{font-size:11px}.subscription-home-stats span{font-size:9px}.subscription-heading h2{font-size:17px}}
@media(max-width:375px){.subscription-card{padding:17px}.subscription-main-actions{gap:7px}.subscription-main-actions .btn{font-size:10px;padding:10px}.subscription-home-stats strong{font-size:16px}.subscription-costs strong.next-sub-date{font-size:12px}}
.subscription-home-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.subscription-home-stats small{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:5px}@media(max-width:800px){.subscription-home-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.subscription-home-stats strong{font-size:21px}.subscription-home-stats span{font-size:10px}.subscription-home-stats>div{padding:13px}}
@media(prefers-reduced-motion:no-preference){.modal{animation:rise .18s ease-out}.toast{animation:rise .15s ease-out}@keyframes rise{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}} 
.balance-monthly{border-top:1px solid #34505a;margin-top:18px;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:12px}.balance-monthly>div{min-width:0}.balance-monthly span{display:block;font-size:12px;color:#9ab4b8}.balance-monthly small{display:block;font-size:11px;color:#9ab4b8;margin-top:4px}.balance-monthly strong{font-size:21px;white-space:nowrap;flex-shrink:0}@media(max-width:375px){.balance-monthly strong{font-size:18px}}
.income-overview{margin-bottom:20px}.income-home .panel-head>div{min-width:0}.income-account-field[hidden]{display:none}.income-card .subscription-tags{flex-wrap:wrap;gap:8px}.income-card .subscription-tags>.small{overflow-wrap:anywhere;min-width:0}.income-register{margin:19px 0 17px}.income-method-line{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--muted);line-height:1.5;margin:10px 0}.income-method-line span{min-width:0;overflow-wrap:anywhere}.income-method-line svg{width:15px;height:15px}.income-summary-tiles strong{font-size:21px}.income-home .panel-head p{font-size:11px}@media(max-width:800px){.income-overview{padding:18px}.income-summary-tiles>div{padding:13px 11px}.income-summary-tiles strong{font-size:20px}.income-summary-tiles span{font-size:10px}}
.side-nav{min-height:0;overflow-y:auto;flex:1;align-content:start}.sidebar>.brand,.sidebar>.eyebrow,.report-download-button,.side-account{flex-shrink:0}
