:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;padding:0}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}:root{--bg: #f9fafb;--text: #111827;--primary: #2563eb;--success: #16a34a;--danger: #dc2626;--card: #ffffff;--border: #e5e7eb;--shadow: 0 4px 12px rgba(0,0,0,.05)}body{font-family:Inter,system-ui,sans-serif;background:var(--bg);color:var(--text);margin:0;padding:0;line-height:1.6}.app{margin:0 auto;background:var(--card);border-radius:16px;box-shadow:var(--shadow);padding:2.5rem;text-align:left}h1{font-weight:700;font-size:1.8rem;margin-bottom:1.5rem;color:var(--primary);text-align:center}.form{display:grid;grid-template-columns:1fr 1fr;gap:1rem 1.2rem;margin-bottom:2rem}.form input,.form select,.form button{font-size:1rem;padding:.7rem .9rem;border-radius:8px;border:1px solid var(--border);outline:none;transition:.2s ease}.form input:focus,.form select:focus{border-color:var(--primary);box-shadow:0 0 0 3px #2563eb33}.form button{grid-column:span 2;background:var(--primary);color:#fff;font-weight:600;border:none;cursor:pointer;transition:.2s ease}.form button:hover{background:#1d4ed8}.summary{background:#f3f4f6;border-radius:12px;padding:1rem 1.5rem;margin-bottom:2rem;display:flex;justify-content:space-between;font-weight:600}.summary p{margin:0}.summary strong{color:var(--primary)}.transactions{list-style:none;padding:0;margin:0;border-top:1px solid var(--border)}.transactions li{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;border-bottom:1px solid var(--border)}.transactions li span:first-child{flex:1;font-weight:500}.transactions button{background:transparent;border:none;cursor:pointer;font-size:1.1rem;transition:.2s ease}.transactions button:hover{transform:scale(1.15)}.green{color:var(--success);font-weight:600}.red{color:var(--danger);font-weight:600}.navbar{display:flex;gap:1rem;background:#f3f4f6;padding:1rem;border-radius:10px;justify-content:center;margin-bottom:1.5rem}.navbar a{color:#111827;text-decoration:none;font-weight:500;transition:color .2s}.navbar a:hover{color:#2563eb}@media(max-width:600px){.form{grid-template-columns:1fr}.summary{flex-direction:column;gap:.5rem}}.notes{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 2px 10px #0000001a;margin-top:2rem}.note-form{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.5rem}.note-form input,.note-form textarea{border:1px solid #ddd;border-radius:8px;padding:.7rem;font-size:1rem;resize:none}.note-form button{align-self:flex-end;background:#2563eb;color:#fff;border:none;padding:.6rem 1.2rem;border-radius:8px;cursor:pointer;transition:.2s}.note-form button:hover{background:#1d4ed8}.note-list{list-style:none;padding:0}.note-list li{display:flex;justify-content:space-between;align-items:flex-start;background:#f8fafc;padding:1rem;border-radius:10px;margin-bottom:.8rem}.note-content h3{margin:0;color:#111827}.note-content p{margin:.3rem 0;color:#374151}.note-content small{color:#6b7280}.goals{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 2px 10px #0000001a;max-width:700px;margin:0 auto}.goal-form{display:flex;margin-bottom:1rem;gap:.5rem}.goal-form input{flex:1;border:1px solid #ddd;border-radius:8px;padding:.6rem}.goal-form button{background:#2563eb;color:#fff;border:none;border-radius:8px;padding:0 1rem;cursor:pointer}.goal-list{list-style:none;padding:0}.goal-list li{display:flex;justify-content:space-between;align-items:center;background:#f8fafc;padding:.8rem 1rem;margin-bottom:.6rem;border-radius:8px;transition:background .3s,transform .3s}.goal-list li.done{background:#dcfce7;transform:scale(.98)}.goal-list li.done .goal-title{text-decoration:line-through;color:#16a34a;transition:color .3s}.goal-list input[type=checkbox]{margin-right:.5rem}.warehouse{background:#fff;padding:2rem;border-radius:16px;box-shadow:0 6px 20px #0000000f}.warehouse h2{margin:0 0 1rem}.new-item{display:grid;grid-template-columns:1.2fr 2fr .7fr .7fr .5fr auto;gap:.6rem;margin-bottom:1rem}.new-item input,.new-item button{padding:.7rem .8rem;border:1px solid #e5e7eb;border-radius:10px;font-size:.95rem}.new-item button{background:#2563eb;color:#fff;border:none;cursor:pointer;font-weight:600}.new-item button:hover{filter:brightness(.95)}.legend{display:flex;gap:.5rem;margin:.6rem 0 1.2rem;align-items:center}.badge{padding:.25rem .6rem;border-radius:999px;font-size:.75rem;font-weight:600}.badge.ok{background:#eaf6ee;color:#15803d}.badge.low{background:#fff6e6;color:#b45309}.badge.out{background:#fee2e2;color:#b91c1c}.grid{display:grid;gap:.9rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.card{border:1px solid #eef0f3;border-radius:16px;padding:1rem;background:#fafbfc;position:relative}.card.ok{box-shadow:inset 0 0 0 1px #e6f4ea}.card.low{box-shadow:inset 0 0 0 1px #ffeccc}.card.out{box-shadow:inset 0 0 0 1px #ffd7d7}.card-header{display:flex;gap:.6rem;align-items:center;margin-bottom:.6rem}.title-input{flex:1;font-weight:700;border:none;background:transparent;font-size:1.05rem;padding:.2rem .4rem;border-radius:8px;outline:none}.title-input:focus{background:#fff;box-shadow:0 0 0 3px #2563eb26}.delete{background:transparent;border:none;cursor:pointer;font-size:1.1rem;line-height:1;padding:.3rem;border-radius:8px}.delete:hover{background:#fee2e2}.desc{width:100%;resize:vertical;border:1px solid #e5e7eb;border-radius:10px;padding:.6rem .7rem;background:#fff;min-height:52px}.row{display:grid;grid-template-columns:1fr 1fr 100px;gap:.6rem;margin-top:.7rem}.pill{border:1px solid #e5e7eb;border-radius:999px;padding:.5rem .8rem;background:#fff}.qty{border:1px solid #e5e7eb;border-radius:12px;padding:.5rem .6rem;text-align:center;background:#fff}.stock{position:absolute;top:10px;right:10px}
