:root {
  color-scheme: light;
  --bg: #eef3f0;
  --panel: #ffffff;
  --text: #17202a;
  --muted: #64706f;
  --accent: #1d6f5f;
  --danger: #a12828;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
.shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-view, .app-view { width: min(760px, 100%); }
.brand, .request-form, .topbar { background: var(--panel); border: 1px solid #dce5e1; border-radius: 8px; box-shadow: 0 18px 45px rgba(23, 32, 42, 0.08); }
.brand { padding: 28px; margin-bottom: 16px; }
.brand h1, .topbar h1 { margin: 8px 0; }
.brand p, .topbar p { color: var(--muted); margin: 0; }
.topbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px; margin-bottom: 16px; }
.request-form { display: grid; gap: 18px; padding: 20px; }
.grid.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label, fieldset { display: grid; gap: 8px; }
fieldset { border: 1px solid #dce5e1; border-radius: 8px; padding: 14px; }
legend { color: var(--muted); padding: 0 6px; }
.inline { display: inline-flex; align-items: center; gap: 8px; margin-right: 16px; }
input, select, textarea { width: 100%; border: 1px solid #cbd8d3; border-radius: 6px; padding: 10px 12px; font: inherit; background: white; }
textarea { resize: vertical; }
button, .primary, .secondary { border: 0; border-radius: 6px; padding: 11px 15px; font: inherit; cursor: pointer; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; }
.primary { background: var(--accent); color: white; }
.secondary { background: #e7eeeb; color: var(--text); }
.error { color: var(--danger); }
.status { min-height: 24px; color: var(--accent); }
.hidden { display: none !important; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; }

@media (max-width: 640px) {
  .grid.two, .topbar { grid-template-columns: 1fr; display: grid; }
  .shell { padding: 12px; place-items: start center; }
}
