: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}.chart .grid-line{stroke:var(--border);stroke-dasharray:3 4}.chart .axis-label{fill:var(--muted);font-size:11px}.chart .date-label{text-anchor:middle}.chart .chart-line{stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}header{border-bottom:2px solid #d5a82b;background:linear-gradient(105deg,#171d22,#23414a 58%,#11171b)!important}header:before{content:"";background:url(/assets/logo-yy-CpeZ0Z8e.png) 50%/cover no-repeat;border-radius:7px;width:46px;height:36px;margin-right:10px;box-shadow:0 0 0 1px #d5a82b}header>div{flex:1}.app-nav{z-index:20;background:#182327;border:1px solid #9d7c1e;border-radius:14px;gap:5px;padding:6px;display:flex;position:fixed;bottom:13px;left:50%;transform:translate(-50%);box-shadow:0 8px 25px #0005}.app-nav button{color:#e9e1ca;background:0 0;padding:9px 13px;font-size:.85rem}.app-nav .about-tab{color:#f6d46b;line-height:1.05}.app-nav .about-tab small{opacity:.8;font-size:.68rem}.app-nav button.active{color:#161616;background:#b88914}.app-footer{justify-content:center;align-items:start;min-height:88px;padding-top:20px;display:flex}.version-button{color:var(--muted);border:1px solid var(--border);background:0 0;padding:7px 11px;font-size:.75rem}.modal-backdrop{z-index:50;background:#061010b8;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.about-modal{background:var(--card);width:min(560px,100%);max-height:90vh;color:var(--ink);border:1px solid #c99b28;border-radius:18px;padding:26px;position:relative;overflow:auto;box-shadow:0 24px 65px #0008}.about-modal img{object-fit:cover;border-radius:10px;width:100%;max-height:135px;margin-bottom:16px}.about-modal h2{color:#b88914}.about-modal p{line-height:1.45}.about-modal a{color:#b17f00}.support-button{text-align:center;background:#b88914;border-radius:8px;padding:12px;font-weight:700;text-decoration:none;display:block;color:#161616!important}.modal-close{background:#3a4243;padding:4px 10px;position:absolute;top:12px;right:12px}.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<=700px){body{font-size:15px;overflow-x:hidden}header{min-height:56px;padding:12px 14px}header div{gap:8px;min-width:0}header span{text-overflow:ellipsis;white-space:nowrap;max-width:115px;overflow:hidden}header button{padding:9px 12px}.toolbar{flex-wrap:wrap;align-items:end;margin-top:12px;padding:0 12px}.toolbar label{width:calc(58% - 6px)}.toolbar button{white-space:nowrap;width:calc(42% - 6px);padding:10px 7px}.shell{gap:12px;margin:12px auto;padding:0 10px}.card{border-radius:12px;padding:15px;overflow:hidden}.card h2{font-size:1.08rem}.grid-form{grid-template-columns:1fr;gap:10px}.button-cell,.button-cell button{width:100%}input,select,button{min-height:42px;font-size:16px}.check{min-height:42px}.card>table,.table-scroll{max-height:235px;margin-left:-2px;margin-right:-2px;overflow:auto}.card>table{min-width:620px;font-size:.78rem}.table-scroll table{min-width:760px;font-size:.78rem}th,td{padding:8px 7px}.actions{flex-direction:column;min-width:94px}.chart-filter{width:100%;margin:0 0 10px}.chart svg{width:620px;min-width:620px;max-width:none}.chart{padding-bottom:5px;overflow-x:auto}.legend{justify-content:flex-start;padding-left:10px}.add-car button{width:100%}header:before{width:38px;height:31px;margin-right:7px}.app-nav{justify-content:space-around;width:calc(100% - 22px);bottom:8px}.app-nav button{flex:1;padding:9px 3px;font-size:.7rem}.app-footer{min-height:92px}}
