 :root{--bg:#0b1220;--panel:#111c2e;--panel2:#162338;--line:#24334a;--text:#edf3fb;--muted:#8797ad;--green:#39d98a;--green2:#1ca96a;--blue:#7c9cff;--red:#ff7185;--radius:18px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:"DM Sans",sans-serif;font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer} .hidden{display:none!important}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:radial-gradient(circle at 18% 20%,#163b39 0,transparent 35%),var(--bg)}
.auth-brand{padding:58px 8vw 34px;display:flex;flex-direction:column;position:relative}.brand-mark{width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,#4ce6a0,#149b69);display:grid;place-items:center;color:#06251a;font-weight:800;font-size:25px;box-shadow:0 8px 30px #1ac17b33}.brand-mark.small{width:36px;height:36px;border-radius:11px;font-size:19px}.brand-name{font-size:18px;font-weight:800;margin-top:14px}.brand-copy{margin:auto 0;max-width:520px}.eyebrow{color:var(--green);font-size:10px;font-weight:800;letter-spacing:2px}.brand-copy h1{font-size:clamp(42px,5vw,68px);line-height:1.04;letter-spacing:-2px;margin:18px 0}.brand-copy h1 span{color:var(--green)}.brand-copy p{font-size:16px;line-height:1.8;color:#a4b3c6;max-width:430px}.auth-points{display:grid;gap:14px;margin-top:34px;color:#cbd7e6}.auth-footer{font-size:10px;letter-spacing:2px;color:#63748b}.auth-panel{display:grid;place-items:center;padding:32px;background:#0e1727;border-left:1px solid #1b2b40}.auth-card{width:min(420px,100%)}.mobile-brand{display:none;align-items:center;gap:10px;margin-bottom:28px}.auth-tabs{display:flex;border-bottom:1px solid var(--line);gap:26px;margin-bottom:32px}.auth-tab{background:none;border:0;color:var(--muted);padding:0 0 14px;font-weight:700}.auth-tab.active{color:var(--green);border-bottom:2px solid var(--green)}h2{font-size:24px;margin:0 0 8px;letter-spacing:-.5px}.muted{color:var(--muted);margin:0;line-height:1.6}.auth-card form{display:grid;gap:10px;margin-top:28px}.auth-card label,.modal label,.profile-form label{font-size:12px;color:#b8c5d6;font-weight:700;margin-top:8px}input,textarea,select{width:100%;background:#0c1626;border:1px solid #293951;border-radius:10px;padding:13px 14px;color:var(--text);outline:none}input:focus,textarea:focus,select:focus{border-color:var(--green);box-shadow:0 0 0 3px #39d98a17}input::placeholder,textarea::placeholder{color:#65758b}.btn{border:0;border-radius:11px;padding:12px 17px;font-weight:700;transition:.2s}.btn-primary{background:var(--green);color:#06251a}.btn-primary:hover{background:#5de9a7;transform:translateY(-1px)}.btn-primary span{float:right}.btn.full{width:100%;margin-top:15px;padding:14px}.btn-ghost{background:#1a2a40;color:#dce6f2}.auth-note{font-size:11px;color:#6e8098;line-height:1.6;margin-top:28px}
.app-shell{min-height:100vh}.sidebar{width:245px;position:fixed;inset:0 auto 0 0;background:#0e1929;border-right:1px solid #1c2b40;padding:27px 17px;display:flex;flex-direction:column;z-index:3}.brand-lockup{display:flex;align-items:center;gap:11px;font-size:18px;font-weight:800;color:var(--text);text-decoration:none;padding:0 10px 42px}.side-label{font-size:9px;letter-spacing:1.6px;color:#60728b;font-weight:800;padding:0 12px 12px}.nav-item{width:100%;background:transparent;border:0;color:#8fa0b7;padding:12px;border-radius:10px;text-align:left;display:flex;align-items:center;gap:13px;margin-bottom:5px;font-weight:600}.nav-item span{font-size:19px;width:20px;text-align:center}.nav-item:hover,.nav-item.active{background:#183329;color:var(--green)}.sidebar-bottom{margin-top:auto}.logout{color:#d18a96}.sidebar-user{border-top:1px solid var(--line);margin-top:20px;padding:20px 5px 0;display:flex;align-items:center;gap:10px}.avatar{width:36px;height:36px;border-radius:50%;background:#234b43;color:#73e6ae;display:grid;place-items:center;font-weight:800;border:0}.user-meta{min-width:0;display:grid;gap:3px}.user-meta b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-meta small{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.main-content{margin-left:245px;padding:34px clamp(22px,4vw,60px) 60px;max-width:1600px}.topbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #1c2b40;padding-bottom:24px;margin-bottom:30px}.date-line{font-size:9px;letter-spacing:1.8px;color:var(--green);font-weight:800;margin-bottom:7px}.topbar h1{font-size:25px;margin:0}.top-actions{display:flex;align-items:center;gap:18px}.secure-label{font-size:11px;color:#9aacbf}.secure-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-right:7px}.top-avatar{width:40px;height:40px}.welcome-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.welcome-row h2{font-size:21px}.welcome-row p{margin-top:4px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stat-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:20px}.stat-card.highlight{background:linear-gradient(120deg,#143b32,#14283a);border-color:#245c49}.stat-head{display:flex;justify-content:space-between;color:#a6b5c8;font-size:12px}.stat-icon{font-size:20px;color:var(--green)}.stat-value{font-size:clamp(24px,3vw,32px);font-weight:800;letter-spacing:-1px;margin:17px 0 5px}.stat-foot{font-size:10px;color:#8294aa}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:37px 0 17px}.section-heading h2{font-size:17px;margin-bottom:5px}.section-heading p{font-size:11px}.text-button{background:none;border:0;color:var(--green);font-size:12px;font-weight:700}.goal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.goal-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:20px;min-width:0}.goal-top{display:flex;justify-content:space-between;gap:12px}.goal-symbol{width:40px;height:40px;border-radius:12px;background:#1c3a35;display:grid;place-items:center;color:var(--green);font-size:19px}.goal-actions{display:flex;gap:7px}.small-action{background:#1a2a40;border:0;color:#aabbd0;border-radius:8px;padding:7px 10px;font-size:11px}.small-action:hover{color:var(--green)}.goal-card h3{font-size:15px;margin:17px 0 5px}.goal-desc{font-size:11px;color:#8496ad;line-height:1.6;min-height:18px;overflow-wrap:anywhere}.goal-numbers{display:flex;justify-content:space-between;align-items:end;margin-top:21px;gap:10px}.goal-current{font-size:19px;font-weight:800}.goal-target{font-size:10px;color:#8192a8;text-align:right}.progress-track{height:8px;border-radius:20px;background:#26354a;overflow:hidden;margin:11px 0 9px}.progress-fill{height:100%;border-radius:20px;background:linear-gradient(90deg,#1dbb78,#66e9ac)}.goal-foot{display:flex;justify-content:space-between;color:#8395aa;font-size:10px}.goal-percent{color:var(--green);font-weight:800}.goal-bottom{display:flex;gap:8px;margin-top:17px}.goal-bottom .btn{flex:1;padding:9px;font-size:11px}.goal-complete{color:var(--green);font-size:10px;font-weight:800}.table-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.table-row{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:12px;align-items:center;padding:14px 18px;border-bottom:1px solid #202f43;font-size:11px}.table-row:last-child{border-bottom:0}.table-head{color:#71839b;font-size:9px;letter-spacing:1px;font-weight:800;background:#142136}.transaction-name{font-weight:700;color:#dce6f2}.transaction-sub{display:block;font-size:9px;color:#7f91a8;margin-top:4px}.amount-positive{color:var(--green);font-weight:800}.amount-negative{color:var(--red);font-weight:800}.empty-state{text-align:center;padding:48px 20px;background:var(--panel);border:1px dashed #34465e;border-radius:var(--radius)}.empty-icon{font-size:34px;color:var(--green);margin-bottom:10px}.empty-state p{color:var(--muted);margin:8px 0 20px}.transaction-heading{margin-top:34px}.profile-card{max-width:560px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:30px;text-align:center}.profile-avatar{width:70px;height:70px;border-radius:22px;background:#214b40;color:#74e6ad;display:grid;place-items:center;font-size:28px;font-weight:800;margin:0 auto 16px}.profile-card h2{margin-bottom:5px}.profile-form{text-align:left;display:grid;gap:9px;margin-top:28px}.profile-form .btn{margin-top:10px}.profile-security{font-size:10px;color:#7890a7;margin:25px 0 0}.modal{background:#111c2e;color:var(--text);border:1px solid #31445d;border-radius:18px;padding:26px;width:min(480px,calc(100% - 28px));box-shadow:0 25px 90px #0009}.modal::backdrop{background:#020713bb;backdrop-filter:blur(5px)}.modal form{display:grid;gap:9px}.modal-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:12px}.modal-head h2{margin-top:7px}.icon-button{border:0;background:#213148;color:#c9d5e4;border-radius:9px;width:32px;height:32px;font-size:21px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}.toast{position:fixed;top:20px;right:20px;z-index:10;background:#1c3b32;color:#baf5d8;padding:13px 18px;border:1px solid #327657;border-radius:11px;box-shadow:0 10px 35px #0005;transform:translateY(-20px);opacity:0;pointer-events:none;transition:.25s;max-width:min(420px,calc(100% - 40px));font-size:12px}.toast.show{transform:translateY(0);opacity:1}.toast.error{background:#421f2b;color:#ffd0d8;border-color:#8c3b50}
@media(max-width:900px){.auth-shell{grid-template-columns:1fr}.auth-brand{display:none}.auth-panel{min-height:100vh;border:0;padding:24px}.mobile-brand{display:flex}.sidebar{width:72px;padding:20px 10px}.brand-lockup{padding:0 7px 40px;font-size:0}.brand-lockup .brand-mark{flex-shrink:0}.side-label,.nav-item:not(.active),.nav-item{font-size:0;justify-content:center;gap:0;padding:13px 5px}.nav-item span{font-size:20px}.sidebar-user{justify-content:center;padding-top:15px}.user-meta{display:none}.main-content{margin-left:72px;padding:25px 22px}.sidebar-bottom .side-label{display:none}}
@media(max-width:620px){.main-content{padding:20px 14px 40px}.topbar{padding-bottom:18px;margin-bottom:22px}.topbar h1{font-size:21px}.secure-label{display:none}.welcome-row{align-items:flex-start;flex-direction:column}.welcome-row .btn{width:100%}.stats-grid{grid-template-columns:1fr;gap:10px}.stat-card{padding:16px}.stat-value{margin:10px 0 3px}.goal-grid{grid-template-columns:1fr}.section-heading{margin-top:28px}.table-row{grid-template-columns:1.4fr 1fr 1fr;padding:12px;font-size:10px}.table-row>*:last-child{display:none}.table-head>*:last-child{display:none}.profile-card{padding:22px 16px}.top-actions{gap:5px}}
