:host {
  display: block;
  padding: 24px 28px;
  max-width: 900px;
  margin: 0 auto;
}
header {
  margin: 20px 0 26px;
}
h1,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}
.eyebrow {
  color: var(--mat-sys-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.create-card {
  padding: 20px;
  border-radius: 18px;
  margin-bottom: 22px;
}
form {
  display: grid;
  grid-template-columns: 1fr 160px auto;
  gap: 12px;
  align-items: start;
}
.search {
  width: 100%;
}
.catalog {
  display: grid;
  gap: 10px;
}
.catalog mat-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: 16px;
}
.state {
  min-height: 180px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  color: var(--mat-sys-on-surface-variant);
}
@media (max-width: 700px) {
  :host {
    padding: 20px 16px;
  }
  form {
    grid-template-columns: 1fr;
  }
  form button {
    justify-self: stretch;
  }
}
