:root{--ink:#16234a;--muted:#7d8aa8;--blue:#2367e8;--green:#12b76a;--pink:#e53e8f;--gold:#f3a51e;--purple:#7048d8;--bg:#f3f6fc;--surface:#fff;--line:#e1e7f1;--shadow:0 12px 30px rgba(35,65,128,.1)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#e9eef8;color:var(--ink);font-family:"Kanit",sans-serif;line-height:1.5}button,input,select,textarea{font:inherit;color:inherit}button{border:0;cursor:pointer}.mobile-app{display:none;width:100%;max-width:460px;min-height:100vh;margin:auto;background:var(--bg);position:relative;box-shadow:0 0 70px #1b315d1c}body.authenticated .mobile-app{display:block}body.authenticated .auth-view{display:none}.eyebrow{margin:0;color:var(--blue);font-size:.62rem;font-weight:700;letter-spacing:.1em}
.auth-view{min-height:100vh;display:grid;place-items:center;position:relative;overflow:hidden;background:linear-gradient(160deg,#185bd9 0%,#4c4bd2 60%,#7141c4 100%);padding:24px}.auth-bg span{position:absolute;border:1px solid #fff2;border-radius:50%}.auth-bg span:nth-child(1){width:330px;height:330px;right:-190px;top:-120px}.auth-bg span:nth-child(2){width:250px;height:250px;left:-160px;bottom:-100px}.auth-bg span:nth-child(3){width:80px;height:80px;right:18px;bottom:130px;background:#fff1}.auth-content{position:relative;z-index:1;width:min(100%,410px);text-align:center}.auth-logo{width:72px;height:72px;filter:drop-shadow(0 13px 22px #0d276a66)}.auth-content>h1{margin:7px 0 0;color:#fff;font-size:2rem}.tagline{margin:0 0 24px;color:#dce6ff;font-size:.72rem}.auth-card{background:#fff;border-radius:22px;padding:25px 22px;text-align:left;box-shadow:0 25px 60px #10235844}.auth-card h2{margin:2px 0 0;font-size:1.45rem}.auth-card>p:nth-of-type(2){margin:3px 0 20px;color:var(--muted);font-size:.68rem}.auth-card label{display:block;margin-bottom:13px}.auth-card label>span{display:block;margin-bottom:5px;color:#52617f;font-size:.66rem}.auth-card input{width:100%;padding:11px;border:1px solid #dce3ef;border-radius:10px;background:#f9fbff;outline:0}.auth-card input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2367e814}.auth-card .consent{display:flex;align-items:flex-start;gap:7px}.auth-card .consent input{width:auto;margin-top:4px;accent-color:var(--blue)}.auth-card .consent span{font-size:.58rem;line-height:1.5;color:#7b87a3}.auth-message{padding:8px 10px;border-radius:8px;background:#fff0f5;color:#c22c6d;font-size:.62rem}.submit{width:100%;padding:11px;border-radius:10px;background:linear-gradient(135deg,#2367e8,#6849dc);color:#fff;font-weight:700;box-shadow:0 9px 20px #2367e833}.local-note{display:block;color:#d9e2ff;font-size:.56rem;margin-top:13px}
.app-header{position:sticky;top:0;z-index:8;height:68px;padding:12px 17px;display:flex;align-items:center;justify-content:space-between;background:#ffffffed;border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.app-brand{display:flex;align-items:center;gap:8px;color:var(--ink);text-decoration:none}.app-brand img{width:39px;height:39px}.app-brand strong,.app-brand small{display:block;line-height:1.15}.app-brand strong{font-size:.88rem}.app-brand small{font-size:.54rem;color:#8995ae}.header-buttons{display:flex;gap:7px}.header-buttons button{width:35px;height:35px;border-radius:10px;background:#f0f4fb;color:#667695;position:relative}.header-buttons button i{position:absolute;width:6px;height:6px;border-radius:50%;background:#e53e8f;right:7px;top:7px}.header-buttons .avatar{background:linear-gradient(135deg,#2367e8,#7048d8);color:#fff;font-weight:700;display:grid;place-items:center}.header-buttons .avatar svg{width:19px;height:19px;fill:currentColor}
main{padding-bottom:83px}.screen{display:none;padding:18px 16px 26px;min-height:calc(100vh - 68px)}.screen.active{display:block}.greeting{display:flex;justify-content:space-between;align-items:flex-end;margin:1px 2px 15px}.greeting p,.greeting h1{margin:0}.greeting p{font-size:.65rem;color:#72809e}.greeting h1{font-size:1.45rem}.greeting>span{font-size:.56rem;color:#8b97b1}.hero-card{position:relative;overflow:hidden;min-height:207px;border-radius:20px;background:linear-gradient(145deg,#175cd8,#4e4bd1 58%,#6f43c8);color:#fff;padding:22px;box-shadow:0 15px 32px #2f56c53a}.hero-card:before{content:"";position:absolute;width:180px;height:180px;border:1px solid #ffffff22;border-radius:50%;right:-70px;top:-55px}.hero-copy{position:relative;z-index:2;width:70%}.hero-badge{display:inline-block;padding:4px 8px;background:#ffffff1c;border:1px solid #ffffff2b;border-radius:20px;font-size:.54rem}.hero-copy h2{font-size:1.35rem;line-height:1.3;margin:10px 0 5px}.hero-copy p{color:#dce6ff;font-size:.59rem;margin:0 0 14px}.hero-copy button{padding:7px 11px;border-radius:8px;background:#fff;color:#3157bb;font-size:.6rem;font-weight:700}.hero-copy button b{margin-left:5px}.hero-orbit{position:absolute;right:15px;top:47px;width:100px;height:100px;border:1px solid #ffffff33;border-radius:50%;display:grid;place-items:center}.hero-orbit i{width:54px;height:54px;border-radius:50%;background:linear-gradient(145deg,#ffe38a,#f5a623);color:#17335f;display:grid;place-items:center;font-style:normal;font-size:1.8rem;font-weight:700;box-shadow:0 10px 22px #152a7150}.hero-orbit span{position:absolute;width:15px;height:15px;border-radius:50%;background:#65e3b0}.hero-orbit span:first-of-type{left:-4px;bottom:14px}.hero-orbit span:last-child{right:2px;top:3px;background:#ff83b9}.section-title{display:flex;align-items:flex-end;justify-content:space-between;margin:23px 2px 11px}.section-title p,.section-title h2{margin:0}.section-title p{font-size:.55rem;color:#8b97af}.section-title h2{font-size:1rem}.section-title button{background:transparent;color:var(--blue);font-size:.6rem}.service-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.service{padding:14px 12px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 7px 18px #293f7009}.service>span{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-weight:700;margin-bottom:9px}.service>span.green{background:#ddf8e9;color:#079954}.service>span.pink{background:#ffe1ef;color:#d8327a}.service>span.blue{background:#e2ecff;color:#2863d7}.service>span.gold{background:#fff1d8;color:#d88d0c}.service strong,.service small{display:block}.service strong{font-size:.7rem}.service small{font-size:.53rem;color:#8490aa;line-height:1.45}.status-preview{display:grid;grid-template-columns:40px 1fr 25px;gap:9px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px;margin-top:12px}.status-icon{width:39px;height:39px;border-radius:11px;background:#dcf8e9;color:#079954;display:grid;place-items:center;font-weight:800}.status-preview small,.status-preview strong,.status-preview p{display:block;margin:0}.status-preview small{font-size:.5rem;color:#8a96ae}.status-preview strong{font-size:.7rem}.status-preview p{font-size:.53rem;color:#7f8ba4}.status-preview button{background:transparent;color:#667695;font-size:1.2rem}.tip-card{display:flex;gap:10px;background:#fff8e9;border:1px solid #f7e5bb;border-radius:14px;padding:13px;margin-top:12px}.tip-card>span{font-size:1.25rem}.tip-card strong{font-size:.65rem}.tip-card p{margin:2px 0 0;color:#7b6e55;font-size:.55rem;line-height:1.5}
.screen-head{display:flex;align-items:center;gap:10px;margin-bottom:18px}.screen-head .back{width:35px;height:35px;border-radius:10px;background:#fff;border:1px solid var(--line);font-size:1.3rem;color:#687694}.screen-head p,.screen-head h1{margin:0}.screen-head p{font-size:.55rem;color:#8794ad;letter-spacing:.08em}.screen-head h1{font-size:1.22rem}.screen-head.simple{justify-content:flex-start;padding:3px 1px}.progress-steps{display:flex;align-items:center;justify-content:center;margin:7px 0 18px}.progress-steps span{width:26px;height:26px;border-radius:50%;background:#e8edf5;color:#8290aa;display:grid;place-items:center;font-size:.6rem}.progress-steps span.active{background:var(--blue);color:#fff}.progress-steps i{width:54px;height:3px;background:#dfe5ef}.progress-steps span.active+i{background:#9bb9f5}.lead-form{background:#fff;border:1px solid var(--line);border-radius:17px;padding:17px}.form-intro{display:flex;gap:9px;padding:10px;background:#edf4ff;border-radius:11px;margin-bottom:16px}.form-intro>span{width:31px;height:31px;border-radius:9px;background:#2367e8;color:#fff;display:grid;place-items:center}.form-intro strong,.form-intro p{display:block;margin:0}.form-intro strong{font-size:.68rem}.form-intro p{font-size:.54rem;color:#72809e}.lead-form>label{display:block;margin-bottom:13px}.lead-form label>span{display:block;margin-bottom:5px;font-size:.62rem;color:#566583}.lead-form label small{font-size:.5rem;color:#95a0b5}.lead-form input,.lead-form select,.lead-form textarea{width:100%;border:1px solid #dce3ee;border-radius:9px;padding:10px;background:#fbfcff;outline:0}.lead-form input:focus,.lead-form select:focus,.lead-form textarea:focus{border-color:var(--blue)}.lead-form .consent{display:flex;gap:7px;align-items:flex-start}.lead-form .consent input{width:auto;margin-top:4px;accent-color:var(--blue)}.lead-form .consent span{font-size:.56rem;line-height:1.5}.form-submit{width:100%;padding:11px;border-radius:9px;background:linear-gradient(135deg,#2367e8,#5a4bd8);color:#fff;font-weight:700;margin-top:3px}.request-card{background:linear-gradient(145deg,#175bd6,#5a46ce);color:#fff;border-radius:17px;padding:17px;box-shadow:0 13px 27px #274fc333}.request-top{display:flex;align-items:center;gap:9px}.request-top>span{width:37px;height:37px;border-radius:10px;background:#ffffff24;display:grid;place-items:center}.request-top div{flex:1}.request-top small,.request-top strong{display:block}.request-top small{font-size:.5rem;color:#dbe4ff}.request-top strong{font-size:.74rem}.request-top b{font-size:.53rem;padding:4px 7px;border-radius:20px;background:#ffffff20}.request-card>p{font-size:.58rem;color:#dce5ff;margin:13px 0}.request-meta{display:flex;justify-content:space-between;border-top:1px solid #ffffff24;padding-top:10px;font-size:.55rem}.timeline{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;margin-top:13px}.timeline>div{display:grid;grid-template-columns:30px 1fr;gap:10px;position:relative;padding-bottom:23px}.timeline>div:last-child{padding-bottom:0}.timeline>div:not(:last-child):after{content:"";position:absolute;left:14px;top:29px;width:2px;height:calc(100% - 16px);background:#e1e6ef}.timeline span{width:29px;height:29px;border-radius:50%;background:#edf0f5;color:#8692aa;display:grid;place-items:center;font-size:.58rem;z-index:1}.timeline .done span{background:#dcf8e9;color:#078e4e}.timeline strong{font-size:.68rem}.timeline p{margin:2px 0 0;color:#7d89a3;font-size:.54rem}.contact-button{width:100%;padding:11px;border-radius:10px;background:#fff;border:1px solid var(--line);color:var(--blue);font-weight:700;margin-top:13px}.profile-card{display:flex;align-items:center;gap:13px;background:linear-gradient(145deg,#175bd6,#6942c7);color:#fff;border-radius:17px;padding:18px}.profile-card>span{width:55px;height:55px;border-radius:15px;background:#ffffff23;display:grid;place-items:center;font-size:1.3rem;font-weight:700}.profile-card>span svg{width:30px;height:30px;fill:currentColor}.profile-card h2,.profile-card p{margin:0}.profile-card h2{font-size:1rem}.profile-card p{font-size:.59rem;color:#dbe4ff}.profile-list{background:#fff;border:1px solid var(--line);border-radius:15px;margin-top:13px;overflow:hidden}.profile-list button{width:100%;display:grid;grid-template-columns:36px 1fr 20px;gap:8px;align-items:center;text-align:left;background:#fff;padding:12px;border-bottom:1px solid var(--line)}.profile-list button:last-child{border-bottom:0}.profile-list button>span{width:34px;height:34px;border-radius:9px;background:#edf3ff;color:#3263cc;display:grid;place-items:center}.profile-list strong,.profile-list small{display:block}.profile-list strong{font-size:.66rem}.profile-list small{font-size:.53rem;color:#7f8ba4}.profile-list b{color:#8490a8}.logout-button{width:100%;padding:11px;border-radius:10px;background:#fff0f5;color:#ce2f70;font-weight:700;margin-top:14px}
.bottom-nav{position:fixed;z-index:9;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:460px;height:70px;padding:7px 10px calc(7px + env(safe-area-inset-bottom));display:flex;justify-content:space-around;background:#ffffffee;border-top:1px solid var(--line);backdrop-filter:blur(14px)}.bottom-nav button{width:25%;display:flex;flex-direction:column;align-items:center;gap:1px;background:transparent;color:#8b97ad}.bottom-nav span{font-size:1rem}.bottom-nav b{font-size:.5rem;font-weight:500}.bottom-nav button.active{color:var(--blue)}.bottom-nav button:nth-child(2) span{width:31px;height:31px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;margin-top:-11px;box-shadow:0 6px 13px #2367e84a}.toast{position:fixed;left:50%;bottom:82px;transform:translate(-50%,60px);z-index:20;width:max-content;max-width:calc(100% - 32px);padding:10px 14px;border-radius:10px;background:#15264f;color:#fff;font-size:.62rem;opacity:0;transition:.22s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:700px){body{padding:25px 0}.mobile-app{min-height:calc(100vh - 50px);border-radius:28px;overflow:hidden;border:7px solid #17254a}.app-header{top:0}.bottom-nav{bottom:25px;border-radius:0 0 21px 21px;max-width:446px}.auth-view{margin:-25px 0}}
.daily-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:15px;margin-top:13px;box-shadow:0 8px 20px #293f700d}.daily-top{display:flex;align-items:center;justify-content:space-between}.daily-top p,.daily-top h2{margin:0}.daily-top p{color:#7b88a3;font-size:.56rem}.daily-top h2{font-size:.84rem}.mood{width:44px;height:44px;border-radius:14px;background:#e7f9ef;display:grid;place-items:center;font-size:1.7rem;transition:.2s}.mood.over{background:#ffe7ee}.daily-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:13px}.daily-numbers div{padding:9px;border-radius:10px;background:#f5f8fd}.daily-numbers div:first-child{background:#fff0f6}.daily-numbers div:last-child{background:#eaf9f1}.daily-numbers small,.daily-numbers strong{display:block}.daily-numbers small{font-size:.5rem;color:#8190aa}.daily-numbers strong{font-size:.73rem}.daily-progress{height:8px;background:#e9edf4;border-radius:20px;overflow:hidden;margin-top:12px}.daily-progress i{display:block;width:0;height:100%;border-radius:20px;background:linear-gradient(90deg,#12b76a,#5bdba0);transition:width .3s}.daily-progress i.over{background:linear-gradient(90deg,#e53e8f,#ff7188)}.daily-message{margin:7px 0 0;color:#71809c;font-size:.54rem}.daily-actions{display:flex;gap:7px;margin-top:11px}.daily-actions button{padding:8px 10px;border-radius:8px;font-size:.59rem;font-weight:600}.add-expense{flex:1;background:var(--blue);color:#fff}.edit-budget{background:#edf3ff;color:#3564c5}.today-expenses{display:grid;margin-top:9px}.expense-row{display:grid;grid-template-columns:29px 1fr auto 22px;gap:7px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}.expense-row>span{width:28px;height:28px;border-radius:8px;background:#fff1da;color:#d48a09;display:grid;place-items:center;font-size:.68rem}.expense-row strong,.expense-row small{display:block}.expense-row strong{font-size:.6rem}.expense-row small{font-size:.49rem;color:#8995ac}.expense-row>b{font-size:.63rem;color:#d83278}.expense-row button{width:22px;height:22px;border-radius:6px;background:#fff0f5;color:#cf3372;font-size:.7rem}
.simple-action{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px;margin-top:12px}.simple-action-icon{width:40px;height:40px;border-radius:11px;background:#e8efff;color:#2d63d1;display:grid;place-items:center;font-weight:700}.simple-action small,.simple-action strong,.simple-action p{display:block;margin:0}.simple-action small{font-size:.49rem;color:#8793aa}.simple-action strong{font-size:.66rem}.simple-action p{font-size:.51rem;color:#7f8ba3}.simple-action button{padding:7px 9px;border-radius:8px;background:#edf3ff;color:#3162c5;font-size:.56rem;font-weight:600}
.monthly-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:15px;margin-top:12px}.monthly-head{display:flex;align-items:flex-start;justify-content:space-between}.monthly-head p,.monthly-head h2{margin:0}.monthly-head p{font-size:.52rem;color:#8a96ad}.monthly-head h2{font-size:.83rem}.monthly-head>span{padding:4px 7px;border-radius:20px;background:#edf3ff;color:#3562bf;font-size:.5rem}.monthly-stats{display:grid;grid-template-columns:1.25fr 1fr .8fr;gap:7px;margin-top:12px}.monthly-stats div{padding:9px;border-radius:10px;background:#f5f8fd}.monthly-stats div:first-child{background:linear-gradient(135deg,#2367e8,#634ad8);color:#fff}.monthly-stats small,.monthly-stats strong{display:block}.monthly-stats small{font-size:.48rem;color:#8190aa}.monthly-stats div:first-child small{color:#dfe7ff}.monthly-stats strong{font-size:.7rem}.category-overview{display:flex;align-items:center;gap:15px;margin-top:14px}.monthly-donut{position:relative;flex:0 0 105px;height:105px;border-radius:50%;background:conic-gradient(#e5e9f1 0 100%)}.monthly-donut:after{content:"";position:absolute;inset:15px;border-radius:50%;background:#fff}.monthly-donut>div{position:absolute;inset:0;z-index:1;display:grid;place-content:center;text-align:center}.monthly-donut small,.monthly-donut strong{display:block}.monthly-donut small{font-size:.45rem;color:#8995ad}.monthly-donut strong{font-size:.68rem}.monthly-categories{display:grid;gap:6px;flex:1}.monthly-categories>p{color:#8793aa;font-size:.52rem;margin:0}.category-row{display:grid;grid-template-columns:7px 1fr auto;gap:6px;align-items:center;font-size:.51rem}.category-row i{width:7px;height:7px;border-radius:50%}.category-row span{color:#697792}.category-row b{font-size:.52rem}
.mobile-dialog{width:min(390px,calc(100% - 28px));border:0;border-radius:21px;padding:0;color:var(--ink);box-shadow:0 30px 85px #10235070}.mobile-dialog::backdrop{background:#1023509e;backdrop-filter:blur(4px)}.mobile-dialog form{padding:24px;text-align:center}.dialog-emoji{font-size:2.8rem}.mobile-dialog h2{margin:3px 0;font-size:1.3rem}.mobile-dialog form>p:not(.eyebrow){margin:0 auto 18px;color:#7d89a2;font-size:.62rem;max-width:270px}.money-input{display:block;text-align:left;margin-top:15px}.money-input>span,.expense-dialog form>label>span{display:block;color:#697793;font-size:.6rem;margin-bottom:5px}.money-input>div{display:flex;align-items:center;border:1px solid #d9e1ee;border-radius:11px;padding:4px 11px;background:#f9fbff}.money-input b{font-size:1.2rem;color:var(--blue)}.money-input input{width:100%;border:0;outline:0;background:transparent;padding:5px;font-size:1.35rem;font-weight:700}.quick-budget{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:9px 0 15px}.quick-budget button{padding:7px;border-radius:8px;background:#edf3ff;color:#3763c2;font-size:.6rem}.dialog-submit{width:100%;padding:10px;border-radius:9px;background:linear-gradient(135deg,#2367e8,#5a4bd8);color:#fff;font-weight:700}.mobile-dialog form>small{display:block;color:#8d98ad;font-size:.51rem;margin-top:8px}.dialog-head{display:flex;align-items:center;justify-content:space-between;text-align:left}.dialog-head h2{font-size:1.05rem}.dialog-head>button{width:31px;height:31px;border-radius:50%;background:#f1f4f9;color:#6f7c96;font-size:1.15rem}.expense-dialog form{text-align:left}.expense-dialog form>label{display:block;margin-top:12px}.expense-dialog select,.expense-dialog form>label>input{width:100%;padding:9px 10px;border:1px solid #d9e1ee;border-radius:9px;background:#fff;outline:0}.expense-dialog .dialog-submit{margin-top:17px}
