@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";:root{color:#303b33;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f7f7f1;font-family:DM Sans,sans-serif}html{min-width:320px;min-height:100%}body{background:#f7f7f1;min-width:320px;min-height:100vh;margin:0;display:block}#root{text-align:left;width:100%;min-height:100vh;margin:0;padding:0}:root{color:#303b33;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f7f7f1;font-family:DM Sans,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}.app{width:min(100% - 40px,760px);margin:0 auto;padding:28px 0 110px}.topbar{justify-content:space-between;align-items:center;margin-bottom:58px;display:flex}.brand{letter-spacing:3px;align-items:center;gap:12px;font-family:Manrope,sans-serif;font-size:17px;font-weight:800;display:flex}.brand-icon{color:#fff;letter-spacing:-1px;background:#849783;border-radius:14px;place-items:center;width:43px;height:43px;font-size:14px;display:grid}.avatar{color:#526b55;background:#dce5d9;border-radius:50%;place-items:center;width:42px;height:42px;font-weight:700;display:grid}.welcome{margin-bottom:30px}.eyebrow{letter-spacing:2px;color:#849783;margin:0 0 12px;font-size:10px;font-weight:700}.welcome h1{letter-spacing:-1.5px;margin:0 0 10px;font-family:Manrope,sans-serif;font-size:clamp(25px,5vw,36px);font-weight:700}.welcome h1 span{color:#849783}.welcome>p:last-child{color:#899187;margin:0;font-size:14px}.summary{color:#fff;background:#303b33;border-radius:22px;justify-content:space-between;align-items:center;margin-bottom:42px;padding:27px 30px;display:flex}.summary-label{color:#dce5d9;font-size:12px}.summary h2{color:#fff;margin:8px 0 0;font-family:Manrope,sans-serif;font-size:32px}.summary h2 small{color:#dce5d9;font-size:12px;font-weight:400}.summary-icon{color:#dce5d9;font-size:43px}.section-heading{justify-content:space-between;align-items:end;margin-bottom:20px;display:flex}.section-heading h2,.modules h2{letter-spacing:-.7px;margin:0;font-family:Manrope,sans-serif;font-size:21px}.counter{color:#849783;background:#e8eee5;border-radius:30px;padding:7px 12px;font-size:11px;font-weight:600}.add-form{gap:10px;margin-bottom:18px;display:grid}.product-input{color:#303b33;background:#fff;border:1px solid #e8e9e1;border-radius:13px;outline:none;width:100%;padding:15px}.product-input:focus,.add-controls input:focus,.add-controls select:focus{border-color:#849783;box-shadow:0 0 0 3px #dce5d9}.add-controls{gap:9px;display:flex}.add-controls input,.add-controls select{color:#303b33;background:#fff;border:1px solid #e8e9e1;border-radius:12px;outline:none;min-width:0;padding:12px}.add-controls input{width:85px}.add-controls select{flex:1}.add-button{color:#fff;background:#849783;border:none;border-radius:12px;flex-shrink:0;width:49px;font-size:25px}.items{gap:9px;display:grid}.item{text-align:left;color:#303b33;background:#fff;border:1px solid #eeeee8;border-radius:14px;align-items:center;gap:13px;width:100%;min-width:0;padding:15px;display:flex}.item .check{color:#fff;background:#fff;border:1.5px solid #b9c5b6;border-radius:50%;flex-shrink:0;place-items:center;width:21px;height:21px;padding:0;font-size:12px;display:grid}.item-info{flex:1;gap:4px;min-width:0;display:grid}.item-info strong{font-size:13px;font-weight:600}.item-info small{color:#969d93;font-size:11px}.item.completed .check{background:#849783;border-color:#849783}.item.completed .item-info strong{color:#a4aaa1;text-decoration:line-through}.quantity-controls{align-items:center;gap:4px;display:flex}.quantity-controls button{color:#526b55;background:#edf1e9;border:none;border-radius:8px;width:28px;height:28px;font-size:17px}.delete-button{color:#a17c75;background:0 0;border:none;padding:3px 5px;font-size:23px}.empty-list{text-align:center;color:#849783;padding:25px 10px}.modules{margin-top:46px}.modules h2{margin-bottom:18px}.module-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.module-card{background:#fff;border:1px solid #eeeee8;border-radius:17px;gap:7px;padding:19px;display:grid}.module-card>span{color:#849783;margin-bottom:5px;font-size:25px}.module-card strong{font-size:13px}.module-card small{color:#92998f;font-size:11px}.bottom-nav{z-index:10;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#fffffff5;border:1px solid #e9ebe4;border-radius:20px;justify-content:space-around;width:min(100% - 28px,560px);padding:13px 8px;display:flex;position:fixed;bottom:15px;left:50%;transform:translate(-50%);box-shadow:0 8px 35px #303b3312}.bottom-nav div{color:#a1a99e;justify-items:center;gap:4px;font-size:19px;display:grid}.bottom-nav small{font-size:9px;font-weight:500}.bottom-nav .active{color:#718b72;font-weight:700}@media (width>=700px){.module-grid{grid-template-columns:repeat(4,1fr)}}@media (width<=420px){.app{width:calc(100% - 30px);padding-top:22px}.topbar{margin-bottom:42px}.summary{padding:22px}.item{gap:8px;padding:12px 9px}.quantity-controls button{width:25px;height:27px}}.auth-screen{background:#f7f7f0;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{text-align:center;background:#fff;border-radius:24px;width:100%;max-width:420px;padding:36px;box-shadow:0 10px 40px #0000000f}.auth-card .brand-icon{margin:0 auto 16px}.auth-card h1{color:#303c34}.auth-card input{box-sizing:border-box;border:1px solid #e5e5df;border-radius:12px;width:100%;margin:8px 0;padding:15px}.auth-card button:not(.auth-switch){color:#fff;cursor:pointer;background:#829783;border:none;border-radius:12px;width:100%;margin-top:12px;padding:15px}.auth-switch{color:#718a74;cursor:pointer;background:0 0;border:none}.auth-error{color:#c0392b}.auth-message{color:#3c8050}.payment-alert{color:#7a3b2e;background:#f6e9e4;border-radius:20px;margin:16px 0;padding:16px 20px}.payment-alert p{margin:4px 0 0}.payments .add-controls{gap:8px;display:flex}.payments .add-controls input,.payments .add-controls select{flex:1;min-width:0}.payments{margin-top:28px}.payments .add-form>select{font:inherit;background:#fff;border:1px solid #e3e6df;border-radius:16px;padding:14px 16px}.payments .add-controls input[type=date]{flex:2}.topbar-actions{align-items:center;gap:10px;display:flex}.switch-household{font:inherit;color:#5c6b5b;cursor:pointer;background:#fff;border:1px solid #e3e6df;border-radius:999px;padding:8px 14px;font-size:13px}.avatar{overflow:hidden}.avatar-img{object-fit:cover;width:100%;height:100%;display:block}.profile-overlay{z-index:50;background:#28322873;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.profile-card{background:#fff;border-radius:24px;flex-direction:column;gap:12px;width:100%;max-width:380px;max-height:90vh;padding:24px;display:flex;overflow-y:auto}.profile-card h2{margin:0}.profile-photo{object-fit:cover;color:#4a5d49;background:#dfe6dc;border-radius:50%;justify-content:center;align-self:center;align-items:center;width:96px;height:96px;font-size:36px;font-weight:600;display:flex}.profile-upload{color:#5c6b5b;cursor:pointer;align-self:center;font-size:14px;text-decoration:underline}.profile-card label{color:#5c6b5b;flex-direction:column;gap:6px;font-size:13px;display:flex}.profile-card input[type=text]{height:50px;font:inherit;background:#fff;border:1px solid #e3e6df;border-radius:16px;padding:0 14px}.profile-hint{color:#8a9a89;margin:0;font-size:12px}.profile-msg{color:#4a5d49;margin:0;font-size:14px}.profile-card button{height:48px;font:inherit;cursor:pointer;border-radius:16px}.profile-save{color:#fff;background:#839a82;border:none}.profile-logout{background:#fff;border:1px solid #e3e6df}.profile-card .profile-close{color:#5c6b5b;background:0 0;border:none}.clickable{cursor:pointer}.join-block{flex-direction:column;gap:10px;margin-top:16px;display:flex}.join-block input{height:50px;font:inherit;text-transform:uppercase;background:#fff;border:1px solid #e3e6df;border-radius:16px;padding:0 14px}.members-list{flex-direction:column;gap:10px;display:flex}.member-row{align-items:center;gap:12px;display:flex}.member-photo{object-fit:cover;color:#4a5d49;background:#dfe6dc;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-weight:600;display:flex}.member-info{flex-direction:column;display:flex}.member-info small{color:#8a9a89}.invite-box{text-align:center;background:#f3f6f1;border-radius:18px;flex-direction:column;gap:8px;padding:16px;display:flex}.invite-code{letter-spacing:3px;color:#2f3a2f;font-size:28px}.profile-card input[type=number]{height:50px;font:inherit;background:#fff;border:1px solid #e3e6df;border-radius:16px;padding:0 14px}.profile-save:disabled{opacity:.5;cursor:not-allowed}.gastos-card{max-width:420px}.gastos-card h3{color:#4a5d49;margin:8px 0 0;font-size:15px}.gastos-card input[type=text],.gastos-card input[type=number],.gastos-card input[type=date],.gastos-card select{height:50px;font:inherit;background:#fff;border:1px solid #e3e6df;border-radius:16px;min-width:0;padding:0 14px}.gasto-form-row{gap:8px;display:flex}.gasto-form-row input,.gasto-form-row select{flex:1}.mes-nav{text-transform:capitalize;justify-content:space-between;align-items:center;display:flex}.profile-card .mes-nav button{color:#5c6b5b;background:#fff;border:1px solid #e3e6df;width:40px;height:40px;font-size:20px}.gastos-total{color:#fff;background:#2f3a2f;border-radius:18px;flex-direction:column;gap:4px;padding:16px;display:flex}.gastos-total strong{font-size:28px}.gastos-total small{color:#c9d6c7}.gastos-categorias{flex-direction:column;gap:6px;display:flex}.categoria-row{color:#4a5d49;justify-content:space-between;font-size:14px;display:flex}.gastos-lista{flex-direction:column;gap:8px;display:flex}.gasto-row{border:1px solid #717c6f;border-radius:16px;align-items:center;gap:10px;padding:10px 12px;display:flex}.gasto-info{flex-direction:column;flex:1;min-width:0;display:flex}.gasto-info small{color:#8a9a89}.profile-card .gasto-delete{color:#a07a72;background:0 0;border:none;width:32px;height:32px;font-size:18px}.app input,.app select,.auth-card input{border-color:#5f6b5d!important}.app input:focus,.app select:focus,.auth-card input:focus{border-color:#71806f!important}.household-pill{color:#4a5d49;background:#e3ebe1;border-radius:999px;margin:0 0 8px;padding:6px 14px;font-size:13px;font-weight:600;display:inline-block}img.brand-icon{object-fit:contain;background:0 0;padding:0}.member-remove{color:#6b7a69;cursor:pointer;background:0 0;border:1px solid #b4c0b1;border-radius:50%;width:32px;height:32px;margin-left:auto;font-size:14px}.member-remove:hover{color:#2f3a2f;background:#e8ece5}.profile-danger-link{color:#b3473d;cursor:pointer;background:0 0;border:none;margin-top:4px;font-size:13px;text-decoration:underline}.delete-box{border:1px solid #e0b4ae;border-radius:14px;flex-direction:column;gap:8px;margin-top:8px;padding:12px;display:flex}.profile-danger{color:#fff;cursor:pointer;background:#b3473d;border:none;border-radius:12px;padding:12px;font-weight:600}.profile-danger:disabled{opacity:.6;cursor:not-allowed}.profile-card select{color:#2f3a2f;width:100%;font:inherit;background:#fff;border:1px solid #5f6f5d;border-radius:18px;margin-top:6px;padding:14px 16px}.lang-switch{color:#9aa797;justify-content:center;align-items:center;gap:8px;margin-top:18px;font-size:13px;display:flex}.auth-card .lang-switch button{width:auto;box-shadow:none;color:#8a9887;cursor:pointer;background:0 0;border:none;border-radius:0;margin:0;padding:2px 4px;font-size:13px;font-weight:400}.auth-card .lang-switch button.active{color:#2f3a2f;text-underline-offset:4px;background:0 0;font-weight:600;text-decoration:underline}.auth-card img.brand-icon{border-radius:22px;width:84px;height:84px;margin-bottom:8px}.modal-x{z-index:5;color:#2f3a2f;text-align:center;cursor:pointer;background:#eef1ea;border:none;border-radius:50%;width:36px;height:36px;margin-bottom:-40px;margin-left:auto;padding:0;font-size:16px;line-height:36px;display:block;position:sticky;top:0;box-shadow:0 1px 4px #2f3a2f2e}.modal-x:hover{background:#dfe6da}.mes-nav strong{text-transform:none}.mes-nav strong:first-letter{text-transform:uppercase}.profile-card>*{flex-shrink:0}.profile-card{overflow-y:auto}.profile-card input,.profile-card select,.gasto-row,.mes-nav button,.add-form input,.add-form select,.item{border-color:#cfd8cb}.inv-restock{color:#5f6f5d;cursor:pointer;background:0 0;border:1px solid #cfd8cb;border-radius:50%;width:30px;height:30px;font-size:16px}.gasto-row button.inv-restock{color:#5f6f5d;cursor:pointer;background:0 0;border:1px solid #cfd8cb;font-size:16px;line-height:28px;box-sizing:border-box!important;border-radius:50%!important;flex-shrink:0!important;align-self:center!important;width:30px!important;height:30px!important;min-height:0!important;padding:0!important}.gasto-row button.inv-restock:hover{background:#eef1ea}.push-box{background:#f6f8f4;border:1px solid #dfe6dc;border-radius:16px;flex-direction:column;gap:8px;padding:14px;display:flex}.push-box>*{flex-shrink:0}.profile-card input[type=time]{min-width:0;height:48px;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #cfd8cb;border-radius:16px;padding:0 14px}.profile-card input[type=time]:focus{border-color:#5f7a63;outline:none}.profile-card input[type=date]{border:1px solid #cfd8cb}.profile-card input[type=date]:focus{border-color:#5f7a63;outline:none}@media (width<=900px){input,select,textarea{font-size:16px!important}}
