/* The app's colors (Mobile-Irrigation, lib/app/theme/app_theme.dart). System
   fonts only: a font service would see every visitor. */
:root {
  --top: #0b1626;
  --bottom: #1b2d45;
  --text: #ffffff;
  --muted: #b9c3d0;
  --line: #3a4d66;
  --link: #5fd0d6;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--bottom); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(var(--top), var(--bottom));
  color: var(--text);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

header, main, footer {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.25rem 1rem;
}

header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
main { flex: 1; }

a { color: var(--link); }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
}
.brand img { border-radius: 22%; }

h1 { font-size: 2rem; line-height: 1.2; margin: 1rem 0 0.5rem; text-wrap: balance; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 2.25rem 0 0.5rem; }
p, ul, ol { margin: 0.6rem 0; }
li { margin: 0.35rem 0; }
.muted { color: var(--muted); }

.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }

footer { border-top: 1px solid var(--line); }
footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
