/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or
    ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *,
    :before,
    :after,
    ::backdrop {
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}
@layer theme {
  :root,
  :host {
    --spacing: 0.25rem;
    --default-font-family: var(--font-geist-sans);
    --default-mono-font-family: var(--font-geist-mono);
  }
}
@layer base {
  *,
  :after,
  :before,
  ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  html,
  :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(
      --default-font-family,
      ui-sans-serif,
      system-ui,
      sans-serif,
      "Apple Color Emoji",
      "Segoe UI Emoji",
      "Segoe UI Symbol",
      "Noto Color Emoji"
    );
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b,
  strong {
    font-weight: bolder;
  }
  code,
  kbd,
  samp,
  pre {
    font-family: var(
      --default-mono-font-family,
      ui-monospace,
      SFMono-Regular,
      Menlo,
      Monaco,
      Consolas,
      "Liberation Mono",
      "Courier New",
      monospace
    );
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(
      --default-mono-font-variation-settings,
      normal
    );
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub,
  sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol,
  ul,
  menu {
    list-style: none;
  }
  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    vertical-align: middle;
    display: block;
  }
  img,
  video {
    max-width: 100%;
    height: auto;
  }
  button,
  input,
  select,
  optgroup,
  textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not ((-webkit-appearance: -apple-pay-button))) or
    (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }
    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button,
  input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }
  ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button {
    height: auto;
  }
  ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer components;
@layer utilities {
  .invisible {
    visibility: hidden;
  }
  .visible {
    visibility: visible;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .hidden {
    display: none;
  }
  .table {
    display: table;
  }
  .rotate-90 {
    rotate: 90deg;
  }
  .resize {
    resize: both;
  }
  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,)
      var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,)
      var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
}
:root {
  --background: #060a0f;
  --foreground: #eff5fb;
  --panel: #0b1118;
  --panel-raised: #0f1721;
  --panel-soft: #121b26;
  --line: #202c39;
  --line-bright: #2c3b4b;
  --muted: #8493a5;
  --muted-2: #5e6c7b;
  --blue: #63a9ff;
  --blue-soft: #182d47;
  --green: #35d49a;
  --red: #ff6f7d;
  --amber: #ffbb57;
}
* {
  box-sizing: border-box;
}
html,
body {
  background: var(--background);
  width: 100%;
  min-height: 100%;
  color: var(--foreground);
  margin: 0;
}
body {
  font-family: var(--font-geist-sans, "Segoe UI"), Arial, Helvetica, sans-serif;
  overflow: hidden;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  color: inherit;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
}
@supports (color: color-mix(in lab, red, red)) {
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible,
  select:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--blue) 72%, transparent);
  }
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline-offset: 2px;
}
::selection {
  background: #63a9ff47;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: 0 0;
}
::-webkit-scrollbar-thumb {
  background: #263341 padding-box padding-box;
  border: 2px solid #0000;
  border-radius: 999px;
}
.visually-hidden {
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
  width: 1px !important;
  height: 1px !important;
  position: absolute !important;
  overflow: hidden !important;
}
.studio-shell {
  background:
    radial-gradient(circle at 70% -20%, #3a7bbe1f, #0000 28%), #060a0f;
  grid-template-rows: 58px minmax(0, 1fr) 25px;
  width: 100vw;
  height: 100dvh;
  display: grid;
  overflow: hidden;
}
.topbar {
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: #070c11f5;
  align-items: center;
  min-width: 0;
  padding: 0 9px;
  display: flex;
  box-shadow: 0 6px 24px #0000002e;
}
.brand {
  cursor: pointer;
  background: 0 0;
  border: 0;
  flex: none;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 12px 0 2px;
  display: flex;
}
.brand-icon {
  color: #07130e;
  background: linear-gradient(145deg, #56e8b1, #25b986);
  border: 1px solid #5aebb480;
  border-radius: 12px;
  place-items: center;
  width: 38px;
  height: 38px;
  display: grid;
  box-shadow:
    0 7px 20px #23c2873d,
    inset 0 1px #ffffff80;
}
.brand-copy {
  white-space: nowrap;
  align-items: baseline;
  gap: 6px;
  display: flex;
}
.brand-copy b {
  letter-spacing: -0.02em;
  font-size: 15px;
}
.brand-copy span {
  color: #b5c0cb;
  font-size: 13px;
  font-weight: 550;
}
.beta-badge {
  color: var(--green);
  letter-spacing: 0.08em;
  background: #35d49a14;
  border: 1px solid #35d49a45;
  border-radius: 5px;
  padding: 3px 5px 2px;
  font-size: 8px;
  font-weight: 800;
}
.project-chip {
  border: 1px solid var(--line);
  color: #c7d1dc;
  white-space: nowrap;
  background: #0c131b;
  border-radius: 9px;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin-left: 10px;
  padding: 6px 10px;
  font-size: 11px;
  display: flex;
}
.project-chip > span:nth-child(2) {
  text-overflow: ellipsis;
  max-width: 130px;
  font-weight: 650;
  overflow: hidden;
}
.project-chip small {
  color: var(--muted-2);
  font-size: 9px;
}
.status-dot {
  background: var(--green);
  border-radius: 50%;
  flex: none;
  width: 8px;
  height: 8px;
  display: inline-block;
  box-shadow: 0 0 0 4px #35d49a14;
}
.status-dot.is-running {
  animation: 1.4s infinite status-pulse;
}
@keyframes status-pulse {
  50% {
    box-shadow: 0 0 0 7px #35d49a00;
  }
}
.toolbar {
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-left: auto;
  display: flex;
}
.toolbar-button,
.apk-button {
  border: 1px solid var(--line);
  color: #aebac7;
  cursor: pointer;
  background: #0d151e;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 650;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s,
    transform 0.15s;
  display: inline-flex;
}
.toolbar-button:hover {
  color: #f1f6fb;
  border-color: var(--line-bright);
  background: #121d28;
}
.toolbar-button.is-active {
  color: #91c6ff;
  background: #1d497559;
  border-color: #63a9ff6e;
}
.toolbar-button.is-primary {
  color: #04140e;
  background: linear-gradient(#43dda4, #31c990);
  border-color: #36d69a;
  box-shadow: 0 6px 16px #1ecb8c29;
}
.toolbar-button.is-primary:hover {
  color: #03110c;
  background: #52e3ad;
  border-color: #5ce9b4;
  transform: translateY(-1px);
}
.toolbar-divider {
  background: var(--line);
  width: 1px;
  height: 22px;
  margin: 0 2px;
}
.apk-button {
  color: #d4e8ff;
  background: linear-gradient(#17314f, #11263d);
  border-color: #63a9ff73;
  position: relative;
}
.apk-button:hover {
  border-color: var(--blue);
  background: #1b3b5f;
}
.apk-button i {
  background: var(--amber);
  border: 2px solid #071019;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  position: absolute;
  top: -3px;
  right: -3px;
}
.mobile-panel-tabs {
  display: none;
}
.workspace {
  grid-template-columns: 218px minmax(420px, 1fr) minmax(580px, 0.95fr);
  gap: 7px;
  min-width: 0;
  min-height: 0;
  padding: 7px;
  display: grid;
  overflow: hidden;
}
.workspace.preview-only {
  grid-template-columns: minmax(0, 1fr);
}
.workspace.preview-only .project-panel,
.workspace.preview-only .editor-panel {
  display: none;
}
.panel {
  border: 1px solid var(--line);
  background: #0a1017fa;
  border-radius: 12px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  box-shadow:
    inset 0 1px #ffffff04,
    0 12px 38px #0000001f;
}
.panel-title {
  border-bottom: 1px solid var(--line);
  color: #cdd6e0;
  background: #0d151e;
  justify-content: space-between;
  align-items: center;
  height: 43px;
  padding: 0 11px 0 13px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
}
.panel-title > span,
.panel-title > div,
.panel-title > div > span {
  align-items: center;
  gap: 8px;
  display: flex;
}
.panel-title small {
  color: var(--green);
  letter-spacing: 0.08em;
  border: 1px solid #35d49a29;
  border-radius: 5px;
  padding: 2px 5px;
  font-size: 8px;
}
.icon-button {
  width: 29px;
  height: 29px;
  color: var(--muted);
  cursor: pointer;
  background: 0 0;
  border: 1px solid #0000;
  border-radius: 8px;
  flex: none;
  place-items: center;
  padding: 0;
  display: inline-grid;
}
.icon-button:hover {
  color: #e7eef6;
  border-color: var(--line);
  background: #131d28;
}
.project-panel {
  grid-template-rows: 43px minmax(0, 1fr);
  display: grid;
}
.project-scroll {
  min-height: 0;
  overflow: hidden auto;
}
.sidebar-section {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
}
.tree-root {
  color: #cbd5df;
  text-align: left;
  cursor: pointer;
  background: 0 0;
  border: 0;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 5px 4px;
  font-size: 11px;
  font-weight: 650;
  display: flex;
}
.rotate-90 {
  transform: rotate(90deg);
}
.file-tree {
  gap: 2px;
  margin: 4px 0 0 13px;
  padding-left: 13px;
  display: grid;
  position: relative;
}
.file-tree:before {
  content: "";
  background: #25313e;
  width: 1px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2px;
}
.file-tree button {
  color: #7f8e9e;
  min-width: 0;
  font-family: var(--font-geist-mono, "Cascadia Code"), monospace;
  cursor: pointer;
  background: 0 0;
  border: 1px solid #0000;
  border-radius: 7px;
  align-items: center;
  gap: 7px;
  padding: 7px;
  font-size: 9px;
  display: flex;
}
.file-tree button span {
  text-overflow: ellipsis;
  overflow: hidden;
}
.file-tree button:hover,
.file-tree button.is-active {
  color: #c8ddf4;
  background: #111d2a;
  border-color: #213044;
}
.sidebar-heading {
  color: #cbd5df;
  letter-spacing: 0.02em;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
  font-size: 10px;
  font-weight: 750;
  display: flex;
}
.sidebar-heading small {
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 500;
}
.palette-grid {
  gap: 5px;
  display: grid;
}
.palette-grid > button {
  color: #b4c0cc;
  text-align: left;
  cursor: pointer;
  background: #0d151e;
  border: 1px solid #1d2936;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 7px;
  transition:
    border-color 0.14s,
    background 0.14s,
    transform 0.14s;
  display: flex;
}
.palette-grid > button:hover {
  background: #111e2b;
  border-color: #63a9ff6b;
  transform: translate(2px);
}
.palette-icon {
  color: #8ac0fa;
  background: #122235;
  border: 1px solid #243a52;
  border-radius: 7px;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  display: grid;
}
.palette-grid > button > span:last-child {
  gap: 2px;
  min-width: 0;
  display: grid;
}
.palette-grid b {
  font-size: 10px;
  font-weight: 650;
}
.palette-grid small {
  color: #687788;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
  overflow: hidden;
}
.more-components {
  color: #7d8d9d;
  cursor: pointer;
  background: 0 0;
  border: 1px dashed #263441;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 100%;
  margin-top: 7px;
  padding: 7px;
  font-size: 9px;
  display: flex;
}
.more-components:hover {
  color: #b9c8d6;
  border-color: #3a4d5f;
}
.extra-palette {
  margin-top: 6px;
}
.project-settings {
  border-bottom: 0;
  gap: 8px;
  display: grid;
}
.field {
  color: #8795a5;
  gap: 5px;
  min-width: 0;
  font-size: 9px;
  display: grid;
}
.field input:not([type="range"]):not([type="color"]),
.field textarea,
.field select {
  color: #dce5ee;
  resize: vertical;
  background: #0a1118;
  border: 1px solid #24313e;
  border-radius: 8px;
  outline: 0;
  width: 100%;
  min-width: 0;
  padding: 8px 9px;
  font-size: 10px;
}
.field textarea {
  line-height: 1.45;
}
.field input:hover,
.field textarea:hover,
.field input:focus,
.field textarea:focus {
  border-color: #36516e;
}
.field small {
  color: var(--muted-2);
  font-size: 8px;
  line-height: 1.4;
}
.editor-panel {
  grid-template-rows: 43px minmax(0, 1fr);
  display: grid;
}
.editor-tabs {
  border-bottom: 1px solid var(--line);
  background: #0d151e;
  align-items: end;
  min-width: 0;
  display: flex;
  overflow: auto hidden;
}
.editor-tabs > button:not(.add-tab) {
  color: #788798;
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-right: 1px solid #192430;
  flex: none;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 12px;
  font-size: 9px;
  display: flex;
  position: relative;
}
.editor-tabs > button:not(.add-tab):hover {
  color: #b8c5d3;
  background: #101923;
}
.editor-tabs > button.is-active {
  color: #d7e7f7;
  background: #091018;
}
.editor-tabs > button.is-active:after {
  background: var(--blue);
  content: "";
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.editor-tabs button i {
  background: #3e4b59;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  margin-left: 2px;
}
.add-tab {
  color: #758393;
  cursor: pointer;
  background: 0 0;
  border: 0;
  flex: none;
  place-items: center;
  width: 38px;
  height: 42px;
  display: grid;
}
.structure-editor {
  background-color: #080e14;
  background-image:
    linear-gradient(#121b2680 1px, #0000 1px),
    linear-gradient(90deg, #121b2680 1px, #0000 1px), none;
  background-position:
    0 0,
    0 0,
    0 0;
  background-repeat: repeat, repeat, repeat;
  background-size: 28px 28px;
  background-attachment: scroll, scroll, scroll;
  background-origin: padding-box, padding-box, padding-box;
  background-clip: border-box, border-box, border-box;
  min-height: 0;
  padding: 24px;
  overflow: hidden auto;
}
.structure-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto 18px;
  display: flex;
}
.section-kicker {
  color: var(--blue);
  letter-spacing: 0.14em;
  margin-bottom: 5px;
  font-size: 8px;
  font-weight: 800;
  display: block;
}
.structure-header h2 {
  letter-spacing: -0.03em;
  margin: 0;
  font-size: 18px;
}
.structure-header p {
  max-width: 500px;
  color: var(--muted);
  margin: 5px 0 0;
  font-size: 10px;
  line-height: 1.55;
}
.component-count {
  color: #8d9bab;
  border: 1px solid var(--line);
  background: #0b131b;
  border-radius: 7px;
  flex: none;
  padding: 6px 8px;
  font-size: 9px;
}
.screen-outline {
  background: #080e14f5;
  border: 1px solid #273543;
  border-radius: 12px;
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 18px 48px #0000002e;
}
.outline-root {
  border-bottom: 1px solid var(--line);
  background: #101922;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 8px 12px;
  display: flex;
}
.outline-icon {
  width: 31px;
  height: 31px;
  color: var(--green);
  background: #35d49a14;
  border: 1px solid #35d49a3d;
  border-radius: 8px;
  place-items: center;
  display: grid;
}
.outline-root > span:nth-child(2) {
  gap: 2px;
  min-width: 0;
  display: grid;
}
.outline-root b {
  color: #dce5ee;
  font-size: 10px;
}
.outline-root small {
  color: #718091;
  font-family: var(--font-geist-mono, "Cascadia Code"), monospace;
  font-size: 8px;
}
.outline-root .icon-button {
  margin-left: auto;
}
.node-list {
  padding: 8px;
}
.node-row {
  cursor: pointer;
  background: #0b1219;
  border: 1px solid #0000;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  margin-bottom: 4px;
  padding: 5px 7px;
  transition:
    border-color 0.13s,
    background 0.13s,
    opacity 0.13s;
  display: flex;
}
.node-row:hover {
  background: #0e1822;
  border-color: #273747;
}
.node-row.is-selected {
  box-shadow: inset 3px 0 var(--blue);
  background: #17335161;
  border-color: #63a9ff94;
}
.node-row.is-dragging {
  opacity: 0.45;
}
.drag-handle {
  color: #536171;
  cursor: grab;
  place-items: center;
  width: 18px;
  display: grid;
}
.node-index {
  color: #586675;
  width: 18px;
  font-family: var(--font-geist-mono, "Cascadia Code"), monospace;
  text-align: center;
  font-size: 8px;
}
.node-type {
  color: #85baf1;
  background: #122235;
  border: 1px solid #253a51;
  border-radius: 7px;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  display: grid;
}
.node-type.type-button {
  color: #4edca6;
  background: #35d49a14;
  border-color: #35d49a40;
}
.node-type.type-card {
  color: #c9a1ff;
  background: #9150ef17;
  border-color: #ad78ff42;
}
.node-copy {
  gap: 2px;
  min-width: 0;
  display: grid;
}
.node-copy b {
  color: #cbd5df;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 600;
  overflow: hidden;
}
.node-copy small {
  color: #647383;
  font-family: var(--font-geist-mono, "Cascadia Code"), monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 7px;
  overflow: hidden;
}
.hidden-badge {
  color: #8c98a5;
  border: 1px solid #27323d;
  border-radius: 5px;
  margin-left: auto;
  padding: 3px 5px;
  font-size: 7px;
}
.node-actions {
  opacity: 0;
  margin-left: auto;
  transition: opacity 0.13s;
  display: flex;
}
.node-row:hover .node-actions,
.node-row.is-selected .node-actions {
  opacity: 1;
}
.node-actions button {
  color: #788797;
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 6px;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  display: grid;
}
.node-actions button:hover:not(:disabled) {
  color: #dfe8f1;
  background: #1b2a39;
}
.node-actions button:disabled {
  opacity: 0.2;
}
.designer-tip {
  color: #8f9dad;
  background: #142b4340;
  border: 1px solid #63a9ff2b;
  border-radius: 10px;
  align-items: flex-start;
  gap: 10px;
  max-width: 760px;
  margin: 14px auto 0;
  padding: 12px;
  display: flex;
}
.designer-tip > span {
  width: 29px;
  height: 29px;
  color: var(--blue);
  background: #63a9ff1f;
  border-radius: 8px;
  flex: none;
  place-items: center;
  display: grid;
}
.designer-tip b {
  color: #c5d7e9;
  margin: 1px 0 3px;
  font-size: 9px;
  display: block;
}
.designer-tip p {
  margin: 0;
  font-size: 8px;
  line-height: 1.5;
}
.code-editor {
  background: #060b10;
  grid-template-rows: 38px minmax(0, 1fr) 24px;
  min-height: 0;
  display: grid;
}
.code-toolbar {
  background: #0a1118;
  border-bottom: 1px solid #17212b;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 0 9px 0 13px;
  display: flex;
}
.code-toolbar > span {
  color: #95a3b2;
  font-size: 9px;
}
.code-toolbar > span i {
  color: #526170;
  margin-left: 7px;
  font-style: normal;
}
.code-toolbar > div {
  gap: 5px;
  display: flex;
}
.code-toolbar button {
  color: #92a1b1;
  cursor: pointer;
  background: #0e1720;
  border: 1px solid #21303e;
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  font-size: 8px;
  display: inline-flex;
}
.code-toolbar button:hover {
  color: #dce6ef;
  border-color: #35506a;
}
.code-shell {
  grid-template-columns: 48px minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  display: grid;
  overflow: hidden;
}
.line-numbers {
  color: #3d4c5b;
  height: 100%;
  font-family: var(--font-geist-mono, "Cascadia Code"), monospace;
  text-align: right;
  -webkit-user-select: none;
  user-select: none;
  background: #080d13;
  border-right: 1px solid #17212b;
  margin: 0;
  padding: 14px 11px 80px 0;
  font-size: 11px;
  line-height: 1.65;
  overflow: hidden;
}
.code-shell textarea {
  color: #c4d8ec;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  caret-color: var(--green);
  font-family:
    var(--font-geist-mono, "Cascadia Code"), "Cascadia Code", monospace;
  resize: none;
  tab-size: 4;
  white-space: pre;
  background: radial-gradient(circle at 95% 5%, #316ca714, #0000 24%), #060b10;
  border: 0;
  outline: 0;
  padding: 14px 16px 80px;
  font-size: 11px;
  line-height: 1.65;
  overflow: auto;
}
.code-footer {
  color: #586675;
  background: #0b1219;
  border-top: 1px solid #17212b;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  padding: 0 10px;
  font-size: 8px;
  display: flex;
}
.preview-panel {
  grid-template-rows: 43px minmax(0, 1fr);
  display: grid;
  position: relative;
}
.preview-title > div {
  gap: 6px;
  display: flex;
}
.device-select {
  color: #8493a2;
  background: #0a1118;
  border: 1px solid #24313f;
  border-radius: 8px;
  align-items: center;
  gap: 5px;
  height: 29px;
  padding: 0 7px;
  display: flex;
}
.device-select select {
  color: #aab6c3;
  cursor: pointer;
  background: 0 0;
  border: 0;
  outline: 0;
  max-width: 94px;
  font-size: 9px;
}
.device-select option {
  background: #0c141c;
}
.preview-body {
  background: #0a1017;
  grid-template-columns: minmax(300px, 1fr) 0;
  min-width: 0;
  min-height: 0;
  transition: grid-template-columns 0.18s;
  display: grid;
  position: relative;
  overflow: hidden;
}
.preview-body.has-inspector {
  grid-template-columns: minmax(300px, 1fr) 245px;
}
.phone-stage {
  background: radial-gradient(circle at 50% 44%, #36659729, #0000 34%), #0b1219;
  place-items: center;
  min-width: 0;
  min-height: 0;
  display: grid;
  position: relative;
  overflow: hidden;
}
.stage-grid {
  opacity: 0.35;
  pointer-events: none;
  background-image:
    linear-gradient(#36485b21 1px, #0000 1px),
    linear-gradient(90deg, #36485b21 1px, #0000 1px);
  background-size: 24px 24px;
  position: absolute;
  inset: 0;
}
.phone-frame {
  z-index: 2;
  background: linear-gradient(145deg, #25313c, #111821 48%, #34414c);
  border: 1px solid #354453;
  border-radius: 36px;
  width: min(282px, 100% - 36px);
  height: min(610px, 100% - 34px);
  min-height: 440px;
  padding: 7px;
  position: relative;
  box-shadow:
    0 30px 80px #0000008c,
    inset 0 0 0 1px #ffffff14;
}
.phone-frame.device-galaxy-s24 {
  border-radius: 30px;
}
.phone-frame.device-compact {
  width: min(250px, 100% - 42px);
  height: min(540px, 100% - 42px);
}
.phone-speaker {
  z-index: 5;
  background: #11171e;
  border-radius: 999px;
  width: 56px;
  height: 5px;
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translate(-50%);
  box-shadow: 0 1px #ffffff14;
}
.phone-screen {
  background: #090d12;
  border: 1px solid #0c1117;
  border-radius: 29px;
  grid-template-rows: 22px 38px minmax(0, 1fr) 20px;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  position: relative;
  overflow: hidden;
}
.device-galaxy-s24 .phone-screen {
  border-radius: 23px;
}
.android-status {
  color: #dfe6ed;
  letter-spacing: 0.03em;
  background: #090d12;
  justify-content: space-between;
  align-items: end;
  padding: 0 13px 3px;
  font-size: 6px;
  font-weight: 650;
  display: flex;
}
.phone-appbar {
  color: #edf4fa;
  background: #0b1016;
  border-bottom: 1px solid #2c3b4b80;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  font-size: 9px;
  font-weight: 650;
  display: grid;
}
.phone-appbar > span:nth-child(2) {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.phone-appbar > span:last-child {
  color: #6f7d8c;
  letter-spacing: 0.1em;
}
.mini-ai-icon {
  color: #07150f;
  background: var(--green);
  border-radius: 6px;
  place-items: center;
  width: 19px;
  height: 19px;
  display: grid;
}
.phone-content {
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  padding: 16px 16px 30px;
  display: flex;
  overflow: hidden auto;
}
.phone-node {
  cursor: pointer;
  flex: none;
  max-width: 100%;
  line-height: 1.35;
  transition:
    box-shadow 0.13s,
    transform 0.13s;
  position: relative;
}
.phone-node:hover {
  box-shadow: 0 0 0 1px #63a9ff6b;
}
.phone-node.is-selected {
  z-index: 3;
  box-shadow:
    0 0 0 2px #63a9ff,
    0 0 0 5px #63a9ff24;
}
.phone-node.is-selected:before {
  z-index: 5;
  background: var(--blue);
  content: "";
  border: 1px solid #e8f3ff;
  width: 5px;
  height: 5px;
  position: absolute;
  top: -7px;
  left: -7px;
}
.phone-node-logo img {
  object-fit: cover;
  border-radius: 7px;
  width: 100%;
  height: 118px;
  display: block;
}
.phone-image-placeholder {
  color: #7f91a3;
  background:
    linear-gradient(135deg, #63a9ff0e, transparent 55%),
    #111a24;
  border: 1px dashed #34495d;
  border-radius: 8px;
  place-items: center;
  gap: 5px;
  width: 100%;
  min-height: 105px;
  font-size: 8px;
  display: grid;
}
.phone-image-placeholder b {
  font-weight: 600;
}
.phone-eyebrow {
  letter-spacing: 0.11em;
}
.phone-card-label {
  color: #6faef5;
  letter-spacing: 0.09em;
  font-size: 8px;
  font-weight: 700;
  display: block;
}
.phone-card-value {
  color: inherit;
  margin-top: 9px;
  font-size: 10px;
  display: block;
}
.phone-language-row {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  margin-top: 11px;
  display: grid;
}
.phone-language-row span:not(.phone-arrow) {
  background: #171e27;
  border-radius: 10px;
  place-items: center;
  min-height: 35px;
  padding: 0 5px;
  font-size: 9px;
  display: grid;
}
.phone-arrow {
  color: var(--blue);
}
.phone-node-button {
  cursor: pointer;
  border: 0;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  display: flex;
  position: relative;
  overflow: hidden;
}
.run-pulse {
  background: var(--green);
  border: 2px solid #07181180;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  animation: 1s infinite run-dot;
  position: absolute;
  right: 10px;
}
@keyframes run-dot {
  50% {
    transform: scale(1.5);
  }
}
.phone-placeholder {
  color: #718093;
}
.spacer-node {
  border: 1px dashed #0000;
}
.spacer-node:hover,
.spacer-node.is-selected {
  border-color: #63a9ff80;
}
.phone-switch-row {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 26px;
  display: flex;
}
.phone-switch {
  background: #2a3540;
  border-radius: 999px;
  flex: none;
  width: 30px;
  height: 17px;
  transition: background 0.16s;
  position: relative;
}
.phone-switch span {
  background: #93a0ae;
  border-radius: 50%;
  width: 11px;
  height: 11px;
  transition:
    transform 0.16s,
    background 0.16s;
  position: absolute;
  top: 3px;
  left: 3px;
}
.phone-switch.is-on {
  background: #35d49a59;
}
.phone-switch.is-on span {
  background: var(--green);
  transform: translate(13px);
}
.android-nav {
  background: #090d12;
  place-items: start center;
  display: grid;
}
.android-nav span {
  background: #8f99a3;
  border-radius: 99px;
  width: 72px;
  height: 3px;
  margin-top: 7px;
}
.running-banner {
  z-index: 8;
  color: #b6f3dc;
  background: #0a271ded;
  border: 1px solid #35d49a40;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  font-size: 7px;
  display: flex;
  position: absolute;
  bottom: 27px;
  left: 10px;
  right: 10px;
}
.running-banner span {
  background: var(--green);
  border-radius: 50%;
  width: 5px;
  height: 5px;
}
.zoom-label {
  color: #5f6e7e;
  font-family: var(--font-geist-mono, "Cascadia Code"), monospace;
  background: #0a1118;
  border: 1px solid #202d3a;
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 7px;
  position: absolute;
  bottom: 8px;
  right: 10px;
}
.inspector {
  border-left: 0 solid var(--line);
  opacity: 0;
  background: #0c131b;
  min-width: 0;
  min-height: 0;
  transition:
    opacity 0.17s,
    transform 0.17s,
    border-width 0.17s;
  overflow: hidden auto;
  transform: translate(12px);
}
.inspector.is-open {
  opacity: 1;
  border-left-width: 1px;
  padding: 13px 12px 30px;
  transform: translate(0);
}
.inspector-heading {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 11px;
  display: flex;
}
.inspector-heading strong {
  color: #d7e1ea;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 165px;
  font-size: 11px;
  display: block;
  overflow: hidden;
}
.inspector .field {
  margin-bottom: 12px;
}
.image-node-picker {
  background: #091018;
  border: 1px solid #243441;
  border-radius: 9px;
  gap: 8px;
  margin-bottom: 13px;
  padding: 8px;
  display: grid;
}
.image-node-preview {
  background: #111b24;
  border: 1px solid #2c3c4b;
  border-radius: 7px;
  place-items: center;
  min-height: 92px;
  display: grid;
  overflow: hidden;
}
.image-node-preview img {
  object-fit: cover;
  width: 100%;
  height: 112px;
  display: block;
}
.image-node-preview span {
  color: #6e8091;
  place-items: center;
  gap: 5px;
  font-size: 8px;
  display: grid;
}
.image-picker-actions {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 6px;
  display: grid;
}
.image-picker-actions button {
  color: #9eb0c0;
  cursor: pointer;
  background: #111c26;
  border: 1px solid #2b3d4d;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  min-height: 31px;
  padding: 6px;
  font-size: 7px;
  display: flex;
}
.image-picker-actions button.primary-image-action {
  color: #07131e;
  background: #63a9ff;
  border-color: #63a9ff;
  font-weight: 750;
}
.image-picker-actions button.image-download {
  color: #9fd9ff;
  background: #102235;
  border-color: #285477;
  grid-column: 1/-1;
}
.image-node-picker > small {
  color: #667788;
  line-height: 1.45;
  font-size: 7px;
}
.property-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  display: grid;
}
.color-field {
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 5px;
  min-width: 0;
  display: grid;
}
.color-field input[type="color"] {
  cursor: pointer;
  background: #0a1118;
  border: 1px solid #263442;
  border-radius: 7px;
  width: 30px;
  height: 31px;
  padding: 3px;
}
.number-field {
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 5px;
  display: grid;
}
.number-field input {
  width: 100%;
  accent-color: var(--blue);
}
.number-field b {
  color: #bac7d4;
  font-family: var(--font-geist-mono, "Cascadia Code"), monospace;
  text-align: right;
  font-size: 8px;
}
.segmented {
  background: #091018;
  border: 1px solid #253341;
  border-radius: 7px;
  grid-template-columns: repeat(3, 1fr);
  display: grid;
  overflow: hidden;
}
.segmented button {
  color: #708091;
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-right: 1px solid #253341;
  min-width: 0;
  padding: 7px 3px;
  font-size: 8px;
}
.segmented button:last-child {
  border-right: 0;
}
.segmented button.is-active {
  color: #cce6ff;
  background: #18314b;
}
.toggle-row {
  cursor: pointer;
  background: #0a1118;
  border: 1px solid #23303d;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 4px 0 14px;
  padding: 9px;
  display: flex;
}
.toggle-row > span {
  gap: 2px;
  display: grid;
}
.toggle-row b {
  color: #c1ccd7;
  font-size: 9px;
}
.toggle-row small {
  color: #657383;
  font-size: 7px;
}
.toggle-row input {
  width: 28px;
  accent-color: var(--green);
}
.inspector-actions {
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  display: grid;
}
.inspector-actions button {
  color: #9aabba;
  cursor: pointer;
  background: #101923;
  border: 1px solid #253341;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px;
  font-size: 8px;
  display: flex;
}
.inspector-actions button:hover {
  color: #e5edf5;
  border-color: #3a4d60;
}
.inspector-actions button.danger {
  color: #e88c97;
  background: #ff6f7d0f;
  border-color: #ff6f7d38;
}
.empty-inspector {
  color: #718091;
  text-align: center;
  place-items: center;
  padding: 50px 18px;
  display: grid;
}
.empty-inspector .empty-icon {
  color: #6f8091;
  background: #111b25;
  border: 1px solid #273543;
  border-radius: 13px;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 11px;
  display: grid;
}
.empty-inspector strong {
  color: #b5c1cd;
  font-size: 10px;
}
.empty-inspector p {
  margin: 5px 0 0;
  font-size: 8px;
  line-height: 1.55;
}
.statusbar {
  z-index: 30;
  color: #607080;
  background: #081018;
  border-top: 1px solid #1b2733;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 11px;
  font-size: 8px;
  display: flex;
}
.statusbar > span {
  white-space: nowrap;
  align-items: center;
  gap: 5px;
  display: flex;
}
.statusbar > span:first-child {
  color: #7f9c90;
}
.statusbar .status-center {
  color: #748ba0;
}
.status-center i {
  background: var(--green);
  border-radius: 50%;
  width: 5px;
  height: 5px;
}
.statusbar b {
  color: #7d8b99;
  font-weight: 600;
}
.offline-dot {
  background: var(--amber);
  border-radius: 50%;
  width: 5px;
  height: 5px;
}
.modal-backdrop {
  z-index: 100;
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  background: #020508c2;
  place-items: center;
  padding: 20px;
  animation: 0.15s fade-in;
  display: grid;
  position: fixed;
  inset: 0;
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
}
.modal-card {
  background: radial-gradient(circle at 100% 0, #447fbb24, #0000 30%), #0d151e;
  border: 1px solid #2b3b4b;
  border-radius: 17px;
  width: min(430px, 100%);
  padding: 27px;
  position: relative;
  box-shadow: 0 35px 100px #0000009e;
}
.modal-card.build-modal {
  width: min(580px, 100%);
}
.modal-close {
  color: #7d8c9b;
  cursor: pointer;
  background: #101923;
  border: 1px solid #253341;
  border-radius: 8px;
  place-items: center;
  width: 30px;
  height: 30px;
  display: grid;
  position: absolute;
  top: 13px;
  right: 13px;
}
.modal-icon {
  border-radius: 13px;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 15px;
  display: grid;
}
.modal-icon.warning {
  color: var(--amber);
  background: #ffbb5714;
  border: 1px solid #ffbb573d;
}
.modal-icon.android-green {
  color: #06150e;
  background: var(--green);
  flex: none;
  margin: 0;
  box-shadow: 0 9px 25px #35d49a33;
}
.modal-card h2 {
  color: #edf4fb;
  letter-spacing: -0.035em;
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}
.modal-card > p,
.build-intro {
  color: #8e9cab;
  margin: 11px 0 0;
  font-size: 11px;
  line-height: 1.65;
}
.modal-actions {
  justify-content: flex-end;
  gap: 8px;
  margin-top: 22px;
  display: flex;
}
.modal-actions button {
  color: #9dacbb;
  cursor: pointer;
  background: #111b25;
  border: 1px solid #293847;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 13px;
  font-size: 10px;
  font-weight: 650;
  display: inline-flex;
}
.modal-actions button:hover {
  color: #e6eef6;
  border-color: #415568;
}
.modal-actions .primary-action {
  color: #06131f;
  border-color: var(--blue);
  background: var(--blue);
}
.modal-actions .primary-action:hover {
  color: #06131f;
  background: #83bcff;
}
.build-heading {
  align-items: center;
  gap: 13px;
  padding-right: 28px;
  display: flex;
}
.build-heading .section-kicker {
  margin-bottom: 4px;
}
.build-pipeline {
  grid-template-columns: 1fr 20px 1fr 20px 1fr;
  align-items: center;
  margin-top: 21px;
  display: grid;
}
.build-pipeline > i {
  background: #2b3946;
  height: 1px;
}
.pipeline-step {
  background: #0a1118;
  border: 1px solid #263542;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  min-height: 67px;
  padding: 9px;
  display: flex;
}
.pipeline-step > span {
  color: #677687;
  background: #121b24;
  border: 1px solid #2a3744;
  border-radius: 8px;
  flex: none;
  place-items: center;
  width: 29px;
  height: 29px;
  font-size: 7px;
  font-weight: 800;
  display: grid;
}
.pipeline-step > div {
  gap: 3px;
  display: grid;
}
.pipeline-step b {
  color: #b7c3cf;
  font-size: 8px;
}
.pipeline-step small {
  color: #647281;
  font-size: 7px;
  line-height: 1.3;
}
.pipeline-step.is-done {
  background: #19433426;
  border-color: #35d49a40;
}
.pipeline-step.is-done > span {
  color: #092319;
  border-color: var(--green);
  background: var(--green);
}
.pipeline-step.needs-setup {
  border-color: #ffbb5747;
}
.pipeline-step.needs-setup > span {
  color: var(--amber);
  background: #ffbb5714;
  border-color: #ffbb5740;
}
.pages-note {
  color: #8ea6bc;
  background: #1f456a2e;
  border: 1px solid #63a9ff2e;
  border-radius: 9px;
  align-items: flex-start;
  gap: 8px;
  margin-top: 13px;
  padding: 10px 11px;
  font-size: 9px;
  line-height: 1.5;
  display: flex;
}
.pages-note svg {
  color: var(--blue);
  flex: none;
}
.modal-logo-wrap {
  background: #f2f7f4;
  border-radius: 11px;
  place-items: center;
  width: 150px;
  min-height: 49px;
  margin-bottom: 18px;
  padding: 8px 12px;
  display: grid;
}
.modal-logo-wrap img {
  width: 122px;
  height: auto;
  display: block;
}
.about-badges {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 17px;
  display: flex;
}
.about-badges span {
  color: #8fa2b5;
  background: #101922;
  border: 1px solid #293846;
  border-radius: 7px;
  padding: 5px 7px;
  font-size: 8px;
}
.toast {
  z-index: 120;
  color: #c9d5df;
  opacity: 0;
  pointer-events: none;
  background: #0d1720f5;
  border: 1px solid #314253;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  max-width: min(420px, 100vw - 30px);
  padding: 9px 13px 9px 9px;
  font-size: 10px;
  transition:
    opacity 0.18s,
    transform 0.18s;
  display: flex;
  position: fixed;
  bottom: 42px;
  left: 50%;
  transform: translate(-50%, 12px);
  box-shadow: 0 16px 45px #00000073;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%);
}
.toast > span {
  color: #062016;
  background: var(--green);
  border-radius: 7px;
  place-items: center;
  width: 24px;
  height: 24px;
  display: grid;
}
@media (width<=1420px) {
  .workspace {
    grid-template-columns: 200px minmax(390px, 1fr) minmax(430px, 0.82fr);
  }
  .preview-body.has-inspector {
    grid-template-columns: minmax(280px, 1fr) 222px;
  }
  .toolbar-button {
    width: 34px;
    padding: 0;
  }
  .toolbar-button span,
  .brand-copy span,
  .beta-badge {
    display: none;
  }
}
@media (width<=1120px) {
  .project-chip {
    display: none;
  }
  .workspace {
    grid-template-columns: 190px minmax(370px, 1fr) 400px;
  }
  .preview-body.has-inspector {
    grid-template-columns: 1fr;
  }
  .inspector {
    z-index: 12;
    border: 1px solid var(--line);
    pointer-events: none;
    border-radius: 10px;
    width: 238px;
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 10px;
    box-shadow: -14px 0 40px #0000006b;
  }
  .inspector.is-open {
    pointer-events: auto;
    border-left-width: 1px;
  }
  .phone-frame {
    width: min(260px, 100% - 30px);
  }
}
@media (width<=900px) {
  body {
    overflow: hidden;
  }
  .studio-shell {
    grid-template-rows: 54px 42px minmax(0, 1fr) 25px;
  }
  .topbar {
    padding: 0 7px;
  }
  .brand {
    padding-right: 4px;
  }
  .brand-copy,
  .beta-badge {
    display: none;
  }
  .brand-icon {
    width: 35px;
    height: 35px;
  }
  .toolbar {
    gap: 4px;
    margin-left: auto;
  }
  .toolbar-divider,
  .toolbar-button:first-of-type,
  .toolbar-button:nth-of-type(4),
  .toolbar-button:nth-of-type(5),
  .toolbar-button:nth-of-type(7) {
    display: none;
  }
  .toolbar-button,
  .apk-button {
    width: 34px;
    padding: 0;
  }
  .toolbar-button span,
  .apk-button span {
    display: none;
  }
  .mobile-panel-tabs {
    border-bottom: 1px solid var(--line);
    background: #080e14;
    grid-template-columns: repeat(3, 1fr);
    padding: 5px 7px;
    display: grid;
  }
  .mobile-panel-tabs button {
    color: #718193;
    cursor: pointer;
    background: 0 0;
    border: 1px solid #0000;
    border-radius: 7px;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    display: flex;
  }
  .mobile-panel-tabs button.is-active {
    color: #c8e3ff;
    background: #12253a;
    border-color: #29435e;
  }
  .workspace,
  .workspace.preview-only {
    padding: 5px;
    display: block;
    overflow: hidden;
  }
  .workspace > .panel,
  .workspace.preview-only > .panel {
    width: 100%;
    height: 100%;
    display: none;
  }
  .workspace[data-mobile-panel="project"] .project-panel,
  .workspace[data-mobile-panel="editor"] .editor-panel,
  .workspace[data-mobile-panel="preview"] .preview-panel {
    display: grid;
  }
  .project-panel {
    grid-template-rows: 43px minmax(0, 1fr) !important;
  }
  .palette-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .structure-editor {
    padding: 15px;
  }
  .preview-body.has-inspector {
    grid-template-columns: 1fr;
  }
  .phone-frame {
    width: min(282px, 100% - 28px);
    height: min(590px, 100% - 28px);
  }
  .inspector {
    width: min(270px, 100% - 16px);
    top: 8px;
    bottom: 8px;
    right: 8px;
  }
  .status-center {
    display: none !important;
  }
}
@media (width<=560px) {
  .editor-tabs > button:not(.add-tab) {
    padding: 0 9px;
  }
  .editor-tabs > button span {
    text-overflow: ellipsis;
    max-width: 90px;
    overflow: hidden;
  }
  .structure-header {
    display: block;
  }
  .component-count {
    margin-top: 10px;
    display: inline-block;
  }
  .node-index {
    display: none;
  }
  .node-actions {
    opacity: 1;
  }
  .phone-frame {
    min-height: 410px;
  }
  .statusbar > span:last-child {
    display: none;
  }
  .build-pipeline {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .build-pipeline > i {
    width: 1px;
    height: 8px;
    margin-left: 24px;
  }
  .modal-card {
    max-height: calc(100dvh - 30px);
    padding: 22px;
    overflow-y: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  :before,
  :after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
.vault-shell {
  color: #d9fff1;
  width: 100vw;
  height: 100dvh;
  font-family: var(--font-geist-mono, "Cascadia Code"), monospace;
  background:
    radial-gradient(circle at 14% 5%, #17e09921, #0000 28%),
    radial-gradient(circle at 88% 88%, #247bff1c, #0000 30%), #030807;
  position: relative;
  overflow: auto;
}
.vault-grid {
  opacity: 0.28;
  pointer-events: none;
  background-image:
    linear-gradient(#29d59612 1px, #0000 1px),
    linear-gradient(90deg, #29d59612 1px, #0000 1px);
  background-size: 32px 32px;
  position: fixed;
  inset: 0;
  -webkit-mask-image: linear-gradient(#000, #0000 85%);
  mask-image: linear-gradient(#000, #0000 85%);
}
.vault-header {
  z-index: 2;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: #030908c2;
  border-bottom: 1px solid #3ee7a929;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  display: flex;
  position: relative;
}
.vault-brand {
  background: 0 0;
  border: 0;
  width: auto;
}
.vault-brand .brand-copy span {
  color: #5c8777;
  letter-spacing: 0.13em;
}
.vault-secure {
  color: #527b6d;
  letter-spacing: 0.12em;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  display: flex;
}
.vault-secure i {
  background: #36e5a7;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 14px #36e5a7;
}
.vault-main {
  z-index: 1;
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
  padding: 68px 0 90px;
  position: relative;
}
.vault-hero {
  max-width: 760px;
}
.vault-hero .section-kicker {
  color: #35d49a;
  letter-spacing: 0.18em;
}
.vault-hero h1 {
  color: #e8fff6;
  font-family: var(--font-geist-sans, "Segoe UI"), sans-serif;
  letter-spacing: -0.065em;
  margin: 17px 0 18px;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 760;
  line-height: 0.98;
}
.vault-hero h1 em {
  color: #0000;
  background: linear-gradient(90deg, #35d49a, #65a8ff);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}
.vault-hero > p {
  color: #75978a;
  max-width: 620px;
  font-family: var(--font-geist-sans, "Segoe UI"), sans-serif;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}
.vault-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  display: flex;
}
.vault-actions button {
  cursor: pointer;
  background: #0d1f19cc;
  border: 1px solid #21483a;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  min-height: 45px;
  padding: 0 17px;
  font-size: 11px;
  font-weight: 750;
  display: inline-flex;
}
.vault-actions .vault-new {
  color: #03110c;
  background: #35d49a;
  border-color: #35d49a;
  box-shadow: 0 16px 45px #35d49a26;
}
.vault-actions .vault-import {
  color: #9bcab8;
}
.vault-projects {
  margin-top: 70px;
}
.vault-section-title {
  border-bottom: 1px solid #40e2a626;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 17px;
  padding-bottom: 12px;
  display: flex;
}
.vault-section-title span {
  color: #3bb98b;
  letter-spacing: 0.15em;
  font-size: 8px;
}
.vault-section-title h2 {
  color: #dff8ee;
  font-family: var(--font-geist-sans, "Segoe UI"), sans-serif;
  margin: 4px 0 0;
  font-size: 24px;
}
.vault-section-title > b {
  color: #294d40;
  font-size: 30px;
}
.vault-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  display: grid;
}
.vault-card {
  background: linear-gradient(145deg, #1d44362e, #0000 48%), #050e0be6;
  border: 1px solid #173329;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 18px 55px #00000040;
}
.vault-card:hover {
  border-color: #2d745a;
  box-shadow:
    0 18px 55px #00000059,
    inset 0 1px #71ffca0a;
}
.vault-card-open {
  text-align: left;
  cursor: pointer;
  background: 0 0;
  border: 0;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 17px;
  display: grid;
}
.vault-app-icon {
  color: #052017;
  background: linear-gradient(145deg, #35d49a, #72ffcd);
  border-radius: 12px;
  place-items: center;
  width: 44px;
  height: 44px;
  display: grid;
}
.vault-card-copy {
  gap: 2px;
  min-width: 0;
  display: grid;
}
.vault-card-copy small {
  color: #318b69;
  letter-spacing: 0.12em;
  font-size: 7px;
}
.vault-card-copy strong {
  color: #d8f6eb;
  font-family: var(--font-geist-sans, "Segoe UI"), sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  overflow: hidden;
}
.vault-card-copy > span {
  color: #57786c;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
  overflow: hidden;
}
.vault-card-open > svg {
  color: #315a4b;
}
.vault-card-meta,
.vault-card-actions {
  border-top: 1px solid #142a22;
  justify-content: space-between;
  align-items: center;
  padding: 9px 15px;
  display: flex;
}
.vault-card-meta {
  color: #4c7163;
  font-size: 7px;
}
.vault-card-actions {
  justify-content: flex-end;
  gap: 6px;
}
.vault-card-actions button {
  color: #6c9384;
  cursor: pointer;
  background: 0 0;
  border: 1px solid #0000;
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  font-size: 7px;
  display: inline-flex;
}
.vault-card-actions button:hover {
  color: #b7e4d3;
  background: #0c2019;
  border-color: #244c3d;
}
.vault-card-actions button.danger {
  color: #bf6670;
}
.vault-empty,
.vault-loading {
  color: #527267;
  text-align: center;
  background: #05100c8c;
  border: 1px dashed #1c4435;
  border-radius: 14px;
  align-content: center;
  place-items: center;
  gap: 7px;
  min-height: 170px;
  display: grid;
}
.vault-empty-icon {
  color: #36c993;
  background: #092118;
  border: 1px solid #245f49;
  border-radius: 15px;
  place-items: center;
  width: 54px;
  height: 54px;
  display: grid;
}
.vault-empty h3 {
  color: #a8d4c3;
  margin: 5px 0 0;
}
.vault-empty p {
  margin: 0;
  font-size: 10px;
}
.vault-loading span {
  border: 2px solid #153d2e;
  border-top-color: #35d49a;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  animation: 0.7s linear infinite vault-spin;
}
@keyframes vault-spin {
  to {
    transform: rotate(360deg);
  }
}
.vault-footer {
  z-index: 2;
  color: #315748;
  letter-spacing: 0.1em;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #030907e6;
  border-top: 1px solid #102a20;
  justify-content: space-between;
  padding: 9px clamp(20px, 5vw, 72px);
  font-size: 7px;
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}
.asset-summary > button {
  color: #90a89f;
  text-align: left;
  cursor: pointer;
  background: #0b1713;
  border: 1px solid #20372f;
  border-radius: 8px;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 8px;
  display: grid;
}
.asset-summary > button > span:nth-child(2) {
  min-width: 0;
  display: grid;
}
.asset-summary > button b {
  font-size: 8px;
}
.asset-summary > button small {
  color: #557067;
  font-size: 7px;
}
.live-code-pill {
  background: #35d49a12;
  border: 1px solid #35d49a3b;
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  color: #52dea9 !important;
  font-size: 7px !important;
  display: inline-flex !important;
}
.live-code-pill i,
.manual-live-badge > span {
  background: #35d49a;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  box-shadow: 0 0 9px #35d49a;
}
.manual-inspector {
  align-content: start;
  gap: 10px;
  display: grid;
}
.manual-live-badge {
  color: #48d9a4;
  background: #35d49a0f;
  border: 1px solid #35d49a33;
  border-radius: 7px;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 7px;
  font-size: 7px;
  display: inline-flex;
}
.manual-inspector h3 {
  color: #d7e9e2;
  margin: 3px 0 0;
  font-size: 13px;
}
.manual-inspector p,
.manual-inspector > small {
  color: #70867e;
  margin: 0;
  font-size: 8px;
  line-height: 1.65;
}
.manual-inspector ul {
  color: #86a69a;
  background: #09140f;
  border: 1px solid #20352e;
  border-radius: 8px;
  gap: 5px;
  margin: 0;
  padding: 9px 9px 9px 24px;
  font-size: 8px;
  display: grid;
}
.sync-design-button {
  color: #bcebd9;
  cursor: pointer;
  background: #0c261c;
  border: 1px solid #286248;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  font-size: 8px;
  display: inline-flex;
}
.phone-frame.is-landscape {
  border-radius: 28px;
  width: min(560px, 100% - 30px);
  height: min(330px, 100% - 30px);
  min-height: 280px;
}
.phone-frame.is-landscape .phone-screen {
  border-radius: 21px;
}
.preview-body:has(.phone-frame.is-landscape) {
  grid-template-columns: minmax(0, 1fr) 0;
}
.preview-body:has(.phone-frame.is-landscape) .inspector {
  display: none;
}
.phone-content:has(.android-code-preview) {
  padding: 0;
}
.android-code-preview {
  color: #edf4fb;
  width: 100%;
  min-height: 100%;
  font-family: var(--font-geist-sans, "Segoe UI"), sans-serif;
  -webkit-user-select: none;
  user-select: none;
  background: #090d12;
  flex-direction: column;
  flex: 1 0 auto;
  display: flex;
  overflow: hidden;
}
.android-code-preview.theme-light {
  color: #17202a;
  background: #f4f6f8;
}
.xml-scroll {
  scrollbar-width: thin;
  flex-direction: column;
  flex: 1 0 auto;
  min-height: 100%;
  display: flex;
  width: 100% !important;
}
.xml-container {
  flex-shrink: 0;
  min-width: 0;
}
.xml-text {
  white-space: pre-wrap;
  flex-shrink: 0;
  line-height: 1.35;
}
.xml-button {
  min-height: 32px;
  color: inherit;
  cursor: pointer;
  border: 0;
  flex-shrink: 0;
  line-height: 1.25;
}
.xml-button:active {
  filter: brightness(1.16);
  transform: scale(0.99);
}
.xml-input {
  border: 1px solid #7e9ab240;
  flex-shrink: 0;
  min-height: 34px;
  color: #768797 !important;
}
.xml-image-wrap {
  flex-shrink: 0;
  place-items: center;
  min-height: 44px;
  display: grid;
  overflow: hidden;
}
.xml-image-wrap img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: block;
}
.xml-missing-image {
  color: #537063;
  letter-spacing: 0.14em;
  background:
    linear-gradient(135deg, #0000 48%, #1b3027 49% 51%, #0000 52%), #0b1712;
  border: 1px dashed #294638;
  align-content: center;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 48px;
  font-size: 8px;
  display: grid;
}
.xml-missing-image small {
  color: #3f5a4f;
  letter-spacing: 0;
  margin-top: 3px;
  font-size: 6px;
}
.xml-switch {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  display: flex;
}
.xml-switch i {
  background: #34414c;
  border-radius: 999px;
  flex: none;
  width: 27px;
  height: 15px;
  position: relative;
}
.xml-switch i:after {
  content: "";
  background: #dce4ea;
  border-radius: 50%;
  width: 11px;
  height: 11px;
  position: absolute;
  top: 2px;
  left: 2px;
}
.xml-view {
  background: #26333f;
  flex-shrink: 0;
  min-height: 1px;
}
.xml-unknown {
  flex-shrink: 0;
  min-height: 22px;
}
.xml-unknown > small {
  color: #657c72;
  border: 1px dashed #284136;
  place-items: center;
  min-height: 22px;
  font-size: 7px;
  display: grid;
}
.xml-preview-error {
  color: #b78389;
  text-align: center;
  background: #100b0e;
  align-content: center;
  place-items: center;
  gap: 7px;
  min-height: 100%;
  padding: 24px;
  display: grid;
}
.xml-preview-error b {
  color: #f0aeb7;
  font-size: 11px;
}
.xml-preview-error p {
  margin: 0;
  font-size: 8px;
  line-height: 1.5;
}
.xml-preview-error small {
  color: #73565a;
  font-size: 7px;
}
.modal-card.asset-modal {
  width: min(900px, 100%);
  max-height: min(780px, 100dvh - 36px);
  overflow-y: auto;
}
.asset-heading {
  align-items: center;
  gap: 12px;
  padding-right: 35px;
  display: flex;
}
.modal-icon.asset-green {
  color: #082016;
  background: linear-gradient(145deg, #35d49a, #6bf3c0);
  margin: 0;
}
.asset-intro code {
  color: #75e7bd;
  font-family: var(--font-geist-mono, "Cascadia Code"), monospace;
  background: #092117;
  border: 1px solid #285541;
  border-radius: 5px;
  padding: 2px 5px;
}
.asset-dropzone {
  color: #83aa9b;
  cursor: pointer;
  background: linear-gradient(135deg, #35d49a0a, #0000 50%), #08130f;
  border: 1px dashed #2c6850;
  border-radius: 12px;
  align-content: center;
  place-items: center;
  gap: 5px;
  width: 100%;
  min-height: 126px;
  margin-top: 18px;
  display: grid;
}
.asset-dropzone:hover,
.asset-dropzone.is-dragging {
  color: #baf3de;
  background: #35d49a1a;
  border-color: #49e0a8;
}
.asset-dropzone > span {
  color: #3dda9f;
  background: #0d2b20;
  border: 1px solid #26684f;
  border-radius: 11px;
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
}
.asset-dropzone strong {
  font-size: 11px;
}
.asset-dropzone small {
  color: #557368;
  font-size: 8px;
}
.asset-list-heading {
  color: #4dcc9c;
  letter-spacing: 0.1em;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0 9px;
  font-size: 8px;
  display: flex;
}
.asset-list-heading b {
  color: #6c8c80;
  letter-spacing: 0;
  font-weight: 500;
}
.asset-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  display: grid;
}
.asset-card {
  background: #0a1310;
  border: 1px solid #243a32;
  border-radius: 10px;
  grid-template-columns: 92px minmax(0, 1fr);
  min-width: 0;
  display: grid;
  overflow: hidden;
}
.asset-thumb {
  background-color: #0000;
  background-image:
    linear-gradient(45deg, #18221e 25%, #0000 25%),
    linear-gradient(-45deg, #18221e 25%, #0000 25%),
    linear-gradient(45deg, #0000 75%, #18221e 75%),
    linear-gradient(-45deg, #0000 75%, #18221e 75%);
  background-position:
    0 0,
    0 6px,
    6px -6px,
    -6px 0;
  background-repeat: repeat, repeat, repeat, repeat;
  background-size: 12px 12px;
  background-attachment: scroll, scroll, scroll, scroll;
  background-origin: padding-box, padding-box, padding-box, padding-box;
  background-clip: border-box, border-box, border-box, border-box;
  min-height: 104px;
  position: relative;
  overflow: hidden;
}
.asset-thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 104px;
}
.asset-thumb > span {
  color: #052017;
  background: #35d49a;
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 6px;
  font-weight: 800;
  position: absolute;
  top: 6px;
  left: 6px;
}
.asset-card-copy {
  align-content: start;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  display: grid;
}
.asset-card-copy strong {
  color: #d1e5dd;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  overflow: hidden;
}
.asset-card-copy > button {
  color: #4fd5a3;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-family: var(--font-geist-mono, "Cascadia Code"), monospace;
  cursor: pointer;
  background: 0 0;
  border: 0;
  align-items: center;
  gap: 4px;
  padding: 0;
  font-size: 7px;
  display: flex;
  overflow: hidden;
}
.asset-card-copy small {
  color: #566c64;
  font-size: 7px;
}
.asset-card-actions {
  border-top: 1px solid #1a2d25;
  flex-wrap: wrap;
  grid-column: 1/-1;
  gap: 5px;
  padding: 7px;
  display: flex;
}
.asset-card-actions button {
  color: #78998c;
  cursor: pointer;
  background: #0e1b16;
  border: 1px solid #274237;
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  min-height: 25px;
  padding: 0 7px;
  font-size: 7px;
  display: inline-flex;
}
.asset-card-actions .asset-use {
  color: #0a2018;
  background: #35d49a;
  border-color: #35d49a;
  font-weight: 750;
}
.asset-card-actions button.danger {
  color: #db858e;
  border-color: #ff6f7d3d;
  margin-left: auto;
}
.asset-empty {
  color: #547066;
  background: #09120f;
  border: 1px solid #20362d;
  border-radius: 10px;
  align-content: center;
  place-items: center;
  gap: 4px;
  min-height: 110px;
  display: grid;
}
.asset-empty strong {
  color: #8ca99e;
  font-size: 9px;
}
.asset-empty span {
  font-size: 7px;
}
.pipeline-step.is-active {
  background: #1b4c7b29;
  border-color: #63a9ff73;
  box-shadow: 0 0 25px #63a9ff14;
}
.pipeline-step.is-active > span {
  color: #071523;
  background: #63a9ff;
  border-color: #63a9ff;
}
.builder-pin-field {
  gap: 5px;
  margin-top: 15px;
  display: grid;
}
.builder-pin-field > span {
  color: #7f91a1;
  font-size: 8px;
}
.builder-pin-field input {
  color: #dbe7f2;
  height: 39px;
  font-family: var(--font-geist-mono, "Cascadia Code"), monospace;
  background: #091018;
  border: 1px solid #2c3c4c;
  border-radius: 9px;
  outline: 0;
  padding: 0 12px;
}
.builder-pin-field input:focus {
  border-color: #63a9ff;
  box-shadow: 0 0 0 3px #63a9ff14;
}
.build-status-message {
  color: #8ba0b2;
  background: #0a121a;
  border: 1px solid #293b4b;
  border-radius: 9px;
  align-items: flex-start;
  gap: 9px;
  margin-top: 10px;
  padding: 10px 11px;
  display: flex;
}
.build-status-dot {
  background: #708092;
  border-radius: 50%;
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 4px;
}
.build-status-message > div {
  gap: 2px;
  display: grid;
}
.build-status-message b {
  color: #aebdca;
  letter-spacing: 0.1em;
  font-size: 7px;
}
.build-status-message p {
  margin: 0;
  font-size: 8px;
  line-height: 1.45;
}
.build-status-message small {
  color: #607383;
  font-size: 7px;
}
.build-status-message.state-queued,
.build-status-message.state-building {
  background: #1e4a7721;
  border-color: #63a9ff4d;
}
.state-queued .build-status-dot,
.state-building .build-status-dot {
  background: #63a9ff;
  animation: 1s infinite pulse-dot;
  box-shadow: 0 0 10px #63a9ff;
}
.build-status-message.state-ready {
  background: #1e694d1f;
  border-color: #35d49a52;
}
.state-ready .build-status-dot,
.online-dot {
  box-shadow: 0 0 9px #35d49a;
  background: #35d49a !important;
}
.build-status-message.state-failed {
  background: #7527321a;
  border-color: #ff6f7d47;
}
.state-failed .build-status-dot {
  background: #ff6f7d;
}
.modal-actions button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.8);
  opacity: 0.48;
}
@media (width<=900px) {
  .vault-card-grid,
  .asset-grid {
    grid-template-columns: 1fr;
  }
  .phone-frame.is-landscape {
    width: min(500px, 100% - 22px);
  }
}
@media (width<=620px) {
  .vault-header {
    height: 62px;
    padding: 0 15px;
  }
  .vault-secure {
    display: none;
  }
  .vault-main {
    width: calc(100% - 28px);
    padding-top: 42px;
  }
  .vault-hero h1 {
    font-size: 42px;
  }
  .vault-footer {
    display: none;
  }
  .modal-card.asset-modal {
    padding: 18px;
  }
  .asset-card {
    grid-template-columns: 80px minmax(0, 1fr);
  }
  .phone-frame.is-landscape {
    width: calc(100% - 16px);
    height: min(300px, 100% - 20px);
    min-height: 250px;
  }
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}

.phone-input-control {
  display: block;
  border: 1px solid #273646;
  outline: none;
  font: inherit;
  box-sizing: border-box;
}
.phone-input-control:read-only {
  cursor: pointer;
  color: #718093 !important;
}
.phone-input-control:not(:read-only):focus {
  border-color: #63a9ff;
  box-shadow: 0 0 0 2px #63a9ff2d;
}
.action-editor {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid #2b3b4c;
  border-radius: 14px;
  background: #0d141c;
}
.action-editor-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8fc1ff;
}
.action-editor > small {
  color: #748396;
  line-height: 1.45;
}
.screen-manager {
  display: grid;
  gap: 9px;
}
.screen-list {
  display: grid;
  gap: 5px;
  max-height: 190px;
  overflow: auto;
}
.screen-list > button {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #b6c1ce;
  text-align: left;
}
.screen-list > button > span:first-child {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  background: #17212c;
  color: #718195;
  font-size: 10px;
  font-weight: 800;
}
.screen-list > button > span:last-child {
  display: grid;
  min-width: 0;
}
.screen-list b,
.screen-list small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.screen-list small {
  color: #667588;
  font-size: 10px;
}
.screen-list > button:hover,
.screen-list > button.is-active {
  border-color: #365778;
  background: #152333;
  color: #e8f3ff;
}
.screen-list > button.is-active > span:first-child {
  background: #63a9ff;
  color: #07111c;
}
.compact-field {
  margin: 0;
}
.screen-manager-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.screen-manager-actions button,
.open-settings-button,
.asset-shortcut {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid #2a3a4b;
  border-radius: 9px;
  background: #111a24;
  color: #aebaca;
}
.screen-manager-actions button.danger {
  color: #ff909c;
}
.open-settings-button {
  justify-content: flex-start;
  width: 100%;
  padding: 9px 10px;
  text-align: left;
}
.open-settings-button > span {
  display: grid;
  flex: 1;
}
.open-settings-button small {
  color: #6e7d90;
  font-size: 10px;
}
.settings-modal {
  width: min(860px, calc(100vw - 28px));
  max-height: min(860px, calc(100vh - 28px));
  overflow: auto;
}
.settings-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 17px;
}
.settings-heading h2 {
  margin: 3px 0 0;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.settings-section {
  display: grid;
  gap: 11px;
  padding: 15px;
  border: 1px solid #273646;
  border-radius: 15px;
  background: #0d141c;
}
.settings-section h3 {
  margin: 0;
  color: #dfeaf6;
  font-size: 13px;
}
.permission-section,
.build-output-section {
  margin-top: 12px;
}
.permission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.permission-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px;
  border: 1px solid #263545;
  border-radius: 10px;
  background: #111a23;
}
.permission-item input {
  margin-top: 2px;
  accent-color: #63a9ff;
}
.permission-item span {
  display: grid;
}
.permission-item b {
  color: #d9e5f2;
  font-size: 11px;
}
.permission-item small {
  color: #708094;
  font-size: 9px;
  line-height: 1.35;
}
.build-output-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.build-output-grid button {
  display: grid;
  gap: 4px;
  padding: 11px;
  border: 1px solid #2b3a4b;
  border-radius: 11px;
  background: #111a23;
  color: #d5e0ec;
  text-align: left;
}
.build-output-grid button small {
  color: #718095;
  font-size: 10px;
}
.build-output-grid button.is-active {
  border-color: #63a9ff;
  background: #142b43;
  box-shadow: inset 0 0 0 1px #63a9ff55;
}
.signing-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid #4c4324;
  border-radius: 10px;
  background: #201c10;
  color: #f0ca66;
}
.signing-note span {
  display: grid;
  gap: 3px;
}
.signing-note small {
  color: #a99662;
  line-height: 1.4;
}
.asset-shortcut {
  justify-content: flex-start;
  padding: 8px 10px;
}
.diagnostic-summary {
  display: flex;
  gap: 9px;
  margin-bottom: 12px;
}
.diagnostic-summary > * {
  padding: 6px 9px;
  border: 1px solid #2b3a4b;
  border-radius: 999px;
  background: #101923;
  color: #9aa9bb;
  font-size: 11px;
}
.diagnostic-summary b {
  color: #ff8d9a;
}
.diagnostic-list {
  display: grid;
  gap: 8px;
  max-height: 430px;
  overflow: auto;
}
.diagnostic-item {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 10px;
  padding: 11px;
  border: 1px solid #2b3a4a;
  border-radius: 11px;
  background: #0e161f;
}
.diagnostic-item > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #1b2937;
  color: #91a4b8;
  font-weight: 900;
}
.diagnostic-item b {
  color: #dce8f5;
  font-size: 12px;
}
.diagnostic-item p {
  margin: 3px 0 0;
  color: #8190a2;
  font-size: 11px;
  line-height: 1.45;
}
.diagnostic-item.level-error {
  border-color: #59313a;
}
.diagnostic-item.level-error > span {
  background: #3a1c24;
  color: #ff8795;
}
.diagnostic-item.level-warning {
  border-color: #544925;
}
.diagnostic-item.level-warning > span {
  background: #302813;
  color: #f2ca5f;
}
.diagnostic-item.level-success {
  border-color: #255044;
}
.diagnostic-item.level-success > span {
  background: #15372f;
  color: #68d8b7;
}
@media (max-width: 860px) {
  .settings-grid,
  .build-output-grid {
    grid-template-columns: 1fr;
  }
  .permission-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .permission-grid {
    grid-template-columns: 1fr;
  }
}

/* Extended Android component controls */
.image-size-editor {
  background: linear-gradient(145deg, #101811, #080d09);
  border: 1px solid #5f4d24;
  border-radius: 11px;
  gap: 9px;
  margin-bottom: 13px;
  padding: 11px;
  display: grid;
}
.image-size-heading {
  color: #f2d27b;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  display: flex;
}
.image-size-presets {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  display: grid;
}
.image-size-presets button {
  color: #c6b98f;
  cursor: pointer;
  background: #111a13;
  border: 1px solid #4a4329;
  border-radius: 7px;
  min-height: 30px;
  padding: 4px;
  font-size: 7px;
}
.image-size-presets button:hover {
  color: #fff3ca;
  background: #182219;
  border-color: #d4af37;
}
.image-size-editor .field {
  margin: 0;
}
.image-size-editor .field > span,
.value-editor > span,
.custom-width-field > span {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.image-size-editor .field > span b,
.value-editor > span b,
.custom-width-field > span b {
  color: #f2d27b;
  font-family: var(--font-geist-mono, "Cascadia Code"), monospace;
  font-size: 7px;
}
.image-size-editor input[type="range"],
.value-editor input[type="range"],
.custom-width-field input[type="range"] {
  width: 100%;
  accent-color: #d4af37;
}
.image-size-editor > small {
  color: #7f8c83;
  line-height: 1.45;
  font-size: 7px;
}
.phone-list,
.phone-alert {
  gap: 4px;
  display: grid;
}
.phone-list strong,
.phone-alert strong {
  font-size: inherit;
}
.phone-list > span,
.phone-alert > span {
  opacity: 0.72;
  font-size: 0.83em;
}
.phone-alert {
  border-left: 3px solid #d4af37;
}
.phone-badge {
  letter-spacing: 0.08em;
  line-height: 1;
}
.phone-choice {
  align-items: center;
  gap: 7px;
  display: flex;
}
.phone-choice input {
  width: 13px;
  height: 13px;
  accent-color: #d4af37;
}
.phone-dropdown {
  color: inherit;
  border: 1px solid #4a4329;
  min-height: 34px;
}
.phone-dropdown:disabled {
  opacity: 1;
}
.phone-slider {
  min-height: 25px;
  accent-color: #d4af37;
}
.phone-progress,
.xml-progress {
  background: #253322;
  border-radius: 999px;
  min-height: 7px;
  overflow: hidden;
}
.phone-progress span,
.xml-progress span {
  background: linear-gradient(90deg, #8a6a1f, #d4af37, #19e89a);
  border-radius: inherit;
  height: 100%;
  display: block;
}
.xml-choice {
  align-items: center;
  gap: 7px;
  display: flex;
}
.xml-choice input,
.xml-slider {
  accent-color: #d4af37;
}
.xml-dropdown {
  color: inherit;
  border: 1px solid #4a4329;
}
.xml-input.is-multiline {
  align-items: flex-start;
  min-height: 78px;
}
.designer-tip-actions {
  gap: 6px;
  margin-top: 8px;
  display: flex;
}
.designer-tip-actions button {
  color: #e2ca85;
  cursor: pointer;
  background: #111a13;
  border: 1px solid #514620;
  border-radius: 7px;
  align-items: center;
  gap: 4px;
  padding: 6px 9px;
  font-size: 8px;
  display: inline-flex;
}
.designer-tip-actions button:hover {
  color: #fff6d7;
  border-color: #d4af37;
}

/* Luxury Matrix theme */
:root {
  color-scheme: dark;
  --background: #040705;
  --foreground: #f4ead5;
  --panel: #090e0b;
  --panel-raised: #0d1510;
  --panel-soft: #111a13;
  --line: #302d1e;
  --line-bright: #6a5828;
  --muted: #9aa79e;
  --muted-2: #66736a;
  --blue: #d4af37;
  --blue-soft: #2a2310;
  --green: #19e89a;
  --red: #ff7182;
  --amber: #f2d27b;
}
html,
body {
  background: #040705;
  color: #f4ead5;
}
body {
  isolation: isolate;
}
body::before,
body::after {
  z-index: -1;
  pointer-events: none;
  content: "";
  position: fixed;
  inset: 0;
}
body::before {
  opacity: 0.62;
  background:
    radial-gradient(circle at 14% 4%, #d4af371f, transparent 27%),
    radial-gradient(circle at 86% 86%, #00c87818, transparent 31%),
    linear-gradient(#19e89a0b 1px, transparent 1px),
    linear-gradient(90deg, #d4af3709 1px, transparent 1px);
  background-size:
    auto,
    auto,
    32px 32px,
    32px 32px;
}
body::after {
  content:
    "010010  MATRIX  101101  ABUN  001011  ANDROID  110100  010101  101001  001110\A"
    "101101  001011  111000  010010  100101  011010  000111  110001  101010  010011\A"
    "001101  DESIGN  100110  011101  BUILD  110010  JAVA  010111  XML  101100  001001\A"
    "110010  010101  101110  000101  111010  001100  100011  011001  110100  010010\A"
    "010111  APK  101000  SOURCE  001101  111001  010100  100110  011011  110001";
  color: #19e89a;
  white-space: pre;
  word-spacing: 12px;
  letter-spacing: 4px;
  width: 125%;
  height: 125%;
  font-family: var(--font-geist-mono, "Cascadia Code"), monospace;
  font-size: 10px;
  line-height: 64px;
  opacity: 0.045;
  text-shadow: 0 0 10px #19e89a;
  transform: rotate(-8deg) translate(-5%, -8%);
  animation: luxury-matrix-drift 24s linear infinite;
}
@keyframes luxury-matrix-drift {
  from {
    transform: rotate(-8deg) translate(-5%, -15%);
  }
  to {
    transform: rotate(-8deg) translate(-5%, 2%);
  }
}
::selection {
  color: #fff8dd;
  background: #d4af3766;
}
::-webkit-scrollbar-thumb {
  background: #554821 padding-box;
}
.studio-shell {
  z-index: 1;
  background:
    radial-gradient(circle at 72% -18%, #d4af3717, transparent 32%),
    radial-gradient(circle at 8% 108%, #19e89a0d, transparent 30%),
    #040705e8;
  position: relative;
}
.topbar,
.vault-header,
.vault-footer {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: #050906e8;
  border-color: #55472180;
  box-shadow: 0 8px 36px #00000073;
}
.brand-icon,
.vault-app-icon {
  color: #130f05;
  background: linear-gradient(145deg, #fff0a6, #d4af37 56%, #8a6a1f);
  border-color: #f2d27b9c;
  box-shadow:
    0 8px 24px #d4af3730,
    inset 0 1px #fff8d6c7;
}
.brand-copy b,
.vault-card-copy strong,
.vault-section-title h2 {
  color: #fff4cf;
}
.brand-copy span,
.project-chip small {
  color: #8b978e;
}
.beta-badge,
.panel-title small,
.section-kicker,
.vault-hero .section-kicker {
  color: #19e89a;
  background: #19e89a0c;
  border-color: #19e89a42;
}
.project-chip,
.toolbar-button,
.apk-button,
.device-select,
.code-toolbar button {
  color: #c9c2aa;
  background: #0d1510e8;
  border-color: #3c3824;
}
.toolbar-button:hover,
.icon-button:hover,
.code-toolbar button:hover {
  color: #fff3c8;
  background: #171e14;
  border-color: #7b6429;
}
.toolbar-button.is-active {
  color: #f2d27b;
  background: #d4af3718;
  border-color: #d4af3770;
}
.toolbar-button.is-primary {
  color: #130f05;
  background: linear-gradient(180deg, #f2d27b, #d4af37);
  border-color: #f2d27b;
  box-shadow:
    0 8px 22px #d4af3730,
    inset 0 1px #fff9d6;
}
.toolbar-button.is-primary:hover {
  color: #0b0903;
  background: #f7dc89;
  border-color: #fff0aa;
}
.apk-button {
  color: #bfffe4;
  background: linear-gradient(180deg, #123425, #0b2419);
  border-color: #19e89a5c;
}
.apk-button:hover {
  color: #e3fff3;
  background: #143b2a;
  border-color: #19e89a;
}
.apk-button i {
  background: #d4af37;
  border-color: #071008;
  box-shadow: 0 0 9px #d4af37;
}
.workspace {
  background: transparent;
}
.panel,
.modal-card,
.settings-section,
.asset-card,
.diagnostic-item,
.build-output-card,
.signing-card {
  background:
    linear-gradient(145deg, #d4af3708, transparent 34%),
    #080d0ae8;
  border-color: #393421;
  box-shadow:
    inset 0 1px #f2d27b0b,
    0 18px 48px #00000045;
}
.panel-title,
.editor-tabs,
.code-toolbar {
  color: #e8dcc1;
  background: #0c120ee8;
  border-color: #36311f;
}
.sidebar-section,
.inspector-heading,
.vault-section-title,
.vault-card-meta,
.vault-card-actions {
  border-color: #3b3420;
}
.tree-root,
.sidebar-heading,
.inspector-heading strong {
  color: #e7dcc3;
}
.file-tree::before {
  background: #4e4324;
}
.file-tree button {
  color: #89968d;
}
.file-tree button:hover,
.file-tree button.is-active {
  color: #f2d27b;
  background: #171d13;
  border-color: #514821;
}
.palette-grid > button,
.more-components,
.open-settings-button,
.asset-summary > button,
.screen-list > button {
  color: #c8bea3;
  background: #0d140fe8;
  border-color: #373321;
}
.palette-grid > button:hover,
.more-components:hover,
.open-settings-button:hover,
.asset-summary > button:hover,
.screen-list > button:hover,
.screen-list > button.is-active {
  color: #fff2c5;
  background: #161e14;
  border-color: #d4af3773;
}
.palette-icon,
.node-type,
.outline-icon {
  color: #f2d27b;
  background: #241f0e;
  border-color: #64531f;
}
.palette-grid small,
.field small,
.structure-header p,
.designer-tip p,
.diagnostic-item p {
  color: #78857c;
}
.field {
  color: #a69e87;
}
.field input:not([type="range"]):not([type="color"]),
.field textarea,
.field select,
.device-select option,
.phone-dropdown,
.xml-dropdown {
  color: #f1e5ca;
  background: #080d0a;
  border-color: #3d3925;
}
.field input:hover,
.field textarea:hover,
.field select:hover,
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #b39332;
}
input[type="range"] {
  accent-color: #d4af37;
}
.editor-tabs > button:not(.add-tab) {
  color: #817f70;
  border-color: #2e2b1d;
}
.editor-tabs > button:not(.add-tab):hover {
  color: #ddd0b4;
  background: #121912;
}
.editor-tabs > button.is-active {
  color: #fff1c5;
  background: #070c08;
}
.editor-tabs > button.is-active::after {
  background: linear-gradient(90deg, #d4af37, #19e89a);
  box-shadow: 0 0 9px #d4af3775;
}
.structure-editor,
.code-editor {
  background: #050806;
}
.screen-outline {
  background: #090f0b;
  border-color: #3a3521;
}
.node-row {
  border-color: transparent;
}
.node-row:hover {
  background: #121912;
  border-color: #4a4122;
}
.node-row.is-selected {
  background: linear-gradient(90deg, #d4af3718, #19e89a08);
  border-color: #d4af3785;
  box-shadow: inset 3px 0 #d4af37;
}
.designer-tip {
  color: #d8ccae;
  background: linear-gradient(135deg, #d4af3711, #19e89a08), #090f0b;
  border-color: #5c4b20;
}
.code-shell,
.line-numbers,
.code-shell textarea,
.code-footer {
  background-color: #030604;
  border-color: #292719;
}
.line-numbers {
  color: #514c33;
}
.code-shell textarea {
  color: #dce7d8;
  caret-color: #19e89a;
  background:
    radial-gradient(circle at 94% 5%, #19e89a0a, transparent 24%),
    #030604;
  text-shadow: 0 0 12px #19e89a0b;
}
.code-footer,
.code-toolbar > span {
  color: #756f59;
}
.preview-body {
  background: #060a07;
}
.phone-stage {
  background:
    radial-gradient(circle at 50% 44%, #d4af3717, transparent 34%),
    linear-gradient(135deg, #19e89a05, transparent 48%),
    #070b08;
}
.phone-stage::after,
.vault-shell::after {
  z-index: 1;
  pointer-events: none;
  content:
    "010010  101101  001011  110100  010101  101001\A"
    "101101  001011  111000  010010  100101  011010\A"
    "001101  100110  011101  110010  010111  101100\A"
    "110010  010101  101110  000101  111010  001100\A"
    "010111  101000  001101  111001  010100  100110";
  color: #19e89a;
  white-space: pre;
  word-spacing: 12px;
  letter-spacing: 4px;
  font-family: var(--font-geist-mono, "Cascadia Code"), monospace;
  font-size: 8px;
  line-height: 52px;
  opacity: 0.065;
  text-shadow: 0 0 9px #19e89a;
  position: absolute;
  inset: -15%;
  transform: rotate(-10deg);
  animation: luxury-stage-matrix 20s linear infinite;
}
@keyframes luxury-stage-matrix {
  from {
    transform: rotate(-10deg) translateY(-8%);
  }
  to {
    transform: rotate(-10deg) translateY(10%);
  }
}
.vault-shell::after {
  z-index: 0;
  font-size: 10px;
  line-height: 76px;
  opacity: 0.055;
  position: fixed;
}
.stage-grid {
  z-index: 0;
  opacity: 0.36;
  background-image:
    linear-gradient(#19e89a10 1px, transparent 1px),
    linear-gradient(90deg, #d4af370e 1px, transparent 1px);
}
.phone-frame {
  background: linear-gradient(145deg, #675725, #0a0e0b 45%, #244b38);
  border-color: #a98a35;
  box-shadow:
    0 34px 90px #000000ad,
    0 0 34px #d4af3718,
    inset 0 0 0 1px #fff0a61c;
}
.phone-speaker {
  background: #010302;
  box-shadow: 0 1px #d4af3747;
}
.phone-screen,
.android-status,
.android-nav {
  background: #040705;
}
.phone-screen {
  border-color: #1b241c;
}
.phone-appbar {
  color: #f6ebd1;
  background: #080d0a;
  border-color: #5b4a2080;
}
.mini-ai-icon {
  color: #130f05;
  background: linear-gradient(145deg, #f0d278, #d4af37);
}
.phone-node:hover {
  box-shadow: 0 0 0 1px #d4af3780;
}
.phone-node.is-selected {
  box-shadow:
    0 0 0 2px #d4af37,
    0 0 0 5px #d4af3728,
    0 0 18px #19e89a18;
}
.phone-node.is-selected::before {
  background: #19e89a;
  border-color: #dffff2;
}
.phone-node-logo img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.phone-image-placeholder {
  color: #8d967f;
  background:
    linear-gradient(135deg, #d4af370c, transparent 55%),
    #0e1510;
  border-color: #665626;
  height: 100%;
  min-height: 42px;
}
.phone-card-label,
.phone-arrow {
  color: #d4af37;
}
.phone-language-row span:not(.phone-arrow) {
  background: #121912;
}
.phone-switch {
  background: #293128;
}
.phone-switch.is-on {
  background: #19e89a4d;
}
.phone-switch.is-on span {
  background: #19e89a;
  box-shadow: 0 0 9px #19e89a;
}
.running-banner {
  color: #cffff0;
  background: #092419ed;
  border-color: #19e89a5c;
}
.inspector {
  background: #080d0ae8;
  border-color: #3b3420;
}
.image-node-picker,
.action-editor,
.manual-inspector {
  background: #080d0a;
  border-color: #3c3621;
}
.image-node-preview {
  background: #0d140f;
  border-color: #4d4223;
}
.image-node-preview img {
  object-fit: contain;
}
.segmented button.is-active,
.primary-image-action,
.sync-design-button {
  color: #130f05;
  background: #d4af37;
  border-color: #f2d27b;
}
.statusbar {
  color: #7f897f;
  background: #050906f2;
  border-color: #443a20;
}
.statusbar b,
.statusbar > span:first-child,
.live-code-pill {
  color: #19e89a;
}
.modal-backdrop {
  background: #010201d6;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.modal-card h2,
.settings-heading h2,
.asset-heading h2 {
  color: #fff2c9;
}
.modal-actions .primary-action,
.vault-actions .vault-new,
.asset-card-actions .asset-use {
  color: #130f05;
  background: linear-gradient(180deg, #f2d27b, #d4af37);
  border-color: #f2d27b;
}
.asset-dropzone {
  color: #cfc4a6;
  background: #0a110c;
  border-color: #695823;
}
.asset-dropzone:hover,
.asset-dropzone.is-dragging {
  color: #fff1c3;
  background: #121b12;
  border-color: #d4af37;
}
.diagnostic-summary > * {
  color: #aaa188;
  background: #0e150f;
  border-color: #433c25;
}
.diagnostic-item b {
  color: #ebdec1;
}
.diagnostic-item.level-success {
  border-color: #1c6044;
}
.diagnostic-item.level-success > span {
  color: #58efb7;
  background: #0c3224;
}
.vault-shell {
  z-index: 1;
  color: #efe4c9;
  background:
    radial-gradient(circle at 14% 5%, #d4af3720, transparent 28%),
    radial-gradient(circle at 88% 88%, #19e89a14, transparent 30%),
    #030604;
}
.vault-grid {
  opacity: 0.38;
  background-image:
    linear-gradient(#19e89a11 1px, transparent 1px),
    linear-gradient(90deg, #d4af370e 1px, transparent 1px);
}
.vault-brand .brand-copy span,
.vault-secure,
.vault-card-copy > span,
.vault-card-meta,
.vault-footer {
  color: #766f58;
}
.vault-hero h1 {
  color: #fff4d0;
}
.vault-hero h1 em {
  background: linear-gradient(90deg, #f2d27b, #d4af37 48%, #19e89a);
  -webkit-background-clip: text;
  background-clip: text;
}
.vault-hero > p {
  color: #8d988d;
}
.vault-actions button {
  color: #d2c7a8;
  background: #0d1510cc;
  border-color: #494123;
}
.vault-actions .vault-import {
  color: #cfc4a4;
}
.vault-section-title {
  border-color: #5a4922;
}
.vault-section-title span {
  color: #19e89a;
}
.vault-section-title > b {
  color: #4d4328;
}
.vault-card {
  background:
    linear-gradient(145deg, #d4af370f, transparent 48%),
    #070c08eb;
  border-color: #3f3820;
}
.vault-card:hover {
  border-color: #d4af377d;
  box-shadow:
    0 20px 58px #00000075,
    0 0 28px #d4af370e;
}
.vault-card-copy small {
  color: #19bf83;
}
.vault-card-open > svg {
  color: #75632a;
}
.vault-card-actions button {
  color: #8f8973;
}
.vault-card-actions button:hover {
  color: #f1dfad;
  background: #171d12;
  border-color: #594a21;
}
.vault-empty,
.vault-loading {
  color: #7d887e;
  background: #070d09a6;
  border-color: #524621;
}
.vault-empty-icon {
  color: #f2d27b;
  background: #211c0e;
  border-color: #6b5720;
}
.vault-empty h3 {
  color: #ddcfad;
}
@media (prefers-reduced-motion: reduce) {
  body::after,
  .phone-stage::after,
  .vault-shell::after,
  .status-dot.is-running,
  .run-pulse,
  .vault-loading span {
    animation: none !important;
  }
}
