@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap");
:root {
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  color: #e1e8f4;
  background: #0a0e16;
  font-size: 16px;
  line-height: 1.55;
  --blue: #549bff;
  --muted: #8d9bb0;
  --line: #242e40;
  --panel: #101722;
  --mono: "IBM Plex Mono", monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a,
button,
input,
select,
summary,
pre {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
pre:focus-visible {
  outline: 2px solid #69b8ff;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
header {
  height: 72px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  background: #0d131d;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f1f5fc;
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.6px;
  text-decoration: none;
}
.brandmark {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.version {
  font: 10px var(--mono);
  letter-spacing: 1px;
  color: #8494ac;
  border: 1px solid #344053;
  border-radius: 4px;
  padding: 3px 5px;
  margin-left: 2px;
}
.header-note {
  font-size: 13px;
  color: #75869e;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.header-actions {
  display: flex;
  gap: 9px;
  margin-left: auto;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #3886ee;
  background: #2679ee;
  color: white;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.button:hover:not(:disabled) {
  background: #3489ff;
  border-color: #5ba1ff;
}
.button.ghost {
  background: transparent;
  border-color: #303d51;
  color: #bac9dd;
}
.button.ghost:hover:not(:disabled) {
  background: #172235;
  border-color: #516783;
}
.button.subtle {
  background: #182334;
  border-color: #2d3e55;
  color: #dce9fa;
}
.button.subtle:hover:not(:disabled) {
  background: #223650;
}
.button.wide {
  width: 100%;
}
main {
  max-width: 1232px;
  padding: 30px 36px 0;
  margin: auto;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}
.heading h1 {
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: -0.8px;
  margin: 0;
  font-weight: 600;
}
.workspace-note {
  font: 12px var(--mono);
  color: #798ba5;
}
h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #edf3fc;
}
h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  color: #e9f0fa;
}
p {
  margin: 8px 0 16px;
  color: var(--muted);
}
.small {
  font-size: 13px;
  color: var(--muted);
}
.steps {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 5px;
  background: #0e1520;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 24px;
}
.steps button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 6px;
  padding: 11px;
  background: transparent;
  color: #96a4ba;
  font-size: 14px;
  font-weight: 500;
}
.steps button span {
  font: 12px var(--mono);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #354157;
  border-radius: 6px;
}
.steps button.active {
  background: #192c49;
  color: #a6cdff;
}
.steps button.active span {
  background: #2879ec;
  border-color: #2879ec;
  color: #fff;
}
.steps button:hover:not(:disabled):not(.active) {
  background: #172031;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  background: var(--panel);
  min-width: 0;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.tag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font: 12px var(--mono);
  color: #96a8bf;
  background: #172131;
  border: 1px solid #2b384c;
  padding: 4px 8px;
  border-radius: 5px;
}
.tag.blue,
.tag.green {
  color: #9cc9ff;
  background: #152b49;
  border-color: #274c78;
}
.tag.violet {
  color: #c1b7ff;
  background: #24203c;
  border-color: #403866;
}
.source-panel {
  max-width: 950px;
  margin: 0 auto;
  padding: 26px;
}
.drop {
  background: #0d1624;
  border: 1px dashed #355078;
  border-radius: 8px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 46px 20px 40px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.drop.drag {
  background: #172f51;
  border-color: #6dbbff;
}
.upload-icon {
  display: grid;
  place-items: center;
  background: #172a45;
  border: 1px solid #28456d;
  color: #7ab6ff;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 17px;
}
.upload-icon svg {
  width: 28px;
  height: 28px;
}
.drop h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.4px;
  overflow-wrap: anywhere;
}
.drop p {
  font-size: 13px;
  margin: 7px 0 23px;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.supported {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 23px 0;
  color: #7587a1;
  font-size: 12px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.chip {
  font: 12px var(--mono);
  background: #182130;
  color: #a4b4cd;
  border: 1px solid #253144;
  border-radius: 4px;
  padding: 4px 8px;
}
.chip span {
  margin-left: 7px;
  color: #627b9b;
}
.source-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  gap: 18px;
  font-size: 12px;
  color: #7d91ac;
}
.privacy-inline:before {
  content: "◈";
  margin-right: 8px;
  color: #65adfb;
}
.source-foot details {
  margin: 0;
  max-width: 370px;
}
.source-foot details[open] {
  align-self: start;
}
.source-foot p {
  font-size: 13px;
}
.more-stacks {
  position: relative;
  margin: 0;
}
.more-stacks summary {
  color: #8bacd4;
  font-size: 12px;
}
.more-stacks p {
  font-size: 13px;
  position: absolute;
  width: 230px;
  background: #1b2b40;
  border: 1px solid #3c5372;
  border-radius: 7px;
  padding: 14px;
  right: 0;
  z-index: 2;
  box-shadow: 0 8px 24px #0007;
}
.has-source {
  flex-direction: row;
  text-align: left;
  padding: 18px;
  gap: 16px;
}
.has-source .upload-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
  margin: 0;
}
.has-source .upload-icon svg {
  width: 22px;
  height: 22px;
}
.has-source .drop-copy {
  min-width: 0;
  flex: 1;
}
.has-source h3 {
  font-size: 15px;
}
.has-source p {
  margin: 3px 0 0;
  font-size: 12px;
}
.has-source .button {
  font-size: 12px;
  padding: 8px 12px;
}
.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 1.2px;
  color: #7c91ad;
  margin: 27px 0 12px;
}
.section-label span {
  font-size: 12px;
  letter-spacing: 0;
}
.languages {
  margin-bottom: 17px;
}
.component {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 10px;
  background: #121c2a;
}
.service-icon {
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font: 13px var(--mono);
  color: #7795b8;
  background: #1b2a3d;
  border: 1px solid #2b405a;
  border-radius: 8px;
}
.service-meta {
  flex: 1;
  min-width: 0;
}
.service-meta code {
  display: block;
  font-size: 12px;
  color: #8194ae;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.source-details {
  display: flex;
  gap: 25px;
  margin-top: 18px;
  align-items: flex-start;
}
.source-details details {
  flex: 1;
  min-width: 0;
}
.count {
  font: 11px var(--mono);
  background: #253046;
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 5px;
  color: #b2c5df;
}
details {
  font-size: 13px;
  color: #9fb0c8;
}
summary {
  cursor: pointer;
  line-height: 1.7;
}
details p {
  font-size: 13px;
  line-height: 1.8;
  margin: 12px 0 0;
}
summary:hover {
  color: #dbeaff;
}
.help {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 20px;
}
.warn {
  font-size: 13px;
  padding: 11px 13px;
  border: 1px solid #5c4b2c;
  background: #302818;
  color: #e8cb94;
  border-radius: 6px;
  margin: 12px 0;
}
.file-list {
  max-height: 210px;
  overflow: auto;
  padding: 12px 0;
  font: 12px/1.9 var(--mono);
  color: #9cafc8;
  overflow-wrap: anywhere;
}
.bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 20px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  align-items: start;
}
.layout > * {
  min-width: 0;
}
.server-panel {
  position: sticky;
  top: 20px;
}
.mode-options {
  display: flex;
  gap: 4px;
  border: 1px solid #29364b;
  background: #0c1320;
  padding: 4px;
  border-radius: 7px;
  margin-bottom: 20px;
}
.mode-options button {
  flex: 1;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #8296b1;
  padding: 8px 7px;
  font-size: 13px;
  white-space: nowrap;
}
.mode-options button.active {
  background: #203a60;
  color: #b6d6ff;
}
.mode-options button:hover:not(.active) {
  background: #142238;
  color: #b0c6e1;
}
.service-form {
  border: 1px solid #29354a;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 14px;
  background: #111b29;
}
.component-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.inline-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #e1ecfa;
}
.remove {
  background: none;
  border: 0;
  color: #8293ac;
  font-size: 12px;
  padding: 4px 0 4px 12px;
}
.remove:hover {
  color: #ffadb7;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.fields.single {
  grid-template-columns: 1fr;
}
.full {
  grid-column: 1/-1;
}
label {
  display: block;
  font-size: 13px;
  color: #9dacc2;
}
input,
select {
  width: 100%;
  min-width: 0;
  margin-top: 7px;
  border: 1px solid #31415a;
  border-radius: 6px;
  background: #0c1420;
  color: #dce9fa;
  padding: 9px 11px;
  font-size: 14px;
  line-height: 1.5;
}
input::placeholder {
  color: #526984;
}
input:disabled {
  color: #71839c;
  background: #121c2a;
}
input:focus,
select:focus {
  border-color: #4a91ec;
}
input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #388af5;
  margin: 0;
  flex-shrink: 0;
}
.check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  margin: 16px 0 0;
}
.runtime {
  margin-top: 16px;
  border-top: 1px solid #253247;
  padding-top: 13px;
}
.runtime summary {
  color: #a2bad8;
}
.runtime summary span {
  font: 11px var(--mono);
  color: #617d9f;
  float: right;
  max-width: 55%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.runtime .fields {
  margin-top: 15px;
}
.add-service {
  width: 100%;
  border-style: dashed !important;
}
.page-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.page-actions > span:empty {
  flex: 1;
}
.package-summary {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 18px;
}
.package-summary > div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.package-summary h2 {
  font-size: 18px;
  overflow-wrap: anywhere;
}
.package-summary > div > span {
  font-size: 13px;
  color: #8398b4;
  overflow-wrap: anywhere;
}
.package-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
}
.editor-panel {
  padding: 0;
  overflow: hidden;
}
.editor-panel > .panel-title {
  padding: 17px 18px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.file-editor {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  min-height: 480px;
}
.file-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 7px;
  background: #0e1622;
  border-right: 1px solid var(--line);
}
.file-tabs button {
  display: flex;
  gap: 8px;
  align-items: center;
  text-align: left;
  padding: 10px 8px;
  background: none;
  border: 0;
  border-radius: 5px;
  color: #8ca3c0;
  font: 11px var(--mono);
  overflow-wrap: anywhere;
}
.file-tabs button.active {
  background: #1a3150;
  color: #a6d0ff;
}
.file-tabs button:hover:not(.active) {
  background: #162538;
}
.file-icon {
  color: #6a8cb5;
  font-size: 15px;
}
.code-pane {
  min-width: 0;
  background: #0a111b;
}
.code-toolbar {
  height: 52px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #1e2c40;
}
.code-toolbar > span {
  font: 11px var(--mono);
  color: #718bab;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.code-toolbar .button {
  font-size: 11px;
  padding: 5px 8px;
  border-color: #253b57;
}
.code-toolbar .actions {
  flex-shrink: 0;
}
.code-pane pre {
  padding: 18px;
  margin: 0;
  height: 440px;
  overflow: auto;
  outline-offset: -3px;
  background: #0a111b;
  color: #a9c1de;
  font: 12px/1.85 var(--mono);
  tab-size: 2;
}
.package-options > h2 {
  margin-bottom: 18px;
}
.package-options .mode-options {
  margin-bottom: 16px;
}
.package-options .small {
  font-size: 13px;
  line-height: 1.8;
}
.bundle-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 20px 0 25px;
  font-size: 13px;
  color: #9caeca;
}
.bundle-list span:before {
  content: "✓";
  color: #619eff;
  margin-right: 10px;
}
.package-options .actions > .button {
  flex: 1;
}
.instructions {
  padding-left: 18px;
  font-size: 13px;
  color: #9fb2cf;
}
.instructions li {
  margin: 14px 0;
}
.transmission {
  border-left: 2px solid #2c5f9f;
  padding-left: 11px;
  margin: 17px 0;
}
.error-list {
  padding: 8px 20px 20px;
}
#job-view .component {
  display: block;
  padding: 12px;
}
#job-view .component-top {
  flex-wrap: wrap;
}
#job-view pre {
  font: 11px/1.7 var(--mono);
  max-height: 230px;
  overflow: auto;
  background: #0a111b;
  padding: 10px;
}
.notice {
  font-size: 13px;
  color: #b6d6ff;
  background: #142744;
  border: 1px solid #2f5282;
  border-radius: 7px;
  padding: 11px 15px;
  margin-bottom: 18px;
}
.notice.error {
  background: #332027;
  border-color: #663340;
  color: #ffc4ce;
}
code {
  font-family: var(--mono);
  font-size: 0.92em;
  color: #9ecbff;
  overflow-wrap: anywhere;
}
footer {
  max-width: 950px;
  margin: 35px auto 0;
  border-top: 1px solid #1c2839;
  padding: 19px 0;
  display: flex;
  justify-content: space-between;
  color: #4f6581;
  font: 11px var(--mono);
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  main {
    padding-top: 42px;
  }
}
@media (max-width: 1050px) {
  header {
    padding: 0 24px;
  }
  .header-note {
    display: none;
  }
  main {
    padding: 26px 24px 0;
  }
  .layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .package-layout {
    grid-template-columns: 1fr;
  }
  .package-layout > aside .panel {
    max-width: none;
  }
  .package-layout > aside .bundle-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .file-editor {
    min-height: 420px;
  }
  .code-pane pre {
    height: 390px;
  }
}
@media (max-width: 760px) {
  header {
    height: 66px;
    padding: 0 16px;
    gap: 8px;
  }
  .brand {
    font-size: 20px;
    gap: 7px;
  }
  .brandmark {
    width: 32px;
    height: 32px;
  }
  .version {
    display: none;
  }
  .header-actions {
    gap: 5px;
  }
  .header-actions .button {
    font-size: 11px;
    padding: 7px 9px;
  }
  main {
    padding: 22px 16px 0;
  }
  .heading {
    margin-bottom: 18px;
  }
  .heading h1 {
    font-size: 23px;
  }
  .workspace-note {
    font-size: 10px;
  }
  .steps {
    margin-bottom: 18px;
    gap: 3px;
  }
  .steps button {
    font-size: 12px;
    padding: 9px 4px;
    gap: 6px;
  }
  .steps button span {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }
  .panel,
  .source-panel {
    padding: 18px;
  }
  .drop {
    padding: 33px 12px 28px;
  }
  .drop h3 {
    font-size: 17px;
  }
  .supported {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 19px 0;
  }
  .source-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .has-source {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
  }
  .has-source .drop-copy {
    flex-basis: calc(100% - 60px);
  }
  .has-source .actions {
    width: 100%;
    justify-content: flex-end;
  }
  .source-details {
    flex-direction: column;
    gap: 12px;
  }
  .source-details details {
    width: 100%;
  }
  .component {
    padding: 12px;
    gap: 10px;
  }
  .component .tag {
    font-size: 10px;
    padding: 3px 6px;
  }
  .service-meta h3 {
    font-size: 14px;
  }
  .service-meta code {
    font-size: 11px;
  }
  .service-icon {
    width: 30px;
    height: 33px;
    font-size: 11px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .fields {
    gap: 12px;
  }
  .service-form {
    padding: 14px;
  }
  .runtime summary span {
    max-width: 45%;
  }
  .page-actions {
    gap: 10px;
  }
  .page-actions .small {
    font-size: 11px;
  }
  .package-summary > div {
    display: block;
  }
  .package-summary > div > span {
    display: block;
    margin-top: 4px;
  }
  .package-summary h2 {
    font-size: 16px;
  }
  .editor-panel {
    padding: 0;
  }
  .file-editor {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .file-tabs {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    gap: 5px;
    padding: 8px;
  }
  .file-tabs button {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 7px 9px;
  }
  .file-icon {
    display: none;
  }
  .code-toolbar {
    padding: 9px 11px;
  }
  .code-pane pre {
    height: 350px;
    padding: 14px;
    font-size: 11px;
  }
  .bottom-bar .small {
    font-size: 12px;
  }
  .more-stacks p {
    right: auto;
    left: 0;
  }
  .package-layout > aside .bundle-list {
    flex-direction: column;
  }
  .instructions {
    font-size: 13px;
  }
  footer {
    margin-top: 26px;
  }
  .header-actions .button.ghost {
    border-color: transparent;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.service-disclosure{padding:0;overflow:hidden}.service-disclosure>summary{display:flex;align-items:center;gap:12px;padding:16px 18px;list-style:none;color:#e0eafa}.service-disclosure>summary::-webkit-details-marker{display:none}.service-disclosure>summary:before{content:'›';font-size:20px;color:#6d88aa;line-height:1;transition:transform .15s}.service-disclosure[open]>summary:before{transform:rotate(90deg)}.service-disclosure[open]>summary{border-bottom:1px solid #26354a}.service-summary-name{font-weight:500;font-size:14px}.service-summary-meta{font:12px var(--mono);margin-left:auto;color:#7f9bbb}.service-content{padding:18px}.config-layout aside{position:sticky;top:20px}.page-actions{position:sticky;bottom:12px;background:#111b29ed;border:1px solid #29394f;border-radius:9px;padding:12px 16px;backdrop-filter:blur(16px);z-index:3}.source-panel{max-width:100%}.source-panel:not(:has(.has-source)){max-width:950px}.steps{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 13px}.steps button{flex:0 1 180px;justify-content:flex-start;padding:10px 14px}.steps button.active{background:#152b49}.steps button:disabled{opacity:.65}.button{min-height:38px}.file-tabs button{font-size:12px}.service-disclosure .runtime{border-radius:0;padding-bottom:0}@media(max-width:760px){.steps button{flex:1;justify-content:center;padding:9px 5px}.service-summary-meta{font-size:10px}.service-content{padding:14px}.config-layout aside{position:static}.page-actions{bottom:8px;padding:10px}.page-actions .small{display:none}.service-disclosure>summary{padding:14px}.source-panel{padding:18px}}@media(prefers-reduced-motion:reduce){.service-disclosure>summary:before{transition:none}}
:root{color-scheme:dark}.code-pane pre{font-size:13px}.package-layout~.page-actions{position:static;background:transparent;border:0;padding:4px 0;backdrop-filter:none}.service-summary-meta{overflow-wrap:anywhere}@media(max-width:760px){.code-pane pre{font-size:12px}}
