:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #1c2c24;
  background: #f7f5ef;
  --green: #213b2c;
  --gold: #d7b778;
  --muted: #536058;
  --line: #d7ddd4;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
.mast { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 6vw; background: var(--green); color: var(--gold); }
.mast form { margin: 0; }
.wordmark { font: 30px/1 Georgia, serif; letter-spacing: .16em; color: inherit; text-decoration: none; }
main { width: min(920px, 88vw); margin: clamp(35px, 8vw, 110px) auto; }
h1 { margin: 0 0 28px; font: 400 clamp(2.3rem, 6vw, 3.8rem)/1.05 Georgia, serif; }
p { max-width: 55ch; line-height: 1.55; }
.dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.tile, .auth { background: white; border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 4vw, 30px); }
.tile { display: grid; align-content: start; gap: 12px; text-decoration: none; color: inherit; }
.tile:hover { border-color: var(--green); }
.tile strong { font: 400 1.6rem Georgia, serif; }
.tile span, .hint { color: var(--muted); line-height: 1.5; }
.auth { width: min(100%, 430px); display: grid; gap: 16px; }
.auth p { margin: 0; }
.auth label { display: grid; gap: 7px; font-weight: 600; }
input, button { font: inherit; border-radius: 6px; padding: 10px 13px; min-height: 44px; }
input { width: 100%; border: 1px solid #7d8c82; }
button { border: 1px solid var(--green); background: var(--green); color: white; cursor: pointer; font-weight: 650; }
button.secondary { color: white; background: transparent; border-color: #97a89b; }
:focus-visible { outline: 3px solid #af761a; outline-offset: 3px; }
.error { color: #9a2821; }
.site-link { color: var(--green); display: inline-block; margin-top: 26px; text-underline-offset: 4px; }
