:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#163c3b;background:#eef4f1;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;min-width:270px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:#0a7867}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[role=button]:focus-visible{outline:3px solid #52bba4;outline-offset:2px}h1,h2,h3,p{margin:0}input,select,textarea{font-size:16px;max-width:100%}
.app-shell{min-height:100vh;max-width:650px;margin:0 auto;background:#f7faf8;box-shadow:0 0 60px #255c3e15}.app-top{background:white;border-bottom:1px solid #e4eee9;position:sticky;top:0;z-index:10;padding:12px 19px;display:flex;align-items:center;justify-content:space-between;min-height:64px}.brand{display:flex;gap:9px;align-items:center;text-decoration:none;color:#123f40;font-size:19px;font-weight:830;letter-spacing:-.75px}.logo-mark{width:32px;height:32px;display:grid;place-items:center;background:#147c6b;border-radius:11px 11px 11px 3px;color:white;font-size:19px;font-weight:800}.top-right{display:flex;gap:8px;align-items:center}.tag{display:inline-block;padding:5px 8px;color:#2f7a67;background:#e8f5ed;border-radius:7px;font-size:10px;font-weight:800}.tag.partial{background:#fdf2df;color:#906b32}.top-text{font-size:12px;color:#718880}.layout-main{padding:23px 19px 104px;min-height:calc(100vh - 64px)}.eyebrow{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#6e8b80;font-weight:800;margin-bottom:5px}.page-title{font-size:26px;letter-spacing:-.9px;line-height:1.15;color:#163f3f;font-weight:820;margin-bottom:7px}.muted{font-size:12px;color:#758b82;line-height:1.5}.helper{font-size:11px;color:#7c9488;line-height:1.45}.section{margin-top:22px}.section-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.section-header h2,.card-heading{font-size:16px;color:#183f40;letter-spacing:-.25px;font-weight:780}.card{border:1px solid #e3ece8;background:#fff;border-radius:15px;padding:16px;box-shadow:0 2px 8px #153d3908;min-width:0}.card+.card{margin-top:10px}.hero{background:#123f42;color:white;border-color:#123f42;overflow:hidden}.hero .eyebrow{color:#b2d0c6}.hero .hero-reading{font-size:37px;letter-spacing:-1.3px;font-weight:850;margin:12px 0 5px;line-height:1.2;overflow-wrap:anywhere}.hero .hero-reading small{font-size:14px;color:#b4d6cd;font-weight:570;letter-spacing:0}.hero .muted{color:#a9c7be}.hero-footer{border-top:1px solid #ffffff32;margin-top:16px;padding-top:14px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;color:#d8e9e4;font-size:11px}.selector-row{display:flex;gap:9px;align-items:center;margin:18px 0 16px}.selector-row select{flex:1;min-width:0;background:white;border:1px solid #dce8e1;border-radius:11px;color:#1e554d;font-weight:720;padding:12px 10px;font-size:13px}.btn{border:1px solid #d7e6de;border-radius:10px;background:white;color:#265b50;padding:10px 12px;font-size:12px;font-weight:760;display:inline-flex;align-items:center;justify-content:center;gap:5px;text-decoration:none;min-height:39px}.btn:hover{background:#f0f8f3}.btn.primary{background:#147d6b;border-color:#147d6b;color:white}.btn.primary:hover{background:#086b5b}.btn.danger{border-color:#edd2cd;color:#a74242;background:#fff}.btn.full{width:100%}.btn.slim{padding:7px 9px;min-height:32px}.text-button{border:0;background:none;color:#0f7c6a;font-size:12px;font-weight:740;padding:5px 1px}.text-button.danger{color:#a85050}.two-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.metric-card{padding:13px}.metric-title{color:#668277;text-transform:uppercase;font-size:10px;letter-spacing:.045em;font-weight:800}.metric-number{font-size:25px;font-weight:830;letter-spacing:-.85px;color:#0f6255;margin:9px 0 4px;overflow-wrap:anywhere}.metric-number small{font-size:11px;font-weight:650;letter-spacing:0}.chart-sub{font-size:11px;color:#738b7f;margin-top:7px;margin-bottom:14px}.chart-sub strong{color:#326b5e}.chart-row{display:grid;grid-template-columns:50px minmax(0,1fr);gap:7px;width:100%}.chart-yaxis{height:168px;position:relative;min-width:0}.chart-tick{position:absolute;right:1px;transform:translateY(-50%);color:#6b827a;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.1;max-width:100%;overflow:hidden}.chart-plot{height:168px;min-width:0;overflow:hidden}.chart-plot svg{width:100%;height:168px;display:block;overflow:hidden;touch-action:manipulation}.chart-plot g[data-bar]{cursor:pointer}.chart-plot g[data-bar]:focus-visible rect:first-child{stroke:#0b5145;stroke-width:16}.chart-note{color:#81988e;text-align:center;font-size:11px;margin-top:12px}.chart-detail{border:1px solid #d7e9df;background:#eff8f3;border-radius:10px;margin-top:12px;padding:11px;color:#285f51;font-size:12px;line-height:1.5}.chart-detail strong{color:#134c41}.list-row{display:flex;gap:9px;justify-content:space-between;align-items:flex-start;padding:13px 0;border-bottom:1px solid #edf2ef}.list-row:first-child{padding-top:0}.list-row:last-child{padding-bottom:0;border-bottom:0}.list-row strong{font-size:13px;font-weight:770;color:#254c44}.list-row small{display:block;color:#81958a;font-size:11px;line-height:1.55;margin-top:4px}.list-end{text-align:right;white-space:nowrap;flex-shrink:0}.list-actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:6px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:650px;padding-bottom:env(safe-area-inset-bottom);height:calc(68px + env(safe-area-inset-bottom));border-top:1px solid #e1ebe5;background:white;display:grid;grid-template-columns:repeat(4,1fr);z-index:10;box-shadow:0 -5px 15px #173a3408}.nav-btn{border:0;background:transparent;color:#80948a;font-size:11px;font-weight:740;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px}.nav-btn[aria-current=page]{color:#0d7d6c}.nav-symbol{font-size:21px;line-height:1.1}.nav-plus{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:#147d6b;color:white;font-size:24px;line-height:1}.form-card{margin-top:18px}.field{margin-bottom:14px;min-width:0}.field label{font-size:12px;font-weight:730;color:#315a50;display:block;margin:0 0 7px}.field input,.field select,.field textarea{width:100%;min-width:0;background:white;border:1px solid #d7e6dd;border-radius:10px;color:#1d443d;padding:11px 10px;font-size:15px;outline-color:#168d78}.field textarea{min-height:85px;resize:vertical}.field input[type=checkbox]{width:18px;height:18px;vertical-align:middle;margin-right:8px}.field input[type=date]{min-height:43px}.field .helper{margin-top:5px}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:8px}.segmented button{padding:11px 8px;border:1px solid #d7e5df;background:#fff;color:#5e7b70;border-radius:10px;font-size:12px;font-weight:730}.segmented button.selected{color:#087464;background:#e8f6ed;border-color:#159782}.more-trigger{border:1px solid #dce9e1;border-radius:10px;background:#fff;color:#177768;font-size:13px;font-weight:750;width:100%;padding:13px 12px;display:flex;align-items:center;justify-content:space-between;margin:6px 0 15px}.form-error{font-size:12px;color:#a13434;margin:0 0 11px}.notice{border:1px solid #d2e8dc;background:#eaf7ee;color:#266c53;border-radius:10px;padding:11px;font-size:12px;line-height:1.5;margin:0 0 16px}.notice.error{border-color:#efd2cc;background:#fff4f1;color:#963e36}.notice.warn{border-color:#f4e1bc;background:#fff8ea;color:#8b6a35}.filter-selects{display:flex;gap:8px;margin-top:14px}.filter-selects select{min-width:0;flex:1;font-size:12px;border-radius:10px;padding:10px 8px;border:1px solid #dce7e1;background:white;color:#385c53}.filter-dates{margin-top:10px}.filter-dates .field{margin-bottom:4px}.filter-dates .field input{font-size:13px}.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}.stats-grid .card{padding:12px}.stats-grid .card+.card{margin-top:0}.stats-grid .metric-number{font-size:20px}.stats-grid .metric-number small{font-size:10px}.record-actions{margin-top:6px;display:flex;gap:12px}.vehicle-name{font-size:16px;font-weight:790}.vehicle-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:13px}.vehicle-actions .btn{background:#f4f9f5;font-size:11px}.vehicle-actions .btn.danger{background:#fff}.vehicle-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#e8f4ed;font-size:22px}.vehicle-summary{display:flex;align-items:center;gap:12px}.vehicle-summary>div:last-child{flex:1;min-width:0}.panel-label{font-size:12px;color:#355d52;font-weight:750;margin-bottom:7px}.account-email{font-size:13px;color:#41655b;overflow-wrap:anywhere}.setting-row{border-bottom:1px solid #eaf1ec;padding:15px 0}.setting-row:first-child{padding-top:0}.setting-row:last-child{border-bottom:0;padding-bottom:0}.setting-row .field{margin-bottom:0}.auth-wrap{max-width:430px;margin:16px auto}.auth-wrap .card{padding:23px}.auth-logo{display:flex;gap:10px;align-items:center;margin-bottom:25px}.auth-title{font-size:25px;letter-spacing:-.65px;margin-bottom:8px}.auth-wrap .field input{font-size:16px}.auth-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:17px}.no-js,.loading{text-align:center;padding:60px 24px;color:#53756a}.loading .logo-mark{margin:0 auto 15px}.empty{text-align:center;color:#799288;font-size:13px;line-height:1.6;padding:22px 8px}.footer-note{text-align:center;color:#9bad9e;font-size:11px;margin-top:15px}.danger-zone{border:1px solid #efd9d3;background:#fff9f7;border-radius:12px;padding:13px;margin-top:12px}.danger-zone .field input{border-color:#ecd5d0}.compact-list{margin:8px 0 0;padding-left:17px;color:#657f73;font-size:12px;line-height:1.7}
@media(max-width:375px){.layout-main{padding:18px 11px 96px}.card{padding:12px}.metric-number{font-size:21px}.chart-row{grid-template-columns:47px minmax(0,1fr);gap:5px}.chart-tick{font-size:10px}.hero .hero-reading{font-size:33px}.selector-row .btn{padding:10px 9px}.stats-grid .metric-number{font-size:18px}}
@media(min-width:651px){.app-shell{margin-top:18px;min-height:calc(100vh - 18px);border-radius:17px 17px 0 0}.app-top{border-radius:17px 17px 0 0}}
@media(prefers-reduced-motion:no-preference){button,.btn{transition:background-color .15s ease}}

/* Recent/history list: fuel economy is the primary metric; optional cost sits below date. */
.list-main{min-width:0;flex:1}
.list-main small{overflow-wrap:anywhere}
.list-end{min-width:66px;max-width:42%;align-self:center}
.list-end strong{font-size:15px;color:#115c50;font-variant-numeric:tabular-nums}
.list-end small{margin-top:3px;font-size:10px;color:#779084}
.list-end strong.pending{font-size:12px;font-weight:700;color:#73897f}
img.logo-mark{display:block;object-fit:contain;background:transparent;border-radius:0}
@media(max-width:330px){.list-end{min-width:62px;max-width:38%}.list-main small{font-size:10px}}

.search-label{display:block;margin:13px 0 7px;font-size:12px;font-weight:730;color:#315a50}
.garage-search{width:100%;padding:11px 10px;font-size:15px;border:1px solid #d7e6dd;background:white;color:#1d443d;border-radius:10px}
.garage-vehicle[hidden]{display:none!important}
