:root {
  --wvz-yellow: #f6c94c;
  --wvz-green: #0f6b4e;
  --wvz-dark: #0b4a35;
  --wvz-surface: #f7fff8;
  --wvz-text: #12312b;
  --wvz-shadow: 0 10px 30px rgba(15, 107, 78, 0.18);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  color: var(--wvz-text);
  background: linear-gradient(160deg, #fffaf0, #e9f7ef 45%, #eefcf2);
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.5;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 8px;
  background: var(--wvz-yellow);
  color: #04201a;
  z-index: 20;
  padding: 8px;
}

header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(90deg, var(--wvz-green), #15876d);
  color: white;
  z-index: 10;
  box-shadow: var(--wvz-shadow);
}

.brand {
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
}

#menu-toggle {
  border: 0;
  background: transparent;
  color: white;
  font-size: 1.4rem;
  padding: 6px 12px;
}

#navigation {
  position: fixed;
  inset: 64px 0 auto 0;
  background: #0e6d50;
  display: none;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}

#navigation.open {
  display: flex;
}

#navigation a {
  color: white;
  text-decoration: none;
  padding: 10px;
  border-radius: 6px;
}

#navigation a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--wvz-yellow);
  outline-offset: 2px;
}

#content {
  padding: 20px 16px 24px;
  width: min(100%, 100%);
}

.hero {
  background: white;
  border-radius: 14px;
  box-shadow: var(--wvz-shadow);
  padding: 16px;
}

.content-state {
  margin-top: 12px;
  background: #fff7d5;
  border-left: 6px solid var(--wvz-yellow);
  border-radius: 10px;
  padding: 10px;
}

.maintenance-shell {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.state-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--wvz-shadow);
}

.login-page { display: grid; place-items: center; min-height: 100vh; padding: 16px; }
.login-card { width: min(100%, 440px); background: white; border-top: 8px solid var(--wvz-yellow); border-radius: 16px; box-shadow: var(--wvz-shadow); padding: 28px; }
.login-brand { color: var(--wvz-green); margin-bottom: 20px; }
.login-card h1 { color: var(--wvz-dark); margin: 0 0 8px; }
.login-card form { display: grid; gap: 8px; margin-top: 24px; }
.login-card input { min-height: 48px; border: 2px solid #b6cfc4; border-radius: 8px; padding: 10px 12px; font: inherit; }
.login-card button, .user-area button { min-height: 48px; border: 0; border-radius: 8px; padding: 10px 18px; background: var(--wvz-green); color: white; font: inherit; font-weight: 700; cursor: pointer; }
.login-card button { margin-top: 12px; }
.login-error { color: #8b1e1e; background: #fff0f0; border-left: 4px solid #c52f2f; padding: 10px; }
.user-area { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.user-area form { margin: 0; }
.user-area button { min-height: 36px; padding: 6px 10px; }

@media (min-width: 768px) {
  #menu-toggle { display: none; }

  #navigation {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    background: transparent;
  }

  #navigation a {
    background: rgba(255,255,255,0.16);
    padding: 8px 10px;
  }

  #content {
    max-width: 960px;
    margin: 0 auto;
  }
}
