:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#fff;background:#0e0218;font-synthesis:none;--bg:#21033b;--panel:#3a1255;--panel2:#4d1d6c;--purple:#be43f5;--lav:#ead4ff;--muted:#c5acd4;--green:#61e18b;--pink:#ff74ab;--line:#71478a}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 50% 0,#4c0f69,#120220 60%);font-size:14px}button,input,select,textarea{font:inherit}button{border:0;color:inherit;cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #fff;outline-offset:2px}.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.phone{width:min(100%,430px);min-height:100dvh;margin:auto;background:linear-gradient(150deg,#22043e,#30064c 48%,#1a022e);position:relative;padding:env(safe-area-inset-top) 0 calc(85px + env(safe-area-inset-bottom));overflow-x:hidden;box-shadow:0 0 80px #0008}.status{height:34px;padding:13px 23px 0;font-size:11px;font-weight:700;display:flex;justify-content:space-between}.status span{font-size:8px}header{display:flex;align-items:center;justify-content:space-between;min-height:72px;padding:12px 18px}header>div{text-align:center;flex:1}header h1{font-size:20px;margin:0}header p{font-size:10px;color:#d7c6e1;margin:7px 0 0}.heart{color:#cb56f2}.icon-btn{background:transparent;padding:8px;display:flex}.icon-btn:last-child{opacity:.8}.ledger{display:flex;margin:0 18px 15px;padding:3px;background:#310e4c;border:1px solid #60337d;border-radius:12px}.ledger button{flex:1;background:transparent;border-radius:9px;padding:9px 4px;font-size:11px}.ledger button.active{background:linear-gradient(120deg,#f3e1ff,#dca7ff);color:#32104a;font-weight:700}.screen{padding:0 18px 20px;animation:appear .18s ease}.screen h2{font-size:20px;margin:11px 0 20px}.screen h3{font-size:14px;margin:23px 0 12px}.section-heading{display:flex;align-items:center;gap:10px}.section-heading .icon{color:#d85cff}nav{position:fixed;bottom:0;width:min(100%,430px);display:flex;justify-content:space-around;background:#25073bef;border-top:1px solid #603878;backdrop-filter:blur(18px);padding:9px 5px calc(8px + env(safe-area-inset-bottom));z-index:8}nav button{background:transparent;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:58px;color:#c3a8cf;font-size:9px}nav .icon{width:20px;height:20px}nav button.active{color:#ef97ff}nav button.active .icon{fill:#ad3ff533}.balance{padding:19px;background:linear-gradient(135deg,#3e125c,#551b74);border:1px solid #70408c;border-radius:15px;display:flex;flex-direction:column;gap:5px;box-shadow:0 9px 25px #10011955}.balance strong{font-size:28px;letter-spacing:-1px}.balance small{color:#c5a8d4}.balance.compact{margin-bottom:15px}.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0 22px}.quick button{background:linear-gradient(150deg,#e7c8ff,#b972ed);color:#35104d;border-radius:13px;padding:12px 4px;display:flex;flex-direction:column;align-items:center;gap:8px;min-height:76px;box-shadow:inset 0 1px #fff8}.quick .round{background:transparent;border:0;width:28px;height:28px;padding:0}.quick small{font-size:9px;color:#2d0c40;font-weight:700}.quick.business{margin-top:17px}.round{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:#a94be7;color:#fff;flex:none}.round.green{background:#d9ffe8;color:#21a75b}.round.pink{background:#ffe0ed;color:#e63b78}.round.blue{background:#dbeaff;color:#4f78e5}.round.yellow{background:#fff1c5;color:#e9a500}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}.metric-grid>div{padding:13px;background:linear-gradient(135deg,#41155d,#4c1a68);border:1px solid #64347d;border-radius:11px;display:flex;flex-direction:column;gap:6px}.metric-grid small{color:#d0b7dc;font-size:10px}.metric-grid strong{font-size:17px}.good{color:var(--green)!important}.bad{color:var(--pink)!important}.progress-label{display:flex;justify-content:space-between;margin-top:14px;font-size:11px}.bar{height:9px;background:#261037;border-radius:10px;overflow:hidden;margin-top:8px}.bar i{display:block;height:100%;background:linear-gradient(90deg,#4be285,#8cf195);border-radius:10px}.row-title{display:flex;align-items:center;justify-content:space-between;margin-top:19px}.row-title h2,.row-title h3{margin:0}.row-title button{background:#8f31be;padding:7px 12px;border-radius:9px;font-size:11px}.tx-list{border:1px solid #5b3270;border-radius:13px;overflow:hidden}.tx{width:100%;display:flex;align-items:center;gap:10px;background:#35104c;padding:12px 10px;text-align:left;border-bottom:1px solid #5c3670}.tx:last-child{border-bottom:0}.tx>span:not(.round){flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.tx strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx small{font-size:9px;color:#c7afd2}.tx b{font-size:11px;white-space:nowrap}.tx .round{width:34px;height:34px;border-radius:50%}.outline,.primary,.danger{width:100%;min-height:47px;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;text-decoration:none;font-weight:700}.primary{background:linear-gradient(120deg,#bd45ef,#7d25c4);box-shadow:0 4px 14px #b43aec42}.outline{background:#47165f;border:1px solid #8c55a9}.danger{background:#772240;color:#ffc6d9}.text-btn{background:transparent;color:#f0bbff;padding:12px;width:100%;font-size:12px}.choice-list{display:grid;gap:12px}.choice{width:100%;display:flex;align-items:center;gap:13px;text-align:left;background:#421458;border:1px solid #74418a;border-radius:15px;padding:16px}.choice>span:not(.round){display:flex;flex-direction:column;gap:5px;flex:1}.choice small{color:#cbb5d5}.choice>.icon{width:17px}label{display:block;font-size:11px;font-weight:650;margin:14px 0}input,select,textarea{display:block;width:100%;min-height:45px;margin-top:6px;border:1px solid #72428a;border-radius:10px;background:#43155b;color:#fff;padding:10px 12px;font-size:16px}select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#d5b4e3 50%),linear-gradient(135deg,#d5b4e3 50%,transparent 50%);background-position:calc(100% - 16px) 19px,calc(100% - 11px) 19px;background-size:5px 5px;background-repeat:no-repeat}textarea{min-height:85px;resize:vertical}.check{display:flex;gap:10px;align-items:flex-start;font-weight:500}.check input{width:18px;height:18px;min-height:0;margin:1px 0;accent-color:#bd48f2}.check span{flex:1}.check small{display:block;color:#c2aacd;margin-top:4px;font-weight:400}.notice{background:#4c1c61;border:1px solid #714181;border-radius:11px;padding:12px;color:#d5c3de;font-size:11px;line-height:1.55;margin:14px 0}.pills{display:flex;gap:6px;margin-bottom:14px}.pills button{flex:1;padding:8px 5px;border-radius:15px;background:#4a205d;font-size:10px}.pills button.active{background:linear-gradient(120deg,#d686ff,#8f36d5);font-weight:700}.search{display:flex;align-items:center;gap:7px;background:#48185f;border:1px solid #76468d;border-radius:11px;padding:0 10px}.search input{border:0;background:transparent;margin:0;padding-left:2px;min-width:0}.account{display:flex;align-items:center;gap:11px;width:100%;background:#3f1555;border-bottom:1px solid #623576;padding:13px 10px}.account strong{flex:1;text-align:left}.account b{font-size:12px}.donut{width:185px;height:185px;margin:20px auto;border-radius:50%;background:conic-gradient(#c842ed calc(var(--p)*1%),#60a9ff 0 38%,#78e198 0 58%,#ffbd59 0 76%,#8c5be5 0);display:grid;place-items:center}.donut>div{width:125px;height:125px;background:#29083f;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.donut strong{font-size:18px}.legend>div{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #512965;font-size:10px}.legend i{width:10px;height:10px;border-radius:50%;background:var(--c)}.legend span{flex:1}.chart-bars{display:flex;align-items:flex-end;height:130px;gap:9px;background:#351248;border-radius:12px;padding:12px}.chart-bars div{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}.chart-bars i{width:70%;background:linear-gradient(#cf5ff3,#6aaeff);border-radius:5px 5px 0 0}.chart-bars small{font-size:8px}.tip{background:#f1e9f5;color:#321242;border-radius:13px;padding:14px 11px;display:flex;align-items:center;gap:11px;margin-bottom:10px}.tip strong{font-size:11px;line-height:1.45;flex:1}.tip>.icon{width:16px}.budget{display:flex;align-items:center;gap:9px;width:100%;background:#3f1554;border:1px solid #623776;border-radius:12px;padding:12px;margin-bottom:9px;text-align:left}.budget>span:not(.round){flex:1;display:flex;flex-direction:column;gap:6px}.budget small{font-size:9px}.budget span>i{height:7px;border-radius:6px;background:#261132;overflow:hidden}.budget em{display:block;height:100%;background:linear-gradient(90deg,#54dd86,#b6f580);border-radius:6px}.goal{margin-top:18px;padding:16px;background:#f0e4f7;color:#331242;border-radius:14px}.goal h3{margin:0 0 14px;display:flex;gap:8px;align-items:center}.goal .bar{background:#d0bfd7}.goal .text-btn{color:#71209b}.light-sheet{background:#fff;color:#251030;margin:12px -18px -20px;padding:28px 18px;min-height:70vh;border-radius:28px 28px 0 0}.light-sheet h2{text-align:center}.ledger-choice{display:flex;align-items:center;gap:13px;width:100%;background:#fff;border:1px solid #d8bce6;color:#2f1737;border-radius:13px;padding:15px 12px;margin-bottom:12px;text-align:left}.ledger-choice.chosen{border:2px solid #9c32d8}.ledger-choice>span:not(.round){display:flex;flex:1;flex-direction:column;gap:6px}.ledger-choice small{color:#6e5a76;line-height:1.4}.ledger-choice>.icon{color:#7b219f}.login{width:min(100%,430px);min-height:100dvh;margin:auto;background:linear-gradient(#efd9ff 0,#f8edff 34%,#ffc9c4 54%,#a27dd7 70%,#efe5ff);color:#1d0d31;padding:calc(65px + env(safe-area-inset-top)) 18px 30px;text-align:center}.login-art img{width:104px}.login-art h1{font-size:36px;margin:12px 0}.login-art p{line-height:1.5}.login-box{background:#fffdfdcc;border:1px solid #fff;border-radius:24px;padding:22px;margin-top:85px;backdrop-filter:blur(16px)}.login-box h2{margin:8px}.login-box .muted{color:#695978}.secure{color:#8d48a8;font-size:11px}.login-box label{text-align:left;color:#3a2843}.login-box input{background:#fff;color:#20102c;border-color:#d9bde5}.fine{font-size:10px;color:#bca4c7;line-height:1.6}.empty{text-align:center;padding:28px 10px;color:#c4a9cf}.empty>.icon{width:38px;height:38px}.menu-list{border:1px solid #5f3374;border-radius:14px;overflow:hidden}.menu-list button{display:flex;align-items:center;gap:12px;width:100%;background:#3d1352;padding:13px 10px;border-bottom:1px solid #613576;text-align:left}.menu-list button>span:not(.round){flex:1}.menu-list .round{width:34px;height:34px}.product-row{background:#f2ecf5;color:#30123d;border-radius:12px;padding:11px;margin-bottom:9px}.product-row>div:first-child{display:flex;justify-content:space-between}.product-row>div:first-child button{background:transparent;color:#d73b72}.product-row input,.product-row select,.product-row textarea{background:#fff;color:#281032;border-color:#d3bfdc}.product-row label{margin:9px 0}.product-row p{text-align:right}.cols3{display:grid;grid-template-columns:1fr .8fr 1.2fr;gap:6px}.purchase-total{display:flex;justify-content:space-between;padding:14px 0;font-size:14px}.purchase-total strong{font-size:19px}.scan-frame{height:330px;border:3px solid #cf5cff;border-radius:18px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#4a1c43;position:relative}.scan-frame:before{content:"";position:absolute;inset:28px;border:1px dashed #eee8}.scan-frame .icon{width:55px;height:55px}.camera{background:#48145e;border-radius:12px;padding:14px;text-align:center}.camera input{position:absolute;width:1px;height:1px;opacity:0}#receipt-preview{width:100%;max-height:360px;object-fit:contain;margin:12px 0;border-radius:12px}.catalog-row{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:#3c1350;border-bottom:1px solid #5e3471;padding:12px 8px}.catalog-row>span:not(.round){display:flex;flex:1;flex-direction:column;gap:5px}.catalog-row small{font-size:9px;color:#c9afd5}.product-head{display:flex;align-items:center;gap:14px}.product-head .round{width:70px;height:70px;border-radius:50%}.product-head h2{margin:0 0 7px}.product-head span{background:#8c2eb2;border-radius:8px;padding:5px 8px;font-size:9px}.history-card{display:flex;flex-direction:column;gap:5px;background:#421657;border-radius:10px;padding:12px;margin:9px 0}.history-card span{font-size:9px;color:#c9afd5}.modal-back{position:fixed;inset:0;background:#100018aa;z-index:20;display:grid;place-items:end center;backdrop-filter:blur(3px)}.modal{width:min(100%,430px);max-height:88vh;overflow:auto;background:#fbf8fc;color:#2c1238;border-radius:24px 24px 0 0;padding:23px 19px 30px;position:relative}.modal .close{position:absolute;right:14px;top:10px;background:transparent;color:#684a73;font-size:28px}.modal h2{margin-top:5px}.modal input,.modal select,.modal textarea{background:#fff;color:#291132;border-color:#d4bdde}.modal .outline{background:#efe3f5;color:#511a68}.modal-amount{text-align:center;font-size:31px;color:#8b2ab5;font-weight:750;margin:20px}.receipt-lines{background:#efe7f2;border-radius:10px;padding:8px}.category-list{display:flex;gap:5px;flex-wrap:wrap}.category-list span{padding:6px 9px;background:#eadcf1;border-radius:14px;font-size:10px}.toast{position:fixed;bottom:90px;left:50%;transform:translate(-50%,20px);opacity:0;width:min(390px,calc(100% - 30px));background:#17051feb;color:#fff;border:1px solid #7d5591;border-radius:12px;padding:13px;z-index:50;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}html.privacy #app{visibility:hidden}html.privacy{background:#21033b}@keyframes appear{from{opacity:0;transform:translateY(5px)}}@media(min-width:600px){.phone,.login{margin:24px auto;min-height:860px;border-radius:38px;border:8px solid #100e12;overflow:hidden}.phone nav{border-radius:0 0 29px 29px}.modal-back{place-items:center}.modal{border-radius:24px;max-height:80vh}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
