@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap";:root{font-family:DM Sans,system-ui,sans-serif;color:#263638;background:#f5f6f8;font-synthesis:none;font-size:14px;--red:#dc0030;--ink:#203537;--muted:#7c888a;--line:#e9edef;--green:#297563}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:9px;padding:11px 17px;background:var(--red);color:#fff;font-weight:600;transition:background .15s,transform .15s}button:hover{filter:brightness(.96)}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #779fad;outline-offset:3px}input,textarea{color:var(--ink);background:#fff;border:1px solid #dce2e3;border-radius:8px;padding:11px;min-width:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Manrope,system-ui,sans-serif}h3{font-size:15px;font-weight:750;letter-spacing:-.3px}small{color:var(--muted);font-size:11px}a{color:inherit;text-decoration:none}svg{flex-shrink:0}#root>main{max-width:540px;margin:12vh auto;background:#fff;padding:40px;border-radius:20px;border:1px solid var(--line)}#root>main h1{margin-bottom:15px}#root>main p{margin-bottom:20px;line-height:1.65}.secondary{background:#fff;color:var(--red);border:1px solid #ebc6ce}.brand{display:flex;gap:14px;align-items:center;padding:0 12px;margin-bottom:30px;font-size:19px;font-weight:800;letter-spacing:1.5px;color:#d5002c;white-space:nowrap}.brand-light{font-weight:400;color:#39474a}.brand-mark{display:block;width:48px;height:48px;flex-shrink:0}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#98a4a5}.a2ui-column{display:flex;flex-direction:column;gap:20px}.a2ui-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:16px}.metric-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:21px 18px;display:flex;flex-direction:column;gap:13px;min-width:0}.metric-card>span{font-size:10px;color:#819091}.metric-card>strong{font-family:Manrope,system-ui,sans-serif;font-weight:800;font-size:clamp(17px,1.65vw,27px);letter-spacing:-1px;white-space:nowrap}.metric-card.positive>strong{color:#2d806b}.metric-card.negative>strong{color:#cf4b60}.metric-card small{font-size:9px}.finance-panel{border:1px solid var(--line);border-radius:13px;background:#fff;padding:24px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}.panel-unit{font-size:9px;letter-spacing:.7px;color:#99a4a6}.chart-container{height:260px;position:relative}.chart-details{margin-top:16px;color:#8d989a;font-size:10px}.chart-details summary{cursor:pointer}.chart-details[open]{overflow:auto}.table-scroll{overflow-x:auto;margin:0 -3px}table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}th{font-size:9px;letter-spacing:.3px;font-weight:600;color:#97a1a3;white-space:nowrap;padding:11px 12px;background:#f9fafb}td{padding:14px 12px;border-bottom:1px solid #f0f2f3;color:#637274}tr:last-child td{border-bottom:0}td:nth-child(2){color:#394d50;font-weight:500}td:last-child,th:last-child{text-align:right;white-space:nowrap}.type-cell{font-size:10px;color:#8b999a}.chart-details td{padding:9px}.progress-list{display:flex;flex-direction:column;gap:23px;margin-top:24px}.progress-label{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:11px;font-size:11px}.progress-label strong{font-weight:500}.progress-label span{font-size:10px;color:#627473}.progress-label small{font-size:9px;color:#a4aeb0}progress{appearance:none;border:0;display:block;width:100%;height:5px;border-radius:5px;background:#edf2f0;overflow:hidden;margin:9px 0}progress::-webkit-progress-bar{background:#edf2f0;border-radius:5px}progress::-webkit-progress-value{background:#578d7d;border-radius:5px}progress::-moz-progress-bar{background:#578d7d;border-radius:5px}.over-budget progress::-webkit-progress-value{background:#d96475}.over-budget progress::-moz-progress-bar{background:#d96475}.progress-list small{font-size:9px}.finance-notice{display:flex;gap:12px;align-items:flex-start;padding:16px 18px;border:1px solid #e9e5dc;border-radius:10px;background:#fbfaf6;color:#8d8062}.finance-notice p{font-size:11px;line-height:1.7}.context-action{align-self:flex-start;font-size:11px;padding:12px 18px}.context-action span{margin-left:18px}.plan-card{position:relative;border:1px solid #e4e9e8;border-radius:14px;background:#fff;padding:24px;display:flex;flex-direction:column;align-items:flex-start}.plan-card.featured{border-color:#ddb2bc;box-shadow:0 5px 20px #d5002c07}.risk-badge{font-size:9px;padding:5px 9px;border-radius:5px;color:#6e877f;background:#eef3f0}.plan-card h3{font-size:20px;margin:21px 0 8px;letter-spacing:-.7px}.plan-rate{font-family:Manrope,system-ui,sans-serif;font-size:48px;font-weight:800;letter-spacing:-2px;line-height:1.3}.plan-rate span{font-size:24px;font-weight:400;color:#889694;margin-left:3px}.plan-card small{font-size:9px}.plan-card p{font-size:11px;line-height:1.8;color:#80908f;margin:18px 0 23px;flex:1}.plan-capital{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--line);padding:18px 0;width:100%;color:#8d9999;font-size:10px}.plan-capital strong{font-size:16px;color:var(--ink)}.plan-card button{width:100%;font-size:11px;background:#f3f5f4;color:#536d66}.plan-card.featured button{background:var(--red);color:#fff}.simulation-form{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap}.simulation-form>div{flex-basis:100%;margin-bottom:3px}.simulation-form p{font-size:11px;color:#92a09f;margin-top:7px}.simulation-form label{font-size:10px;color:#82908f;display:flex;flex-direction:column;gap:8px;flex:1;min-width:130px}.simulation-form input{width:100%}.simulation-form button{font-size:11px;height:41px}.debt-card h3{margin:13px 0}.debt-balance{font:800 27px Manrope,system-ui,sans-serif;display:block;margin-bottom:20px;letter-spacing:-1px}.debt-card dl{display:flex;flex-direction:column;gap:13px;font-size:10px;color:#8c9999;margin:22px 0}.debt-card dl div{display:flex;justify-content:space-between}.debt-card dd{margin:0;color:#354e4c;font-weight:600}.debt-card button{font-size:10px;width:100%}.error-banner{border:1px solid #f0c1c8;background:#fff2f4;border-radius:10px;padding:17px;display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px;font-size:12px}.error-banner button{font-size:10px;white-space:nowrap}.loading-dot{height:7px;width:7px;background:var(--red);border-radius:50%;animation:pulse 1s infinite}.empty-state{text-align:center;padding:40px;color:#97a3a3;font-size:12px}.chat-message{padding:16px 14px;border:1px solid #edf0ef;background:#f8faf9;border-radius:12px;margin:14px 0}.chat-message.user{background:#fff7f8;border-color:#f8eaed;margin-left:20px}.message-author{display:block;font-size:9px;font-weight:700;color:#7c918b;margin-bottom:9px}.chat-message.user .message-author{color:#bd6475}.chat-message p{font-size:11px;line-height:1.85;color:#5d7270;white-space:pre-wrap}.chat-message .speech{margin-top:12px}.speech button{font-size:9px;padding:8px 10px;border-color:#d9e4df;color:#578172;background:transparent}.speech audio{width:100%;height:33px}.speech p{font-size:10px}@keyframes pulse{50%{opacity:.35}}@keyframes shimmer{to{background-position:-200% 0}}@media(min-width:1800px){.chart-container{height:300px}}@media(max-width:1250px){.brand{font-size:16px;gap:11px}.brand-mark{width:38px;height:38px}.a2ui-row{gap:10px}.metric-card{padding:18px 13px}.metric-card>strong{font-size:20px}.metric-card>span{font-size:9px}.finance-panel{padding:20px}.plan-card{padding:18px}.plan-card h3{font-size:17px}}@media(max-width:1050px){.brand{padding:0;justify-content:center}.brand>span:last-child{display:none}.a2ui-row{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))}.a2ui-row>.plan-card:last-child:nth-child(odd),.a2ui-row>.debt-card:last-child:nth-child(odd){grid-column:1/-1}.metric-card>strong{font-size:23px}}@media(max-width:760px){.brand{justify-content:flex-start}.brand>span:last-child{display:inline}.brand{font-size:19px;margin-bottom:15px}.a2ui-row{gap:12px}.metric-card{padding:18px}.metric-card>strong{font-size:22px}.finance-panel{padding:20px 16px}.chat-message p{font-size:12px}.chart-container{height:245px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important;transition:none!important}}.login-shell{min-height:100dvh;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:8vw;padding:6vw;background:#f5f8f7}.login-story{display:flex;flex-direction:column;justify-content:center;gap:50px;max-width:580px}.login-story h1{font-size:clamp(34px,4.5vw,64px);letter-spacing:-2px;line-height:1.15;margin:20px 0}.login-story p,.login-card p{color:#718783;line-height:1.8}.login-card{background:#fff;padding:clamp(25px,4vw,56px);border-radius:22px;border:1px solid var(--line);max-width:480px;width:100%}.login-card h2{font-size:30px;letter-spacing:-1px;margin:16px 0}.login-card button{width:100%;margin:28px 0 18px;min-height:48px}.login-card small{display:block;line-height:1.8}.chat-message{overflow-wrap:anywhere}@media(max-width:760px){.login-shell{grid-template-columns:1fr;padding:28px 20px;gap:30px}.login-story{gap:30px}.login-story h1{font-size:36px}.login-card{max-width:none}.simulation-form input{font-size:16px}}@media(max-width:420px){.a2ui-row{grid-template-columns:1fr}.error-banner{align-items:flex-start;flex-direction:column}.metric-card>strong{white-space:normal}.login-story h1{font-size:32px}}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.lazy-workspace{min-height:100dvh;width:100%;padding:40px;display:flex;flex-direction:column;align-items:center;gap:24px}.lazy-canvas{width:100%;min-width:0}.lazy-zero,.lazy-loading{justify-content:center}.lazy-zero .lazy-canvas{max-width:640px}.zero-state{width:100%}.zero-balance{display:flex;justify-content:center;align-items:center;gap:16px;padding:12px 0 22px}.zero-balance p{font-size:13px;color:var(--muted);margin-bottom:12px}.zero-balance h1{font-size:clamp(34px,5vw,64px);font-weight:800;letter-spacing:-2px;overflow-wrap:anywhere;line-height:1.2}.logout-button{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:10px;background:transparent;color:var(--muted);border-radius:50%}.logout-button:hover{background:#e9edef}.lazy-composer{width:min(100%,640px);display:flex;align-items:center;gap:12px;padding:12px;background:#fff;border:1px solid #dce2e3;border-radius:18px;box-shadow:0 8px 32px #20353706;flex-shrink:0}.lazy-composer:focus-within{border-color:#8ca5a0}.lazy-composer textarea{flex:1;min-width:0;resize:vertical;max-height:160px;min-height:44px;line-height:1.6;font-size:16px;background:transparent;border:0;padding:10px}.lazy-composer textarea::placeholder{color:#8a9996}.send-button{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:10px;border-radius:12px}.lazy-loading .lazy-canvas{width:auto}.lazy-canvas>.lazy-loading{display:flex;align-items:center;gap:12px;min-height:110px;font-size:14px;color:var(--muted)}.surface-canvas{width:100%;min-height:calc(100dvh - 160px);outline:none}.lazy-surface{padding-bottom:140px}.lazy-surface .lazy-composer{position:fixed;bottom:24px;left:50%;transform:translate(-50%);width:min(calc(100% - 48px),640px);z-index:5;box-shadow:0 8px 32px #20353718}.query-error{max-width:640px;margin:16px auto 0}.conversation{width:min(100%,640px);padding:0;margin:0 auto;overflow-wrap:anywhere}@media(min-width:1800px){.lazy-workspace{padding:56px}.lazy-surface{padding-bottom:150px}.lazy-zero .lazy-canvas,.lazy-composer{max-width:720px}.zero-balance h1{font-size:72px}}@media(max-width:1250px){.lazy-workspace{padding:32px}.lazy-surface{padding-bottom:135px}}@media(max-width:1050px){.lazy-workspace{padding:24px}.lazy-surface{padding-bottom:130px}.surface-canvas{min-height:calc(100dvh - 150px)}}@media(max-width:760px){.lazy-workspace{padding:20px 16px;gap:18px}.lazy-surface{padding-bottom:135px}.lazy-surface .lazy-composer{width:calc(100% - 32px);bottom:max(16px,env(safe-area-inset-bottom))}.zero-balance{gap:8px}.zero-balance h1{letter-spacing:-1.5px}.lazy-composer{gap:6px;padding:8px}.surface-canvas{min-height:calc(100dvh - 135px)}}@media(max-width:420px){.zero-balance h1{font-size:34px}.lazy-composer textarea{padding:8px}.zero-balance p{font-size:12px}}.lazy-workspace{--accent:#dc0030;--accent-soft:#fff0f3;--accent-secondary:#a72c47;--red:var(--accent);background:var(--canvas,#f5f6f8);transition:background-color .2s}.lazy-workspace[data-domain=deudas]{--accent:#c2410c;--accent-soft:#fff3e9;--accent-secondary:#dc2626;--canvas:#fff9f5}.lazy-workspace[data-domain=ingresos]{--accent:#15803d;--accent-soft:#effaf2;--accent-secondary:#0d9488;--canvas:#f3faf5}.lazy-workspace[data-domain=inversiones]{--accent:#2563eb;--accent-soft:#eff6ff;--accent-secondary:#0891b2;--canvas:#f4f8ff}.lazy-workspace .plan-card.featured{border-color:var(--accent)}.lazy-workspace .plan-card.featured button,.lazy-workspace .send-button{background:var(--accent)}.lazy-workspace .plan-rate,.lazy-workspace .debt-balance{color:var(--accent)}.lazy-workspace .risk-badge,.lazy-workspace .secondary{color:var(--accent);background:var(--accent-soft);border-color:var(--accent-soft)}.zero-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:640px;margin-top:-12px}.zero-chips button{background:transparent;color:#647975;border:1px solid #dce5e0;font-size:12px;font-weight:400;padding:8px 12px;border-radius:30px}.zero-chips button:hover{background:var(--accent-soft);color:var(--accent)}.surface-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.surface-answer{font-size:14px;line-height:1.75;color:var(--ink);margin:0 0 22px;max-width:900px}.a2ui-actionable{min-width:0;display:flex;flex-direction:column;gap:12px}.a2ui-actionable>section{flex:1}.a2ui-actionable>button{white-space:normal}.a2ui-confirmation{width:min(100%,640px);min-height:60dvh;margin-inline:auto;justify-content:center;text-align:center;gap:24px}.a2ui-confirmation>.a2ui-row{grid-template-columns:repeat(2,minmax(0,1fr))}.a2ui-confirmation>p{overflow-wrap:anywhere}.a2ui-confirmation>.context-action{align-self:center;min-width:180px}.plan-amount{display:flex;flex-direction:column;gap:8px;margin-block:16px;text-align:left}.plan-amount input{width:100%;min-width:0}.plan-amount-error{font-size:13px;color:#b42318}@media(max-width:420px){.a2ui-confirmation>.a2ui-row{grid-template-columns:1fr}}
