:root {
  color: #f4f1ea;
  background: #111216;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #111216;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

.app-shell {
  display: grid;
  min-height: 100vh;
  padding: clamp(20px, 7vw, 56px);
  background:
    linear-gradient(180deg, rgba(17, 18, 22, 0.2), #111216 82%),
    radial-gradient(circle at 50% 0%, rgba(233, 180, 76, 0.22), transparent 36%), #111216;
  place-items: center;
}

.login-panel {
  display: grid;
  width: min(100%, 430px);
  gap: 24px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 16px;
}

.eyebrow {
  margin: 0 0 2px;
  color: #c9c0b3;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 18vw, 5rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.9;
}

.status-row {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  color: #ddd7ce;
  font-size: 0.95rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #c9c0b3;
}

.status-dot[data-state="ok"] {
  background: #4a7c59;
}

.status-dot[data-state="error"] {
  background: #d85c41;
}

.primary-action {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: #f4f1ea;
  color: #111216;
  cursor: not-allowed;
  font-weight: 800;
}

.shell-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.shell-tabs a {
  min-height: 44px;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 8px;
  color: #f4f1ea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.shell-tabs a:focus-visible,
.primary-action:focus-visible {
  outline: 3px solid #e9b44c;
  outline-offset: 3px;
}

@media (min-width: 760px) {
  .app-shell {
    justify-items: start;
  }

  .login-panel {
    margin-left: min(8vw, 96px);
  }
}
