:root{font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#273b33;background:#f5f6f2;font-synthesis:none;--green:#194d40;--lime:#e5f4b0;--muted:#728177;--line:#e1e7df;--red:#b4473b}*{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}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #90bda0;outline-offset:3px}button{border:0;background:none;color:inherit}a{color:var(--green)}h1,h2,h3,p{margin-top:0}h1{font-size:32px;font-weight:600;letter-spacing:-1.2px;line-height:1.2}h2{font-size:19px;letter-spacing:-.4px;font-weight:600}h3{font-size:15px}p{line-height:1.6}small,.muted{color:var(--muted)}svg.icon{width:19px;height:19px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button.primary,.button.primary{background:var(--green);color:white;border:1px solid var(--green)}.button,button.primary,button.secondary,button.danger{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:10px 17px;border-radius:9px;font-weight:550;text-decoration:none;font-size:14px;white-space:nowrap}button.secondary{border:1px solid var(--line);background:white}button.danger{background:#fbe9e6;color:#a13c30}.icon-button{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:8px;background:white}.link-button{font-size:13px;color:var(--green);padding:6px 0;text-decoration:underline;text-underline-offset:3px}.tag{display:inline-flex;align-items:center;gap:6px;border-radius:6px;padding:5px 8px;font-size:11px;font-weight:600;background:#edf2e8;color:#55774c}.tag.red{background:#fbeeea;color:var(--red)}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:650;color:var(--muted)}.skip-link{position:absolute;left:12px;top:-80px;z-index:99;background:white;padding:12px}.skip-link:focus{top:10px}.loading-page{height:100dvh;display:grid;place-content:center;text-align:center;gap:20px}.loading-page img{margin:auto}.login{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;padding:22px;gap:22px}.login-story{background:#194d40;border-radius:20px;color:#f6f8ee;padding:46px 60px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}.brand{display:flex;align-items:center;gap:11px;font-size:26px;font-weight:650;letter-spacing:-1px}.brand img{width:38px;height:38px}.login-story .brand img{background:#2d6050}.login-story h1{font-size:clamp(38px,4.1vw,63px);font-weight:500;letter-spacing:-2.5px;max-width:480px;margin:58px 0 22px}.login-story h1 em{font-style:normal;color:var(--lime)}.login-story p{max-width:380px;color:#c6d9cb;font-size:16px}.orbit{height:210px;position:relative;margin:20px -20px;background:radial-gradient(ellipse at 50% 100%,#50765655,transparent 65%);display:flex;align-items:center;justify-content:center}.orbit:before,.orbit:after{content:"";position:absolute;width:310px;height:160px;border:1px solid #6a97724f;border-radius:50%;transform:rotate(-22deg)}.orbit:after{transform:rotate(22deg);width:380px}.orbit-mark{position:relative;z-index:1;background:#e5f4b0;border-radius:25px;padding:23px;box-shadow:0 16px 60px #102e2766}.orbit-mark svg{width:65px;height:65px;stroke:#194d40;stroke-width:1.5}.login-story footer{font-size:12px;color:#b2cabd}.login-form-wrap{display:grid;place-content:center;padding:40px}.login-form{width:360px;max-width:100%}.login-form h2{font-size:29px;letter-spacing:-1px;margin:12px 0}.login-form>p{font-size:14px;color:var(--muted);margin-bottom:29px}.login-form .primary{width:100%;margin-top:8px}.login-form .fine-print{font-size:12px;margin-top:25px;line-height:1.65}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px}.field>span,label.field>span{font-size:12px;font-weight:600;color:#526259}.field input,.field select,.field textarea,.filter input,.filter select{width:100%;min-height:44px;background:white;border:1px solid #d7e0d6;border-radius:8px;padding:10px 12px;color:#273b33;font-size:14px}.field textarea{min-height:80px;resize:vertical}.field small{font-size:11px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.error{font-size:13px;color:#a43529;background:#fff0eb;border:1px solid #f5d4c9;border-radius:9px;padding:12px;line-height:1.5}.error:empty{display:none}.shell{display:grid;grid-template-columns:220px 1fr;min-height:100dvh}.sidebar{border-right:1px solid var(--line);background:#fbfcf8;padding:30px 22px;display:flex;flex-direction:column;position:fixed;top:0;bottom:0;width:220px}.sidebar .brand{font-size:25px;margin-bottom:42px}.sidebar .brand img{width:35px;height:35px}.sidebar nav{display:grid;gap:7px}.nav-item{display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:9px;text-align:left;font-size:13px;color:#6a7b70}.nav-item.active{background:#e8efdd;color:#234c3b;font-weight:650}.nav-item.active .icon{stroke-width:2}.sidebar-bottom{margin-top:auto;padding-top:30px}.profile-label{font-size:12px;display:flex;align-items:center;gap:9px;padding-bottom:16px;overflow:hidden}.profile-label span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border-radius:50%;background:#e3e8dc;color:#4d6c52;font-weight:600}.sidebar .signout{font-size:12px;display:flex;align-items:center;gap:9px;color:#7a827a;padding:9px 0}.main-area{grid-column:2;min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;gap:16px;background:#fbfcf833}.topbar-left{font-size:12px;color:#889388;display:flex;align-items:center;gap:12px}.topbar-left strong{color:#455f4c;font-weight:500}.sync-pill{display:flex;align-items:center;gap:7px;font-size:11px;color:#67836c}.sync-pill .dot{width:6px;height:6px;background:#79a270;border-radius:50%}.sync-pill.warn{color:#9c7433}.sync-pill.warn .dot{background:#bd8e40}.top-actions{display:flex;align-items:center;gap:15px}.content{max-width:1380px;margin:auto;padding:38px 42px 60px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:29px}.page-heading p{font-size:13px;color:var(--muted);margin:9px 0 0}.heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.month-picker{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:8px;background:white;padding:6px 10px;min-height:43px}.month-picker input{border:0;background:transparent;font-size:12px;color:#536653;max-width:145px}.currency-picker{border:1px solid var(--line);border-radius:8px;padding:11px 8px;background:white;font-size:12px}.summary-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:18px;margin-bottom:24px}.summary-card{border-radius:13px;background:white;border:1px solid var(--line);padding:24px 25px;min-height:157px;position:relative}.summary-card.featured{background:var(--green);color:white;border-color:var(--green)}.summary-card .label{font-size:12px;display:flex;align-items:center;gap:8px;color:#748576}.summary-card.featured .label{color:#c0d5c4}.summary-card .balance{font-size:clamp(24px,2.7vw,36px);letter-spacing:-1.5px;margin:16px 0 9px;font-weight:550;overflow-wrap:anywhere}.summary-card .foot{font-size:11px;color:#869083}.summary-card.featured .foot{color:#bed4ba}.summary-card.featured:after{content:"";position:absolute;right:22px;top:24px;width:38px;height:38px;border:1px solid #ffffff23;border-radius:50%;background:#ffffff06}.two-column{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(265px,1fr);gap:23px;margin-bottom:24px}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:24px;min-width:0}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.panel-header h2{margin:0;font-size:16px}.panel-header small{font-size:11px}.panel-header button{font-size:12px;color:var(--green)}.flow-numbers{display:flex;gap:38px;margin-bottom:20px}.flow-number small{font-size:11px;display:flex;align-items:center;gap:7px}.flow-number strong{display:block;font-size:21px;letter-spacing:-.5px;margin-top:6px;font-weight:550}.legend-dot{width:7px;height:7px;display:inline-block;border-radius:2px;background:#3f755a}.legend-dot.expense{background:#d8b47d}.chart{height:145px;display:flex;align-items:stretch;gap:20px;padding-top:10px;border-bottom:1px solid #e9eee5;background:repeating-linear-gradient(to top,transparent,transparent 32px,#eff1ea 33px,transparent 34px)}.chart-group{flex:1;display:flex;justify-content:center;align-items:flex-end;gap:4px;position:relative;padding-bottom:22px}.chart-bar{width:17px;max-width:30%;background:#507e61;border-radius:4px 4px 0 0;min-height:2px}.chart-bar.expense{background:#d8bb8d}.chart-month{position:absolute;bottom:3px;font-size:10px;color:#8b9689}.chart-caption{font-size:10px;color:#8a9488;margin:11px 0 0}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-action{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-height:90px;padding:14px;border:1px solid var(--line);border-radius:9px;font-size:12px;background:#fafcf7}.quick-action .icon{color:#547853}.quick-action:hover{background:#edf3e7}.account-line{display:flex;align-items:center;gap:12px;border-top:1px solid #edf0e8;padding:14px 0;font-size:12px}.account-line:first-child{border-top:0}.account-icon{display:grid;place-items:center;background:#f1f4eb;border-radius:8px;width:35px;height:35px}.account-line strong{margin-left:auto;font-weight:600;font-size:13px}.account-line small{display:block;margin-top:4px;font-size:10px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px;white-space:nowrap}th{font-size:10px;letter-spacing:.7px;color:#8a9486;font-weight:550;text-transform:uppercase;border-bottom:1px solid var(--line);padding:0 12px 14px}td{padding:16px 12px;border-bottom:1px solid #edf0e8}tr:last-child td{border-bottom:0}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{padding-right:0}.movement-name{display:flex;align-items:center;gap:10px;max-width:290px}.movement-name span:last-child{white-space:normal;overflow-wrap:anywhere}.movement-mark{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#edf4e6;color:#59774e;flex-shrink:0}.movement-mark.expense{background:#f9efe7;color:#b7845b}.movement-mark.adjustment{background:#eeedf6;color:#7b73a0}.positive{color:#3a7957}.negative{color:#b5734f}.right{text-align:right}.number{font-variant-numeric:tabular-nums}.empty{text-align:center;padding:36px 22px;color:#7a8b7c;font-size:13px;line-height:1.65}.empty .icon{width:30px;height:30px;margin-bottom:12px}.empty p{margin:4px 0}.filter{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin-bottom:15px}.filter input,.filter select{font-size:12px;min-height:40px}.filter.secondary-filter{grid-template-columns:1fr 1fr 1fr}.filter label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted)}.note-bar{font-size:12px;background:#edf2e5;border:1px solid #e1e9d8;padding:13px 16px;border-radius:9px;line-height:1.6;margin-bottom:22px;color:#596f50}.note-bar.warning{background:#fff6e6;border-color:#f1deb9;color:#8c6b32;display:flex;align-items:center;justify-content:space-between;gap:16px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.mini-card{border:1px solid var(--line);border-radius:12px;background:white;padding:22px}.mini-card h3{margin:15px 0 5px}.mini-card .large{font-size:24px;letter-spacing:-.6px;margin:16px 0}.mini-card .card-actions{display:flex;gap:15px;margin-top:22px}.mini-card small{font-size:11px}.progress-track{height:6px;background:#ebefe4;border-radius:9px;margin:15px 0 8px;overflow:hidden}.progress-fill{height:100%;background:#8aac67;border-radius:9px}.section-space{margin-top:30px}.settings-list{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-list .panel p{font-size:12px;color:#73816f}.row{display:flex;align-items:center;justify-content:space-between;gap:16px}.tabs{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:22px}.tabs button{padding:10px 17px;border-radius:8px;font-size:12px;color:#72816c}.tabs button.active{background:#e7efdc;color:#355a35;font-weight:600}.project-box{margin-top:25px;padding:20px;background:#f0f4e8;border-radius:12px}.project-box .result{font-size:32px;letter-spacing:-1px;color:var(--green);margin:12px 0}.fine-print{font-size:11px;color:#81907c;line-height:1.7}.mobile-brand{display:none}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#224c3f;color:white;border-radius:10px;padding:12px 20px;box-shadow:0 6px 28px #23382a22;font-size:13px;z-index:10;max-width:calc(100% - 32px);line-height:1.5}#toast:empty{display:none}dialog{border:0;border-radius:16px;width:520px;max-width:calc(100% - 28px);max-height:90dvh;padding:28px;box-shadow:0 22px 90px #14291e2b;color:#273b33}dialog::backdrop{background:#1f362960;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:20px}.dialog-header h2{margin:0;font-size:22px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.dialog-actions .primary{min-width:145px}.dialog-form .fine-print{margin:0 0 16px}.summary-inline{display:flex;gap:8px;justify-content:space-between;font-size:13px;background:#f4f7ef;padding:14px;border-radius:9px;margin-bottom:18px}.footer-note{font-size:10px;color:#95a18f;text-align:center;margin-top:28px}.profile-empty{max-width:550px;margin:70px auto;text-align:center}.profile-empty h2{font-size:23px}.profile-empty p{font-size:14px;color:var(--muted)}
@media(min-width:1500px){.content{padding-top:48px}.summary-card{min-height:172px}.chart{height:185px}.quick-action{min-height:100px}}
@media(max-width:1150px){.sidebar{width:185px;padding:25px 14px}.shell{grid-template-columns:185px 1fr}.content{padding:30px 25px}.topbar{padding:0 25px}.cards{grid-template-columns:repeat(2,1fr)}.summary-card{padding:20px}.summary-card .balance{font-size:26px}.two-column{grid-template-columns:1.4fr 1fr;gap:16px}.login-story{padding:40px}.login-form-wrap{padding:25px}.login-form{width:320px}}
@media(max-width:800px){.shell{display:block}.sidebar{position:relative;width:100%;padding:15px 20px 0;border-right:0;border-bottom:1px solid var(--line);background:#fbfcf8}.sidebar .brand{font-size:22px;margin-bottom:15px}.sidebar .brand img{width:30px;height:30px}.sidebar nav{display:flex;overflow-x:auto;gap:5px;padding-bottom:12px}.nav-item{padding:9px 12px;white-space:nowrap;font-size:12px;gap:7px}.nav-item .icon{width:16px;height:16px}.sidebar-bottom{position:absolute;right:18px;top:18px;padding:0;margin:0}.profile-label{display:none}.sidebar .signout{font-size:11px;padding:5px}.topbar{height:51px;padding:0 22px}.topbar-left{font-size:11px}.top-actions{gap:7px}.top-actions .icon-button{height:30px;width:30px}.sync-pill{font-size:10px}.content{padding:28px 22px 40px}.page-heading{flex-direction:column;gap:18px;margin-bottom:22px}.page-heading h1{font-size:29px}.heading-actions{width:100%}.heading-actions>.primary{margin-left:auto}.summary-grid{gap:12px}.summary-card{padding:18px;min-height:140px}.summary-card .balance{font-size:22px;letter-spacing:-.8px}.summary-card .label{font-size:11px}.summary-card .label .icon{display:none}.summary-card.featured:after{display:none}.summary-card .foot{font-size:10px}.two-column{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-list{grid-template-columns:1fr}.panel{padding:20px}.login{grid-template-columns:1fr;padding:0;gap:0}.login-story{border-radius:0;padding:26px 30px 30px;min-height:200px}.login-story .brand{font-size:23px}.login-story h1{font-size:32px;letter-spacing:-1px;margin:28px 0 0;max-width:100%}.login-story h1 br{display:none}.login-story p,.login-story .orbit,.login-story footer{display:none}.login-form-wrap{padding:34px 28px 50px}.login-form{width:min(420px,calc(100vw - 56px))}.login-form h2{font-size:25px}.filter,.filter.secondary-filter{grid-template-columns:1fr 1fr}.filter>input:first-child{grid-column:1 / -1}.filter.secondary-filter>label:last-child{grid-column:1 / -1}.flow-numbers{gap:28px}.flow-number strong{font-size:20px}}
@media(max-width:480px){.summary-grid{grid-template-columns:1fr 1fr;gap:12px}.summary-card.featured{grid-column:1 / -1;min-height:139px}.summary-card.featured .balance{font-size:35px;margin:12px 0 6px}.summary-card{min-height:125px}.summary-card .balance{font-size:22px}.cards{grid-template-columns:1fr}.content{padding:24px 16px 40px}.topbar{padding:0 16px}.topbar-left .crumb-prefix{display:none}.panel{padding:17px}.field-row{gap:10px}.heading-actions .primary{font-size:12px;padding:10px 13px}.month-picker{padding:6px 8px}.month-picker input{max-width:128px}.currency-picker{font-size:11px}.page-heading p{font-size:12px}dialog{padding:22px}.note-bar.warning{align-items:flex-start;flex-direction:column}table{font-size:11px}.movement-name{max-width:190px}.movement-mark{width:28px;height:28px}.flow-number strong{font-size:18px}.two-column{gap:16px}.quick-action{min-height:80px}}
@media(prefers-reduced-motion:no-preference){button{transition:background .16s,opacity .16s}.panel,.summary-card{animation:reveal .25s ease-out}@keyframes reveal{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}}
.balance .currency-code{display:block;font-size:10px;letter-spacing:1px;font-weight:500;opacity:.7;margin-bottom:4px}.balance .money-value{display:block;white-space:nowrap;overflow-x:auto;overflow-wrap:normal;scrollbar-width:thin}.summary-card .balance{margin-top:12px}

/* Mes */
.account-line.total{border-top:1px solid currentColor;padding-top:.6rem;font-weight:600}
.free-line{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-top:1rem;padding:.9rem 1.1rem;border-radius:14px;background:rgba(46,160,103,.14);color:#1f8a57;font-size:1.25rem;font-weight:700}
.free-line.short{background:rgba(214,69,69,.14);color:#c0392b}
[data-theme="dark"] .free-line{color:#5fd39a}[data-theme="dark"] .free-line.short{color:#ff8a80}
.pay-toggle{width:1.6rem;height:1.6rem;border-radius:6px;border:2px solid currentColor;background:transparent;color:inherit;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;cursor:pointer;padding:0;opacity:.75}
.pay-toggle.done{background:#2ea067;border-color:#2ea067;color:#fff;opacity:1}
.pay-toggle .icon{width:1rem;height:1rem}
.tag.pending{opacity:.7}
.line-actions{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;justify-content:flex-end}
.check-field{display:flex;align-items:center;gap:.5rem;margin:.6rem 0}
