@import url('/login/tokens.css');
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ef-surface-canvas);
  color: var(--ef-text-primary);
  font: 1rem/1.6 var(--ef-font-body);
}
header,
main,
footer {
  max-width: 1280px;
  margin: auto;
  padding: 1.5rem;
}
header {
  border-bottom: 1px solid var(--ef-border-control);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
header p {
  margin: 0;
  color: var(--ef-text-secondary);
}
a {
  color: var(--ef-brand-primary);
  text-underline-offset: 0.2em;
}
h1,
h2,
h3 {
  font-family: var(--ef-font-heading);
  line-height: 1.25;
}
h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.7rem;
}
h2 {
  font-size: 1.4rem;
}
h3 {
  font-size: 1.1rem;
}
p {
  overflow-wrap: anywhere;
}
section {
  margin: 1.5rem 0;
  padding: 1.5rem;
  border: 1px solid var(--ef-border-control);
  border-radius: 1.5rem;
  background: var(--ef-surface-card);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1rem;
}
article {
  padding: 1rem;
  border-radius: 1rem;
  background: var(--ef-surface-canvas);
  min-width: 0;
}
article p {
  margin: 0.4rem 0;
}
.meta,
footer {
  color: var(--ef-text-secondary);
}
.badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  background: var(--ef-brand-secondary);
  border-radius: 1rem;
  font-weight: 600;
}
.alerts {
  border-left: 0.4rem solid var(--ef-status-warning);
}
label {
  display: block;
  font-weight: 600;
}
input,
button {
  min-height: 48px;
  font: inherit;
  border: 1px solid var(--ef-border-control);
  border-radius: 0.75rem;
  padding: 0.6rem 1rem;
}
input {
  width: 100%;
  margin: 0.5rem 0 1rem;
  background: var(--ef-surface-card);
  color: var(--ef-text-primary);
}
button {
  background: var(--ef-brand-primary);
  color: var(--ef-surface-card);
  cursor: pointer;
}
button:hover {
  background: var(--ef-action-hover);
}
:focus-visible {
  outline: 3px solid var(--ef-brand-primary);
  outline-offset: 4px;
}
.login {
  max-width: 460px;
  margin: 3rem auto;
}
.page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.summary {
  white-space: pre-wrap;
}
@media (max-width: 600px) {
  header,
  main,
  footer {
    padding: 1rem;
  }
  header,
  .page-title {
    display: block;
  }
  section {
    padding: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
