* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #f4f6f8;
  color: #1a1a1a;
}
header {
  background: linear-gradient(135deg, #0a4d2e 0%, #117a45 100%);
  color: #fff;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
header h1 { margin: 0; font-size: 1.3rem; }
header .sub { font-size: .85rem; opacity: .85; margin-top: .2rem; }
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  margin-bottom: 1.5rem;
}
h2 { margin-top: 0; color: #0a4d2e; font-size: 1.1rem; }
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: #444; }
input[type="text"], input[type="password"], input[type="file"], select, textarea {
  width: 100%;
  padding: .65rem .8rem;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}
input[type="text"]:focus, input[type="password"]:focus, select:focus {
  outline: none;
  border-color: #117a45;
  box-shadow: 0 0 0 3px rgba(17,122,69,.15);
}
button {
  background: #117a45;
  color: #fff;
  border: none;
  padding: .7rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}
button:hover:not(:disabled) { background: #0a4d2e; }
button:disabled { background: #aaa; cursor: not-allowed; }
button.secondary { background: #6c757d; }
button.secondary:hover:not(:disabled) { background: #5a6268; }
.row { display: flex; gap: .75rem; align-items: end; }
.row > * { flex: 1; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: .55rem .7rem; text-align: left; border-bottom: 1px solid #eee; }
th { background: #f8f9fa; font-weight: 600; color: #495057; }
tr:hover td { background: #fafbfc; }
.alert { padding: .8rem 1rem; border-radius: 6px; margin: 1rem 0; font-size: .9rem; }
.alert.error { background: #fee; color: #a00; border: 1px solid #fcc; }
.alert.ok { background: #efe; color: #060; border: 1px solid #cec; }
.alert.info { background: #eef4fb; color: #074; border: 1px solid #cde; }
.muted { color: #666; font-size: .85rem; }
.hidden { display: none !important; }
.col-map { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; margin: 1rem 0; }
.col-map label { font-size: .8rem; }
footer { text-align: center; color: #888; font-size: .8rem; padding: 2rem 1rem; }
.litros { font-weight: 600; color: #0a4d2e; }
