@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{--ink:#17251f;--muted:#718078;--line:#e7eee9;--paper:#f5f8f5;--green:#147d57;--green2:#e7f4ed;--red:#c55454;--shadow:0 14px 45px rgba(25,49,37,.055)}
*{box-sizing:border-box}body{margin:0;background:var(--paper);font-family:'DM Sans',sans-serif;color:var(--ink);font-size:14px}h1,h2,h3,h4,h5,.brand,.amount{font-family:Manrope,sans-serif}a{color:inherit;text-decoration:none}.shell{min-height:100vh;display:grid;grid-template-columns:248px 1fr}.sidebar{background:#fff;border-right:1px solid var(--line);padding:25px 17px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:800;letter-spacing:-.7px;padding:0 12px 31px}.brandmark{width:34px;height:34px;border-radius:11px;background:var(--green);color:white;display:grid;place-items:center;font-weight:800}.navlabel{font-size:10px;letter-spacing:1.4px;color:#a1ada5;font-weight:700;padding:12px 13px 9px}.navlink{display:flex;align-items:center;gap:12px;padding:11px 13px;color:#65726b;border-radius:10px;margin:3px 0;font-weight:600}.navlink:hover,.navlink.active{background:var(--green2);color:var(--green)}.navicon{width:19px;text-align:center;font-size:16px}.sidebottom{position:absolute;bottom:20px;left:17px;right:17px;border-top:1px solid var(--line);padding-top:17px}.profile{display:flex;gap:10px;align-items:center;padding:7px}.avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#e9f1eb;color:var(--green);font-weight:700}.profile small{display:block;color:var(--muted);margin-top:2px}.main{min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:rgba(255,255,255,.82)}.topbar .date{color:var(--muted)}.content{max-width:1330px;margin:0 auto;padding:35px 42px 60px}.heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:27px}.eyebrow{font-size:11px;color:var(--green);text-transform:uppercase;letter-spacing:1.4px;font-weight:700;margin-bottom:8px}.heading h1{font-size:28px;letter-spacing:-.7px;margin:0}.heading p{color:var(--muted);margin:7px 0 0}.grid{display:grid;gap:18px}.stats{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px}.card{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);padding:21px}.stat{position:relative;overflow:hidden}.stathead{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-weight:600}.staticon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--green2);color:var(--green);font-size:17px}.staticon.red{background:#fff0ed;color:var(--red)}.amount{font-size:26px;font-weight:800;margin-top:19px;letter-spacing:-.7px}.hint{color:#98a39c;font-size:12px;margin-top:5px}.columns{grid-template-columns:1.45fr 1fr}.cardtitle{display:flex;justify-content:space-between;align-items:center;margin:0 0 17px}.cardtitle h2{font-size:16px;margin:0}.cardtitle a{font-size:12px;color:var(--green);font-weight:700}.rowitem{display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #f0f3f1}.rowitem:first-of-type{border:0}.rowicon{width:36px;height:36px;border-radius:11px;background:#f1f6f2;display:grid;place-items:center;color:var(--green)}.rowicon.expense{background:#fbe9eb;color:#d82622}.rowmeta{flex:1;min-width:0}.rowmeta strong{font-size:13px}.rowmeta small{display:block;color:var(--muted);margin-top:4px}.rowvalue{font-weight:700;white-space:nowrap}.positive{color:var(--green)}.negative{color:var(--red)}.goal{padding:15px 0;border-top:1px solid #f0f3f1}.goal:first-of-type{border:0}.goalhead{display:flex;justify-content:space-between;font-weight:600}.progress{height:6px;background:#edf2ee;border-radius:99px;margin:10px 0 6px;overflow:hidden}.progress span{display:block;height:100%;background:var(--green);border-radius:99px}.goal small{color:var(--muted)}.split{grid-template-columns:330px minmax(0,1fr)}.formlabel{display:block;font-size:12px;font-weight:700;margin:14px 0 6px}.input,select,textarea{width:100%;border:1px solid #dfe7e1;background:white;border-radius:9px;padding:11px 12px;font:inherit;color:var(--ink);outline:none}.input:focus,select:focus,textarea:focus{border-color:#76b997;box-shadow:0 0 0 3px #e7f4ed}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:9px;padding:11px 16px;background:var(--green);color:#fff;font-weight:700;font:600 13px 'DM Sans',sans-serif;cursor:pointer}.btn:hover{background:#0e6948}.btn.full{width:100%;margin-top:18px}.btn.light{background:#eff5f0;color:var(--green)}.btn.danger{background:#fff0ed;color:var(--red)}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:560px}th{text-align:left;color:#89958e;font-size:10px;text-transform:uppercase;letter-spacing:.8px;padding:0 11px 12px;border-bottom:1px solid var(--line)}td{padding:14px 11px;border-bottom:1px solid #f1f4f2;vertical-align:middle}td small{color:var(--muted)}.tag{display:inline-flex;background:#e7f4ed;color:#147d57;border-radius:20px;padding:5px 9px;font-size:11px;font-weight:700}.tag.red{background:#fff0ed;color:#c55454}.alert{border-radius:10px;padding:12px 14px;margin-bottom:16px;background:#fff0ed;color:#ad4343}.alert.ok{background:#e7f4ed;color:#147d57}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.authvisual{background:#123d2c;padding:54px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.authvisual:after{content:'';position:absolute;width:500px;height:500px;border:1px solid #ffffff20;border-radius:50%;right:-150px;bottom:-170px;box-shadow:0 0 0 65px #ffffff08,0 0 0 130px #ffffff06}.authvisual h2{font-size:40px;max-width:470px;line-height:1.17;letter-spacing:-1.3px;position:relative;z-index:1}.authvisual p{color:#c4d9ce;max-width:410px;line-height:1.7}.authform{width:min(430px,calc(100% - 42px));margin:auto}.authform h1{font-size:29px;margin-bottom:8px}.authform>p{color:var(--muted);margin-bottom:28px}.inline{display:flex;gap:12px}.muted{color:var(--muted)}.actions{display:flex;gap:6px}.actions form{margin:0}.link{color:var(--green);font-weight:700}.menu-toggle{display:none;background:none;border:0;font-size:22px;color:var(--ink)}.filters{display:flex;gap:10px;align-items:end;margin-bottom:18px}.filters>div{min-width:170px}.footer-note{font-size:11px;color:#96a29a;text-align:center;margin-top:24px}
@media(max-width:1000px){.shell{grid-template-columns:215px 1fr}.topbar{padding:0 25px}.content{padding:28px 25px}.columns{grid-template-columns:1fr}.split{grid-template-columns:280px 1fr}}
@media(max-width:720px){.shell{display:block}.sidebar{position:fixed;z-index:20;left:-270px;top:0;width:250px;transition:left .2s;box-shadow:var(--shadow)}.sidebar.open{left:0}.menu-toggle{display:block}.topbar{height:62px;padding:0 17px}.topbar .date{display:none}.content{padding:25px 16px 40px}.heading{align-items:start;gap:12px;flex-direction:column;margin-bottom:20px}.heading h1{font-size:24px}.stats{grid-template-columns:1fr;gap:11px}.stat{padding:17px}.amount{font-size:23px;margin-top:12px}.columns,.split{grid-template-columns:1fr}.card{padding:17px}.formcard{order:0}.listcard{order:1}.filters{align-items:stretch;flex-direction:column}.filters>div{min-width:0}.auth{grid-template-columns:1fr}.authvisual{display:none}.authform{padding:34px 0}.inline{flex-direction:column;gap:0}.tablewrap{margin:0 -5px}.tablewrap table{font-size:12px}td,th{padding-left:7px;padding-right:7px}}
.editentry{position:relative}.editentry summary{list-style:none}.editentry summary::-webkit-details-marker{display:none}.editentry[open] form{position:absolute;z-index:5;right:0;top:38px;width:min(300px,80vw);max-height:70vh;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:16px}.editentry[open] summary{background:#dcebe0}
@media(max-width:720px){.rowitem{flex-wrap:wrap}.rowitem .rowmeta{flex:1 1 calc(100% - 55px)}.rowitem .editentry{margin-left:48px}.rowitem .rowvalue{margin-left:auto}}

.empty-state{padding:24px 0}
.modal{width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--line);border-radius:18px;padding:25px;background:#fff;color:var(--ink);box-shadow:0 24px 80px rgba(12,32,22,.24)}
.modal::backdrop{background:rgba(12,27,19,.52);backdrop-filter:blur(3px)}
.modal[open]{animation:modal-in .16s ease-out}
@keyframes modal-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.modal-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}
.modal-header h2{font-size:20px;margin:0}
.modal-close{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:10px;background:#eff5f0;color:var(--ink);font-size:17px;cursor:pointer}
.modal .formlabel:first-of-type{margin-top:0}
.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}
.modal textarea{resize:vertical}
@media(max-width:520px){.modal{padding:20px;border-radius:15px}.modal-actions .btn{flex:1}}

.toast{position:fixed;right:24px;bottom:24px;z-index:1000;max-width:min(420px,calc(100vw - 32px));padding:14px 18px;border:1px solid transparent;border-radius:12px;box-shadow:0 12px 34px #163b2a26;font-weight:600;line-height:1.5;transition:opacity .25s ease,transform .25s ease}.toast-ok{background:#e7f4ed;border-color:#c8e7d5;color:#147d57}.toast-error{background:#fff0ed;border-color:#f5d0c9;color:#ad4343}.toast.toast-hidden{opacity:0;transform:translateY(8px);pointer-events:none}@media(max-width:520px){.toast{right:16px;bottom:16px}}
.topbar-account{display:flex;align-items:center;gap:10px}.month-picker{margin:0}.month-picker-select{width:auto;min-width:112px;padding:9px 30px 9px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font:600 13px 'DM Sans',sans-serif;cursor:pointer}.month-picker-select:focus{outline:none;border-color:#76b997;box-shadow:0 0 0 3px #e7f4ed}.month-picker-select:disabled{cursor:default;color:var(--muted)}
.icon-button{width:38px;height:38px;padding:0;font-size:15px}
.categories-table{table-layout:fixed;width:100%}.categories-table th:nth-child(1),.categories-table td:nth-child(1){width:34%}.categories-table th:nth-child(2),.categories-table td:nth-child(2){width:20%}.categories-table th:nth-child(3),.categories-table td:nth-child(3){width:20%}.categories-table th:nth-child(4),.categories-table td:nth-child(4){width:26%;text-align:right}.categories-table .actions{justify-content:flex-end}.categories-table th:nth-child(2){position:relative;overflow:visible}.category-type-heading,.category-mobile-filter{display:flex;align-items:center;gap:7px}.category-mobile-filter{display:none;position:relative}.category-title-actions{display:flex;align-items:center;gap:10px}.category-filter-toggle{border:0;background:transparent;color:var(--muted);padding:3px 5px;border-radius:5px;cursor:pointer}.category-filter-toggle:hover{background:var(--green2);color:var(--green)}.category-type-filter{position:absolute;z-index:5;top:30px;left:7px;width:auto;min-width:120px;padding:8px 28px 8px 10px;box-shadow:var(--shadow)}
.category-form [data-expense-limit]{margin-top:14px}.category-form [data-expense-limit] .formlabel{margin-top:0}
.report-table{min-width:900px;table-layout:fixed}.report-table th:nth-child(1){width:13%}.report-table th:nth-child(2){width:12%}.report-table th:nth-child(3){width:13%}.report-table th:nth-child(4){width:17%}.report-table th:nth-child(5){width:16%}.report-table th:nth-child(6){width:29%}.report-filter-row th{padding:8px 7px;border-bottom:1px solid var(--line)}.report-filter-row select{padding:8px 9px;font-size:12px}.report-kind{display:inline-flex;min-width:72px;justify-content:center;padding:4px 10px;border-radius:7px;font-size:11px;font-weight:700}.report-income{background:#e7f4ed;color:#147d57}.report-expense{background:#e93246;color:white}.report-no-data{text-align:center;color:var(--muted)}.report-filter-empty td{text-align:center;color:var(--muted)}.report-filter-empty[hidden]{display:none}
.transaction-rowitem{display:grid;grid-template-columns:36px minmax(0,1fr) auto auto;grid-template-areas:"icon meta value actions";column-gap:12px}.transaction-rowitem>.rowicon{grid-area:icon}.transaction-rowitem>.rowmeta{grid-area:meta;min-width:0}.transaction-rowitem>.rowvalue{grid-area:value;margin-left:0}.transaction-rowitem>.actions{grid-area:actions;align-items:center}
@media(max-width:720px){.transaction-rowitem{grid-template-columns:36px minmax(0,1fr) auto;grid-template-areas:"icon meta meta" ". value actions";row-gap:10px}.transaction-rowitem>.rowvalue{justify-self:start}.transaction-rowitem>.actions{justify-self:end}}
@media(max-width:720px){.transaction-heading,.category-heading{flex-direction:row;align-items:center;justify-content:space-between;gap:10px}.transaction-heading h1,.category-heading h1{font-size:22px}.transaction-heading>.btn,.category-heading>.btn{flex:none;white-space:nowrap;padding:10px 12px}}
@media(max-width:720px){.category-mobile-filter{display:flex}.categories-table{min-width:0;width:100%}.categories-table thead{display:none}.categories-table tbody{display:grid;gap:11px}.categories-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"name name" "type limit" "actions actions";gap:12px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}.categories-table tbody tr[hidden]{display:none}.categories-table tbody td{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:auto!important;padding:0;border:0;text-align:left!important}.categories-table tbody td:nth-child(1){grid-area:name}.categories-table tbody td:nth-child(2){grid-area:type}.categories-table tbody td:nth-child(3){grid-area:limit}.categories-table tbody td:nth-child(4){grid-area:actions;align-items:flex-end}.categories-table tbody td::before{content:attr(data-label);color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.6px;text-transform:uppercase}.categories-table tbody td:nth-child(4)::before{display:none}.categories-table .actions{width:100%;justify-content:flex-end}.category-mobile-filter .category-type-filter{top:28px;left:0}}
@media(max-width:720px){.report-table-wrap{margin:0;overflow:visible}.report-table{display:block;min-width:0;width:100%}.report-table thead{display:block}.report-table .report-head{display:none}.report-table .report-filter-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 0 14px;border:0}.report-table .report-filter-row th{display:flex;flex-direction:column;gap:5px;padding:0;border:0;text-align:left}.report-table .report-filter-row th::before{content:attr(data-label);color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.6px}.report-table .report-filter-row select{min-width:0;width:100%}.report-table tbody{display:grid;gap:10px}.report-table tbody tr[data-report-row]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"date date" "kind account" "category amount" "note note";gap:12px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}.report-table tbody tr[data-report-row][hidden]{display:none}.report-table tbody tr[data-report-row] td{display:flex;flex-direction:column;gap:4px;padding:0;border:0}.report-table tbody tr[data-report-row] td::before{content:attr(data-label);color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.6px;text-transform:uppercase}.report-table tbody tr[data-report-row] td:nth-child(1){grid-area:date}.report-table tbody tr[data-report-row] td:nth-child(2){grid-area:kind}.report-table tbody tr[data-report-row] td:nth-child(3){grid-area:account}.report-table tbody tr[data-report-row] td:nth-child(4){grid-area:category}.report-table tbody tr[data-report-row] td:nth-child(5){grid-area:amount;align-items:flex-end}.report-table tbody tr[data-report-row] td:nth-child(6){grid-area:note}.report-table .report-no-data,.report-table .report-filter-empty{display:block;padding:12px;border:0}.report-table .report-filter-empty[hidden]{display:none}}
@media(max-width:720px){.report-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}.report-stats .card{padding:12px 9px;border-radius:13px}.report-stats .stathead{font-size:11px;line-height:1.2}.report-stats .amount{font-size:15px;letter-spacing:-.4px;overflow-wrap:anywhere}.report-card{padding:14px}.report-card .cardtitle{margin-bottom:12px}.report-table thead{padding:12px;background:#f5f8f6;border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 14px rgba(25,49,37,.04)}.report-table thead::before{content:'Filtrlər';display:block;margin-bottom:10px;color:var(--ink);font-size:13px;font-weight:700}.report-table .report-filter-row{gap:10px}.report-table .report-filter-row th::before{font-size:10px;letter-spacing:.5px}.report-table .report-filter-row select{height:42px;padding:8px 28px 8px 10px;border-color:#dfe7e1;border-radius:10px;background-color:#fff;font-size:12px}.report-table tbody{gap:10px}.report-table tbody tr[data-report-row]{gap:12px;padding:15px;border-color:#e3ebe5;border-radius:14px;box-shadow:0 5px 16px rgba(25,49,37,.055)}.report-table tbody tr[data-report-row] td::before{font-size:9px;letter-spacing:.7px}.report-table tbody tr[data-report-row] td{font-size:14px;line-height:1.35}.report-table tbody tr[data-report-row] td:nth-child(1){flex-direction:row;justify-content:space-between;align-items:center;font-weight:700}.report-table tbody tr[data-report-row] td:nth-child(2){align-items:flex-end}.report-table tbody tr[data-report-row] td:nth-child(5){align-self:center;font-size:17px;font-weight:700}.report-table tbody tr[data-report-row] td.report-note-empty{display:none}.report-kind{min-width:76px;padding:5px 12px}.report-table .report-no-data,.report-table .report-filter-empty{padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}}
.report-mobile-filter-button{display:none}.report-modal-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.report-modal-filters>label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:12px;font-weight:700}.report-modal-filters select{width:100%;min-width:0}.report-filter-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:9px;margin-top:6px}
.report-mobile-content{display:none}
.topbar-leading{display:flex;align-items:center;gap:12px}
@view-transition{navigation:auto}::view-transition-old(root){z-index:1;animation:page-slide-out-left .22s cubic-bezier(.2,.75,.25,1) both}::view-transition-new(root){z-index:2;animation:page-slide-in-right .22s cubic-bezier(.2,.75,.25,1) both}@keyframes page-slide-out-left{to{transform:translateX(-12%)}}@keyframes page-slide-in-right{from{transform:translateX(100%)}}@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation-duration:1ms!important}}
.page-loading{position:fixed;inset:0;z-index:1000;display:none;place-items:center;pointer-events:none}.page-loading.is-visible{display:grid;pointer-events:none}.page-loading-spinner{width:48px;height:48px;border:4px solid #d8e8df;border-top-color:var(--green);border-radius:50%;box-shadow:0 6px 22px rgba(20,125,87,.15);animation:page-loading-spin .75s linear infinite}@keyframes page-loading-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.page-loading-spinner{animation-duration:1.8s}}
@media(min-width:721px){.mobile-home-link,.mobile-settings-link,.mobile-bottom-nav{display:none}}
@media(max-width:720px){.sidebar{display:none}.menu-toggle{display:none}.topbar-leading{display:flex;align-items:center;gap:12px}.mobile-home-link{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--green2);color:var(--green);font-size:17px}.topbar-account{display:none}.mobile-settings-link{display:flex;align-items:center;gap:8px;color:var(--ink);font-size:12px;font-weight:600}.mobile-settings-link .avatar{width:32px;height:32px}.mobile-bottom-nav{position:fixed;z-index:30;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:calc(62px + env(safe-area-inset-bottom));padding:7px 12px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:rgba(255,255,255,.96);box-shadow:0 -5px 20px rgba(25,49,37,.06);backdrop-filter:blur(12px)}.mobile-nav-link{display:grid;place-items:center;border-radius:12px;color:#7b8982;font-size:20px}.mobile-nav-link.active{background:var(--green2);color:var(--green)}.content{padding-bottom:calc(92px + env(safe-area-inset-bottom))}}
@media(max-width:720px){.report-mobile-filter-button{display:inline-flex;align-items:center;gap:7px;padding:9px 11px}.report-table thead{display:none}.report-filter-modal{width:min(460px,calc(100% - 24px));padding:20px}.report-modal-filters{grid-template-columns:1fr;gap:10px}.report-modal-filters>label{gap:5px}.report-modal-filters select{height:44px;border-radius:10px}.report-filter-actions{position:sticky;bottom:0;padding-top:10px;background:#fff}.report-filter-actions .btn{flex:1}}
@media(max-width:720px){.report-table tbody tr[data-report-row]{grid-template-areas:"category amount" "account date" "note note"}.report-table tbody tr[data-report-row] td:nth-child(1){grid-area:date;flex-direction:column;align-items:flex-start;justify-content:flex-start;font-weight:400}.report-table tbody tr[data-report-row] td:nth-child(2){display:none}.report-table tbody tr[data-report-row] td:nth-child(3){grid-area:account}.report-table tbody tr[data-report-row] td:nth-child(4){grid-area:category}.report-table tbody tr[data-report-row] td:nth-child(5){grid-area:amount;align-self:start}.report-table tbody tr[data-report-row] td:nth-child(5)::before{display:none}.report-table tbody tr[data-report-row] td:nth-child(6){grid-area:note}}
@media(max-width:720px){.report-table tbody tr[data-report-row]{display:block;padding:14px;border:1px solid #e2eaf3;border-radius:15px;background:#fff;box-shadow:0 3px 10px rgba(30,53,80,.05)}.report-table tbody tr[data-report-row] td:not(.report-mobile-content){display:none}.report-table tbody tr[data-report-row] td.report-mobile-content{display:block;padding:0;border:0}.report-mobile-summary{display:grid;grid-template-columns:42px minmax(0,1fr) auto 24px;align-items:center;gap:10px}.report-mobile-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;font-size:16px}.report-expense-icon{background:#fbe9eb;color:#d82622}.report-income-icon{background:#e5f4eb;color:#16834f}.report-mobile-copy{display:flex;flex-direction:column;min-width:0;gap:5px}.report-mobile-copy strong{overflow:hidden;color:#17251f;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.report-mobile-copy small{color:#8b9aab;font-size:11px}.report-mobile-amount{font-size:14px;white-space:nowrap}.report-mobile-chevron{display:grid;place-items:center;width:24px;height:28px;padding:0;border:0;background:transparent;color:#8b9aab;font-size:10px;cursor:pointer}.report-mobile-chevron[aria-expanded="true"] i{transform:rotate(180deg)}.report-mobile-chevron i{transition:transform .18s ease}.report-mobile-note{margin:11px 0 0 52px;padding-top:9px;border-top:1px solid #edf1f4;color:#718078;font-size:12px;line-height:1.45}}
@media(max-width:720px){.input,select,textarea{font-size:16px!important}}
@media(max-width:720px){.topbar{height:70px;padding-top:8px}}

.settings-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px}.settings-actions form{margin:0}

@supports (-webkit-touch-callout:none){@media(max-width:720px){.modal input[type=date]{display:block;box-sizing:border-box;min-width:0;max-width:100%;width:100%;height:44px;padding:0;text-indent:12px;line-height:44px}}}

.quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 20px}.quick-action{display:flex;min-width:0;align-items:center;justify-content:center;gap:9px;padding:15px 18px;border-radius:13px;color:#fff;font-size:14px;font-weight:700;transition:filter .15s ease,transform .15s ease}.quick-action:hover{filter:brightness(.96);transform:translateY(-1px)}.quick-income{background:#147d57}.quick-expense{background:#d84a58}@media(max-width:520px){.quick-actions{gap:8px}.quick-action{padding:12px 8px;gap:6px;font-size:12px;white-space:nowrap}}

.insights-card{margin-bottom:18px}.insights-card .cardtitle{margin-bottom:12px}.insight-list{display:grid;gap:9px}.insight-item{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;padding:11px 12px;border-radius:11px;background:#f2f7f3}.insight-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#e2f1e7;color:#147d57}.insight-item p{margin:0;color:var(--ink);font-size:13px;line-height:1.5}.insight-item.warning{background:#fff6e8}.insight-item.warning .insight-icon{background:#ffebc6;color:#a86700}@media(max-width:720px){.insights-card{padding:14px;margin-bottom:12px}.insights-card .cardtitle{margin-bottom:10px}.insight-item{grid-template-columns:30px minmax(0,1fr);gap:9px;padding:10px}.insight-icon{width:30px;height:30px}.insight-item p{font-size:12px}}

.expense-templates-card{margin:0 0 18px}.expense-templates-card .cardtitle{margin-bottom:10px}.expense-templates{display:flex;align-items:flex-start;gap:12px;overflow-x:auto;padding:2px 0 5px}.expense-template-button{display:flex;flex:0 0 92px;width:92px;flex-direction:column;align-items:center;gap:5px;padding:4px 2px;border:0;background:transparent;color:var(--ink);cursor:pointer}.expense-template-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fff0ed;color:var(--red);font-size:19px;transition:transform .15s ease,background .15s ease}.expense-template-button:hover .expense-template-icon{transform:translateY(-2px);background:#ffe4df}.expense-template-button strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.expense-template-button small{max-width:100%;overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;text-align:center}@media(max-width:720px){.expense-templates-card{padding:14px;margin-bottom:12px}.expense-templates{gap:8px}.expense-template-button{flex-basis:82px;width:82px}.expense-template-icon{width:48px;height:48px;font-size:18px}}
