html,body{height:100%;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:#222;background:linear-gradient(180deg,#f7f9fa,#eef4f1)}.container{max-width:600px;min-height:100vh;margin:0 auto;padding:24px 16px;display:flex;flex-direction:column;justify-content:flex-start}.header{text-align:center;margin-top:8px;margin-bottom:16px}.title{display:inline-flex;align-items:center;justify-content:center;gap:16px;font-size:2rem;font-weight:700;margin:8px;color:#256c28}.subtitle{font-weight:600;color:#256c28;margin:0}#recycleIcon{width:40px;height:40px;animation:spinOnce 1.5s ease-in-out}@keyframes spinOnce{0%{transform:rotate(0)}to{transform:rotate(360deg)}}#intro p{max-width:90%;margin:.4rem auto;line-height:1.5;text-align:center;font-weight:500}.card{background:#fff;border-radius:16px;box-shadow:0 2px 8px #00000014;padding:24px;margin:16px 0;transition:transform .2s ease,box-shadow .2s ease}.card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001f}h3{text-align:center;color:#256c28;font-weight:600;margin:0}p{font-size:1.1rem;text-align:center;margin:.25rem 0}.label-with-icon{display:flex;align-items:center;justify-content:center;gap:8px;font-weight:600;margin:2}.btn{align-items:center;justify-content:center;background-color:#198754;color:#fff;border:none;border-radius:8px;padding:.5rem 1rem;font-size:1rem;cursor:pointer;box-shadow:0 2px 5px #00000014;transition:all .2s ease-in-out;height:48px}.btn:hover{background-color:#33ad74;transform:translateY(-1px);box-shadow:0 3px 8px #0000001a}.btn:active{transform:scale(.97)}.button-row{display:flex;justify-content:center;gap:16px;width:100%;margin-top:1rem}.button-row button{flex:1;max-width:200px}#main{display:flex;flex-direction:column;align-items:center;gap:4px}#main label{font-weight:600;color:#256c28}#main input[type=number],#main select{width:100%;height:40px;padding:.6rem;font-size:.9rem;border:1px solid #bbb;border-radius:8px;background-color:#fafafa;transition:all .2s ease-in-out;box-sizing:border-box;margin-top:8;overflow-x:auto}#main input:focus,#main select:focus{border-color:#1faa59;box-shadow:0 0 4px #1987544d;outline:none}.input-row{display:flex;gap:16px;margin-top:8px}.input-group{flex:1}#totals-yearly{font-weight:500;color:#0a5c2c;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.chart-pair{display:inline-flex;align-items:center;justify-content:center;gap:12px;margin-top:16px}.chart-container{width:160px;height:160px;position:relative}.chart-container canvas{width:100%!important;height:100%!important}.chart-text{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:left;width:max-content;gap:6px;font-variant-numeric:tabular-nums}.chart-text .profit{color:#256c28}.chart-text .loss{color:#dc3545}.fade-in{opacity:0;animation:fadeIn .4s ease forwards}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){#intro p{font-size:.95rem;line-height:1.4;max-width:95%}}#barcode video{border-radius:8px;width:100%;height:auto;box-shadow:0 2px 6px #00000026}.scanner-status{margin-top:.75rem;font-size:.95rem;text-align:center}@media(max-width:700px){#totals-weekly,#totals-yearly,#totals-reset{flex:1 1 100%}.btn{font-size:1.1rem;padding:.4rem .8rem}.container{padding:16px 10px}}
