@font-face {
  font-family: Inter;
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
}
#main-content > section {
  scroll-margin-top: 160px;
}
body {
  font-family: Inter, system-ui, sans-serif;
  background: #000;
  color: #eaeaea;
  min-width: 280px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
textarea:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
::selection {
  background: #0070f366;
}
::-webkit-scrollbar {
  width: 8px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 6px;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1000;
  background: white;
  color: black;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  letter-spacing: -0.7px;
  font-size: 20px;
  white-space: nowrap;
}
.brand img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}
.shell {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 32px;
}
.topbar {
  border-bottom: 1px solid #333;
  background: #000e;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 40;
}
.topbar-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.slash {
  color: #555;
}
.workspace-button {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  min-width: 0;
}
.workspace-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 150px;
}
.avatar {
  width: 28px;
  height: 28px;
  border: 1px solid #333;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  background: #111;
  flex-shrink: 0;
}
.preview-pill {
  font-size: 10px;
  letter-spacing: 0.025em;
  border: 1px solid #333;
  color: #999;
  border-radius: 4px;
  padding: 3px 6px;
  white-space: nowrap;
}
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}
.icon-button:hover {
  background: #111;
}
.nav-shell {
  border-bottom: 1px solid #333;
}
.nav-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
}
#nav-tabs {
  display: flex;
  gap: 24px;
  min-width: max-content;
}
#nav-tabs a {
  font-size: 14px;
  color: #999;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
#nav-tabs a:hover {
  color: #fff;
}
#nav-tabs a[aria-current="page"] {
  color: white;
  border-color: white;
}
#main-content {
  padding-block: 32px 48px;
  min-height: calc(100vh - 222px);
  width: 100%;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.page-head h1 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.7px;
}
.muted {
  color: #999;
}
.subtle {
  color: #888;
  font-size: 12px;
}
.page-head p {
  color: #999;
  font-size: 13px;
  margin-top: 6px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
}
.vercel-btn {
  background: #fff;
  color: #000;
  border: 1px solid white;
}
.vercel-btn:hover {
  background: #ccc;
  border-color: #ccc;
}
.vercel-btn-secondary {
  background: transparent;
  border: 1px solid #333;
  color: #eaeaea;
}
.vercel-btn-secondary:hover {
  border-color: #888;
  background: #ffffff08;
}
.btn-danger {
  color: #ff8989;
  border-color: #793131;
}
.vercel-card {
  background: #000;
  border: 1px solid #333;
  transition: border-color 0.15s;
}
.vercel-card:hover {
  border-color: #888;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.project-card {
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 204px;
  min-width: 0;
}
.card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.card-title {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.card-title h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-icon {
  width: 32px;
  height: 32px;
  border: 1px solid #333;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #111;
  flex-shrink: 0;
}
.project-domain {
  font-size: 13px;
  color: #999;
  margin: 20px 0 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  color: #999;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  font-size: 11px;
  color: #aaa;
}
.state {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  white-space: nowrap;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0070f3;
  display: inline-block;
}
.status-dot.sleeping {
  background: #888;
}
.status-dot.error {
  background: #f55;
}
.project-card:hover h2 {
  color: #5b9eff;
}
.search {
  position: relative;
  width: 384px;
  max-width: 100%;
}
.search > .icon {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #888;
}
.search input {
  background: #000;
  border: 1px solid #333;
  border-radius: 6px;
  width: 100%;
  padding: 10px 12px 10px 40px;
  font-size: 13px;
}
.search input::placeholder {
  color: #888;
}
.section-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.activity-list {
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
}
.activity-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid #333;
}
.activity-row:last-child {
  border: 0;
}
.activity-row:hover {
  background: #111;
}
.activity-copy {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.activity-copy small {
  display: block;
  color: #888;
  margin-top: 5px;
  font-size: 11px;
}
.activity-row time {
  color: #888;
  font-size: 11px;
  white-space: nowrap;
}
.panel {
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
}
.panel-body {
  padding: 24px;
}
.panel-head {
  padding: 22px 24px;
  border-bottom: 1px solid #222;
}
.panel-head h2 {
  font-size: 17px;
  font-weight: 550;
}
.panel-head p {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
}
.panel-footer {
  padding: 16px 24px;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.stack {
  display: grid;
  gap: 24px;
}
.row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.spaced {
  margin-top: 40px;
}
.empty {
  padding: 55px 20px;
  text-align: center;
  color: #999;
  border: 1px dashed #333;
  border-radius: 8px;
}
.empty h2 {
  color: white;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 10px;
}
.empty p {
  font-size: 13px;
  margin-bottom: 20px;
}
.field {
  display: grid;
  gap: 8px;
  font-size: 13px;
  min-width: 0;
}
.field label {
  color: #ddd;
}
.field input,
.field select,
.field textarea,
.select {
  width: 100%;
  background: #000;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 10px 12px;
  min-height: 40px;
  min-width: 0;
  color: #eee;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field select option,
.select option {
  background: #111;
}
.field input[aria-invalid="true"] {
  border-color: #f88;
}
.form-grid {
  display: grid;
  gap: 20px;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-error {
  font-size: 12px;
  color: #ff9999;
  min-height: 18px;
  overflow-wrap: anywhere;
}
.dialog {
  width: min(500px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: #080808;
  color: #eee;
  border: 1px solid #444;
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 24px 100px #000b;
  overscroll-behavior: contain;
}
.dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px;
}
.dialog-head h2 {
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.5px;
}
.dialog-head p {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
}
.dialog-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.dialog-rows {
  display: grid;
  gap: 12px;
}
.note {
  font-size: 12px;
  line-height: 1.7;
  color: #999;
}
.text-link {
  font-size: 12px;
  color: #aaa;
}
.text-link:hover {
  color: white;
}
.dropdown-wrap {
  position: relative;
}
.dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 230px;
  background: #080808;
  border: 1px solid #333;
  border-radius: 7px;
  box-shadow: 0 12px 40px #000a;
  padding: 6px;
  z-index: 60;
}
.dropdown[hidden] {
  display: none;
}
.dropdown a,
.dropdown > button {
  display: block;
  width: 100%;
  text-align: left;
  border-radius: 4px;
  padding: 11px 12px;
  font-size: 13px;
}
.dropdown a:hover,
.dropdown > button:hover {
  background: #171717;
}
.dropdown-label {
  padding: 10px 12px;
  font-size: 11px;
  color: #888;
  border-bottom: 1px solid #222;
  margin-bottom: 5px;
}
.notification {
  padding: 14px 12px;
  font-size: 12px;
  border-bottom: 1px solid #222;
}
.notification:last-child {
  border: 0;
}
.notification.read {
  color: #888;
}
.notification-menu {
  width: 300px;
  max-width: calc(100vw - 32px);
}
.unread-dot {
  width: 6px;
  height: 6px;
  background: #0070f3;
  border-radius: 50%;
  position: absolute;
  right: 6px;
  top: 5px;
}
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid #444;
  background: #111;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  z-index: 100;
  box-shadow: 0 12px 40px #0009;
}
.toast:empty {
  display: none;
}
.storage-warning {
  background: #221d0b;
  color: #e9d499;
  font-size: 12px;
  padding: 12px;
  text-align: center;
}
.storage-warning[hidden] {
  display: none;
}
.switch {
  position: relative;
  width: 42px;
  height: 25px;
  border-radius: 30px;
  background: #333;
  border: 1px solid #555;
  flex-shrink: 0;
}
.switch span {
  position: absolute;
  width: 19px;
  height: 19px;
  top: 2px;
  left: 2px;
  background: #fff;
  border-radius: 50%;
}
.switch[aria-checked="true"] {
  background: #0070f3;
  border-color: #0070f3;
}
.switch[aria-checked="true"] span {
  transform: translateX(17px);
}
.sleep-layout {
  display: grid;
  grid-template-columns: 1fr 235px;
}
.sleep-estimate {
  border-left: 1px solid #222;
  padding: 28px;
}
.sleep-estimate strong {
  font-size: 28px;
  font-weight: 550;
  letter-spacing: -1px;
  display: block;
  margin: 10px 0;
}
.project-summary {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.project-summary p {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}
.project-summary strong {
  font-size: 13px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #999;
  font-size: 12px;
  margin-bottom: 24px;
}
.details {
  border-top: 1px solid #222;
  padding: 18px 24px;
}
.details summary {
  cursor: pointer;
  font-size: 12px;
  color: #bbb;
}
.details[open] summary {
  margin-bottom: 18px;
}
.details .form-grid {
  margin-top: 20px;
}
.policy-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px;
  border: 1px solid #333;
  border-radius: 7px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.checkbox-label input {
  accent-color: #0070f3;
  width: 17px;
  height: 17px;
}
.tabs-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 24px;
}
.tabs-pills button {
  border-radius: 20px;
  font-size: 12px;
  padding: 7px 12px;
  white-space: nowrap;
  border: 1px solid #333;
  color: #999;
}
.tabs-pills button[aria-pressed="true"] {
  background: #171717;
  color: white;
}
.domain-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
}
.domain-row h2 {
  font-size: 16px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.domain-row p {
  color: #888;
  font-size: 12px;
  margin-top: 7px;
}
.integration-card {
  padding: 24px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.integration-card h2 {
  font-size: 18px;
  font-weight: 550;
}
.integration-card p {
  font-size: 13px;
  color: #999;
  min-height: 44px;
  line-height: 1.7;
}
.integration-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #333;
  border-radius: 6px;
}
.integration-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}
.settings-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 768px);
  gap: 32px;
}
.settings-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: start;
}
.settings-nav button {
  padding: 10px 12px;
  text-align: left;
  font-size: 13px;
  color: #999;
  border-radius: 6px;
}
.settings-nav button[aria-pressed="true"] {
  background: #111;
  color: white;
}
.danger-panel {
  border-color: #7f2626;
}
.danger-panel .panel-body {
  background: #110000;
}
.code-log {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: monospace;
  font-size: 12px;
  line-height: 1.8;
  background: #000;
  border: 1px solid #333;
  padding: 16px;
  border-radius: 6px;
}
.site-footer {
  border-top: 1px solid #333;
  padding-block: 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  color: #888;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.wrap-anywhere {
  overflow-wrap: anywhere;
}
.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .btn,
  .switch span {
    transition:
      background-color 0.15s,
      border-color 0.15s,
      transform 0.15s;
  }
  .btn:active {
    transform: scale(0.96);
  }
}
@media (max-width: 1000px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .settings-layout {
    grid-template-columns: 160px minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  .shell {
    padding-inline: 20px;
  }
  .header-left,
  .header-right {
    gap: 10px;
  }
  .header-left .slash,
  .workspace-button .avatar {
    display: none;
  }
  .preview-pill {
    display: none;
  }
  .workspace-name {
    max-width: 90px;
  }
  .brand {
    font-size: 18px;
  }
  .brand img {
    width: 25px;
    height: 25px;
  }
  .header-feedback {
    display: none;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .page-head {
    align-items: flex-start;
    gap: 16px;
  }
  .page-head h1 {
    font-size: 23px;
  }
  .search {
    width: 100%;
  }
  .overview-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .overview-toolbar > .dropdown-wrap,
  .overview-toolbar > .dropdown-wrap > button {
    width: 100%;
  }
  .overview-toolbar .dropdown {
    width: 100%;
  }
  .project-summary {
    grid-template-columns: 1fr 1fr;
  }
  .project-summary > div:first-child {
    grid-column: 1/-1;
  }
  .sleep-layout {
    grid-template-columns: 1fr;
  }
  .sleep-estimate {
    border-left: 0;
    border-top: 1px solid #222;
    padding: 22px 24px;
  }
  .sleep-estimate strong {
    display: inline-block;
    margin-right: 12px;
  }
  .settings-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .settings-nav {
    flex-direction: row;
    overflow-x: auto;
  }
  .settings-nav button {
    white-space: nowrap;
  }
  .activity-row {
    padding: 18px 15px;
    gap: 12px;
  }
  .activity-row time {
    font-size: 10px;
  }
  .domain-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
  }
  .panel-footer {
    flex-wrap: wrap;
  }
  .project-head {
    flex-direction: column;
    align-items: stretch;
  }
  .project-head .btn {
    width: 100%;
  }
  .form-pair {
    grid-template-columns: 1fr;
  }
  .notification-menu {
    position: fixed;
    right: 16px;
    top: 61px;
  }
  .dialog {
    padding: 22px;
  }
  .toast {
    bottom: 16px;
    right: 16px;
  }
  .field input,
  .field select,
  .field textarea,
  .search input {
    font-size: 16px;
  }
  .panel-body {
    padding: 22px;
  }
  .row {
    flex-wrap: wrap;
  }
}
@media (max-width: 360px) {
  .shell {
    padding-inline: 16px;
  }
  .workspace-name {
    max-width: 62px;
  }
  .header-left,
  .header-right {
    gap: 7px;
  }
  .topbar-inner {
    gap: 8px;
  }
  .brand {
    font-size: 17px;
    gap: 5px;
  }
  .brand img {
    width: 24px;
    height: 24px;
  }
  .header-right .icon-button {
    width: 30px;
  }
  .project-card {
    padding: 18px;
  }
  .activity-row time {
    display: none;
  }
}
@media (forced-colors: active) {
  .status-dot {
    background: CanvasText;
  }
  .switch {
    border: 1px solid ButtonText;
  }
  .switch span {
    background: ButtonText;
  }
  .switch[aria-checked="true"] {
    background: Highlight;
  }
}

.brand-mark {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  overflow: hidden;
  flex-shrink: 0;
}
.brand .brand-mark img {
  position: absolute;
  width: 56px;
  height: 56px;
  max-width: none;
  left: -14px;
  top: -14px;
}
@media (max-width: 700px) {
  .brand-mark {
    width: 24px;
    height: 24px;
  }
  .brand .brand-mark img {
    width: 48px;
    height: 48px;
    left: -12px;
    top: -12px;
  }
  .sleep-estimate {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    align-items: center;
  }
  .sleep-estimate > span:first-child {
    grid-column: 1;
    grid-row: 1;
  }
  .sleep-estimate > strong {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0;
    display: block;
  }
  .sleep-estimate > span:last-child {
    grid-column: 1;
    grid-row: 2;
  }
}

/* Connected cloud workspace. Keep the original quiet, black interface. */
[hidden] {
  display: none !important;
}
.auth-shell {
  max-width: 430px;
  margin: 50px auto 80px;
}
.auth-intro {
  text-align: center;
  margin-bottom: 34px;
}
.auth-eyebrow {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #888;
}
.auth-intro h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  font-weight: 550;
  margin: 18px 0 12px;
}
.auth-intro p {
  color: #999;
  font-size: 13px;
}
.auth-card {
  padding: 28px;
  background: #050505;
  gap: 20px;
}
.auth-card .btn {
  min-height: 44px;
}
.loading-state {
  padding: 100px 20px;
  text-align: center;
  color: #999;
  font-size: 13px;
}
.create-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  max-width: 1040px;
}
.launch-card {
  align-self: start;
  padding: 26px;
  display: grid;
  gap: 18px;
  position: sticky;
  top: 95px;
  background: #080808;
}
.launch-card > .project-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}
.launch-card h2 {
  font-size: 20px;
  letter-spacing: -0.6px;
  font-weight: 550;
}
.launch-card p,
.launch-card li {
  font-size: 12px;
  color: #999;
  line-height: 1.8;
}
.launch-card li::before {
  content: "✓";
  margin-right: 9px;
  color: #ddd;
}
.launch-card .btn {
  min-height: 44px;
  width: 100%;
}
.launch-card > .text-link {
  text-align: center;
}
.source-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.source-choice label {
  position: relative;
  cursor: pointer;
}
.source-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
}
.source-choice span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid #333;
  border-radius: 7px;
  font-size: 13px;
}
.source-choice input:checked + span {
  border-color: #ddd;
  background: #151515;
}
.source-choice input:focus-visible + span {
  outline: 2px solid white;
  outline-offset: 4px;
}
.upload-zone {
  border: 1px dashed #4b4b4b;
  border-radius: 8px;
  background: #070707;
  padding: 27px 20px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  cursor: pointer;
  min-width: 0;
}
.upload-zone:hover {
  border-color: #aaa;
  background: #0c0c0c;
}
.upload-zone strong {
  font-size: 13px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.upload-zone > span {
  font-size: 11px;
  color: #999;
}
.upload-zone input {
  max-width: 100%;
  font-size: 11px;
  padding: 6px;
}
.upload-zone input::file-selector-button {
  background: #191919;
  border: 1px solid #444;
  color: #ddd;
  padding: 8px 12px;
  border-radius: 5px;
  margin-right: 10px;
}
.source-note {
  margin-top: 12px;
  font-size: 11px;
}
.inline-details {
  border-top: 1px solid #222;
  padding-top: 20px;
}
.inline-details summary {
  font-size: 12px;
  color: #aaa;
  cursor: pointer;
}
.inline-details .form-grid {
  margin-top: 20px;
}
progress {
  width: 100%;
  height: 6px;
  accent-color: #eee;
}
progress::-webkit-progress-bar {
  background: #222;
  border-radius: 6px;
}
progress::-webkit-progress-value {
  background: #eee;
  border-radius: 6px;
}
.project-title {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.project-title > .project-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}
.project-title h1 {
  overflow-wrap: anywhere;
}
.project-title p {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  overflow-wrap: anywhere;
}
.project-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.project-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid #282828;
  margin-bottom: 28px;
  overflow-x: auto;
}
.project-tabs a {
  padding: 0 0 14px;
  font-size: 13px;
  color: #999;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.project-tabs a[aria-current] {
  color: #eee;
  border-color: #eee;
}
.project-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr);
  gap: 24px;
}
.project-overview-grid > .stack {
  align-content: start;
}
.production-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.production-status .state {
  font-size: 13px;
}
.project-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 30px;
  margin-top: 30px;
}
.project-facts dt {
  color: #888;
  font-size: 11px;
  margin-bottom: 8px;
}
.project-facts dd {
  font-size: 13px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.project-facts .icon {
  width: 14px;
  height: 14px;
  margin-right: 3px;
}
.sleep-label {
  font-size: 13px;
  font-weight: 500;
}
.sleep-explanation {
  padding-top: 22px;
  font-size: 11px;
}
.sleep-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}
.runtime-readings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.runtime-readings > div {
  display: grid;
  gap: 10px;
}
.runtime-readings span {
  font-size: 11px;
  color: #999;
}
.runtime-readings strong {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.deployment-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.deployment-mini p {
  font-size: 13px;
  font-family: monospace;
  margin: 14px 0 6px;
}
.deployment-list {
  border: 1px solid #333;
  border-radius: 8px;
}
.deployment-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid #222;
}
.deployment-row:last-child {
  border-bottom: 0;
}
.deployment-copy {
  min-width: 0;
  flex: 1;
}
.deployment-copy strong {
  display: block;
  font-family: monospace;
  font-size: 13px;
  font-weight: 500;
}
.deployment-copy > span {
  display: block;
  color: #999;
  font-size: 11px;
  margin-top: 7px;
}
.cloud-settings {
  grid-template-columns: 170px minmax(0, 820px);
}
@media (min-width: 801px) and (min-height: 300px) {
  .cloud-settings .settings-nav {
    position: sticky;
    top: 95px;
  }
}
.settings-nav a {
  font-size: 12px;
  color: #999;
  padding: 11px 12px;
  border-radius: 5px;
}
.settings-nav a:hover {
  color: #fff;
  background: #111;
}
.cloud-settings .stack > * {
  scroll-margin-top: 95px;
}
.environment-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #222;
}
.environment-row code {
  flex: 1;
  font-size: 12px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.environment-row:last-child {
  border-bottom: 0;
}
.spaced-small {
  margin-top: 22px;
}
.certificate-state {
  color: #999;
  margin-left: 12px;
}
.domain-note {
  padding: 0 24px 22px;
}
.dns-records {
  display: grid;
  gap: 15px;
  margin-top: 18px;
}
.dns-records > div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  font-size: 11px;
}
.dns-records code {
  overflow-wrap: anywhere;
  color: #ccc;
  user-select: all;
}
.integration-config-note {
  font-size: 11px !important;
  min-height: 0 !important;
}
.billing-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
  gap: 24px;
}
.billing-total {
  padding: 30px;
  align-self: start;
  display: grid;
  gap: 22px;
  background: #070707;
}
.billing-total > strong {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
}
.service-note {
  border-top: 1px solid #292929;
  padding-top: 18px;
  font-size: 11px;
  color: #aaa;
  line-height: 1.8;
}
.price-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  gap: 20px;
  font-size: 12px;
  border-bottom: 1px solid #222;
}
.price-list > div:last-child {
  border: 0;
}
.price-list strong {
  font-weight: 500;
}
.billing-tips {
  display: grid;
  gap: 20px;
  font-size: 12px;
  color: #aaa;
}
.billing-tips .icon {
  margin-right: 8px;
}
.settings-width {
  max-width: 780px;
}
.account-summary {
  display: grid;
  gap: 8px;
  border-top: 1px solid #222;
  padding-top: 20px;
}
.account-summary strong {
  font-weight: 400;
  font-size: 13px;
}
.help-copy {
  display: grid;
  gap: 12px;
}
.help-copy h3 {
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
}
.help-copy p {
  color: #aaa;
  font-size: 12px;
  line-height: 1.9;
}
.status-dot.ready,
.status-dot.running,
.status-dot.succeeded,
.status-dot.active {
  background: #4ade80;
}
.status-dot.failed,
.status-dot.error {
  background: #ff7575;
}
.status-dot.draft,
.status-dot.stopped,
.status-dot.sleeping {
  background: #888;
}
.status-dot.queued,
.status-dot.building,
.status-dot.deploying,
.status-dot.pending {
  background: #e4b351;
}
.form-error:empty {
  min-height: 0;
}
.btn-danger:hover {
  background: #2b1010;
}
@media (max-width: 1000px) {
  .project-overview-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  }
  .create-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .launch-card {
    padding: 22px;
  }
  .cloud-settings {
    grid-template-columns: 140px minmax(0, 1fr);
  }
}
@media (max-width: 800px) {
  .project-overview-grid,
  .create-layout,
  .billing-layout {
    grid-template-columns: 1fr;
  }
  .launch-card {
    position: static;
  }
  .launch-card ul {
    display: none;
  }
  .cloud-settings {
    grid-template-columns: 1fr;
  }
  .cloud-settings .settings-nav {
    flex-direction: row;
    overflow-x: auto;
  }
  .cloud-settings .settings-nav a {
    white-space: nowrap;
  }
}
@media (max-width: 700px) {
  .auth-shell {
    margin: 25px auto 45px;
  }
  .auth-card {
    padding: 24px 20px;
  }
  .auth-intro h1 {
    font-size: 28px;
  }
  .project-title {
    gap: 12px;
  }
  .project-title > .project-icon {
    width: 40px;
    height: 40px;
  }
  .project-actions {
    width: 100%;
  }
  .project-head .project-actions .btn {
    width: auto;
    flex: 1;
  }
  .project-tabs {
    gap: 25px;
  }
  .project-facts {
    gap: 22px 18px;
  }
  .project-facts dd {
    font-size: 12px;
  }
  .project-title h1 {
    font-size: 23px;
  }
  .deployment-row {
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px;
  }
  .deployment-row > .project-icon {
    display: none;
  }
  .deployment-copy {
    flex-basis: 60%;
  }
  .deployment-row > .btn {
    margin-left: auto;
  }
  .environment-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .environment-row .subtle {
    display: none;
  }
  .dns-records > div {
    grid-template-columns: 38px minmax(0, 1fr);
  }
  .dns-records > div > code:last-child {
    grid-column: 2;
  }
  .source-choice span {
    padding: 15px 10px;
    font-size: 12px;
  }
  .project-overview-grid {
    gap: 20px;
  }
  .billing-total {
    padding: 24px;
  }
  .source-choice input {
    min-height: 0;
  }
  .auth-card .text-link {
    min-height: 36px;
  }
}
