:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1c2b25;
  background: #f1f5f2;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 12% 8%, #dbece1, transparent 35%), #f1f5f2;
}

.shell { width: min(820px, calc(100% - 32px)); margin: 0 auto; padding: 44px 0 32px; }
.topbar, .dashboard-heading { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.topbar { margin-bottom: 28px; }
.eyebrow { margin: 0 0 8px; color: #54715f; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(1.7rem, 5vw, 2.6rem); letter-spacing: -.04em; }
h2 { margin-bottom: 10px; font-size: 1.45rem; }
.version { margin: 8px 0 0; color: #486253; font-size: .9rem; text-align: right; }
.card { padding: clamp(22px, 5vw, 36px); border: 1px solid #dbe6de; border-radius: 22px; background: rgba(255,255,255,.92); box-shadow: 0 18px 55px rgba(31, 60, 43, .08); }
.muted { color: #617568; }
form { display: grid; gap: 10px; max-width: 460px; margin-top: 24px; }
label { margin-top: 4px; color: #344d3e; font-size: .9rem; font-weight: 650; }
input { width: 100%; padding: 12px 13px; border: 1px solid #c9d8ce; border-radius: 10px; background: #fff; color: inherit; font: inherit; }
input:focus-visible, button:focus-visible { outline: 3px solid #87c59d; outline-offset: 2px; }
button { width: fit-content; margin-top: 8px; padding: 11px 18px; border: 0; border-radius: 10px; background: #246342; color: #fff; cursor: pointer; font: inherit; font-weight: 700; }
button:hover { background: #1b5034; }
button.secondary { margin-top: 0; background: #e8f0ea; color: #2a553b; }
button.secondary:hover { background: #d9e8dd; }
.error { min-height: 1.25em; margin: 2px 0 0; color: #9b3d35; }
.status-tile { display: flex; gap: 10px; align-items: center; width: fit-content; margin-top: 24px; padding: 12px 15px; border-radius: 12px; background: #edf6ef; color: #335c40; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #41a263; }
footer { padding: 24px 4px; color: #65786b; font-size: .82rem; }
[hidden] { display: none !important; }

@media (max-width: 620px) {
  .shell { padding-top: 28px; }
  .topbar { display: block; }
  .version { text-align: left; }
  .dashboard-heading { align-items: center; }
}
