:root{--bg:#f4f7f6;--card:#fff;--ink:#17302d;--muted:#61736f;--border:#dbe6e2;--field:#afc6be;--primary:#0f766e;color:var(--ink);background:var(--bg);font-family:Inter,system-ui,sans-serif}:root[data-theme=dark]{--bg:#12201f;--card:#1d2d2b;--ink:#eef8f5;--muted:#b4c8c2;--border:#36504b;--field:#57756e;--primary:#2dd4bf}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0}main{min-height:100vh}.auth{place-items:center;padding:24px;display:grid}.shell{gap:18px;max-width:1100px;margin:18px auto;padding:0 20px;display:grid}.card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:22px;box-shadow:0 2px 8px #17302d0b}h1,h2{margin-top:0}h1{color:var(--primary)}header{background:var(--primary);color:#fff;justify-content:space-between;align-items:center;padding:14px max(20px,50vw - 530px);display:flex}header div{align-items:center;gap:16px;display:flex}header strong{font-size:1.2rem}form{gap:14px;display:grid}label{gap:6px;font-size:.9rem;font-weight:600;display:grid}input,select{border:1px solid var(--field);font:inherit;background:var(--card);color:var(--ink);border-radius:8px;padding:10px}.grid-form{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));align-items:end}.button-cell{align-items:end;display:flex}.check{align-items:center;padding:10px 0;display:flex}.check input{width:auto}button{background:var(--primary);color:#fff;font:inherit;cursor:pointer;border:0;border-radius:8px;padding:11px 16px;font-weight:700}button.secondary{background:0 0;border:1px solid #cde5df}.dark{color:var(--ink)!important;border-color:var(--field)!important}.danger{background:#b42318}.actions{gap:6px;display:flex}.actions button{padding:7px 9px;font-size:.78rem}.error{color:#dc2626;margin:0}.muted{color:var(--muted)}table{border-collapse:collapse;width:100%;margin-top:16px;font-size:.92rem}th,td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:10px}th{color:var(--muted)}.toolbar{align-items:end;gap:12px;max-width:1100px;margin:14px auto 0;padding:0 20px;display:flex}.toolbar label{width:170px}.section-title{justify-content:space-between;align-items:start;display:flex}.section-title button{padding:4px 11px;font-size:1.15rem}.chart svg{width:100%;height:auto}.axis{stroke:var(--muted)}.legend{justify-content:center;gap:18px;display:flex}.legend span:before{content:"";vertical-align:middle;width:14px;height:3px;margin-right:6px;display:inline-block}.legend .gas:before{background:#2563eb}.legend .petrol:before{background:#dc2626}.legend .diesel:before{background:#0f766e}@media (width<=600px){.card{padding:16px}.shell,.toolbar{padding:0 12px}.shell{margin:12px auto}.grid-form{grid-template-columns:1fr}table{font-size:.78rem}th,td{padding:7px 4px}}.card>table{white-space:nowrap;max-height:255px;display:block;overflow:auto}.card>table thead,.card>table tbody{table-layout:fixed;width:100%;display:table}.chart-filter{width:180px;margin:0 0 12px auto}.table-scroll{max-height:255px;overflow:auto}.alert-card{color:#78350f;background:#fffbeb;border:1px solid #f59e0b;border-radius:12px;padding:14px}:root[data-theme=dark] .alert-card{color:#fde68a;background:#442b11}@media (width<=600px){.toolbar{flex-wrap:wrap}.toolbar label{width:145px}.card{overflow:hidden}.card>table{font-size:.78rem}.actions{flex-direction:column}.chart-filter{width:100%;margin-left:0}}
