:root{--ink:#14243b;--muted:#718095;--green:#16715f;--deep:#113f38;--mint:#d9f3e7;--bg:#f5f7fa;--line:#e7ecf1;--white:#fff;--shadow:0 13px 45px rgba(13,40,65,.05);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1.15px;line-height:1.22}h2{font-size:23px;letter-spacing:-.65px}h3{font-size:16px;letter-spacing:-.24px}small{font-size:12px}.muted{color:var(--muted)}.font-small{font-size:13px}.strong{font-weight:750}.t-right{text-align:right}.mono{font-variant-numeric:tabular-nums}.nowrap{white-space:nowrap}.eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:800;color:var(--green)}.brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.95px;font-size:23px;color:var(--ink)}.brand b{color:#20947b}.brand-symbol{width:38px;height:38px;background:var(--deep);display:grid;place-items:center;border-radius:12px;color:#c8ffde;font-size:24px;line-height:1}.btn{appearance:none;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 16px;border-radius:11px;font-weight:700;font-size:13px;transition:.16s ease;line-height:1.25;min-height:42px;white-space:nowrap}.btn:hover:not(:disabled){transform:translateY(-1px);text-decoration:none}.btn svg,.navlink svg,.icon-box svg{width:18px;height:18px}.btn.primary{background:#156d5b;color:white;box-shadow:0 4px 12px rgba(15,99,81,.15)}.btn.primary:hover{background:#0e5547}.btn.ghost{border-color:var(--line);background:white;color:var(--ink)}.btn.ghost:hover{background:#f8fafc}.btn.soft{background:#e8f5ee;color:#12644f}.btn.dark{background:#17283e;color:white}.btn.full{width:100%}.btn.text-btn{background:transparent;border:0;color:var(--green);padding:8px 0}.btn.sm{font-size:12px;min-height:35px;padding:8px 11px}.btn.destructive{background:#fff0ef;color:#b24e43}.btn:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.navlink:focus-visible{outline:3px solid #9bdbbf;outline-offset:2px}input,select,textarea{width:100%;border:1px solid #dee5ed;border-radius:10px;padding:12px 13px;background:white;color:var(--ink);font-size:14px;min-height:44px;outline:0}input:focus,select:focus,textarea:focus{border-color:#67b6a1;box-shadow:0 0 0 3px #d9f3e8}input::placeholder,textarea::placeholder{color:#a4afbe}input[type=checkbox]{width:auto;min-height:unset;accent-color:#16715f}label{display:flex;flex-direction:column;gap:7px;color:#475971;font-weight:650;font-size:13px}.inline-check{display:flex;align-items:flex-start;flex-direction:row;gap:9px;line-height:1.5;font-weight:500}.stack-form{display:flex;flex-direction:column;gap:17px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}.notice{border-radius:11px;padding:12px 14px;font-size:12.5px;line-height:1.65}.notice.info{color:#49637b;background:#f0f5fa;border:1px solid #e6eef5}.notice.error{color:#a33d31;background:#fff0ed;border:1px solid #fad5cd}.startup{min-height:80vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:var(--muted)}.spinner{border:3px solid #d5e3df;border-top-color:var(--green);border-radius:100%;width:28px;height:28px;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
/* authentication */
.auth-layout{min-height:100dvh;display:grid;grid-template-columns: minmax(460px,51%) 1fr;background:#fff}.auth-art{background:#103d39;padding:40px clamp(35px,5vw,85px);color:#fff;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}.auth-art:before{content:"";position:absolute;right:-230px;top:-230px;width:560px;height:560px;border-radius:50%;border:1px solid #ffffff1f;box-shadow:0 0 0 78px #ffffff06,0 0 0 157px #ffffff06;pointer-events:none}.auth-art .brand{color:#fff}.auth-art .brand b{color:#b4edc8}.auth-art .brand-symbol{background:#ffffff1a}.auth-headline{position:relative;max-width:560px;margin-top:55px}.auth-headline .overline{display:inline-flex;align-items:center;gap:8px;border:1px solid #a5ecd44d;background:#a5ecd40e;border-radius:50px;padding:9px 13px;font-size:12px;color:#c7f5df}.auth-headline h1{font-size:clamp(36px,4vw,55px);line-height:1.11;letter-spacing:-2.5px;margin:20px 0 18px;max-width:520px}.auth-headline h1 em{color:#b6f2ce;font-style:normal}.auth-headline>p{color:#bdd1c9;line-height:1.75;font-size:15px;max-width:435px}.auth-preview{margin-top:34px;max-width:480px;border:1px solid #ffffff2e;border-radius:17px;padding:21px;background:linear-gradient(120deg,#fffdfb 0,#f4fff9 100%);color:var(--ink);box-shadow:0 26px 55px #001e213c}.auth-preview .preview-top{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.auth-preview .preview-value{font-size:29px;font-weight:850;letter-spacing:-.8px;margin:14px 0 7px}.progress{height:9px;background:#e8f0ee;border-radius:20px;overflow:hidden}.progress>span{height:100%;display:block;background:linear-gradient(90deg,#1eaa7f,#68c9a3);border-radius:20px;min-width:0}.preview-bottom{display:flex;justify-content:space-between;margin-top:11px;color:var(--muted);font-size:12px}.auth-note{position:relative;color:#afc7c0;font-size:12px;line-height:1.6}.auth-panel{display:flex;align-items:center;justify-content:center;padding:42px 24px}.auth-box{width:min(410px,100%)}.auth-mobile-logo{display:none}.auth-box .eyebrow{margin-bottom:12px}.auth-box h2{font-size:31px;letter-spacing:-1.1px;margin-bottom:11px}.auth-box .intro{color:var(--muted);font-size:14px;line-height:1.7;margin-bottom:30px}.auth-box .submit{margin-top:6px;min-height:48px}.auth-switch{text-align:center;margin-top:22px;font-size:13px;color:var(--muted)}.auth-switch button{border:0;background:none;color:var(--green);font-weight:750;padding:3px}.trust-line{border-top:1px solid var(--line);margin-top:34px;padding-top:19px;display:flex;gap:10px;align-items:start;color:#748397;font-size:12px;line-height:1.55}.trust-line svg{flex:none;color:var(--green)}.auth-legal{margin-top:18px;color:#9aa5b0;font-size:11px;text-align:center;line-height:1.8}
/* shell */
.shell{min-height:100dvh;display:flex}.sidebar{position:fixed;width:253px;inset:0 auto 0 0;background:#fff;display:flex;flex-direction:column;border-right:1px solid var(--line);z-index:25;padding:31px 17px 19px}.sidebar .brand{padding:0 10px}.sidebar-desc{font-size:11px;color:#9baaaf;letter-spacing:1.1px;font-weight:800;margin:37px 13px 12px}.nav{display:flex;flex-direction:column;gap:5px}.navlink{display:flex;align-items:center;gap:12px;background:transparent;border:0;border-radius:11px;padding:12px 13px;color:#6d7c8f;font-weight:650;font-size:13.5px;text-align:left;width:100%}.navlink:hover{background:#f5f8fa;color:#274559}.navlink.active{background:#eaf6f0;color:#176d56;font-weight:800}.navlink.active svg{stroke-width:2.3}.nav-split{height:1px;background:var(--line);margin:16px 12px 10px}.sidebar-bottom{margin-top:auto}.sidebar-bottom .mini-help{background:#eef7f3;border-radius:14px;padding:14px;margin:8px 3px 17px}.mini-help strong{font-size:13px;display:block;margin:8px 0 6px}.mini-help p{font-size:12px;line-height:1.6;color:#728594}.mini-user{border-top:1px solid var(--line);padding-top:14px;display:flex;align-items:center;gap:10px}.avatar{height:36px;width:36px;border-radius:12px;background:#e7f4ec;color:#19725c;font-size:14px;font-weight:800;display:grid;place-items:center;flex:none}.mini-user .details{flex:1;min-width:0}.mini-user .details strong,.mini-user .details small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-user .details strong{font-size:12.5px}.mini-user .details small{color:var(--muted);margin-top:3px}.mini-user button{border:0;background:transparent;color:#8392a1;padding:6px}.main{margin-left:253px;width:calc(100% - 253px);min-width:0}.topbar{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(24px,3.8vw,62px)}.breadcrumb{font-size:13px;color:#7d8ea1}.top-right{display:flex;gap:17px;align-items:center}.today{font-size:12px;color:#7e8da2}.top-plan{border-radius:30px;padding:8px 11px;color:#1a8067;font-size:11px;font-weight:800;background:#eaf6ef}.mobile-menu{display:none;border:0;background:none;padding:8px;color:var(--ink)}.mobile-backdrop{display:none}.content{padding:35px clamp(22px,3.8vw,62px) 70px;max-width:1570px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:28px}.page-head .eyebrow{margin-bottom:8px}.page-head p{font-size:13px;line-height:1.65;color:var(--muted);margin-top:9px}.page-head .actions{display:flex;gap:10px;flex-wrap:wrap}.overview-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr);gap:19px}.span2{grid-column:span 2}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:21px}.card{background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow)}.stat-card{padding:20px 19px;min-height:138px}.stat-head{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#6f8093;font-size:12.5px;font-weight:650}.icon-box{width:34px;height:34px;background:#ecf5f1;border-radius:10px;color:#237e64;display:grid;place-items:center}.stat-value{font-weight:850;font-size:clamp(17px,1.65vw,25px);letter-spacing:-.8px;margin:18px 0 7px;white-space:nowrap}.stat-sub{font-size:11px;color:#8391a0;line-height:1.5}.stat-sub.positive{color:#178166}.focus-card{background:linear-gradient(110deg,#133f3a,#133b39 70%,#185448);border-radius:18px;position:relative;overflow:hidden;padding:32px;color:white;min-height:266px;display:flex;align-items:center;justify-content:space-between;gap:20px}.focus-card:after{content:"";position:absolute;width:330px;height:330px;border:1px solid #ffffff16;border-radius:100%;right:-85px;top:-90px;pointer-events:none}.focus-left{position:relative;z-index:1;min-width:0}.focus-badge{font-size:11px;font-weight:750;color:#bdebd8;display:inline-flex;align-items:center;gap:8px;letter-spacing:.6px}.focus-badge:before{content:"";width:7px;height:7px;border-radius:50%;background:#76e0a8}.focus-card h2{font-size:26px;color:white;margin:14px 0 5px}.focus-caption{color:#b4d6c8;font-size:12.5px}.focus-amount{font-size:clamp(26px,2.5vw,37px);font-weight:850;letter-spacing:-1.1px;margin:19px 0 20px;white-space:nowrap}.focus-amount span{font-size:12px;color:#b2d5c6;font-weight:500;letter-spacing:0}.focus-card .btn{background:#f7fff9;color:#145344;min-height:38px}.ring{--pct:0%;width:156px;height:156px;flex:none;border-radius:50%;background:conic-gradient(#8de9b7 var(--pct),#ffffff20 0);display:grid;place-items:center;position:relative;z-index:1}.ring:before{content:"";position:absolute;inset:13px;background:#174641;border-radius:50%}.ring-label{position:relative;display:grid;place-items:center;gap:0}.ring-label strong{font-size:29px;letter-spacing:-1px}.ring-label small{font-size:11px;color:#c7dfd6}.panel{padding:22px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:21px}.panel-title{font-weight:800;font-size:15px;letter-spacing:-.2px}.panel-sub{font-size:12px;color:var(--muted);margin-top:5px;line-height:1.5}.inline-button{border:0;background:transparent;color:#177864;font-size:12px;font-weight:750;white-space:nowrap}.quick{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.quick button{border:1px solid #e2eee9;border-radius:12px;background:#f8fcfa;padding:14px 6px;display:grid;gap:7px;color:#195a4a}.quick button:hover{border-color:#8accb6;background:#eaf8f2}.quick strong{font-size:14px;white-space:nowrap}.quick small{font-size:11px;color:#749184}.info-line{display:flex;gap:9px;font-size:11px;color:#81909d;line-height:1.65;align-items:start;margin-top:15px}.info-line svg{width:15px;height:15px;flex:none}.milestones{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;position:relative;margin:10px 0 5px}.mile{text-align:center;min-width:0}.mile-dot{width:30px;height:30px;border-radius:100%;margin:auto;display:grid;place-items:center;background:#e9edf2;color:#91a0ae;font-size:11px;font-weight:800;border:2px solid white;box-shadow:0 0 0 1px #e3e9eb}.mile.done .mile-dot{background:#1d8c72;color:white}.mile p{font-size:11px;font-weight:700;color:#52647a;margin-top:9px}.mile small{font-size:10.5px;color:#9aa6b2}.activity{display:flex;flex-direction:column}.activity-item{display:flex;gap:11px;align-items:center;padding:13px 0;border-bottom:1px solid #edf0f2}.activity-item:last-child{border-bottom:0}.entry-icon{height:37px;width:37px;border-radius:11px;background:#e7f6ee;color:#178263;display:grid;place-items:center;flex:none}.entry-icon.withdrawal{background:#fff2e9;color:#c07b3f}.activity-title{font-size:12.5px;font-weight:750;line-height:1.4}.activity-note{font-size:11px;color:#8796a4;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:330px}.activity-amount{margin-left:auto;white-space:nowrap;font-size:12.5px;font-weight:800;color:#178166}.activity-amount.withdrawal{color:#c17a46}.empty{padding:29px 15px;text-align:center;color:#7f8d9c}.empty .bubble{width:54px;height:54px;border-radius:16px;margin:0 auto 13px;background:#eff7f3;display:grid;place-items:center;color:var(--green)}.empty h3{color:#30455d}.empty p{font-size:12.5px;line-height:1.6;margin:7px auto 14px;max-width:320px}.goals-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.goal-card{padding:23px}.goal-card .goal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:12px}.phase-badge{display:inline-flex;align-items:center;font-size:10.5px;font-weight:800;background:#edf8f2;color:#17745c;border-radius:30px;padding:7px 9px}.phase-badge.archived{background:#f0f3f6;color:#7b8795}.goal-saved{font-size:25px;font-weight:850;letter-spacing:-.8px;margin:13px 0 4px}.goal-sub{color:var(--muted);font-size:12px;margin-bottom:18px}.goal-row{display:flex;justify-content:space-between;font-size:11.5px;color:#8192a3;margin-top:10px}.goal-actions{display:flex;gap:8px;margin-top:19px;flex-wrap:wrap}.phase-list{display:grid;gap:12px}.phase-card{display:flex;align-items:center;gap:15px;padding:18px;box-shadow:none}.phase-index{height:47px;width:47px;border-radius:13px;background:#edf6f2;display:grid;place-items:center;color:#197660;font-size:17px;font-weight:850;flex:none}.phase-info{flex:1;min-width:0}.phase-info strong{font-size:14px}.phase-info p{font-size:12px;color:#8693a4;margin-top:5px}.phase-card .badge{white-space:nowrap;color:#718197;font-size:10px;font-weight:800}.phase-card.current{border-color:#acdccc;background:#f9fdfb}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;min-width:610px}.data-table th{color:#8492a2;font-size:11px;font-weight:800;padding:13px 16px;background:#f9fbfc}.data-table td{border-top:1px solid #eef0f3;font-size:12px;color:#43536a;padding:15px 16px}.table-tag{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800}.table-tag.deposit{color:#178365}.table-tag.withdrawal{color:#c27d46}.table-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px 18px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.table-controls .btn{margin-left:6px}.select-filter{width:min(220px,100%);font-size:12px;min-height:39px;padding:9px 12px}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.pricing{padding:28px;display:flex;flex-direction:column;gap:16px}.pricing.highlight{border:1.5px solid #87cbb1;background:linear-gradient(160deg,#fff,#f5fdf8)}.pricing .plan-name{font-weight:800;font-size:15px}.pricing .plan-cost{font-size:32px;letter-spacing:-1.1px;font-weight:850}.pricing .plan-cost small{font-size:12px;color:#8a98a6;font-weight:500;letter-spacing:0}.pricing p{font-size:12px;color:#7c8a9c;line-height:1.6;min-height:40px}.feature{display:flex;gap:9px;align-items:start;color:#52667a;font-size:12px;line-height:1.6}.feature svg{flex:none;color:#178a6c}.pricing .btn{margin-top:auto}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-card{padding:25px}.settings-card h3{margin-bottom:7px}.settings-card>p{font-size:12px;color:var(--muted);line-height:1.6;margin-bottom:24px}.footer{padding:0 0 30px;color:#9ba6b4;font-size:11px;display:flex;justify-content:space-between;gap:10px;max-width:1570px;margin:0 auto;padding-left:clamp(22px,3.8vw,62px);padding-right:clamp(22px,3.8vw,62px)}
/* modal */
.overlay{position:fixed;inset:0;background:rgba(13,30,47,.5);z-index:50;display:flex;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(3px)}.modal{width:min(490px,100%);max-height:90dvh;overflow:auto;background:white;border-radius:19px;box-shadow:0 23px 100px #061e333d}.modal-head{padding:24px 25px 0;display:flex;justify-content:space-between;align-items:start;gap:15px}.modal-head h2{font-size:22px}.modal-head p{font-size:12.5px;color:var(--muted);margin-top:7px;line-height:1.6}.xclose{background:#f4f6f8;border:0;border-radius:10px;width:34px;height:34px;display:grid;place-items:center;color:#647589;flex:none}.modal-body{padding:23px 25px 26px}.modal-action{display:flex;justify-content:end;gap:9px;margin-top:4px}.preset-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:-3px 0 1px}.preset{border-radius:9px;padding:9px 3px;border:1px solid #e2eaeb;background:#fafdfc;color:#326e60;font-size:12px;font-weight:750}.preset.selected,.preset:hover{background:#e9f8f0;border-color:#99d8bd}.hint-box{background:#f1f8f5;border-radius:11px;padding:12px 13px;font-size:12px;color:#527568;line-height:1.6}.modal .stack-form{gap:15px}#toast{position:fixed;right:25px;bottom:23px;z-index:100;max-width:410px}.toast-msg{display:flex;align-items:center;gap:9px;border-radius:12px;background:#18392f;color:white;padding:13px 16px;font-size:12.5px;box-shadow:0 14px 50px #0a2c2740;line-height:1.45}.toast-msg.bad{background:#763d3a}.hide{display:none!important}.install-body{min-height:100dvh;display:grid;place-items:center;padding:30px 15px}.install-card{width:min(520px,100%);background:#fff;border:1px solid var(--line);border-radius:18px;padding:35px;box-shadow:var(--shadow)}.install-kicker{font-size:11px;color:var(--green);font-weight:800;letter-spacing:1px;margin:30px 0 10px}.install-card h1{margin-bottom:12px}.install-card>p{color:var(--muted);font-size:13px;line-height:1.7;margin-bottom:24px}.install-card>.notice{margin:17px 0}.install-card footer{color:var(--muted);font-size:11px;line-height:1.5;margin-top:22px}.legal-body{max-width:740px;margin:auto;padding:48px 23px;color:#2b4154;line-height:1.75}.legal-body .brand{margin-bottom:35px}.legal-body h1{margin-bottom:20px}.legal-body h2{margin:27px 0 8px;font-size:18px}.legal-body p{margin:10px 0;color:#52637a;font-size:14px}.legal-warn{background:#fff7e6;border:1px solid #efd2a7;padding:12px;border-radius:10px;color:#815a24!important}
@media(max-width:1280px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid{grid-template-columns: minmax(0,1.4fr) minmax(260px,1fr)}.focus-card{padding:25px}.ring{width:126px;height:126px}.ring:before{inset:12px}.focus-card h2{font-size:22px}.focus-amount{font-size:30px}.plan-grid{gap:11px}.pricing{padding:21px}}
@media(max-width:980px){.sidebar{transform:translateX(-105%);transition:transform .2s ease;box-shadow:12px 0 30px #0d2d3212}.shell.menu-open .sidebar{transform:translateX(0)}.shell.menu-open .mobile-backdrop{position:fixed;display:block;inset:0;background:#10273466;z-index:22;border:0}.main{margin-left:0;width:100%}.mobile-menu{display:inline-flex}.topbar{padding:0 25px}.content{padding:27px 24px 55px}.auth-layout{grid-template-columns:1fr}.auth-art{display:none}.auth-mobile-logo{display:block;margin-bottom:48px}.auth-panel{min-height:100dvh;padding:35px 24px}.overview-grid{grid-template-columns:1fr 1fr}.footer{padding-left:24px;padding-right:24px}}
@media(max-width:680px){.topbar{height:65px;padding:0 16px}.today{display:none}.content{padding:24px 16px 52px}.page-head{align-items:start;flex-direction:column;margin-bottom:21px}.page-head h1{font-size:27px}.page-head .actions{width:100%}.page-head .actions .btn{flex:1}.stat-grid{gap:10px;margin-bottom:12px}.stat-card{padding:15px;min-height:122px}.stat-value{font-size:19px;margin:15px 0 6px}.stat-head{font-size:11px}.icon-box{width:29px;height:29px}.icon-box svg{width:15px;height:15px}.overview-grid,.goals-layout,.settings-grid,.plan-grid{grid-template-columns:1fr;gap:12px}.span2{grid-column:auto}.focus-card{padding:24px;gap:8px;min-height:222px}.focus-card h2{font-size:20px}.focus-amount{font-size:25px}.focus-left{max-width:65%}.ring{width:104px;height:104px}.ring:before{inset:10px}.ring-label strong{font-size:23px}.ring-label small{font-size:10px}.panel{padding:20px}.pricing p{min-height:0}.footer{display:block;line-height:1.8;text-align:center;padding:0 16px 25px}.top-plan{font-size:10px}.top-right{gap:9px}.modal{border-radius:16px}.modal-head{padding:22px 20px 0}.modal-body{padding:20px}.quick{gap:7px}.quick strong{font-size:12px}.quick button{padding:12px 4px}.activity-note{max-width:150px}.goal-card{padding:20px}.two-cols{grid-template-columns:1fr}.auth-panel{align-items:flex-start;padding-top:35px}.auth-box h2{font-size:28px}.auth-mobile-logo{margin-bottom:45px}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* SubaMeta 2026 identity / PWA */
.brand-mark{width:36px;height:36px;border-radius:11px;object-fit:cover;box-shadow:0 7px 22px #00a77925}.brand{gap:10px;letter-spacing:-.55px}.brand b{color:#159a7b}.brand-symbol{display:none}
.install-nav{margin-top:6px}.install-top{border:1px solid #dce9e6;background:#f3fbf8;color:#198469;font:inherit;border-radius:10px;font-size:11px;font-weight:800;padding:9px 11px;display:flex;align-items:center;gap:7px;cursor:pointer}
.install-promo{display:flex;align-items:center;gap:11px;background:#f4fbf9;border:1px solid #d7eee7;border-radius:15px;padding:12px;margin:20px 0 4px}
.install-promo>div{flex:1;min-width:0}.install-promo strong,.install-promo small{display:block}.install-promo strong{font-size:12px;color:#20473d}.install-promo small{font-size:10px;color:#71837b;margin-top:4px;line-height:1.5}.install-promo .btn{white-space:nowrap}
.subscription-banner{border:1px solid #96d9be;border-radius:15px;background:linear-gradient(110deg,#e3fbf1,#f7fffd);padding:20px 22px;margin-bottom:23px;display:flex;align-items:center;gap:16px;justify-content:space-between}.subscription-banner.subtle{background:white;border-color:#e2e9e7}.subscription-banner>div{display:flex;align-items:center;gap:13px;color:#137c5d}.subscription-banner span{display:grid;gap:6px}.subscription-banner strong{font-size:15px;color:#153d35}.subscription-banner small{font-size:12px;color:#678578;line-height:1.5}
.pricing.highlight{border:2px solid #42bb8f;box-shadow:0 15px 45px #168a6518;background:linear-gradient(160deg,#fff 55%,#ecfff6)}.pricing-lines{border-top:1px solid var(--line);padding-top:15px;display:flex;flex-direction:column;gap:13px;flex:1}.pricing .plan-cost{margin:16px 0 4px}.pricing .btn:not([disabled]){background:#1b9c70;color:#fff;border:1px solid #1b9c70}.pricing .btn[disabled]{opacity:.68;cursor:not-allowed}
.legal-note{font-size:12px;color:#708193;line-height:1.7;margin:19px 0}.pix-box{text-align:center;padding:16px 0 22px;display:grid;justify-items:center;gap:9px}.pix-box strong{color:#224c41;font-size:15px}.pix-box p{color:#718594;font-size:12px;line-height:1.6}.pix-symbol{display:grid;place-items:center;width:61px;height:61px;border-radius:17px;background:#e8fbf4;color:#159a70}.pix-code{width:100%;height:105px;word-break:break-all;resize:none;border:1px solid #d3e8e0;background:#f6faf9;border-radius:12px;padding:12px;font:12px/1.6 monospace;margin:0 0 12px}.pay-status{padding:12px;text-align:center;color:#6e8490;font-size:13px}.pay-status strong{color:#167e60}.checkout-description{font-size:13px;line-height:1.7;color:#607487;padding-bottom:18px}.install-guide{display:grid;justify-items:center;gap:16px;text-align:center}.install-guide p{color:#567381;line-height:1.7;font-size:14px}.install-guide .btn{width:100%}
@media(max-width:680px){.install-top{font-size:0;padding:7px}.install-top svg{width:18px;height:18px}.subscription-banner{flex-direction:column;align-items:stretch}.install-promo{flex-wrap:wrap}}

/* Acesso discreto ao console após dez toques no logotipo. A autorização é sempre feita no servidor. */
.admin-logo-trigger{border:0;background:transparent;padding:0;cursor:pointer;text-align:left;font:inherit;display:flex;align-items:center}.admin-logo-trigger:focus-visible{outline:2px solid #28b889;outline-offset:4px;border-radius:10px}


/* SubaMeta — Aparência adaptativa. Padrão claro; escuro somente em data-theme="dark". */
:root{color-scheme:light}
:root[data-theme="dark"]{
 color-scheme:dark;--ink:#edf5fc;--muted:#a6b7c9;--green:#6be4b9;--deep:#154d43;
 --mint:#153e37;--bg:#081725;--line:#284052;--white:#122738;
 --shadow:0 15px 36px rgba(0,0,0,.22);color:var(--ink);background:var(--bg)
}
:root[data-theme="dark"] body{background:#081725;color:#eaf4fb}
:root[data-theme="dark"] .auth-layout,:root[data-theme="dark"] .sidebar,:root[data-theme="dark"] .topbar,
:root[data-theme="dark"] .card,:root[data-theme="dark"] .modal,:root[data-theme="dark"] .install-card,
:root[data-theme="dark"] .install-card,:root[data-theme="dark"] .subscription-banner.subtle,
:root[data-theme="dark"] .pricing.highlight{background:#122738;color:#eaf4fb;border-color:#294253}
:root[data-theme="dark"] .auth-art{background:radial-gradient(circle at 20% 10%,#164d45,#071725 68%)}
:root[data-theme="dark"] .sidebar,:root[data-theme="dark"] .topbar{border-color:#2a4050}
:root[data-theme="dark"] .brand,:root[data-theme="dark"] .auth-box h2,:root[data-theme="dark"] .page-head h1,
:root[data-theme="dark"] .card h2,:root[data-theme="dark"] .card h3,:root[data-theme="dark"] .empty h3,
:root[data-theme="dark"] .legal-body,:root[data-theme="dark"] .goal-row,
:root[data-theme="dark"] .install-card .brand{color:#eaf5fc}
:root[data-theme="dark"] .brand b{color:#65e0b6}
:root[data-theme="dark"] .breadcrumb strong{color:#eef7fc!important}
:root[data-theme="dark"] .breadcrumb span{color:#7390a6!important}
:root[data-theme="dark"] label,:root[data-theme="dark"] .feature,:root[data-theme="dark"] .mile p,
:root[data-theme="dark"] .data-table td,:root[data-theme="dark"] .legal-body p,
:root[data-theme="dark"] .phase-info p,:root[data-theme="dark"] .pricing p{color:#bacbda}
:root[data-theme="dark"] input,:root[data-theme="dark"] select,:root[data-theme="dark"] textarea,
:root[data-theme="dark"] .pix-code{background:#0b1c2b;color:#ecf7fd;border-color:#35536a}
:root[data-theme="dark"] input::placeholder,:root[data-theme="dark"] textarea::placeholder{color:#8ca2b4}
:root[data-theme="dark"] .btn.ghost,:root[data-theme="dark"] .install-top{background:#1a3546;color:#dcf0f7;border-color:#355568}
:root[data-theme="dark"] .btn.ghost:hover{background:#204255}
:root[data-theme="dark"] .btn.soft,:root[data-theme="dark"] .quick button,
:root[data-theme="dark"] .mini-help,:root[data-theme="dark"] .sidebar-bottom .mini-help,
:root[data-theme="dark"] .install-promo,:root[data-theme="dark"] .hint-box,
:root[data-theme="dark"] .notice.info,:root[data-theme="dark"] .empty .bubble,
:root[data-theme="dark"] .phase-badge,:root[data-theme="dark"] .phase-index,
:root[data-theme="dark"] .icon-box,:root[data-theme="dark"] .entry-icon,
:root[data-theme="dark"] .phase-card.current,:root[data-theme="dark"] .preset,
:root[data-theme="dark"] .preset.selected,:root[data-theme="dark"] .subscription-banner,
:root[data-theme="dark"] .install-guide{background:#17392f;color:#c3f1de;border-color:#346b59}
:root[data-theme="dark"] .quick button:hover{background:#1d4b3f}
:root[data-theme="dark"] .mini-help p,:root[data-theme="dark"] .install-promo small,
:root[data-theme="dark"] .install-promo strong,:root[data-theme="dark"] .subscription-banner strong,
:root[data-theme="dark"] .subscription-banner small,:root[data-theme="dark"] .subscription-banner>div,
:root[data-theme="dark"] .pix-box strong,:root[data-theme="dark"] .pix-box p,
:root[data-theme="dark"] .preset,:root[data-theme="dark"] .hint-box{color:#c6eadc}
:root[data-theme="dark"] .navlink{color:#a5bbcc}
:root[data-theme="dark"] .navlink:hover{background:#20394b;color:#eff7fc}
:root[data-theme="dark"] .navlink.active{background:#17483e;color:#77e8bb}
:root[data-theme="dark"] .top-plan,:root[data-theme="dark"] .avatar{color:#86edc5;background:#194c3e}
:root[data-theme="dark"] .data-table th{color:#a7bdcc;background:#192e3f}
:root[data-theme="dark"] .data-table td{color:#c3d5e0;border-color:#2c4050}
:root[data-theme="dark"] .data-table tr:hover td{background:#182e40}
:root[data-theme="dark"] .mile-dot{background:#294252;color:#c7d5df;border-color:#132738;box-shadow:0 0 0 1px #345062}
:root[data-theme="dark"] .mile.done .mile-dot{background:#158569;color:#fff}
:root[data-theme="dark"] .entry-icon.withdrawal{background:#422d23;color:#ffbe89}
:root[data-theme="dark"] .phase-badge.archived{background:#273443;color:#bccbd5}
:root[data-theme="dark"] .pricing.highlight{background:linear-gradient(165deg,#122738,#16392e);border-color:#3abf96}
:root[data-theme="dark"] .quick small,:root[data-theme="dark"] .info-line,:root[data-theme="dark"] .activity-note,
:root[data-theme="dark"] .phase-info p,:root[data-theme="dark"] .goal-sub,
:root[data-theme="dark"] .pricing .plan-cost small{color:#abc2cf}
:root[data-theme="dark"] .notice.error{background:#442826;color:#ffbbb4;border-color:#70433e}
:root[data-theme="dark"] .btn.destructive{background:#402a2e;color:#ffb4b4;border-color:#653f44}
:root[data-theme="dark"] .xclose{background:#263a4c;color:#d5e5ed}
:root[data-theme="dark"] .legal-warn{background:#3d321f;color:#f1d3a2;border-color:#6e5833}
:root[data-theme="dark"] .auth-preview{background:#172e3c;color:#ecf7fc;border-color:#355c62}
:root[data-theme="dark"] .auth-preview .progress{background:#264451}
:root[data-theme="dark"] .auth-preview .preview-top,:root[data-theme="dark"] .auth-preview .preview-bottom{color:#bfd2db}
:root[data-theme="dark"] .auth-panel,:root[data-theme="dark"] .auth-box{color:#eaf4fb}
:root[data-theme="dark"] .focus-card{background:linear-gradient(110deg,#13473c,#0b332e)}
:root[data-theme="dark"] .focus-card .btn{background:#d6f9e5;color:#134b3e}
:root[data-theme="dark"] .subscription-banner.subtle{border-color:#345063}
:root[data-theme="dark"] .pay-status,:root[data-theme="dark"] .checkout-description{color:#b8cad6}
/* Padrão de navegação, inclusive em modo claro. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-height:38px;padding:8px 11px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#294a5e;font-size:12px;font-weight:750;line-height:1;cursor:pointer;transition:background .16s,border-color .16s}
.theme-toggle:hover{border-color:#5dbf9c;background:#effaf5}
.theme-toggle:focus-visible{outline:3px solid #57cda5;outline-offset:2px}
.theme-toggle-icon{font-size:17px;width:18px;text-align:center}
:root[data-theme-choice="auto"] .theme-toggle-icon::before{content:"◐"}
:root[data-theme-choice="auto"] .theme-toggle-label::before{content:"Automático"}
:root[data-theme-choice="light"] .theme-toggle-icon::before{content:"☀"}
:root[data-theme-choice="light"] .theme-toggle-label::before{content:"Claro"}
:root[data-theme-choice="dark"] .theme-toggle-icon::before{content:"☾"}
:root[data-theme-choice="dark"] .theme-toggle-label::before{content:"Escuro"}
:root[data-theme="dark"] .theme-toggle{background:#1a3445;color:#d6f4e8;border-color:#3a5968}
:root[data-theme="dark"] .theme-toggle:hover{background:#234456;border-color:#6bdfb4}
.auth-theme-control{display:flex;justify-content:flex-end;margin-bottom:18px}
.install-theme-control{display:flex;justify-content:flex-end;margin-bottom:4px}
@media(max-width:900px){.top-right .theme-toggle-label{display:none}.top-right .theme-toggle{padding:8px;width:38px}}
@media(max-width:640px){.auth-theme-control{margin:4px 0 18px}.top-right .theme-toggle{height:37px}}

.legal-theme-control{display:flex;justify-content:flex-end;margin:0 0 18px}

/* SubaMeta: identidade luminosa em TODO o site no período diurno. */
:root[data-theme="light"] .auth-art{background:linear-gradient(145deg,#F4FBF8 0%,#DFF5EA 100%);color:#163A3C}
:root[data-theme="light"] .auth-art .brand{color:#153D3A}
:root[data-theme="light"] .auth-art .brand b{color:#118267}
:root[data-theme="light"] .auth-headline h1{color:#123D38}
:root[data-theme="light"] .auth-headline h1 em{color:#0B9371}
:root[data-theme="light"] .auth-headline>p{color:#4E6D6C}
:root[data-theme="light"] .auth-headline .overline{color:#116B53;border-color:#B8E0D1;background:#E6F8EE}
:root[data-theme="light"] .auth-note{color:#4D6D68}
:root[data-theme="light"] .auth-art:before{border-color:#9FDCC23D;box-shadow:0 0 0 78px #79D1AB14,0 0 0 157px #79D1AB10}
.sound-settings{margin-top:17px;padding:24px}
.sound-settings h3{margin-bottom:6px}
.sound-settings p{color:var(--muted);font-size:13px;line-height:1.6;margin:0 0 14px}
.sound-check{display:flex;align-items:center;flex-direction:row;gap:11px;padding:13px 14px;border:1px solid var(--line);border-radius:12px;cursor:pointer;color:var(--ink);background:var(--white)}
.sound-check input{width:20px;height:20px;min-height:20px;accent-color:#13886D;flex-shrink:0}
:root[data-theme="dark"] .sound-settings{background:#112738}
:root[data-theme="dark"] .sound-check{background:#142C3D;border-color:#355167;color:#DCEAF3}
