*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#e7edf4;color:#0f172a}button,input,select{font:inherit}button{border:0;cursor:pointer}.phone-shell{max-width:430px;min-height:100vh;margin:0 auto;background:#f6f8fb;position:relative;box-shadow:0 30px 90px #0f172a38;overflow:hidden}.app-content{padding:18px 16px 96px;min-height:100vh}.bottom-nav{position:fixed;left:50%;bottom:0;transform:translate(-50%);width:min(430px,100%);display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:10px 10px calc(10px + env(safe-area-inset-bottom));background:#fffffff0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-top:1px solid rgba(148,163,184,.25);z-index:20}.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;background:transparent;color:#64748b;padding:7px 4px;border-radius:16px;font-size:10px}.bottom-nav button.active{background:#e8fff4;color:#059669}.bottom-nav svg{stroke-width:2.3}.header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.header-left{display:flex;align-items:center;gap:10px}.header h1{font-size:24px;line-height:1.1;margin:0;font-weight:850;letter-spacing:-.04em}.header p{margin:5px 0 0;color:#64748b;font-size:13px}.icon-btn,.round-btn{width:42px;height:42px;border-radius:16px;background:#fff;display:grid;place-items:center;color:#0f172a;box-shadow:0 10px 30px #0f172a14}.round-btn{background:#0f172a;color:#fff}.hero-card{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#0f172a,#0b3b48 55%,#059669);color:#fff;border-radius:28px;padding:22px;box-shadow:0 22px 50px #0f172a40;margin-bottom:16px}.hero-card p{margin:0 0 8px;color:#cbd5e1}.hero-card h2{margin:0;font-size:28px;letter-spacing:-.04em}.hero-card span{display:block;margin-top:8px;font-size:12px;color:#d1fae5}.hero-card.dark{background:linear-gradient(135deg,#111827,#334155)}.hero-ring{width:86px;height:86px;border-radius:50%;display:grid;place-items:center;border:10px solid rgba(255,255,255,.23);box-shadow:inset 0 0 0 4px #10b98199}.stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:18px}.stat-card{background:#fff;border-radius:22px;padding:14px;box-shadow:0 12px 30px #0f172a12;min-height:104px;border:1px solid rgba(226,232,240,.9)}.stat-card .stat-icon{width:38px;height:38px;border-radius:14px;background:#e8fff4;color:#059669;display:grid;place-items:center;margin-bottom:10px}.stat-card span{display:block;font-size:12px;color:#64748b}.stat-card b{font-size:18px;letter-spacing:-.03em}.stat-card.gold .stat-icon{background:#fff7db;color:#b7791f}.stat-card.blue .stat-icon{background:#e0f2fe;color:#0284c7}.stat-card.navy .stat-icon{background:#e2e8f0;color:#0f172a}.section-title{display:flex;justify-content:space-between;align-items:center;margin:10px 2px}.section-title h2{font-size:18px;margin:0}.section-title button{background:transparent;color:#059669;font-weight:800}.goal-card{width:100%;text-align:left;background:#fff;border-radius:26px;padding:16px;margin-bottom:12px;box-shadow:0 16px 40px #0f172a14;border:1px solid rgba(226,232,240,.9)}.goal-top{display:flex;align-items:center;gap:12px}.goal-icon,.big-icon{width:48px;height:48px;border-radius:18px;background:linear-gradient(135deg,#e8fff4,#dbeafe);display:grid;place-items:center;font-size:24px}.goal-top h3{margin:0 0 4px;font-size:16px}.goal-top p{margin:0;font-size:12px;color:#64748b}.badge{margin-left:auto;background:#ecfdf5;color:#047857;padding:7px 9px;border-radius:999px;font-size:12px;font-weight:850}.badge.gold{background:#fff7db;color:#92400e}.progress{height:10px;background:#e2e8f0;border-radius:999px;overflow:hidden;margin:15px 0 10px}.progress div{height:100%;background:linear-gradient(90deg,#10b981,#38bdf8);border-radius:inherit}.goal-meta{display:flex;justify-content:space-between;gap:10px;color:#64748b;font-size:11px}.glass-card,.form-card,.empty,.profile-card,.chat-card{background:#fff;border:1px solid rgba(226,232,240,.9);border-radius:26px;padding:18px;box-shadow:0 16px 40px #0f172a12;margin-bottom:14px}.glass-card h3,.form-card h3{margin:0 0 10px}.glass-card p{margin:8px 0;color:#475569;line-height:1.55}.form-card label{display:block;font-size:13px;font-weight:750;margin-bottom:14px;color:#334155}.form-card input,.form-card select{width:100%;margin-top:7px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:16px;padding:13px 14px;outline:none;color:#0f172a}.form-card input:focus,.form-card select:focus{border-color:#10b981;box-shadow:0 0 0 4px #10b9811f}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.category-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:8px}.category-grid button{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:11px;text-align:left;color:#334155}.category-grid button span{font-size:20px;margin-right:6px}.category-grid button.selected{background:#ecfdf5;border-color:#10b981;color:#047857}.primary{width:100%;border-radius:18px;background:linear-gradient(135deg,#0f172a,#059669);color:#fff;padding:14px 16px;font-weight:850;box-shadow:0 15px 35px #05966940}.primary:disabled{opacity:.6}.preview-box{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:18px;padding:13px;margin-bottom:14px;color:#065f46}.preview-box p{margin:6px 0 0;font-size:13px}.error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca;border-radius:14px;padding:10px 12px;margin-bottom:12px;font-size:13px}.detail-hero{text-align:center;background:#fff;border-radius:30px;padding:24px 18px;margin-bottom:14px;box-shadow:0 16px 40px #0f172a14}.big-icon{margin:0 auto 12px;width:64px;height:64px;font-size:32px}.detail-hero h2{margin:0;font-size:30px;letter-spacing:-.05em}.detail-hero p{margin:8px 0;color:#64748b}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.day{aspect-ratio:1;border-radius:16px;background:#fff;border:1px solid #e2e8f0;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 8px 18px #0f172a0a}.day b{font-size:13px}.day span{font-size:11px}.day.done{background:#ecfdf5;color:#047857;border-color:#86efac}.day.missed{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.day.partial{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.day.future{color:#94a3b8}.chart{height:180px;background:#fff;border-radius:26px;padding:18px;display:flex;align-items:end;gap:12px;box-shadow:0 16px 40px #0f172a12;margin-bottom:14px}.chart div{flex:1;border-radius:12px 12px 4px 4px;background:linear-gradient(180deg,#10b981,#38bdf8)}.menu-list{display:grid;gap:10px}.menu-list button{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:15px;display:flex;align-items:center;gap:13px;text-align:left;box-shadow:0 12px 30px #0f172a0f}.menu-list button span{width:42px;height:42px;border-radius:16px;background:#eef6ff;color:#0284c7;display:grid;place-items:center}.menu-list b{display:block}.menu-list p{margin:4px 0 0;color:#64748b;font-size:12px}.menu-list .admin-item span{background:#fff7db;color:#92400e}.locked{display:flex;gap:8px;align-items:center;background:#f8fafc;color:#64748b;border-radius:18px;padding:13px;margin-top:14px;font-size:12px}.chat-card{display:grid;gap:10px}.msg{max-width:82%;padding:13px;border-radius:18px;line-height:1.45}.msg.bot{background:#f1f5f9}.msg.me{background:#0f172a;color:#fff;margin-left:auto}.profile-card{text-align:center}.avatar{width:72px;height:72px;border-radius:28px;background:linear-gradient(135deg,#0f172a,#10b981);color:#fff;display:grid;place-items:center;font-size:30px;font-weight:900;margin:0 auto 12px}.profile-card h2{margin:0}.profile-card p{margin:6px 0;color:#64748b}.empty{text-align:center;padding:34px 22px}.empty svg{color:#10b981}.empty h2{margin:12px 0 6px}.empty p{color:#64748b;line-height:1.5}.loading{display:flex;align-items:center;gap:10px;justify-content:center;padding:40px;color:#64748b}.loading span{width:18px;height:18px;border-radius:50%;border:3px solid #cbd5e1;border-top-color:#10b981;animation:spin 1s linear infinite}.start-screen{min-height:100vh;display:grid;place-content:center;text-align:center;padding:28px;background:linear-gradient(135deg,#f8fafc,#ecfdf5)}.start-screen .brand{font-size:56px;margin-bottom:12px}.start-screen h1{margin:0 0 8px;font-size:30px}.start-screen p{color:#475569}.start-screen small{color:#64748b}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:430px){.phone-shell{max-width:100%;box-shadow:none}.app-content{padding-left:14px;padding-right:14px}.header h1{font-size:22px}.hero-card h2{font-size:24px}.stat-card b{font-size:16px}}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.quick-grid button{display:flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:14px;font-weight:850;color:#0f172a;box-shadow:0 12px 30px #0f172a0f}.quick-grid button:first-child{background:#0f172a;color:#fff}.quick-grid button:disabled{opacity:.45}.actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.secondary{width:100%;border-radius:18px;background:#eef2f7;color:#0f172a;padding:14px 16px;font-weight:850}.form-card small{display:block;margin-top:6px;color:#64748b}.warn{margin-top:10px;background:#fff7ed;color:#c2410c;border:1px solid #fed7aa;border-radius:14px;padding:8px 10px;font-size:12px}.sticky-action{margin-top:14px}.danger{color:#dc2626!important}.achievement-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.achievement{background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid #e2e8f0;border-radius:24px;padding:18px;text-align:center;box-shadow:0 12px 30px #0f172a0f}.achievement b{font-size:34px}.achievement h3{font-size:15px;margin:8px 0 4px}.achievement p{font-size:12px;color:#64748b;margin:0}.expense{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:14px 16px;margin-bottom:10px;box-shadow:0 10px 24px #0f172a0d}.expense p{margin:0;color:#64748b}.glass-card.accent{background:linear-gradient(135deg,#fff,#ecfdf5)}.visual-card{margin:14px 0 8px;border-radius:22px;padding:14px;background:linear-gradient(135deg,#f8fafc,#eefdf6);border:1px solid rgba(16,185,129,.16);overflow:hidden}.visual-card.compact{padding:11px;border-radius:18px}.visual-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;color:#0f172a}.visual-head span{font-size:12px;font-weight:850;color:#475569}.visual-head b{font-size:12px;background:#0f172a;color:#fff;border-radius:999px;padding:6px 8px}.visual-card p{margin:9px 0 0!important;font-size:12px!important;color:#047857!important;font-weight:800}.preview-visual{margin:4px 0 14px}.preview-visual small{display:block;margin-top:8px;color:#64748b;line-height:1.45}.stairs{height:118px;display:flex;align-items:end;gap:5px;padding:6px 2px 0}.visual-card.compact .stairs{height:82px}.stairs div{flex:1;min-width:0;border-radius:8px 8px 3px 3px;background:#dbe4ee;border:1px solid #cbd5e1;position:relative;transition:.25s}.stairs div:nth-child(1){height:18%}.stairs div:nth-child(2){height:26%}.stairs div:nth-child(3){height:34%}.stairs div:nth-child(4){height:42%}.stairs div:nth-child(5){height:50%}.stairs div:nth-child(6){height:58%}.stairs div:nth-child(7){height:66%}.stairs div:nth-child(8){height:74%}.stairs div:nth-child(9){height:84%}.stairs div:nth-child(10){height:96%}.stairs div.on{background:linear-gradient(180deg,#34d399,#059669);border-color:#10b981;box-shadow:0 8px 18px #05966940}.stairs span{position:absolute;bottom:5px;left:50%;transform:translate(-50%);font-size:9px;color:#64748b;font-weight:900}.stairs div.on span{color:#fff}.car-stage{height:126px;border-radius:20px;background:linear-gradient(180deg,#dff7ff,#f8fafc 72%);position:relative;display:grid;place-items:center;overflow:hidden}.visual-card.compact .car-stage{height:86px;border-radius:16px}.car-stage .fill{position:absolute;left:0;bottom:0;top:0;background:linear-gradient(90deg,#10b9812e,#38bdf859);transition:.35s}.car-stage:after{content:"";position:absolute;left:12px;right:12px;bottom:16px;height:5px;border-radius:999px;background:#94a3b8}.car-svg{position:relative;z-index:2;stroke:#0f172a;fill:#10b98114;filter:drop-shadow(0 12px 14px rgba(15,23,42,.14))}.house-stage{height:148px;border-radius:22px;background:linear-gradient(180deg,#eff6ff,#f8fafc);position:relative;display:grid;place-items:center;overflow:hidden}.visual-card.compact .house-stage{height:98px;border-radius:16px}.house-svg{position:absolute;z-index:5;stroke:#0f172a;opacity:.2}.foundation,.walls,.roof,.door{position:absolute;left:50%;transform:translate(-50%);opacity:.18;transition:.3s}.foundation{bottom:22px;width:74%;height:12px;border-radius:999px;background:#64748b}.walls{bottom:34px;width:52%;height:48px;border-radius:8px 8px 4px 4px;background:#94a3b8}.roof{bottom:78px;width:0;height:0;border-left:58px solid transparent;border-right:58px solid transparent;border-bottom:42px solid #64748b;background:transparent}.door{bottom:34px;width:24px;height:34px;border-radius:6px 6px 2px 2px;background:#475569}.foundation.on,.walls.on,.roof.on,.door.on{opacity:1;filter:drop-shadow(0 10px 15px rgba(15,23,42,.12))}.foundation.on{background:linear-gradient(90deg,#334155,#64748b)}.walls.on{background:linear-gradient(180deg,#38bdf8,#0ea5e9)}.roof.on{border-bottom-color:#10b981}.door.on{background:#92400e}.visual-card.compact .roof{bottom:56px;border-left-width:42px;border-right-width:42px;border-bottom-width:30px}.visual-card.compact .walls{bottom:28px;height:34px}.visual-card.compact .foundation{bottom:18px}.visual-card.compact .door{bottom:28px;height:24px;width:18px}
