*{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#fafafa;line-height:1.5;margin:0;padding:0}.form-control,body{color:#18181b;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:1rem}.form-control{background-color:#fff;border:2px solid #e4e4e7;border-radius:.5rem;outline:none;padding:.875rem 1rem;transition:border-color .2s ease,box-shadow .2s ease;width:100%}.form-control::placeholder{color:#a1a1aa}.form-control:focus{border-color:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.2)}.form-control:hover:not(:focus){border-color:#a1a1aa}input:not(.form-control){outline:none}.btn{align-items:center;border:2px solid transparent;border-radius:.5rem;cursor:pointer;display:inline-flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:1rem;font-weight:600;gap:.5rem;justify-content:center;line-height:1;min-height:48px;padding:.875rem 1.5rem;transition:all .2s ease}.btn:disabled{cursor:not-allowed;opacity:.5}.btn-primary{background:#f59e0b;border-color:#f59e0b;color:#fff}.btn-primary:focus,.btn-primary:hover{background:#d97706;border-color:#d97706;box-shadow:0 4px 6px rgba(0,0,0,.1);transform:translateY(-1px)}.btn-primary:active{transform:scale(.98)}.btn-secondary{background:#fff;border-color:#f59e0b;color:#d97706}.btn-secondary:focus,.btn-secondary:hover{background:#fffbeb;border-color:#d97706}.btn-danger{background:#fff;border-color:#e4e4e7;color:#ef4444;min-height:auto;padding:.5rem}.btn-danger:focus,.btn-danger:hover{background:#ef4444;border-color:#ef4444;color:#fff}button:not(.btn){align-items:center;background:#f4f4f5;border:2px solid #e4e4e7;border-radius:.5rem;cursor:pointer;display:inline-flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;justify-content:center;padding:.5rem 1rem;transition:all .2s ease}button:not(.btn):focus,button:not(.btn):hover{background:#e4e4e7;border-color:#a1a1aa}#react-target{min-height:100vh;padding:4.5rem 1rem 2rem}#react-target main{margin:0 auto;max-width:1200px}nav#navbar{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 4px 6px rgba(0,0,0,.1);height:3.5rem;left:0;position:fixed;right:0;top:0;z-index:1000}nav#navbar div#navbar-items{align-items:center;display:flex;flex-direction:row;gap:1rem;height:100%;justify-content:space-between;padding:0 1rem}nav#navbar div#navbar-items span#app-name{color:#fff;flex-shrink:0;font-size:1.125rem;font-weight:700}nav#navbar div#navbar-items span#user-email{color:hsla(0,0%,100%,.9);flex:1;font-size:.875rem;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}nav#navbar div#navbar-items button#charts-toggle,nav#navbar div#navbar-items button#logout{align-items:center;background:hsla(0,0%,100%,.2);border:2px solid hsla(0,0%,100%,.3);border-radius:.5rem;color:#fff;display:flex;flex-shrink:0;height:2.5rem;justify-content:center;min-height:auto;padding:0;width:2.5rem}nav#navbar div#navbar-items button#charts-toggle:focus,nav#navbar div#navbar-items button#charts-toggle:hover,nav#navbar div#navbar-items button#logout:focus,nav#navbar div#navbar-items button#logout:hover{background:hsla(0,0%,100%,.3);border-color:hsla(0,0%,100%,.5);box-shadow:none;transform:none}nav#navbar div#navbar-items button#charts-toggle.active{background:hsla(0,0%,100%,.35);border-color:#fff}.auth-container{background:#fff;border-radius:1rem;border-top:4px solid #f59e0b;box-shadow:0 4px 6px rgba(0,0,0,.1);margin:2rem auto;max-width:400px;padding:1.5rem}.auth-container h1{color:#18181b;font-size:1.5rem;font-weight:700;margin:0 0 1.5rem;text-align:center}.auth-container .auth-toggle{border-top:1px solid #e4e4e7;margin-top:1.5rem;padding-top:1.5rem;text-align:center}.auth-container .auth-toggle p{color:#71717a;font-size:.875rem;margin:0}.auth-container .auth-toggle a{color:#d97706;font-weight:600;text-decoration:none}.auth-container .auth-toggle a:hover{text-decoration:underline}.auth-form{gap:1rem}.auth-form,.auth-form .form-group{display:flex;flex-direction:column}.auth-form .form-group{gap:.25rem}.auth-form .form-group label{color:#3f3f46;font-size:.875rem;font-weight:500}.auth-form .btn{margin-top:.5rem;width:100%}form:not(.fillup-form){display:flex;flex-direction:column;gap:1rem;width:100%}form:not(.fillup-form) .form-control{margin:0}form:not(.fillup-form) .btn{width:100%}.dashboard-header{margin-bottom:1.5rem}.dashboard-header h2{color:#18181b;font-size:1.25rem;font-weight:700;margin:0}.loading{align-items:center;color:#71717a;display:flex;font-size:1.125rem;justify-content:center;padding:2rem}div.consumptions-grid{display:grid;gap:1rem;grid-template-columns:1fr;margin-bottom:2rem;width:100%}@media (min-width:480px){div.consumptions-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}@media (min-width:768px){div.consumptions-grid{gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}}.create-card{align-items:center;background:#fff;border:2px dashed #e4e4e7;border-radius:.75rem;cursor:pointer;display:flex;justify-content:center;min-height:120px;transition:all .2s ease}.create-card:hover{background:#fffbeb;border-color:#f59e0b}.create-card>*{color:#f59e0b;font-size:1.5rem;font-weight:700;padding:1.5rem}.consumption-card{--price-color:#71717a;background:#fff;border:1px solid #e4e4e7;border-radius:.75rem;box-shadow:0 1px 2px rgba(0,0,0,.05);display:flex;flex-direction:column;gap:.5rem;padding:1.5rem;position:relative;transition:all .2s ease}.consumption-card:hover{box-shadow:0 8px 20px color-mix(in srgb,var(--price-color) 40%,transparent);transform:translateY(-2px)}.consumption-card:hover .card-stats .price-per-liter{opacity:1;transform:translateX(0)}.consumption-card .card-header{align-items:center;display:flex;gap:.5rem;justify-content:space-between}.consumption-card .card-date{color:#18181b;font-size:1.125rem;font-weight:600}.consumption-card .card-distance{background:#f4f4f5;border-radius:.25rem;color:#71717a;font-size:.875rem;padding:.25rem .5rem}.consumption-card .card-stats{display:flex;flex-wrap:wrap;gap:1rem}.consumption-card .card-stats span{color:#3f3f46;font-size:1rem}.consumption-card .card-stats span.liters{color:#d97706;font-weight:600}.consumption-card .card-stats span.cost{font-weight:600}.consumption-card .card-stats span.price-per-liter{color:var(--price-color);font-weight:600;opacity:0;transform:translateX(-10px);transition:opacity .25s ease-out,transform .25s cubic-bezier(.25,.46,.45,.94)}.consumption-card .card-stats span.price-per-liter .price-trend{font-size:.875rem;margin-left:.25rem}.consumption-card .card-stats span.price-per-liter .price-trend.trend-up{color:#ef4444}.consumption-card .card-stats span.price-per-liter .price-trend.trend-down{color:#22c55e}.consumption-card .card-location{align-items:center;color:#71717a;display:flex;font-size:.875rem;gap:.25rem}.consumption-card .card-location:before{content:"\1F4CD";font-size:.75rem}.consumption-card .show-on-hover{display:none}.consumption-card .hide-on-hover{display:inline}@media (min-width:768px){.consumption-card:hover .show-on-hover{display:inline}.consumption-card:hover .hide-on-hover{display:none}}.consumption-card.card-selectable{cursor:pointer;user-select:none}.consumption-card.card-selectable:hover{border-color:#fbbf24;transform:none}.consumption-card.card-selected{background:#fffbeb;border-color:#f59e0b;box-shadow:0 0 0 2px rgba(245,158,11,.3)}.fillup-form{background:#fff;border:1px solid #e4e4e7;border-radius:.75rem;box-shadow:0 1px 2px rgba(0,0,0,.05);margin:0 auto;max-width:600px;padding:1.5rem;width:100%}.fillup-form .form-title{color:#18181b;font-size:1.125rem;font-weight:600;margin:0 0 1rem;text-align:center}.fillup-form .form-grid{display:grid;gap:1rem;grid-template-columns:1fr}@media (min-width:480px){.fillup-form .form-grid{grid-template-columns:1fr 1fr}.fillup-form .form-grid .form-group.full-width{grid-column:1/-1}}.fillup-form .form-group{display:flex;flex-direction:column;gap:.25rem}.fillup-form .form-group label{color:#3f3f46;font-size:.875rem;font-weight:500}.fillup-form .form-group .form-control{width:100%}.fillup-form .form-actions{margin-top:1rem}@media (min-width:480px){.fillup-form .form-actions{display:flex;justify-content:flex-end}.fillup-form .form-actions .btn{min-width:150px;width:auto}}.fillup-form .form-actions .btn{width:100%}form{gap:1rem}form,form label{display:flex;flex-direction:column}form label{gap:.25rem}form label input{width:100%}.listing-actions{display:flex;justify-content:center;margin-bottom:1.5rem}.listing-actions .btn{min-width:100px}.selection-bar{align-items:center;background:#fff;border-top:1px solid #e4e4e7;bottom:0;box-shadow:0 -4px 12px rgba(0,0,0,.1);display:flex;justify-content:space-between;left:0;padding:1rem 1.5rem;position:fixed;right:0;z-index:1000}.selection-bar .selection-count{color:#18181b;font-weight:600}.selection-bar .selection-actions{display:flex;gap:.5rem}.selection-bar .selection-actions .btn{min-width:auto;padding:.5rem 1rem}.selection-bar .selection-actions .btn-danger{background:#ef4444;border-color:#ef4444;color:#fff}.selection-bar .selection-actions .btn-danger:focus,.selection-bar .selection-actions .btn-danger:hover{background:#eb1515;border-color:#eb1515}.modal-overlay{align-items:center;animation:fadeIn .2s ease;background:rgba(0,0,0,.5);bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:2000}.modal-content{animation:slideUp .25s ease;background:#fff;border-radius:1rem;max-height:90vh;max-width:100%;overflow-y:auto;position:relative}@media (min-width:480px){.modal-content{max-width:500px}}.modal-content .fillup-form{border:none;box-shadow:none}.modal-close{background:none;border:none;color:#a1a1aa;cursor:pointer;font-size:1.25rem;line-height:1;padding:.25rem;position:absolute;right:.5rem;top:.5rem;z-index:1}.modal-close:focus,.modal-close:hover{color:#3f3f46}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.vehicle-dropdown{flex:1;min-width:0;position:relative}.vehicle-dropdown-trigger{align-items:center;background:#fff;border:2px solid #fbbf24;border-radius:.5rem;color:#18181b;cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;min-height:auto;overflow:hidden;padding:.5rem 1rem;transition:all .2s ease;width:100%}.vehicle-dropdown-trigger:focus,.vehicle-dropdown-trigger:hover{background:#fffbeb;border-color:#f59e0b}.vehicle-dropdown-trigger .trigger-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vehicle-dropdown-trigger .dropdown-arrow{color:#71717a;flex-shrink:0;font-size:.75rem}.vehicle-dropdown-menu{animation:fadeIn .15s ease;background:#fff;border:1px solid #e4e4e7;border-radius:.5rem;box-shadow:0 10px 15px rgba(0,0,0,.1);left:0;margin-top:.25rem;min-width:200px;overflow:hidden;position:absolute;right:0;top:100%;z-index:1001}.vehicle-dropdown-header{background:#fafafa;border-bottom:1px solid #e4e4e7;color:#71717a;font-size:.75rem;overflow:hidden;padding:.5rem 1rem;text-overflow:ellipsis;white-space:nowrap}.vehicle-dropdown-item{align-items:center;cursor:pointer;display:flex;gap:.5rem;padding:.5rem 1rem;transition:background .15s ease}.vehicle-dropdown-item:hover{background:#f4f4f5}.vehicle-dropdown-item.selected{background:#fffbeb}.vehicle-dropdown-item.selected .vehicle-name{color:#b45309;font-weight:600}.vehicle-dropdown-item .vehicle-name{color:#18181b;flex:1;font-size:.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vehicle-dropdown-item .vehicle-actions{display:flex;gap:.25rem;margin-left:.5rem}.vehicle-dropdown-item .action-btn{align-items:center;border:none;border-radius:.25rem;cursor:pointer;display:flex;font-size:.75rem;font-weight:600;height:24px;justify-content:center;min-height:auto;padding:0;transition:all .15s ease;width:24px}.vehicle-dropdown-item .edit-btn{background:#f4f4f5;color:#3f3f46}.vehicle-dropdown-item .edit-btn:hover{background:#fef3c7;color:#b45309}.vehicle-dropdown-item .delete-btn{background:#f4f4f5;color:#71717a}.vehicle-dropdown-item .delete-btn:hover{background:#ef4444;color:#fff}.vehicle-dropdown-item .edit-form{display:flex;gap:.25rem;width:100%}.vehicle-dropdown-item .edit-input{border:1px solid #f59e0b;border-radius:.25rem;flex:1;font-size:.875rem;outline:none;padding:.25rem .5rem}.vehicle-dropdown-item .edit-input:focus{box-shadow:0 0 0 2px rgba(245,158,11,.2)}.vehicle-dropdown-item .edit-save{background:#f59e0b;border:none;border-radius:.25rem;color:#fff;cursor:pointer;font-size:.75rem;font-weight:600;min-height:auto;padding:.25rem .5rem}.vehicle-dropdown-item .edit-save:hover{background:#d97706}.vehicle-dropdown-add{border-top:1px solid #e4e4e7;padding:.5rem 1rem}.vehicle-dropdown-add .add-vehicle-btn{background:transparent;border:2px dashed #e4e4e7;border-radius:.25rem;color:#71717a;cursor:pointer;font-size:.875rem;font-weight:500;min-height:auto;padding:.5rem;transition:all .2s ease;width:100%}.vehicle-dropdown-add .add-vehicle-btn:hover{background:#fffbeb;border-color:#f59e0b;color:#d97706}.vehicle-dropdown-add .add-form{display:flex;gap:.25rem}.vehicle-dropdown-add .add-form-stacked{flex-direction:column;gap:.5rem}.vehicle-dropdown-add .add-form-stacked .add-save{width:100%}.vehicle-dropdown-add .add-input{border:2px solid #e4e4e7;border-radius:.25rem;flex:1;font-size:.875rem;outline:none;padding:.25rem .5rem}.vehicle-dropdown-add .add-input:focus{border-color:#f59e0b;box-shadow:0 0 0 2px rgba(245,158,11,.2)}.vehicle-dropdown-add .add-save{background:#f59e0b;border:none;border-radius:.25rem;color:#fff;cursor:pointer;font-size:.875rem;font-weight:600;min-height:auto;padding:.25rem 1rem}.vehicle-dropdown-add .add-save:hover:not(:disabled){background:#d97706}.vehicle-dropdown-add .add-save:disabled{cursor:not-allowed;opacity:.5}.charts-page{padding:1rem 0}.chart-panel{background:#fff;border:1px solid #e4e4e7;border-radius:.75rem;box-shadow:0 1px 2px rgba(0,0,0,.05);overflow:hidden}.chart-tabs{border-bottom:2px solid #e4e4e7;display:flex}.chart-tabs .chart-tab{background:none;border:none;border-bottom:3px solid transparent;color:#71717a;cursor:pointer;flex:1;font-size:.875rem;font-weight:600;margin-bottom:-2px;min-height:48px;padding:1rem;transition:all .2s ease}.chart-tabs .chart-tab:hover{background:#fafafa;color:#3f3f46}.chart-tabs .chart-tab.active{border-bottom-color:#f59e0b;color:#d97706}.chart-container{height:250px;padding:1rem}@media (min-width:480px){.chart-container{height:300px}}@media (min-width:768px){.chart-container{height:350px}}.chart-empty{align-items:center;color:#71717a;display:flex;font-size:1rem;height:250px;justify-content:center;padding:1.5rem;text-align:center}.toast-container{display:flex;flex-direction:column;gap:.5rem;left:50%;max-width:420px;pointer-events:none;position:fixed;top:4.5rem;transform:translateX(-50%);width:calc(100% - 2rem);z-index:3000}.toast{animation:slideDown .25s ease;border-radius:.5rem;box-shadow:0 10px 15px rgba(0,0,0,.1);cursor:pointer;font-size:.875rem;font-weight:500;gap:.5rem;padding:1rem 1.5rem;pointer-events:auto}.toast,.toast .toast-icon{align-items:center;display:flex}.toast .toast-icon{border-radius:50%;color:#fff;flex-shrink:0;font-size:.75rem;font-weight:700;height:22px;justify-content:center;width:22px}.toast .toast-message{flex:1}.toast-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.toast-error .toast-icon{background:#ef4444}.toast-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}.toast-success .toast-icon{background:#22c55e}.toast-confirm{background:#fff;border:1px solid #e4e4e7;color:#18181b;cursor:default;flex-wrap:wrap}.toast-confirm .toast-icon{background:#f59e0b}.toast-confirm .toast-actions{display:flex;gap:.5rem;margin-top:.25rem;padding-left:30px;width:100%}.toast-confirm .toast-actions .btn-sm{font-size:.75rem;min-height:32px;padding:.25rem 1rem}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.fuel-badge{flex-shrink:0}.fuel-type-grid{display:grid;gap:.5rem;grid-template-columns:repeat(2,1fr);min-width:0;width:100%}@media (min-width:480px){.fuel-type-grid{grid-template-columns:repeat(3,1fr)}}.fuel-type-option{align-items:center;background:#fff;border:2px solid #e4e4e7;border-radius:.5rem;cursor:pointer;display:flex;gap:.5rem;min-height:44px;min-width:0;padding:.5rem 1rem;text-align:left;transition:all .2s ease}.fuel-type-option:hover{background:#fafafa;border-color:var(--fuel-color)}.fuel-type-option.selected{background:color-mix(in srgb,var(--fuel-color) 8%,#fff);border-color:var(--fuel-color);box-shadow:0 0 0 1px var(--fuel-color)}.fuel-type-option .fuel-type-label{color:#3f3f46;font-size:.75rem;line-height:1.2}.vehicle-edit-form{display:flex;flex-direction:column;gap:1rem;padding:1.5rem}.vehicle-edit-form .form-title{color:#18181b;font-size:1.125rem;font-weight:600;margin:0;text-align:center}.vehicle-edit-form .form-group{display:flex;flex-direction:column;gap:.25rem}.vehicle-edit-form .form-group label{color:#3f3f46;font-size:.875rem;font-weight:500}.vehicle-edit-form .form-actions{margin-top:.5rem}.vehicle-edit-form .form-actions .btn{width:100%}.vehicle-onboarding{align-items:center;display:flex;justify-content:center;min-height:50vh;padding:1.5rem}.vehicle-onboarding .onboarding-card{background:#fff;border-radius:1rem;border-top:4px solid #f59e0b;box-shadow:0 4px 6px rgba(0,0,0,.1);max-width:400px;padding:2rem;text-align:center;width:100%}.vehicle-onboarding .onboarding-card h2{color:#18181b;font-size:1.5rem;font-weight:700;margin:0 0 .5rem}.vehicle-onboarding .onboarding-card p{color:#71717a;font-size:1rem;margin:0 0 1.5rem}.vehicle-onboarding .onboarding-card form{display:flex;flex-direction:column;gap:1rem}.vehicle-onboarding .onboarding-card form .form-group{text-align:left}.vehicle-onboarding .onboarding-card form .form-group label{color:#3f3f46;display:block;font-size:.875rem;font-weight:500;margin-bottom:.25rem}.vehicle-onboarding .onboarding-card form .error-message{color:#ef4444;font-size:.875rem;text-align:left}.vehicle-onboarding .onboarding-card form .btn{margin-top:.5rem;width:100%}