.login-view {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 18% 20%, #c4dece, transparent 52%),
    radial-gradient(ellipse at 80% 85%, #d1dff6, transparent 50%), #e9eee7;
}
.auth-card {
  width: min(420px, 100%);
  padding: clamp(24px, 5vw, 42px);
  border-radius: 28px;
}
.auth-card h1,
.projects-content h1 {
  letter-spacing: -0.055em;
  font-weight: 580;
  line-height: 1.04;
}
.auth-card h1 {
  font-size: 37px;
  margin: 42px 0 20px;
}
.fields {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}
.fields label {
  display: grid;
  gap: 6px;
  color: #42574d;
  font-size: 13px;
  font-weight: 550;
}
.fields input,
.fields select,
.project-filters input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #bdcfc2;
  border-radius: 11px;
  background: #ffffffd9;
  color: #203b34;
  margin: 0;
}
.fields .primary {
  justify-self: start;
}
.auth-card .fields .primary {
  width: 100%;
}
.quiet,
.auth-card #sso {
  font-size: 13px;
  color: #305d49;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px;
}
.auth-card #switch {
  margin-top: 5px;
}
.form-error {
  color: #8e341b;
  margin: 0;
  font-size: 13px;
}
.form-error:empty {
  display: none;
}
.hub {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 70px);
  min-height: 100svh;
  padding: 20px;
}
.rail {
  display: flex;
  flex-direction: column;
  align-self: start;
  position: sticky;
  top: 20px;
  min-height: calc(100dvh - 40px);
  padding: 22px 15px;
}
.rail .brand {
  color: inherit;
  text-decoration: none;
  padding: 0 6px;
}
.rail nav {
  display: grid;
  gap: 4px;
  margin: 36px 0 26px;
}
.rail nav button,
.tenant,
.account button {
  padding: 9px 13px;
  text-align: left;
  border-radius: 10px;
  display: block;
  width: 100%;
  font-size: 14px;
}
.rail nav [aria-current="page"] {
  background: #dae7dd;
  color: #1c4330;
  font-weight: 650;
}
.rail-title,
.overline,
.card-info small {
  color: #586c60;
  font-size: 12px;
}
.rail-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 12px 8px;
}
.rail-title button {
  font-size: 18px;
}
.tenant[aria-pressed="true"] {
  background: #ffffffa8;
  font-weight: 600;
}
.account {
  border-top: 1px solid #bdcbbf;
  margin-top: auto;
  padding-top: 12px;
}
.account #logout {
  color: #4d6358;
}
.projects-content {
  width: min(1120px, 100%);
  padding: clamp(18px, 6vh, 78px) clamp(0px, 2vw, 34px) 25px 0;
}
.projects-content > header,
.project-filters,
.card-actions,
.card-state,
.setting-tabs,
.member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.projects-content h1 {
  margin: 5px 0;
  font-size: clamp(38px, 4vw, 60px);
}
.project-filters {
  margin: 24px 0 18px;
}
.project-filters input {
  max-width: 290px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(275px, 100%), 1fr));
  gap: 18px;
}
.project-card {
  overflow: hidden;
}
.cover {
  height: clamp(145px, 18vw, 220px);
  background: linear-gradient(145deg, #8eaca1, #dce8df 65%, #c5cfe3);
  display: grid;
  place-items: center;
}
.cover span {
  font: 64px Georgia;
  color: #416753;
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-info {
  padding: 19px;
}
.card-info h2 {
  margin: 4px 0;
  font-size: 24px;
  letter-spacing: -1px;
}
.card-state {
  font-size: 12px;
  color: #52655a;
  margin: 15px 0;
}
.card-actions {
  border-top: 1px solid #c5d3c8;
  padding-top: 12px;
}
.card-actions a {
  font-weight: 600;
  text-decoration: none;
}
.setting-tabs {
  margin-top: 16px;
  justify-content: flex-start;
}
.member,
.release-list p {
  border-bottom: 1px solid #d5dfd6;
  font-size: 13px;
  padding: 8px 0;
}
.hub + dialog {
  max-width: 520px;
  max-height: 86dvh;
  overflow: auto;
}
.rail #tenants {
  max-height: 45dvh;
  overflow: auto;
}
@media (max-width: 700px) {
  .hub {
    display: block;
    padding: 9px;
  }
  .rail {
    position: static;
    min-height: 0;
    padding: 12px;
    display: block;
  }
  .rail nav,
  .rail .account,
  .rail #tenants {
    display: flex;
    gap: 4px;
    margin: 8px 0 0;
    overflow: auto;
  }
  .rail nav button,
  .rail .account button,
  .tenant {
    width: auto;
    white-space: nowrap;
  }
  .rail-title {
    margin: 8px 6px 0;
  }
  .projects-content {
    padding: 20px 4px;
  }
  .projects-content header .primary {
    font-size: 13px;
  }
  .rail .brand {
    font-size: 22px;
  }
}
