:root {
  color-scheme: light;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  background: #eef2f7;
  color: #152238;
}

body {
  margin: 0;
  background: #eef2f7;
}

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 18px 48px;
}

.hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}

h1, h2 {
  margin: 0 0 10px;
}

h1 {
  font-size: 2em;
  font-weight: 700;
}

.hero p:last-child {
  max-width: 680px;
  margin: 0;
  color: #526173;
}

.card {
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(21, 34, 56, 0.08);
  padding: 22px;
}

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

.quick-periods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: end;
}

.quick-periods button {
  margin-top: 20px;
}

.hidden {
  display: none !important;
}

label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #344054;
}

input, select, textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfd8e6;
  border-radius: 11px;
  padding: 11px 12px;
  font: inherit;
  background: #fbfcff;
  color: #152238;
}

textarea {
  margin-top: 12px;
  resize: vertical;
}

details {
  margin-top: 16px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

button {
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  margin-top: 18px;
  background: #2f6fed;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.ghost {
  margin-top: 0;
  background: #152238;
}

.plain {
  margin-top: 0;
  background: #eef2f7;
  color: #26364d;
}

.hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.result {
  margin-top: 20px;
}

pre {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.55;
  color: #26364d;
}

.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top left, #dbe8ff, transparent 35%), #eef2f7;
}

.eyebrow {
  margin: 0 0 8px;
  color: #4263eb;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.login-card {
  width: min(420px, calc(100vw - 36px));
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(21, 34, 56, 0.14);
  padding: 28px;
}

.login-card form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.muted {
  color: #526173;
  margin: 0;
}

.error {
  margin: 16px 0 0;
  color: #b42318;
  font-weight: 700;
}

@media (max-width: 820px) {
  .hero {
    display: block;
  }

  .hero .ghost {
    margin-top: 18px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-wrap: wrap;
  }
}
