:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}*{box-sizing:border-box}:root{color:#fff;font-synthesis:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#101114;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{min-width:320px;min-height:100vh;margin:0;display:block}#root{text-align:left;border:none;width:100%;max-width:none;margin:0;padding:0;display:block}.app{max-width:600px;min-height:100vh;margin:0 auto;padding:30px 20px 110px}header{margin-bottom:28px}header h1{letter-spacing:-1px;color:#fff;margin:0 0 8px;font-size:30px;font-weight:700;line-height:1.2}header p{color:#8e8e93;margin:0;font-size:15px}.profit-card{background:linear-gradient(135deg,#193b2b,#192820);border:1px solid #2b4b38;border-radius:24px;margin-bottom:16px;padding:24px}.profit-card p{color:#a1b8aa;margin:0;font-size:15px}.profit-card h2{letter-spacing:-1.5px;color:#4ade80;margin:12px 0;font-size:42px;font-weight:700}.profit-card span{color:#a1b8aa;font-size:13px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:30px;display:grid}.stat-card{background:#1c1d22;border:1px solid #292a30;border-radius:20px;padding:20px 16px}.stat-card p{color:#8e8e93;margin:0 0 12px;font-size:13px}.stat-card h3{color:#fff;margin:0;font-size:25px;font-weight:600}.products{margin-bottom:24px}.products h2{color:#fff;margin:0 0 16px;font-size:21px}.products p{text-align:center;color:#8e8e93;background:#1c1d22;border:1px solid #292a30;border-radius:20px;padding:40px 15px;font-size:14px}button{cursor:pointer;-webkit-tap-highlight-color:transparent;font-family:inherit}.add-button{color:#101114;background:#4ade80;border:none;border-radius:16px;width:100%;padding:17px;font-size:16px;font-weight:600}.add-button:active{opacity:.8}.navigation{width:100%;max-width:600px;padding:16px 4px;padding-bottom:calc(16px + env(safe-area-inset-bottom));background:#191a1f;border-top:1px solid #303137;justify-content:space-around;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.navigation button{color:#8e8e93;background:0 0;border:none;flex:1;min-width:0;padding:10px 2px;font-size:11px}.modal-overlay{z-index:100;background:#000000b0;padding:20px 12px;position:fixed;inset:0;overflow-y:auto}.product-form{text-align:left;background:#191a1f;border:1px solid #303137;border-radius:24px;max-width:560px;margin:0 auto;padding:22px}.form-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px;display:flex}.form-heading h2{margin:0;font-size:24px}.form-heading button{color:#fff;background:#303137;border:none;border-radius:50%;width:38px;height:38px}.product-form h3{color:#4ade80;margin:26px 0 18px;font-size:16px}.form-field{flex-direction:column;gap:8px;min-width:0;margin-bottom:16px;display:flex}.form-field span{color:#b5b5bd;font-size:14px}.form-field input,.form-field select,.form-field textarea,.search-input{color:#fff;background:#25262c;border:1px solid #36373e;border-radius:12px;outline:none;width:100%;min-width:0;padding:14px;font-family:inherit;font-size:16px}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#4ade80}.form-field textarea{resize:vertical}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.product-card{background:#1c1d22;border:1px solid #292a30;border-radius:20px;margin-bottom:14px;padding:18px}.product-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.product-heading h3{overflow-wrap:anywhere;margin:0;font-size:18px}.status{color:#4ade80;white-space:nowrap;background:#193b2b;border-radius:8px;padding:6px 10px;font-size:11px}.product-details{color:#8e8e93;margin:12px 0;font-size:13px;line-height:1.6}.price-row{border-bottom:1px solid #303137;justify-content:space-between;align-items:flex-start;gap:12px;padding:9px 0;font-size:14px;display:flex}.price-row span{color:#a1a1aa}.price-row strong{text-align:right;overflow-wrap:anywhere;min-width:0}.green{color:#4ade80}.product-photo{object-fit:contain;background:#15161a;border-radius:14px;width:100%;max-height:220px;margin-bottom:14px}.product-actions{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.product-actions button{color:#fff;background:#303137;border:none;border-radius:10px;flex:1;padding:12px 8px;font-size:12px}.product-actions button.delete{color:#f87171}.search-input{margin-bottom:18px}.empty-state{text-align:center;color:#8e8e93;padding:40px 15px}.navigation button:first-child{color:#8e8e93;font-weight:400}.navigation button.active{color:#4ade80;font-weight:600}details{margin-top:14px;font-size:14px}summary{cursor:pointer;color:#a1a1aa}.error-message{color:#f87171;overflow-wrap:anywhere}.analytics h2{margin:0 0 20px;font-size:26px}.period-buttons{flex-wrap:wrap;gap:7px;margin-bottom:18px;display:flex}.period-buttons button{white-space:nowrap;color:#a1a1aa;background:#25262c;border:1px solid #303137;border-radius:10px;flex:1;padding:11px 9px;font-size:12px;font-weight:500}.period-buttons button.selected{color:#4ade80;background:#193b2b;border-color:#326447}.analytics-date{color:#8e8e93;margin-bottom:14px;font-size:13px}.analytics-card{background:#1c1d22;border:1px solid #292a30;border-radius:20px;min-width:0;margin-bottom:18px;padding:18px}.analytics-card h3{margin:0 0 18px;font-size:17px;font-weight:600}.chart-scroll{width:100%;padding-bottom:8px;overflow-x:auto}.chart-scroll svg{height:auto;display:block}.analytics .stat-card h3{overflow-wrap:anywhere;font-size:22px}.category-stat{margin-bottom:20px}.category-stat:last-child{margin-bottom:0}.category-stat-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;font-size:14px;display:flex}.category-track{background:#303137;border-radius:10px;height:8px;overflow:hidden}.category-track div{border-radius:10px;height:100%;transition:width .3s}.settings .add-button{margin-bottom:14px}.settings p{overflow-wrap:anywhere}.navigation{flex-wrap:wrap}.navigation button{flex:1 0 30%}@media (width>=480px){.navigation button{flex:1 0 0}}.app{padding-bottom:calc(160px + env(safe-area-inset-bottom))}button:disabled{opacity:.5;cursor:not-allowed}.auth-page{box-sizing:border-box;color:#fff;background:#0b0d12;justify-content:center;align-items:center;min-height:100dvh;padding:24px;display:flex}.auth-card{box-sizing:border-box;background:#151820;border:1px solid #292e38;border-radius:24px;width:100%;max-width:400px;padding:32px}.auth-logo{color:#fff;background:#3478f6;border-radius:18px;justify-content:center;align-items:center;width:64px;height:64px;margin:0 auto 20px;font-size:26px;font-weight:700;display:flex}.auth-card h1{text-align:center;margin:0;font-size:26px}.auth-subtitle{text-align:center;color:#9299a8;margin:8px 0 32px;font-size:14px}.auth-card h2{text-align:center;margin-bottom:24px;font-size:20px}.auth-card form{flex-direction:column;gap:12px;display:flex}.auth-card label{color:#c4c9d3;font-size:14px}.auth-card input{color:#fff;box-sizing:border-box;background:#0c0f15;border:1px solid #303642;border-radius:12px;outline:none;width:100%;margin-bottom:8px;padding:14px;font-size:16px}.auth-card input:focus{border-color:#3478f6}.auth-card input::placeholder{color:#777e8d}.auth-submit{color:#fff;cursor:pointer;background:#3478f6;border:none;border-radius:12px;width:100%;margin-top:8px;padding:15px;font-size:16px;font-weight:600}.auth-submit:hover{background:#2868df}.auth-submit:disabled{opacity:.5;cursor:wait}.auth-links{flex-direction:column;gap:16px;margin-top:24px;display:flex}.auth-links button{color:#699cff;cursor:pointer;background:0 0;border:none;font-size:14px}.auth-error{color:#ff9292;background:#321b22;border-radius:10px;padding:12px;font-size:14px}.auth-success{color:#7ce5a8;background:#142e24;border-radius:10px;padding:12px;font-size:14px}@media (width<=480px){.auth-page{padding:16px}.auth-card{padding:24px}}
