:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #222036;
  background: #f8f8fb;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
[hidden] {
  /* biome-ignore lint/complexity/noImportantStyles: hidden must override ID-based layout styles. */
  display: none !important;
}
.topbar {
  height: 88px;
  border-bottom: 1px solid #e6e4ee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  background: white;
}
.brand {
  color: #262039;
  text-decoration: none;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.2px;
}
.brand span {
  font-weight: 450;
  color: #746d88;
  margin-left: 9px;
}
.tag,
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.8px;
  font-weight: 650;
  color: #777087;
}
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 32px 80px;
  min-height: calc(100vh - 160px);
  /* The navigation's column collapses to nothing while it is hidden. */
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
}
.content {
  grid-column: 2;
}
#notice {
  min-height: 24px;
  margin: 0 0 16px;
  color: #5e39b0;
  font-size: 14px;
}
#notice[data-error="true"] {
  color: #a52540;
}
#move {
  max-width: 480px;
  margin: 0 0 24px;
}
#move-bar {
  appearance: none;
  display: block;
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #e6e4ee;
}
#move-bar::-webkit-progress-bar {
  background: #e6e4ee;
}
/* Stripes keep moving so a long step still looks alive. */
#move-bar::-webkit-progress-value {
  background: repeating-linear-gradient(-45deg, #5e39b0 0 10px, #7a58c8 10px 20px) 0 0 / 28px 100%;
  transition: width 0.4s ease;
  animation: move-stripes 1s linear infinite;
}
#move-bar::-moz-progress-bar {
  background: #5e39b0;
}
#move-step {
  margin: 8px 0 0;
  color: #5e39b0;
  font-size: 14px;
}
@keyframes move-stripes {
  to {
    background-position: 28px 0;
  }
}
#auth {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 96px;
  padding: 40px 0;
}
h1 {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -2.2px;
  font-weight: 550;
  margin: 20px 0;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
  font-weight: 600;
}
p {
  color: #746d83;
  line-height: 1.65;
}
.intro .lead {
  font-size: 18px;
}
/* The strongest call on the signed-out page: open the editor without an account. */
.try {
  margin-top: 32px;
}
.try-button {
  display: inline-block;
  padding: 18px 30px;
  border-radius: 12px;
  background: #7046d4;
  color: white;
  font-size: 18px;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 10px 28px rgb(112 70 212 / 30%);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.try-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgb(112 70 212 / 38%);
}
.try p {
  margin: 12px 0 0;
  font-size: 14px;
}
.panel {
  padding: 32px;
  background: white;
  border: 1px solid #e4e1ee;
  border-radius: 18px;
  box-shadow: 0 8px 30px #29203505;
}
form {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}
label {
  display: grid;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
}
input {
  font: inherit;
  font-weight: 400;
  border: 1px solid #dad6e5;
  border-radius: 8px;
  padding: 13px 14px;
  min-width: 0;
  width: 100%;
  background: #fff;
  color: #222036;
}
input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #a993e5;
  outline-offset: 3px;
}
button {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #7046d4;
  color: white;
  padding: 13px 18px;
  cursor: pointer;
}
button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.secondary {
  background: white;
  color: #504665;
  border-color: #e0dbe9;
}
.text-button {
  display: block;
  background: none;
  color: #6c45bd;
  padding: 18px 0 0;
  text-align: left;
}
.hint {
  font-size: 12px;
  margin: 12px 0 0;
}
form .hint {
  margin: -12px 0 0;
}
nav {
  width: 200px;
  margin-right: 48px;
  display: flex;
  flex-direction: column;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #504665;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
nav a:hover {
  background: #efedf5;
}
nav a[aria-current="page"] {
  background: #ece6fa;
  color: #5e39b0;
}
.account {
  margin-top: auto;
  padding: 16px 12px 0;
  border-top: 1px solid #e6e4ee;
  overflow-wrap: anywhere;
}
.account p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}
#account-name {
  color: #222036;
  font-weight: 600;
}
.account .text-button {
  padding: 10px 0 0;
}
.view-heading {
  margin-bottom: 28px;
}
.view-heading h1 {
  font-size: 36px;
  letter-spacing: -1.2px;
  margin: 0 0 6px;
}
.view-heading p {
  margin: 0;
  max-width: 560px;
}
a.button {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #e0dbe9;
  border-radius: 8px;
  padding: 13px 18px;
  text-decoration: none;
}
.providers {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.workspace-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start;
}
.workspace-list {
  display: grid;
  gap: 14px;
}
.workspace-card {
  position: relative;
  background: white;
  border: 1px solid #e4e1ee;
  border-radius: 12px;
  padding: 24px;
  overflow-wrap: anywhere;
}
.workspace-card h2 {
  font-size: 19px;
  padding-right: 36px;
}
.workspace-card p {
  margin: 0;
  font-size: 13px;
}
.workspace-card .runtime-status {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
/* A dot for the runtime's state: grey without one, amber while preparing, green once ready. */
.runtime-status::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9c4d4;
}
.runtime-status[data-status="queued"]::before,
.runtime-status[data-status="provisioning"]::before {
  background: #d99a2b;
}
.runtime-status[data-status="provisioned"]::before {
  background: #2f9e6a;
}
.runtime-status[data-status="failed"]::before {
  background: #b42332;
}
.workspace-card button {
  margin-top: 12px;
  margin-right: 8px;
}
button.danger {
  background: #b42332;
  color: white;
}
.workspace-card .delete-workspace {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #746d83;
}
.workspace-card .delete-workspace:hover {
  background: #fbeef0;
  color: #a11d2b;
}
#delete-dialog,
#account-dialog {
  width: min(480px, calc(100vw - 40px));
  box-sizing: border-box;
  padding: 28px;
  border: 1px solid #e4e1ee;
  border-radius: 16px;
  box-shadow: 0 24px 80px #21152e30;
  overflow-wrap: anywhere;
}
#delete-dialog::backdrop,
#account-dialog::backdrop {
  background: #21152e70;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
#delete-error {
  color: #a11d2b;
}
.empty {
  border: 1px dashed #d7d1e3;
  border-radius: 16px;
  padding: 64px 24px;
  text-align: center;
}
.empty h2 {
  font-size: 22px;
}
/* A disabled action with a "Coming soon" badge next to it. */
.soon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.soon button:disabled,
.plan button:disabled {
  cursor: not-allowed;
}
.empty .soon {
  justify-content: center;
}
.badge {
  display: inline-block;
  margin: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: #efedf5;
  color: #5e5773;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: white;
  border: 1px solid #e4e1ee;
  border-radius: 12px;
}
.plan.current {
  border-color: #a993e5;
}
.plan h2 {
  font-size: 19px;
  margin: 0;
}
.plan .price {
  margin: 0;
  color: #222036;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.3;
}
.plan .price span {
  color: #746d83;
  font-size: 14px;
  font-weight: 450;
  letter-spacing: 0;
}
.plan ul {
  margin: 0;
  padding-left: 18px;
  color: #746d83;
  font-size: 14px;
  line-height: 1.7;
}
.plan > button {
  margin-top: auto;
}
.plan-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan button {
  align-self: start;
}
.current .badge {
  background: #ece6fa;
  color: #5e39b0;
}
.settings {
  display: grid;
  gap: 16px;
  max-width: 640px;
}
.settings p {
  margin: 0 0 20px;
}
dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 12px 24px;
  margin: 20px 0 0;
  font-size: 14px;
}
dt {
  color: #746d83;
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.danger-zone {
  border-color: #efc9ce;
}
.danger-zone h2 {
  color: #a11d2b;
}
#delete-account {
  color: #a11d2b;
  border-color: #efc9ce;
}
#delete-account:hover {
  background: #fbeef0;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 6vw;
  color: #898293;
  border-top: 1px solid #e6e4ee;
  font-size: 12px;
}
@media (max-width: 760px) {
  main {
    padding: 20px 20px 48px;
    grid-template-columns: minmax(0, 1fr);
  }
  .content {
    grid-column: 1;
  }
  /* The navigation becomes a bar of tabs above the view. */
  nav {
    width: auto;
    margin: 0 0 8px;
  }
  nav ul {
    display: flex;
    flex-wrap: wrap;
  }
  .account {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 12px;
    margin-top: 12px;
    padding: 10px 12px 0;
  }
  #account-name {
    display: none;
  }
  .account .text-button {
    padding: 0;
    margin-left: auto;
  }
  dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  dd + dt {
    margin-top: 12px;
  }
  #auth {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 12px;
  }
  .workspace-layout {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 24px;
  }
  .tag,
  footer span {
    display: none;
  }
  .view-heading h1 {
    font-size: 30px;
  }
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
}
