:root {
  color-scheme: dark;
  --nav: #101725;
  --canvas: #0c1220;
  --surface: #141e30;
  --raised: #1a263b;
  --blue: #b7a4ff;
  --primary-ink: #1c1537;
  --ink: #e9eef8;
  --muted: #a0aec4;
  --line: #2b3850;
  --green: #80d6b8;
  --red: #ffaaa6;
  --cyan: #83d1dc;
  --radius: 12px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-size: 15px;
  line-height: 1.55;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3,
.brand {
  font-family: Bahnschrift, "Segoe UI", Arial, sans-serif;
}
h1 {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.9px;
  font-weight: 600;
  margin-bottom: 13px;
}
h2 {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.4px;
}
p {
  color: var(--muted);
}
small {
  display: block;
  font-size: 0.79rem;
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  padding: 10px;
  background: var(--surface);
  z-index: 99;
}
.skip-link:focus {
  top: 10px;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  width: 35px;
  height: 37px;
  border-radius: 9px 9px 9px 2px;
  background: var(--blue);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 3px 0 #655390;
}
.brand-mark svg {
  width: 27px;
  height: 27px;
  fill: var(--primary-ink);
}
.alpha {
  font:
    0.65rem "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  color: #bdaccf;
  background: #28243e;
  border: 1px solid #433658;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: auto;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  display: flex;
  flex-direction: column;
  padding: 30px 20px 0;
  background: var(--nav);
  border-right: 1px solid var(--line);
  z-index: 5;
}
.workspace-label {
  font-size: 0.76rem;
  color: #8e9ab1;
  margin: 42px 12px 14px;
}
.sidebar nav {
  display: grid;
  gap: 6px;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #aab7cb;
  font-size: 0.9rem;
}
.sidebar nav a .icon {
  width: 19px;
  height: 19px;
  color: #8d9bb4;
}
.sidebar nav a:hover {
  background: #1a2437;
  color: var(--ink);
  text-decoration: none;
}
.sidebar nav a[aria-current] {
  background: #29243e;
  border-color: #493c62;
  color: #dfd3ff;
}
.sidebar nav a[aria-current] .icon {
  color: var(--blue);
}
.sidebar-note {
  margin: auto 12px 28px;
  padding-top: 45px;
  font-size: 0.87rem;
}
.sidebar-note > .icon {
  display: block;
  width: 28px;
  height: 28px;
  color: #8c87b3;
  margin-bottom: 15px;
}
.sidebar-note strong {
  font-weight: 500;
  color: #c3cadd;
}
.sidebar-note p {
  font-size: 0.75rem;
  max-width: 22ch;
  color: #8f9bb1;
  margin: 10px 0 0;
}
.account {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
}
.avatar {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #28364e;
  color: #d1daec;
}
.account strong {
  display: block;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.account small {
  font-size: 0.7rem;
  margin-top: 2px;
  color: #8f9bb1;
}
.account form {
  margin-left: auto;
}
.signout {
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #aab7cb;
  display: grid;
  place-items: center;
  padding: 7px;
}
.signout:hover {
  color: var(--ink);
  background: var(--raised);
}
.workspace main {
  margin-left: 238px;
}
.topbar {
  height: 70px;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  background: #0f1827;
}
.topbar-title {
  display: flex;
  gap: 10px;
  align-items: center;
}
.topbar-title .icon {
  color: #8b96ad;
  width: 17px;
  height: 17px;
}
.development {
  font-size: 0.71rem;
  border: 1px solid #3e3855;
  color: #c2b5de;
  border-radius: 5px;
  padding: 4px 9px;
  background: #201e33;
}
.content {
  padding: 36px 40px 48px;
  max-width: 1560px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px;
}
.page-heading p {
  margin-bottom: 0;
  max-width: 70ch;
  font-size: 0.9rem;
}
.breadcrumb {
  font-size: 0.76rem !important;
  color: #9a9db8;
  margin-bottom: 22px !important;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 10px 17px;
  background: var(--blue);
  color: var(--primary-ink);
  border: 1px solid #c1b1ff;
  border-radius: 7px;
  font-size: 0.87rem;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.button:hover {
  background: #c9bbff;
  border-color: #d7cdff;
  text-decoration: none;
}
.button .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.button.secondary {
  background: #192439;
  border-color: #3e4b64;
  color: #d0d9ea;
}
.button.secondary:hover {
  background: #243149;
  border-color: #64728e;
}
.button.danger {
  background: #37242d;
  border-color: #654049;
  color: #ffb1ad;
}
.button.danger:hover {
  background: #4a2933;
}
.button.small {
  padding: 7px 12px;
  font-size: 0.8rem;
  min-height: 36px;
}
.button.full {
  width: 100%;
  justify-content: space-between;
  min-height: 49px;
  margin-top: 8px;
  padding-inline: 18px;
}
.text-link {
  font-size: 0.86rem;
  font-weight: 500;
}
.back-link {
  display: inline-block;
  font-size: 0.83rem;
  margin-bottom: 20px;
}
.surface {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.padded {
  padding: 25px;
}
.summary-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  margin-bottom: 32px;
  overflow: hidden;
}
.summary-bar > div {
  padding: 22px 25px;
  border-right: 1px solid var(--line);
  position: relative;
}
.summary-bar > div:last-child {
  border: 0;
}
.summary-bar > div > .icon {
  position: absolute;
  top: 23px;
  right: 22px;
  color: #7f8bab;
  width: 21px;
  height: 21px;
}
.summary-bar > div:nth-child(2) > .icon {
  color: #93b9c9;
}
.summary-bar > div:nth-child(3) > .icon {
  color: #afa0d2;
}
.summary-bar > div > span {
  color: #aab6ca;
  font-size: 0.77rem;
  display: block;
  padding-right: 23px;
}
.summary-bar strong {
  display: block;
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 450;
  letter-spacing: -0.7px;
  margin-top: 21px;
  font-variant-numeric: tabular-nums;
}
.summary-bar small {
  display: inline;
  font-size: 0.76rem;
  margin-left: 7px;
  font-weight: 400;
  letter-spacing: 0;
  color: #8f9db5;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.section-heading h2 {
  margin: 0;
}
.muted {
  color: var(--muted);
  font-size: 0.82rem;
}
.table-scroll {
  position: relative;
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.86rem;
}
th {
  font-size: 0.75rem;
  font-weight: 500;
  color: #a7b4ca;
  background: #182338;
  padding: 13px 20px;
  white-space: nowrap;
}
td {
  padding: 19px 20px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}
td small {
  margin-top: 5px;
}
tbody tr:hover {
  background: #19243a;
}
td > a {
  white-space: nowrap;
}
.service-name {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 170px;
}
.service-name a {
  color: var(--ink);
  font-weight: 600;
}
.service-icon {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: #2c2943;
  border: 1px solid #4a405f;
  color: #c0afea;
  display: grid;
  place-items: center;
}
.mono {
  font-family: Consolas, monospace;
  font-size: 0.83rem;
}
.wrap {
  overflow-wrap: anywhere;
}
.empty-state {
  padding: 44px 24px;
  text-align: center;
}
.empty-state h2,
.empty-state h3 {
  margin-bottom: 12px;
}
.empty-state p {
  max-width: 52ch;
  margin: 0 auto 22px;
  font-size: 0.88rem;
}
.empty-illustration {
  width: 90px;
  height: 72px;
  position: relative;
  margin: 0 auto 23px;
  transform: rotate(-6deg);
}
.empty-illustration div {
  width: 70px;
  height: 19px;
  background: #213049;
  border: 1px solid #6b7296;
  border-radius: 4px;
  position: absolute;
  left: 10px;
  box-shadow: 5px 5px 0 #0c1324;
}
.empty-illustration div:before {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
}
.empty-illustration div:after {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 24px;
  border-top: 2px solid #596582;
}
.empty-illustration div:nth-child(1) {
  top: 0;
}
.empty-illustration div:nth-child(2) {
  top: 24px;
}
.empty-illustration div:nth-child(3) {
  top: 48px;
}
.empty-person {
  font-size: 3rem;
  display: block;
  color: #b2a3d3;
  margin-bottom: 16px;
}
.hosting-empty {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 22px 42px 28px 20px;
  text-align: left;
  background: #121c2e;
}
.empty-rack {
  flex: 0 0 36%;
  max-width: 340px;
}
.empty-rack .rack-caption {
  display: none;
}
.empty-copy {
  flex: 1;
  padding: 20px 0;
}
.empty-copy .pill {
  margin-bottom: 16px;
}
.empty-copy h3 {
  font-size: 1.5rem;
}
.empty-copy p {
  margin-left: 0;
}
.dashboard-bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.event {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.event:first-of-type {
  border-top: 0;
}
.event p {
  color: #ccd5e5;
  font-size: 0.84rem;
  margin-bottom: 5px;
  overflow-wrap: anywhere;
}
.event small {
  font-size: 0.73rem;
}
.event-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #857fa4;
  margin-top: 8px;
  flex-shrink: 0;
}
.next-step {
  position: relative;
  padding: 27px;
  border: 1px solid #49405e;
  background: #221f34;
  border-radius: var(--radius);
  overflow: hidden;
}
.next-step:after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border: 1px solid #4d425e;
  right: -48px;
  top: 65px;
  transform: rotate(30deg);
  box-shadow:
    0 0 0 18px #29233b,
    0 0 0 19px #41364f;
  pointer-events: none;
}
.next-step h2 {
  font-size: 1.6rem;
  line-height: 1.25;
  margin-top: 17px;
  position: relative;
  z-index: 1;
}
.next-step p {
  font-size: 0.85rem;
  max-width: 40ch;
  position: relative;
  z-index: 1;
}
.pill {
  display: inline-block;
  border-radius: 4px;
  padding: 4px 8px;
  border: 1px solid #48405c;
  background: #2c263e;
  color: #d1bfef;
  font-size: 0.73rem;
  font-weight: 500;
}
.pill.running {
  background: #183832;
  border-color: #315c50;
  color: #8bdfc1;
}
.pill.unavailable,
.pill.failed {
  background: #3b2631;
  border-color: #66404c;
  color: #ffbbb7;
}
.notice {
  padding: 12px 16px;
  border-radius: 7px;
  background: #202f46;
  border: 1px solid #415975;
  margin-bottom: 20px;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}
.notice.success {
  background: #17322c;
  border-color: #35634e;
  color: #9ce2bc;
}
.notice.error {
  background: #36202c;
  border-color: #6c3c4a;
  color: #ffbab6;
}
[hidden] {
  display: none !important;
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(220px, 1fr);
  gap: 44px;
  align-items: start;
}
.form-surface {
  padding: 30px;
}
.field {
  margin-bottom: 23px;
}
.field > label {
  display: block;
  font-size: 0.83rem;
  font-weight: 550;
  margin-bottom: 9px;
  color: #d2dbeb;
}
.field input:not([type="checkbox"]),
.field select {
  width: 100%;
  display: block;
  min-height: 46px;
  background: #0e1829;
  color: var(--ink);
  border: 1px solid #3b4860;
  border-radius: 6px;
  padding: 10px 12px;
}
.field input:not([type="checkbox"]):focus,
.field select:focus {
  border-color: #b7a4ff;
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--red);
}
.helptext {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 8px;
}
.helptext ul {
  padding-left: 18px;
  margin: 0;
}
.errorlist {
  list-style: none;
  padding: 10px 13px;
  border: 1px solid #6c3c4a;
  background: #36202c;
  color: #ffbab6;
  border-radius: 6px;
  font-size: 0.82rem;
  margin: 8px 0 15px;
}
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}
.checkbox-field input {
  margin-top: 5px;
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.checkbox-field label {
  flex: 1;
  line-height: 1.6;
}
.checkbox-field .errorlist {
  flex-basis: 100%;
}
.form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.form-aside {
  padding: 20px 0;
  max-width: 320px;
}
.form-aside h2 {
  font-size: 1.4rem;
}
.form-aside p,
.form-aside dd {
  font-size: 0.85rem;
}
.form-aside dl {
  margin-top: 28px;
}
dt {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 20px;
}
dd {
  margin: 5px 0 0;
}
.form-aside dt {
  color: var(--ink);
  font-weight: 550;
}
.form-aside dd {
  color: var(--muted);
}
.node-row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 27px;
  margin-bottom: 16px;
  border-left: 3px solid #7f77a6;
}
.node-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #4c4968;
  border-radius: 8px;
  background: #25263e;
  color: #c1b0ec;
  font-size: 1.7rem;
}
.node-symbol .icon {
  width: 27px;
  height: 27px;
}
.node-description {
  flex: 1;
}
.node-description h2 {
  margin-bottom: 5px;
}
.node-description p {
  font-size: 0.85rem;
  margin-bottom: 3px;
}
.node-description small {
  overflow-wrap: anywhere;
}
.node-capacity {
  font-size: 0.87rem;
  min-width: 200px;
}
.node-capacity strong {
  font-weight: 500;
}
.node-capacity small {
  margin-top: 7px;
}
.node-meter {
  display: block;
  width: 100%;
  height: 6px;
  margin: 10px 0 12px;
  background: #0b1323;
  border: 0;
  border-radius: 3px;
  overflow: hidden;
}
.node-meter::-webkit-meter-bar {
  background: #0b1323;
  border: 0;
  height: 6px;
}
.node-meter::-webkit-meter-optimum-value {
  background: var(--blue);
}
.node-meter::-moz-meter-bar {
  background: var(--blue);
}
.footnote {
  font-size: 0.76rem;
  color: #95a3b9;
  margin: 18px 0 0;
  line-height: 1.7;
  max-width: 80ch;
}
.server-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 24px;
  margin-bottom: 30px;
}
.console-area {
  min-width: 0;
}
.console-toolbar {
  padding: 15px 18px;
  border: 1px solid #38415c;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #202238;
}
.console-toolbar h2 {
  font-size: 0.88rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.console-toolbar h2 .icon {
  color: #c5b6ed;
  width: 18px;
  height: 18px;
}
.console-toolbar label {
  font-size: 0.75rem;
  color: #bac4d8;
  display: flex;
  align-items: center;
  gap: 6px;
}
.console-toolbar input {
  accent-color: var(--blue);
}
.console-output {
  height: 410px;
  min-height: 350px;
  margin: 0;
  padding: 21px;
  border-inline: 1px solid #38415c;
  background: #090f1c;
  color: #b8d8d6;
  font:
    0.8rem/1.75 Consolas,
    monospace;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.console-area .notice {
  margin: 0;
  border-radius: 0;
}
.command-form {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  background: #171e30;
  border: 1px solid #38415c;
  border-radius: 0 0 9px 9px;
  color: var(--blue);
}
.command-form input[name="command"] {
  min-width: 0;
  flex: 1;
  background: transparent;
  border: 0;
  color: #e9eef8;
  padding: 7px;
  font:
    0.8rem Consolas,
    monospace;
}
.command-form input::placeholder {
  color: #95a2b9;
}
.service-controls h2 {
  font-size: 1rem;
}
.power-buttons {
  display: flex;
  gap: 7px;
  margin: 16px 0 24px;
}
.power-buttons .button {
  padding: 8px 11px;
  font-size: 0.8rem;
  min-height: 37px;
}
.service-controls dl {
  margin: 0;
}
.service-controls dd {
  font-size: 0.88rem;
}
.service-controls .padded {
  padding: 22px;
}
.provision-retry {
  padding: 18px 8px;
}
.provision-retry p {
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.provision-retry small {
  font-size: 0.74rem;
  margin-top: 10px;
}
.job-result {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 430px;
  font-size: 0.8rem;
}
.roadmap-list {
  max-width: 950px;
}
.roadmap-item {
  display: flex;
  gap: 26px;
  padding: 28px;
  margin-bottom: 15px;
}
.roadmap-item h2 {
  font-size: 1.2rem;
}
.roadmap-item .pill {
  margin-bottom: 10px;
}
.roadmap-item p {
  font-size: 0.88rem;
  margin: 0;
  max-width: 73ch;
}
.roadmap-item.current {
  border-left: 3px solid var(--blue);
}
.phase-number {
  font-size: 1.7rem;
  color: #9991b8;
  font-weight: 350;
  min-width: 38px;
  font-variant-numeric: tabular-nums;
}
.commercial {
  background: #222137;
  border-color: #48435f;
}

/* Public surfaces and the hosting identity. */
.public {
  min-height: 100vh;
  background: #0c1424;
}
.public-header {
  max-width: 1400px;
  padding: 28px 55px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.public-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.86rem;
}
.public-header nav > a:not(.button) {
  color: #b9c3d6;
}
.public .content {
  max-width: 1400px;
  padding: 18px 55px 35px;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 45px;
  align-items: center;
  padding: 65px 0 85px;
}
.hero h1 {
  font-size: clamp(3rem, 4.6vw, 4.4rem);
  font-weight: 550;
  letter-spacing: -1.8px;
  line-height: 1.08;
  margin: 23px 0;
}
.hero-copy > p {
  max-width: 48ch;
  font-size: 1.02rem;
}
.hero-copy > .footnote {
  font-size: 0.77rem;
  margin-top: 28px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 28px;
}
.hero-infrastructure {
  position: relative;
}
.hero-infrastructure > p {
  text-align: center;
  font-size: 0.8rem;
  margin: 22px 0 0;
  color: #9cabc0;
}
.rack-visual {
  position: relative;
  width: 100%;
}
.rack-diagram {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.rack-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.7rem;
  color: #a4b4c9;
  margin: 20px 0 0;
}
.rack-caption i {
  width: 20px;
  border-top: 1px solid #4a5472;
}
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.feature-strip > div > span {
  display: block;
  font-size: 0.78rem;
  color: var(--cyan);
  margin-bottom: 16px;
}
.feature-strip h2 {
  font-size: 1.05rem;
}
.feature-strip p {
  font-size: 0.85rem;
  max-width: 40ch;
}
.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 100px;
  align-items: center;
  max-width: 1150px;
  margin: 32px auto 50px;
}
.login-intro {
  position: relative;
}
.login-wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.79rem;
  color: #bdc3de;
  margin-bottom: 23px;
}
.login-wordmark .icon {
  color: var(--cyan);
  width: 18px;
  height: 18px;
}
.login-intro h1 {
  font-size: clamp(2.6rem, 4vw, 3.9rem);
  font-weight: 550;
  letter-spacing: -1.4px;
  line-height: 1.06;
  margin-bottom: 20px;
}
.login-intro > p {
  font-size: 0.92rem;
  max-width: 48ch;
  line-height: 1.8;
  margin-bottom: 0;
}
.login-intro .rack-visual {
  width: 92%;
  margin: -4px 0 0;
  max-width: 530px;
}
.login-intro .rack-caption {
  display: none;
}
.login-capabilities {
  display: flex;
  align-items: center;
  gap: 23px;
  color: #a9b7cb;
  font-size: 0.72rem;
  margin-top: 20px;
}
.login-capabilities > span {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.login-capabilities .icon {
  color: #9d9abe;
  width: 16px;
  height: 16px;
}
.login-card {
  position: relative;
  padding: 32px;
  background: #151f32;
  border: 1px solid #3e4363;
  border-radius: 14px;
  box-shadow: 0 16px 70px #04081755;
}
.login-card:before {
  content: "";
  position: absolute;
  top: -1px;
  left: 32px;
  width: 60px;
  height: 2px;
  background: var(--blue);
}
.login-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  color: #a8b2ca;
  font-size: 0.73rem;
}
.access-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  background: #2a2843;
  color: #c7b4f4;
  border: 1px solid #504368;
  border-radius: 8px;
}
.login-card h2 {
  font-size: 1.9rem;
  letter-spacing: -0.7px;
  margin-bottom: 8px;
}
.login-card > p {
  font-size: 0.87rem;
  margin-bottom: 30px;
}
.login-card .field input {
  min-height: 48px;
  background: #0e1829;
}
.login-help {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 22px;
  margin-top: 26px;
  border-top: 1px solid #344058;
}
.login-help .icon {
  color: #8f9dba;
  width: 17px;
  height: 17px;
  margin-top: 3px;
}
.login-help p {
  font-size: 0.75rem;
  line-height: 1.8;
  margin: 0;
  color: #a2b0c6;
}
.public-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  color: #8f9eb6;
  font-size: 0.72rem;
}
.public-footer > span:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-dot {
  width: 3px;
  height: 3px;
  background: #8694ae;
  border-radius: 50%;
}

/* Compact layouts keep the same hosting identity and real controls. */
@media (min-width: 1600px) {
  .content {
    padding-top: 44px;
  }
  .public .login-layout {
    margin-top: 60px;
    margin-bottom: 65px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 215px;
    padding-inline: 16px;
  }
  .workspace main {
    margin-left: 215px;
  }
  .content {
    padding: 30px;
  }
  .topbar {
    padding-inline: 30px;
  }
  .summary-bar > div {
    padding: 20px;
  }
  .summary-bar > div > .icon {
    right: 17px;
  }
  .summary-bar strong {
    font-size: 1.85rem;
  }
  .summary-bar small {
    display: block;
    margin: 3px 0 0;
  }
  .node-row {
    flex-wrap: wrap;
  }
  .node-description {
    min-width: 160px;
  }
  .form-layout {
    gap: 26px;
    grid-template-columns: minmax(0, 1fr) 230px;
  }
  .server-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 18px;
  }
  .power-buttons {
    flex-wrap: wrap;
  }
  .hosting-empty {
    padding-inline: 20px;
    gap: 20px;
  }
  .empty-copy h3 {
    font-size: 1.3rem;
  }
  .login-layout {
    gap: 60px;
    grid-template-columns: minmax(0, 1fr) 380px;
  }
  .login-capabilities {
    gap: 14px;
    font-size: 0.68rem;
  }
  .public-header {
    padding-inline: 40px;
  }
  .public .content {
    padding-inline: 40px;
  }
}
@media (max-width: 950px) {
  .login-layout {
    gap: 35px;
    grid-template-columns: minmax(0, 1fr) 350px;
  }
  .login-card {
    padding: 26px;
  }
  .login-intro h1 {
    font-size: 2.6rem;
  }
  .login-capabilities {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
  .login-intro .rack-visual {
    width: 100%;
  }
  .login-intro > p br {
    display: none;
  }
}
@media (max-width: 850px) {
  .sidebar {
    position: relative;
    width: auto;
    display: block;
    padding: 17px 22px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    font-size: 1.3rem;
  }
  .sidebar .brand-mark {
    width: 30px;
    height: 32px;
  }
  .sidebar .brand-mark svg {
    width: 23px;
    height: 23px;
  }
  .alpha {
    margin-left: 0;
  }
  .workspace-label,
  .sidebar-note {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    gap: 6px;
    margin-top: 20px;
  }
  .sidebar nav a {
    padding: 8px 11px;
    font-size: 0.79rem;
    white-space: nowrap;
  }
  .sidebar nav a .icon {
    width: 16px;
    height: 16px;
  }
  .account {
    position: absolute;
    top: 15px;
    right: 20px;
    border: 0;
    padding: 0;
  }
  .account > .avatar,
  .account > div {
    display: none;
  }
  .workspace main {
    margin-left: 0;
  }
  .topbar {
    height: 50px;
    padding-inline: 24px;
  }
  .content {
    padding: 28px 24px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .button {
    margin-top: 5px;
  }
  .breadcrumb {
    margin-bottom: 16px !important;
  }
  .form-layout {
    grid-template-columns: 1fr;
  }
  .form-aside {
    max-width: none;
    padding: 0 10px;
  }
  .form-aside dl {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
  }
  .form-aside dt,
  .form-aside dd {
    margin: 0;
  }
  .hero {
    gap: 20px;
    padding-top: 40px;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .public-header {
    padding: 24px 28px;
  }
  .public .content {
    padding: 20px 28px 30px;
  }
  .login-layout {
    gap: 25px;
    grid-template-columns: minmax(0, 1fr) 330px;
    margin-top: 25px;
  }
  .login-intro h1 {
    font-size: 2.2rem;
  }
  .login-capabilities > span:last-child {
    display: none;
  }
  .feature-strip {
    gap: 24px;
  }
}
@media (max-width: 700px) {
  .login-layout {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 12px auto 32px;
    gap: 28px;
  }
  .login-intro {
    text-align: center;
  }
  .login-wordmark {
    justify-content: center;
    margin-bottom: 15px;
  }
  .login-intro h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 13px;
  }
  .login-intro > p {
    font-size: 0.83rem;
    margin: auto;
    max-width: 38ch;
  }
  .login-intro .rack-visual {
    display: none;
  }
  .login-capabilities {
    display: none;
  }
  .login-card {
    padding: 27px;
  }
  .public-footer {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero-infrastructure {
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
  }
  .hero-infrastructure .rack-caption {
    margin-top: 8px;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}
@media (max-width: 600px) {
  .content {
    padding: 24px 17px;
  }
  .topbar {
    padding: 0 17px;
    justify-content: flex-end;
  }
  .topbar-title {
    display: none;
  }
  .sidebar nav a .icon {
    display: none;
  }
  .page-heading {
    display: block;
    margin-bottom: 24px;
  }
  .page-heading > .button,
  .page-heading > .pill {
    margin-top: 18px;
  }
  .page-heading h1 {
    font-size: 1.9rem;
  }
  .page-heading p {
    font-size: 0.86rem;
  }
  .summary-bar {
    grid-template-columns: 1fr 1fr;
  }
  .summary-bar > div {
    padding: 20px;
  }
  .summary-bar > div:nth-child(2) {
    border-right: 0;
  }
  .summary-bar > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .summary-bar strong {
    font-size: 1.9rem;
  }
  .summary-bar > div > span {
    font-size: 0.73rem;
  }
  .summary-bar > div > .icon {
    width: 18px;
    height: 18px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading .muted {
    font-size: 0.72rem;
    max-width: 125px;
    text-align: right;
  }
  .dashboard-bottom {
    grid-template-columns: 1fr;
  }
  .empty-state {
    padding: 32px 20px;
  }
  .empty-state p {
    font-size: 0.85rem;
  }
  .hosting-empty {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: center;
    padding: 0 22px 28px;
  }
  .empty-rack {
    flex: auto;
    max-width: 235px;
    width: 100%;
    margin: 5px 0 -12px;
  }
  .empty-copy {
    padding: 0;
  }
  .empty-copy p {
    margin-inline: auto;
  }
  .empty-copy h3 {
    font-size: 1.3rem;
  }
  .server-grid {
    grid-template-columns: 1fr;
  }
  .console-output {
    height: 320px;
    min-height: 320px;
    font-size: 0.73rem;
  }
  .service-controls dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }
  .service-controls dt,
  .service-controls dd {
    margin: 0;
  }
  .power-buttons {
    flex-wrap: nowrap;
  }
  .power-buttons .button {
    flex: 1;
  }
  .form-surface {
    padding: 23px;
  }
  .form-aside dl {
    display: block;
  }
  .form-aside dt {
    margin-top: 15px;
  }
  .node-row {
    padding: 20px;
    gap: 15px;
  }
  .node-row form,
  .node-row form button {
    width: 100%;
  }
  .node-description {
    min-width: 0;
  }
  .node-capacity {
    width: calc(100% - 63px);
    min-width: 0;
    margin-left: 63px;
  }
  .roadmap-item {
    padding: 22px 18px;
    gap: 15px;
  }
  .phase-number {
    font-size: 1.3rem;
    min-width: 25px;
  }
  .roadmap-item h2 {
    font-size: 1.05rem;
  }
  .public-header {
    padding: 22px;
  }
  .public-header nav {
    gap: 18px;
  }
  .public .content {
    padding: 20px 22px 28px;
  }
  .brand {
    font-size: 1.4rem;
  }
  .hero h1 {
    font-size: 2.9rem;
    letter-spacing: -1px;
  }
  .hero-copy > p {
    font-size: 0.95rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .feature-strip {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .feature-strip > div > span {
    margin-bottom: 8px;
  }
  .feature-strip p {
    max-width: none;
    margin-bottom: 0;
  }
  .notice {
    font-size: 0.81rem;
  }
  .form-footer {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Service storage workspace */
.server-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 30px;
  padding-bottom: 14px;
}
.server-tabs a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  color: var(--muted);
  border-radius: 7px;
}
.server-tabs a[aria-current="page"] {
  background: #2a2540;
  color: #d0c2ff;
}
.storage-guidance {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 21px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 0 0 24px;
  background: #141e30;
  color: var(--muted);
}
.storage-guidance .icon {
  color: var(--cyan);
  margin-top: 3px;
  flex-shrink: 0;
}
.storage-guidance p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
}
.file-location {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.file-location > span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.file-location > div {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
}
.file-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.file-row:last-child {
  border-bottom: 0;
}
.file-entry {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 150px;
}
.file-entry > div {
  min-width: 0;
}
.file-entry a,
.file-entry strong {
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}
.file-entry small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.75rem;
}
.file-download {
  font-size: 0.82rem;
}
.file-options {
  font-size: 0.83rem;
}
.file-options[open] {
  flex-basis: 100%;
}
.file-options summary,
.backup-options summary {
  cursor: pointer;
  color: var(--blue);
  padding: 6px 0;
}
.file-options-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 20px;
}
.file-options input:not([type="checkbox"]),
.backup-options input:not([type="checkbox"]) {
  width: 100%;
  margin: 8px 0 14px;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 0.85rem;
  margin: 14px 0;
  line-height: 1.6;
}
.check-label input {
  margin-top: 4px;
  flex-shrink: 0;
}
.storage-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0 32px;
}
.storage-tools > * {
  min-width: 0;
}
.storage-tools h2 {
  font-size: 1.12rem;
}
.storage-tools p {
  font-size: 0.85rem;
  line-height: 1.7;
}
.storage-tools input[type="file"] {
  width: 100%;
  padding: 12px;
  font-size: 0.8rem;
}
.storage-tools input[type="file"]::file-selector-button {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 6px 9px;
  margin-right: 12px;
  background: var(--raised);
  color: var(--ink);
}
.storage-empty {
  padding: 45px 28px;
  text-align: center;
}
.storage-empty .access-icon {
  margin: 0 auto 22px;
}
.storage-empty h2 {
  font-size: 1.2rem;
}
.storage-empty p {
  color: var(--muted);
  font-size: 0.9rem;
}
.editor-surface {
  overflow: hidden;
}
.editor-heading {
  padding: 23px;
}
.editor-heading label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.editor-heading input {
  width: 100%;
  font-family: Consolas, monospace;
}
.code-editor {
  display: block;
  width: 100%;
  min-height: 440px;
  resize: vertical;
  border-radius: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px;
  background: #090f1a;
  color: #bae0eb;
  font:
    14px/1.8 Consolas,
    monospace;
  tab-size: 2;
}
.editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
}
.editor-actions p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.backup-card {
  padding: 25px;
  margin-bottom: 18px;
}
.backup-title {
  display: flex;
  gap: 18px;
  align-items: center;
}
.backup-title > div {
  min-width: 0;
}
.backup-title h2 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.backup-title p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 6px;
}
.backup-title small {
  color: var(--muted);
  overflow-wrap: anywhere;
  font-size: 0.73rem;
}
.backup-options {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 15px;
}
.backup-options h3 {
  font-size: 1rem;
}
.backup-options label:not(.check-label) {
  font-size: 0.82rem;
}
@media (max-width: 700px) {
  .storage-tools,
  .file-options-body {
    grid-template-columns: 1fr;
  }
  .server-tabs {
    gap: 2px;
  }
  .server-tabs a {
    padding: 9px 11px;
    gap: 7px;
    font-size: 0.88rem;
  }
  .file-location {
    flex-direction: column;
  }
  .file-row {
    padding: 18px;
    gap: 14px;
  }
  .file-entry {
    flex-basis: 100%;
  }
  .editor-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .editor-actions .button {
    width: 100%;
  }
  .backup-card {
    padding: 20px;
  }
}
.editor-heading input,
.file-options-body input:not([type="checkbox"]),
.backup-options input:not([type="checkbox"]) {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--canvas);
  color: var(--ink);
  padding: 11px 13px;
  font: inherit;
}
.editor-heading input[readonly] {
  color: var(--muted);
}

/* Account and team access reuse the hosting workspace surfaces. */
.permission-grid { border: 1px solid var(--border, #30334b); border-radius: 12px; padding: 18px; margin: 20px 0; }
.permission-grid legend { padding: 0 8px; font-weight: 600; }
.permission-grid > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.permission-grid > div > div { display: block; }
.permission-grid label { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.permission-grid input[type=checkbox] { width: 16px; height: 16px; flex-shrink: 0; }
.team-member { margin-bottom: 16px; }
.team-remove { margin-top: 16px; }
.team-invite .field { max-width: 540px; }
@media (max-width: 540px) { .permission-grid > div { grid-template-columns: 1fr; } }

.storage-usage { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.storage-usage form { min-width: 180px; }
.schedule-card { margin-bottom: 18px; }
.schedule-history { min-width: 850px; }
.schedule-controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.schedule-form { margin: 28px 0; max-width: 800px; }
.schedule-card h2 { overflow-wrap: anywhere; }
.storage-usage form button { margin-top: 10px; }
.transfer-credentials { margin: 24px 0; }
.credential-secret { overflow-wrap: anywhere; padding: 16px; background: var(--bg, #0c1220); border-radius: 8px; }
.transfer-revoke { display: flex; gap: 20px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
[data-upload-progress] { width: 100%; accent-color: #b8a0ff; }
@media (max-width: 640px) { .storage-usage { flex-direction: column; } }

.application-card { padding: 28px; margin: 0 0 22px; min-width: 0; overflow-wrap: anywhere; }
.application-card h2 { margin: 0 0 12px; }
.application-card > p { color: var(--muted); line-height: 1.65; max-width: 85ch; }
.application-card form { max-width: 760px; min-width: 0; }
.application-card form p { margin: 20px 0; }
.application-card label { display: block; margin-bottom: 8px; font-weight: 600; }
.application-card input:not([type="hidden"]), .application-card select, .application-card textarea {
  display: block; width: 100%; max-width: 100%; min-width: 0; margin-top: 8px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--canvas);
  padding: 12px 14px; color: var(--ink); font: inherit; box-sizing: border-box;
}
.application-card input:focus, .application-card select:focus, .application-card textarea:focus {
  outline: 2px solid #b8a0ff; outline-offset: 2px;
}
.application-card article { padding: 18px 0; border-top: 1px solid var(--line); }
.application-card article h3 { margin: 0 0 8px; }
.application-card article p { margin: 8px 0; }
.application-card .helptext { display: block; color: var(--muted); margin-top: 8px; font-size: .88rem; }
.application-card .button { margin-top: 8px; }
@media (max-width: 640px) { .application-card { padding: 20px; } }
