/* Fuel Tracking — small layer over Pico.css */
:root { --pico-font-size: 95%; }
header.site { border-bottom: 1px solid var(--pico-muted-border-color); margin-bottom: 1.5rem; }
header.site nav ul li a.brand { font-weight: 700; text-decoration: none; }
header.site nav ul li a.brand span { color: var(--pico-primary); }
.hero { padding: 3rem 0 2rem; }
.hero h1 { font-size: 2.4rem; line-height: 1.15; margin-bottom: .6rem; }
.hero p.lead { font-size: 1.15rem; color: var(--pico-muted-color); max-width: 42rem; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.features article { margin: 0; }
.flash { padding: .6rem 1rem; border-radius: .4rem; margin-bottom: 1rem; }
.flash.info { background: #e7f3ff; color: #0b3d66; }
.flash.error { background: #fde8e8; color: #7a1414; }
.flash.success { background: #e6f7ec; color: #14532d; }
ul.errors { color: #b42318; }
.auth-card { max-width: 30rem; margin: 2rem auto; }
.lang a { text-decoration: none; margin-left: .5rem; opacity: .7; }
.lang a.on { opacity: 1; font-weight: 600; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.cards article { margin: 0; }
.muted { color: var(--pico-muted-color); }
table.data td, table.data th { white-space: nowrap; }
.right { text-align: right; }
form.inline { display: inline; }
dialog article { max-width: 40rem; }
.badge { display: inline-block; padding: .1rem .5rem; border-radius: 1rem; font-size: .8em; background: var(--pico-muted-border-color); }
.badge.ok { background: #e6f7ec; color: #14532d; }
.badge.warn { background: #fff4e5; color: #7a4100; }
.badge.busy { background: #e7f3ff; color: #0b3d66; }
dialog article { max-width: 56rem; width: 92vw; }
#tanks input, #tanks select { margin-bottom: 0; padding: .35rem .5rem; height: auto; min-width: 5.5rem; }
#tanks select { min-width: 7.5rem; }
#tanks td, #tanks th { padding: .35rem .4rem; vertical-align: middle; }
#tanks th { font-size: .85em; }
#tanks input[type=radio] { width: 1.1rem; min-width: 0; height: 1.1rem; }
.months { grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); }
a.month { display: block; padding: .6rem .8rem; border: 1px solid var(--pico-muted-border-color); border-radius: .5rem; text-decoration: none; }
a.month strong { display: block; margin-bottom: .2rem; }
a.month.empty { opacity: .55; }
table.figures { margin-bottom: 0; font-size: .85em; }
table.figures td { padding: .25rem .3rem; white-space: nowrap; border: 0; }
.cards { grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); }
