@font-face {
  font-family: "Hanken Grotesk";
  src: url("/landing/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/landing/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/landing/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
:root {
  --canvas: #060608;
  --paper: #0d0e12;
  --light: #15161a;
  --raised: #202126;
  --ink: #f4f4f5;
  --muted: #a1a1aa;
  --line: #292a30;
  --line-strong: #393b42;
  --focus: #c4c6cf;
  --action: #fafafa;
  --action-hover: #e4e4e7;
  --green: #63c7a6;
  --good-surface: #10221d;
  --good-line: #2c4940;
  --danger-ink: #f4a49f;
  --danger-surface: #2b191d;
  --danger-line: #5a363c;
  --warning: #dbb477;
  --heading-font: "Hanken Grotesk", Inter, system-ui, sans-serif;
  --mono-font: "JetBrains Mono", ui-monospace, monospace;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  color-scheme: dark;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
}
button {
  cursor: pointer;
}
a {
  color: var(--green);
}
button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 10px 15px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 550;
  transition:
    background 0.15s,
    transform 0.15s;
}
button:hover {
  background: var(--light);
}
button:active {
  transform: translateY(1px);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.primary {
  background: var(--action);
  color: var(--canvas);
  border-color: var(--action);
}
.primary:hover {
  background: var(--action-hover);
  border-color: var(--action-hover);
}
.quiet {
  border-color: transparent;
  background: transparent;
}
.danger {
  color: var(--danger-ink);
}
.small {
  font-size: 12px;
  padding: 7px 10px;
}
.shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: var(--paper);
  border-right: 1px solid var(--line);
  padding: 29px 18px 20px;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  z-index: 10;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 550;
  letter-spacing: -0.5px;
}
.foundry-mark {
  display: inline-block;
  flex: none;
  width: 1.1rem;
  aspect-ratio: 1;
  background: currentColor;
  clip-path: polygon(
    0 23%,
    23% 0,
    100% 0,
    77% 23%,
    23% 23%,
    23% 38%,
    76% 38%,
    53% 62%,
    23% 62%,
    23% 78%,
    0 100%
  );
}
.workspace-switch {
  margin: 33px 0 22px;
  padding: 12px 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.workspace-switch label,
.eyebrow {
  font-family: var(--mono-font);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--muted);
}
.workspace-switch select {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 9px 0 0;
  font-size: 13px;
  color: var(--ink);
}
nav {
  display: grid;
  gap: 5px;
}
nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 11px 13px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
}
nav button.active {
  background: var(--light);
  color: var(--ink);
}
nav svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}
.side-footer {
  margin-top: auto;
  padding-top: 30px;
}
.quota {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: var(--light);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.quota strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
}
.avatar {
  border-radius: 50%;
  background: var(--light);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 12px;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 20px 3px 0;
  font-size: 12px;
}
.profile .name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 79px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  font-size: 12px;
  color: var(--muted);
}
.crumb,
.history-label,
.badge {
  font-family: var(--mono-font);
}
.crumb strong {
  font-weight: 500;
  color: var(--ink);
}
.top-right {
  display: flex;
  align-items: center;
  gap: 15px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 6px;
}
h1,
h2,
h3 {
  font-family: var(--heading-font);
}
.content {
  max-width: 1500px;
  padding: 44px;
  margin: auto;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 34px;
  gap: 20px;
}
.page-head h1 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 300;
  letter-spacing: -0.035em;
  margin: 0 0 9px;
}
.sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 37px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 22px 24px;
}
.stat .label {
  font-size: 12px;
  color: var(--muted);
}
.stat .number {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 12px 0 8px;
}
.stat .foot {
  font-size: 11px;
  color: var(--muted);
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 18px;
}
.section-head h2 {
  font-size: 15px;
  font-weight: 550;
  margin: 0;
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}
.search {
  max-width: 300px;
}
.search input {
  padding: 10px 13px;
  background: transparent;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 18px;
}
.project-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
  text-align: left;
  padding: 0;
  font-weight: 400;
}
.project-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 30px #0003;
  background: var(--paper);
}
.project-cover {
  height: 125px;
  background:
    radial-gradient(circle, #979ea724 0.6px, transparent 0.9px) center / 11px
      11px,
    var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.project-cover .project-glyph {
  font-size: 34px;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: -4px;
}
.project-body {
  padding: 20px;
}
.project-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 550;
  font-size: 14px;
}
.repo {
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-top: 22px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  border: 1px solid var(--good-line);
  color: var(--green);
  background: var(--good-surface);
  border-radius: 5px;
  padding: 4px 7px;
  font-weight: 500;
}
.badge.neutral {
  color: var(--muted);
  background: var(--light);
  border-color: var(--line);
}
.empty {
  border: 1px dashed var(--line-strong);
  border-radius: 13px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--paper);
  text-align: center;
  padding: 35px;
  gap: 16px;
}
.empty-mark {
  width: 65px;
  height: 65px;
  border-radius: 18px;
  background: var(--light);
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--muted);
  margin-bottom: 8px;
  transform: rotate(-5deg);
}
.empty h2 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}
.empty p {
  max-width: 400px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.tip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--light);
  color: var(--muted);
  font-size: 12px;
}
.tip strong {
  font-weight: 550;
  color: var(--ink);
}
.panel {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 22px;
}
.panel h2 {
  font-size: 16px;
  font-weight: 550;
  margin: 0 0 12px;
}
.panel p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.row {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.row:last-child {
  border: 0;
}
.mono {
  font-family: var(--mono-font);
  font-size: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label.field {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 17px;
}
input,
select,
textarea {
  display: block;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--ink);
  width: 100%;
  margin-top: 8px;
  font-size: 13px;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  outline: 1px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
}
.help {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: -6px;
  margin-bottom: 16px;
}
.error {
  font-size: 12px;
  color: var(--danger-ink);
  background: var(--danger-surface);
  padding: 11px 13px;
  border-radius: 6px;
  line-height: 1.7;
}
.error:empty {
  display: none;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  width: 560px;
  background: var(--paper);
  max-width: calc(100vw - 32px);
  max-height: 90vh;
  box-shadow: 0 24px 90px #0008;
  color: var(--ink);
}
dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(4px);
}
.modal-head {
  padding: 25px 28px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-head h2 {
  font-size: 19px;
  font-weight: 550;
  margin: 0;
  letter-spacing: -0.5px;
}
.modal-content {
  padding: 25px 28px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.auth-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  color-scheme: dark;
}
.auth-story {
  padding: clamp(25px, 4.5vw, 65px);
  background:
    linear-gradient(180deg, #06060855, #060608ad),
    url("/landing/graphite.jpg") center / cover;
}
.auth-home {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}
.auth-story h1 {
  margin: clamp(2.25rem, 8vw, 8rem) 0 0.85rem;
  font-size: clamp(2.1rem, 4.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.auth-story p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}
.auth-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(25px, 4vw, 45px);
}
.auth-inner {
  width: min(100%, 355px);
}
.auth-inner h2 {
  margin: 0 0 1.5rem;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.035em;
}
.auth-shell :focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.auth-inner .primary {
  width: 100%;
  padding: 13px;
  border-radius: 999px;
}
.auth-inner #oidc + form {
  margin-top: 1.5rem;
}
.auth-toggle {
  text-align: center;
  font-size: 13px;
  margin-top: 25px;
  color: var(--muted);
}
.auth-toggle button {
  border: 0;
  background: none;
  color: var(--ink);
  padding: 5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.loading {
  display: grid;
  place-items: center;
  min-height: 100vh;
  color: var(--muted);
  font-size: 13px;
}
#toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99;
  background: var(--light);
  color: var(--ink);
  padding: 13px 20px;
  border-radius: 9px;
  font-size: 12px;
  box-shadow: 0 4px 25px #0002;
  display: none;
  max-width: 400px;
}
#toast.show {
  display: block;
}
.mobile-brand {
  display: none;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--light);
  padding: 15px;
  border-radius: 8px;
  font-size: 12px;
}
.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 23px;
}
.tabs button {
  border: 0;
  background: transparent;
}
.tabs button.active {
  background: var(--light);
  color: var(--green);
}
@media (min-width: 1600px) {
  .content {
    padding-top: 55px;
  }
}
@media (max-width: 950px) {
  .sidebar {
    width: 195px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .shell {
    grid-template-columns: 195px 1fr;
  }
  .content {
    padding: 30px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
}
@media (max-width: 680px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: relative;
    width: 100%;
    padding: 15px;
    display: block;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar > .brand,
  .side-footer {
    display: none;
  }
  .workspace-switch {
    margin: 0;
    border: 0;
    padding: 0 5px;
    max-width: 240px;
  }
  .workspace-switch label {
    display: none;
  }
  .workspace-switch select {
    padding: 4px 0;
  }
  .sidebar nav {
    display: flex;
    margin-top: 15px;
    overflow: auto;
  }
  .sidebar nav button {
    font-size: 11px;
    white-space: nowrap;
    gap: 6px;
    padding: 8px;
  }
  .sidebar nav svg {
    width: 14px;
    height: 14px;
  }
  .topbar {
    height: 55px;
    padding: 0 20px;
  }
  .top-right {
    font-size: 10px;
  }
  .content {
    padding: 27px 20px;
  }
  .page-head h1 {
    font-size: 25px;
  }
  .page-head {
    align-items: flex-start;
  }
  .summary {
    gap: 8px;
    margin-bottom: 25px;
  }
  .stat {
    padding: 15px 12px;
  }
  .stat .label {
    font-size: 10px;
  }
  .stat .number {
    font-size: 24px;
  }
  .stat .foot {
    font-size: 9px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .auth-shell {
    display: block;
  }
  .tip {
    align-items: flex-start;
    line-height: 1.7;
  }
  .page-head .primary {
    font-size: 11px;
    padding: 10px;
  }
  .modal-head,
  .modal-content {
    padding: 20px;
  }
  .topbar .crumb {
    font-size: 11px;
  }
}
.task-list {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.task-row {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
}
.task-row:last-child {
  border-bottom: 0;
}
.task-info {
  flex: 1;
  min-width: 0;
}
.task-info strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 8px;
}
.task-info > span {
  font-size: 11px;
  color: var(--muted);
}
.task-info i {
  font-style: normal;
  margin: 0 7px;
}
.task-status {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light);
  color: var(--muted);
  display: grid;
  place-items: center;
}
.task-status.ready_for_review {
  background: var(--good-surface);
  color: var(--green);
}
.task-status.failed {
  background: var(--danger-surface);
  color: var(--danger-ink);
}
.task-arrow {
  font-size: 14px;
  color: var(--muted);
}
.task-dialog {
  width: 740px;
}
.task-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.task-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  padding: 20px 0;
}
.timeline {
  margin: 25px 0;
  max-height: 340px;
  overflow-y: auto;
}
.event {
  border-left: 2px solid var(--line);
  padding: 5px 0 7px 17px;
  margin-bottom: 15px;
}
.event-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  align-items: center;
}
.event-meta strong {
  font-weight: 600;
}
.event-meta span {
  color: var(--muted);
}
.event p {
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.check-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.check {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 11px;
}
.check span {
  color: var(--green);
  margin-right: 7px;
}
@media (max-width: 680px) {
  .task-row {
    padding: 15px 12px;
    gap: 8px;
  }
  .task-row .badge {
    max-width: 90px;
    white-space: normal;
  }
  .task-info strong {
    font-size: 12px;
  }
  .task-arrow {
    display: none;
  }
  .task-dialog .modal-actions {
    flex-wrap: wrap;
    gap: 7px;
  }
  .task-dialog .modal-actions button {
    font-size: 11px;
  }
}
.finding-row {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}
.finding-row:last-child {
  border: 0;
}
.finding-content {
  min-width: 0;
}
.finding-content strong {
  font-size: 13px;
  font-weight: 550;
  margin-left: 10px;
}
.finding-content .sub {
  margin-top: 9px;
  overflow-wrap: anywhere;
}
.severity-high {
  background: var(--danger-surface);
  color: var(--danger-ink);
  border-color: var(--danger-line);
}
.finding-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
#room-presence {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0 18px;
}
@media (max-width: 680px) {
  .finding-row {
    display: block;
    padding: 16px;
  }
  .finding-actions {
    margin-top: 15px;
  }
  .finding-content strong {
    display: block;
    margin: 9px 0;
  }
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.7;
  margin: 17px 0;
  color: var(--muted);
}
.check-label input {
  width: 15px;
  flex: 0 0 15px;
  margin-top: 3px;
  accent-color: var(--green);
}
.dns-record {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 15px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  font-size: 11px;
  margin: 15px 0;
}
.dns-record > span {
  color: var(--muted);
  grid-row: span 2;
}
.dns-record code {
  overflow-wrap: anywhere;
}
.secret-list {
  margin: 20px 0 25px;
}
.preview-shots {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 12px;
  margin-top: 20px;
}
.preview-shots img {
  display: block;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--light);
}
.preview-shots p {
  font-size: 10px;
  color: var(--muted);
}
@media (max-width: 680px) {
  .preview-shots {
    grid-template-columns: 1fr 90px;
  }
  .dns-record {
    display: block;
  }
  .dns-record > * {
    display: block;
    margin: 8px 0;
  }
}
.preview-dialog {
  width: 1280px;
  max-width: 96vw;
}
.preview-dialog .modal-content {
  padding: 15px;
}
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.device-switch {
  display: flex;
  gap: 5px;
}
.live-preview-shell {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: auto;
  display: flex;
  justify-content: center;
  padding: 12px;
  min-height: 65vh;
}
.live-preview-shell iframe {
  background: var(--paper);
  border: 0;
  border-radius: 6px;
  width: 100%;
  height: 65vh;
  transition: width 0.2s;
  flex-shrink: 0;
}
.live-preview-shell iframe.phone {
  width: 390px;
  max-width: 100%;
}
@media (max-width: 680px) {
  .preview-toolbar .sub {
    display: none;
  }
  .preview-toolbar {
    gap: 5px;
  }
  .preview-toolbar button {
    font-size: 10px;
  }
  .live-preview-shell {
    padding: 5px;
  }
}
.head-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.new-app-intro {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 0 20px;
  color: var(--muted);
}
.idea-readiness {
  margin: 18px 0;
  padding: 16px;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
}
.idea-readiness p {
  margin: 8px 0 12px;
  color: var(--muted);
  line-height: 1.6;
}
.idea-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.idea-services span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.idea-services .available {
  color: var(--green);
}
.idea-services small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.saved-idea h3 {
  font-size: 25px;
  letter-spacing: -0.6px;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.saved-idea > .sub {
  line-height: 1.7;
  margin-bottom: 0;
}
.saved-idea .idea-services {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0 18px;
  padding: 17px;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.7;
}
.saved-idea > .help {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 16px;
}
.idea-prompt {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
  color: var(--muted);
  max-height: 220px;
  overflow: auto;
}
@media (max-width: 680px) {
  .idea-services {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .saved-idea .idea-services {
    grid-template-columns: 1fr;
  }
}
.new-app-intro > span,
.setup-progress > span {
  font-size: 48px;
  color: var(--green);
}
.setup-progress {
  text-align: center;
  padding: 30px 10px;
}
.domain-price {
  background: var(--light);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 25px;
}
.domain-price > strong {
  font-size: 30px;
  font-weight: 500;
}
.stat small {
  font-size: 18px;
}
.stat .number {
  overflow-wrap: anywhere;
}
#budget-form {
  display: flex;
  align-items: end;
  gap: 20px;
  max-width: 520px;
}
#budget-form .field {
  margin: 10px 0 0;
  flex: 1;
}
@media (max-width: 700px) {
  .head-actions {
    flex-wrap: wrap;
  }
  .page-head {
    gap: 15px;
  }
  .domain-price {
    padding: 15px;
  }
  #budget-form {
    flex-wrap: wrap;
  }
}
.native-frame {
  width: 100%;
  height: 70vh;
  border: 0;
  background: var(--light);
  border-radius: 12px;
}
.panel > .primary {
  margin-left: 8px;
}

/* The conversation is the primary workspace; management tools stay within reach. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.shell {
  grid-template-columns: 248px minmax(0, 1fr);
}
.sidebar {
  width: 248px;
  padding: 26px 16px 18px;
  overflow-y: auto;
}
.sidebar .workspace-switch {
  margin: 25px 0 12px;
}
.history-label {
  font-size: 9px;
  letter-spacing: 1.3px;
  font-weight: 650;
  color: var(--muted);
}
.new-conversation {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 3px 0 24px;
  padding: 11px 13px;
  background: var(--paper);
  border-color: var(--line-strong);
}
.new-conversation > span:first-child {
  font-size: 20px;
  line-height: 16px;
  font-weight: 400;
}
.shortcut {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}
.chat-history {
  flex: 1;
  min-height: 100px;
}
.history-label {
  padding: 0 10px 10px;
}
.history-empty {
  padding: 0 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.history-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 10px;
  font-size: 12px;
  font-weight: 450;
}
.history-item.selected {
  background: var(--light);
}
.history-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
}
.history-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  flex-shrink: 0;
}
.history-status.ready_for_review {
  background: var(--green);
  border-color: var(--green);
}
.history-status.failed {
  background: var(--danger-ink);
  border-color: var(--danger-ink);
}
.history-status.implementing,
.history-status.checking,
.history-status.previewing {
  background: var(--warning);
  border-color: var(--warning);
}
.history-running {
  font-size: 16px;
  color: var(--green);
}
.workspace-tools {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 20px;
}
.workspace-tools > summary {
  cursor: pointer;
  padding: 7px 10px;
  font-size: 12px;
  color: var(--muted);
}
.workspace-tools nav {
  margin-top: 8px;
}
.workspace-tools nav button {
  padding: 8px 10px;
  font-size: 12px;
}
.sidebar .side-footer {
  padding-top: 16px;
}
.sidebar .quota {
  display: none;
}
.mobile-history-toggle {
  display: none;
}
/* Keep the existing management screens responsive outside the builder. */
@media (max-width: 900px) {
  .shell:not(.studio-shell) {
    grid-template-columns: 215px minmax(0, 1fr);
  }
  .shell:not(.studio-shell) .sidebar {
    width: 215px;
  }
}
@media (max-width: 680px) {
  .shell:not(.studio-shell) {
    display: block;
  }
  .shell:not(.studio-shell) .sidebar {
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 13px 16px;
  }
  .shell:not(.studio-shell) .workspace-switch {
    margin: 0;
    padding: 0;
    max-width: none;
  }
  .shell:not(.studio-shell) .workspace-switch select {
    width: 100%;
  }
  .shell:not(.studio-shell) .new-conversation {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding: 7px 10px;
    font-size: 11px;
    width: auto;
  }
  .shell:not(.studio-shell) .new-conversation .shortcut {
    display: none;
  }
  .shell:not(.studio-shell) .workspace-tools {
    grid-column: 1/-1;
    border: 0;
    padding: 0;
    margin: 0;
  }
  .shell:not(.studio-shell) .workspace-tools > summary {
    padding: 6px 0;
    font-size: 11px;
  }
  .shell:not(.studio-shell) .workspace-tools nav {
    flex-wrap: wrap;
    margin: 8px 0 0;
  }
  .shell:not(.studio-shell) .workspace-tools nav button {
    padding: 6px;
  }
  .shell:not(.studio-shell) .mobile-history-toggle {
    display: block;
    grid-column: 1;
    grid-row: 2;
    font-size: 10px;
    padding: 3px 0;
  }
  .shell:not(.studio-shell) .chat-history {
    display: none;
    grid-column: 1/-1;
    min-height: 0;
    max-height: 200px;
    overflow: auto;
  }
  .shell:not(.studio-shell) .sidebar.history-open .chat-history {
    display: block;
  }
}
/* Workspace builder: chat on the left and application preview on the right. */
.studio-shell {
  display: block;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background: var(--canvas);
  color: var(--ink);
}
.studio-shell .main {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.studio-shell .topbar {
  justify-content: flex-start;
  height: 48px;
  min-height: 48px;
  padding: 0 14px;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.studio-shell .icon-button {
  width: 29px;
  height: 29px;
  padding: 0;
  flex-shrink: 0;
  font-size: 17px;
  color: var(--muted);
  border-radius: 6px;
}
.studio-topbar-label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin-right: auto;
  font-size: 12px;
  color: var(--ink);
}
.studio-divider {
  margin: 0 4px;
  color: #626262;
}
#studio-project-name {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.studio-shell .status-dot {
  background: var(--green);
}
.studio-shell .sidebar {
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
  width: min(300px, calc(100vw - 40px));
  padding: 24px 18px 18px;
  background: var(--paper);
  border-color: var(--line);
  transform: translateX(-100%);
  visibility: hidden;
  z-index: 31;
  gap: 0;
}
.studio-shell.menu-open .sidebar {
  transform: none;
  visibility: visible;
}
.studio-shell .sidebar .brand {
  display: flex;
  color: var(--ink);
}
.studio-shell .sidebar .workspace-switch {
  max-width: none;
}
.studio-shell .sidebar .workspace-switch label {
  display: block;
}
.studio-shell .sidebar .badge {
  background: var(--light);
  border-color: var(--line-strong);
  color: var(--muted);
}
#close-workspace-menu {
  position: absolute;
  right: 12px;
  top: 25px;
}
.studio-shell .sidebar .brand .badge {
  display: none;
}
.studio-shell .new-conversation {
  background: var(--light);
}
.studio-shell .chat-history {
  display: block;
  min-height: 100px;
  max-height: none;
  overflow: auto;
}
.studio-shell .history-item {
  background: transparent;
}
.studio-shell .history-item.selected {
  background: var(--raised);
}
.studio-shell .history-empty,
.studio-shell .history-label,
.studio-shell .shortcut {
  color: var(--muted);
}
.studio-shell .workspace-tools {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.studio-shell .workspace-tools > summary {
  color: var(--muted);
  padding: 7px 10px;
}
.studio-shell .workspace-tools nav {
  display: grid;
  margin-top: 8px;
}
.studio-shell .workspace-tools nav button {
  color: var(--ink);
}
.studio-shell .side-footer {
  display: block;
  margin-top: auto;
}
.studio-shell .profile {
  color: var(--ink);
}
.studio-shell .avatar {
  background: var(--raised);
}
.studio-shell .mobile-history-toggle {
  display: none;
}
.workspace-scrim {
  position: fixed;
  inset: 0;
  z-index: 30;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.studio-shell .workspace-scrim,
.studio-shell .workspace-scrim:hover {
  background: #0008;
  backdrop-filter: blur(2px);
}
.workspace-scrim[hidden] {
  display: none;
}
.content.chat-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  max-width: none;
  padding: 0;
  margin: 0;
}
.conversation-workspace {
  display: grid;
  grid-template-columns: minmax(340px, 30%) minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.conversation-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 0 16px 10px;
  overflow: hidden;
}
.chat-welcome {
  flex: 1;
  min-height: 180px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 12px;
}
.welcome-symbol {
  width: 24px;
  color: var(--ink);
  margin-bottom: 27px;
}
.chat-welcome .eyebrow {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.3px;
}
.chat-welcome h1 {
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 14px 0;
  max-width: 340px;
}
.welcome-description {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  white-space: pre-line;
  margin: 0;
  max-width: 320px;
}
.welcome-composer,
.conversation-compose {
  flex-shrink: 0;
}
.chat-composer {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 14px 13px 11px;
}
.chat-composer:focus-within {
  border-color: var(--focus);
  box-shadow: 0 0 0 1px var(--focus);
}
.chat-composer textarea {
  width: 100%;
  min-height: 72px;
  max-height: 160px;
  margin: 0 0 12px;
  padding: 0 3px;
  border: 0;
  border-radius: 0;
  background: transparent;
  outline: none;
  box-shadow: none;
  resize: vertical;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
}
.chat-composer textarea::placeholder {
  color: var(--muted);
}
.composer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.composer-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}
.composer-build-options {
  display: contents;
}
#chat-files,
.composer-files:empty {
  display: none;
}
.composer-files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 9px;
}
.composer-file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 3px 4px 3px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 11px;
}
.composer-file img {
  width: 24px;
  height: 24px;
  border-radius: 3px;
  object-fit: cover;
}
.composer-file > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.studio-shell .composer-file button {
  padding: 2px 6px;
}
.chat-file-names {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}
.chat-file-names li {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.composer-options select {
  width: auto;
  max-width: 170px;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--light);
  color: var(--ink);
  font-size: 10px;
}
.composer-scope {
  color: var(--muted);
  font-size: 10px;
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.studio-shell button.send-prompt {
  flex-shrink: 0;
  width: 31px;
  height: 31px;
  padding: 0;
  border-radius: 50%;
  color: var(--canvas);
  background: var(--action);
  border-color: var(--action);
  font-size: 22px;
}
.studio-shell button.send-prompt:hover {
  background: var(--action-hover);
}
.composer-note {
  text-align: center;
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
  margin: 8px 0 0;
}
.chat-composer .error {
  margin: 10px 0 0;
}
.chat-composer .error:empty {
  display: none;
}
.studio-shell .error {
  background: var(--danger-surface);
  color: var(--danger-ink);
}
.prompt-suggestions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}
.studio-shell .prompt-suggestions button {
  padding: 6px 9px;
  border-radius: 20px;
  font-size: 10px;
  color: var(--ink);
  background: var(--light);
  border-color: var(--line-strong);
}
.prompt-suggestions button span {
  margin-left: 5px;
  color: var(--muted);
}
.chat-setup-note {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  padding: 0 4px;
  margin: 0 0 12px;
}
.chat-opening {
  padding: 70px 30px;
  text-align: center;
  color: var(--muted);
}
.conversation-header {
  padding: 18px 4px 16px;
  border-bottom: 1px solid var(--raised);
}
.conversation-header h1 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  margin: 8px 0 11px;
  overflow-wrap: anywhere;
  max-height: 90px;
  overflow: auto;
}
.conversation-header .eyebrow {
  font-size: 9px;
  color: var(--muted);
}
.conversation-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.studio-shell .badge {
  background: var(--good-surface);
  color: var(--green);
  border-color: var(--good-line);
  font-size: 9px;
  border-radius: 20px;
  padding: 3px 7px;
}
.studio-shell .badge.neutral {
  background: var(--light);
  color: var(--muted);
  border-color: var(--line-strong);
}
.branch-label {
  font-family: var(--mono-font);
  color: var(--muted);
  font-size: 9px;
  overflow-wrap: anywhere;
}
.chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 22px 2px;
  scroll-behavior: smooth;
}
.chat-message {
  padding-bottom: 25px;
}
.message-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.message-author strong {
  font-weight: 500;
}
.message-author > span:last-child {
  color: var(--muted);
  font-size: 9px;
}
.message-avatar {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--raised);
  color: var(--ink);
  font-size: 11px;
}
.from-atlas .message-avatar {
  background: var(--light);
  color: var(--ink);
}
.chat-message > p {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat-message > p a {
  color: var(--ink);
}
.from-person {
  margin: 0 0 24px 24px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px 16px 4px 16px;
}
.from-person .message-author {
  font-size: 10px;
}
.from-person .message-avatar {
  width: 18px;
  height: 18px;
  font-size: 10px;
}
.from-person > p {
  margin-top: 8px;
}
.chat-progress {
  display: flex;
  gap: 12px;
  color: var(--muted);
  padding: 15px 0 20px;
}
.progress-orbit {
  font-size: 23px;
}
.chat-progress strong {
  font-size: 12px;
  font-weight: 500;
}
.chat-progress p {
  font-size: 11px;
  line-height: 1.8;
  margin: 6px 0 0;
}
.chat-presence {
  color: var(--muted);
  font-size: 9px;
  margin: 5px 4px 10px;
}
.chat-presence:empty {
  display: none;
}
.chat-run-error {
  font-size: 12px;
  line-height: 1.7;
}
.workbench {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  margin: 0 7px 7px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}
.workbench-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 7px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--light);
  color: var(--ink);
  color-scheme: dark;
}
.workbench-tabs {
  display: flex;
  gap: 3px;
  min-width: 0;
}
.studio-shell .workbench-tabs button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  font-size: 11px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: transparent;
  color: var(--muted);
  white-space: nowrap;
}
.workbench-tabs svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.studio-shell .workbench-tabs button.active {
  color: var(--ink);
  background: var(--raised);
  border-color: var(--line-strong);
}
.preview-state {
  font-family: var(--mono-font);
  color: var(--muted);
  font-size: 10px;
}
.conversation-actions {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-shrink: 0;
}
.conversation-actions button {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 10px;
}
.chat-evidence {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.chat-evidence:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -3px;
}
.evidence-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px;
  text-align: center;
  color: var(--muted);
  background:
    radial-gradient(ellipse at center, #272b3255, transparent 75%),
    radial-gradient(circle, #979ea724 0.6px, transparent 0.9px) center / 11px
      11px;
}
.preview-window-symbol {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--light);
  color: var(--muted);
  font-size: 28px;
}
.preview-window-symbol svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.3;
}
.evidence-placeholder h2 {
  font-size: 25px;
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 14px 0 0;
}
.evidence-placeholder p {
  max-width: 300px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.evidence-detail {
  padding: 25px;
  min-width: 0;
}
.evidence-detail h2 {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.changed-file {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 10px 0;
  background: var(--light);
  overflow: hidden;
}
.changed-file summary {
  cursor: pointer;
  padding: 12px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.changed-file pre {
  max-height: 380px;
  overflow: auto;
  margin: 0;
  padding: 15px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 11px;
}
.chat-checks {
  display: grid;
  margin-top: 22px;
}
.chat-checks article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.chat-checks article > div {
  flex: 1;
  min-width: 0;
}
.chat-checks strong {
  font-size: 12px;
}
.chat-checks p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}
.check-result {
  color: var(--danger-ink);
}
.check-result.passed {
  color: var(--green);
}
.embedded-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 12px;
  font-size: 10px;
  color: var(--muted);
  background: var(--light);
  border-bottom: 1px solid var(--line);
}
.studio-shell .embedded-preview-toolbar button {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  padding: 4px 8px;
}
.embedded-preview {
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: center;
  background: var(--canvas);
}
.embedded-preview iframe {
  border: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: white;
  color-scheme: light;
}
.embedded-preview iframe.phone {
  width: 375px;
  max-width: 100%;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.studio-mobile-tabs {
  display: none;
}
@media (max-width: 1100px) {
  .conversation-workspace {
    grid-template-columns: 340px minmax(0, 1fr);
  }
  .workbench-bar {
    padding: 7px 8px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .conversation-actions {
    margin-left: auto;
  }
}
@media (max-width: 760px) {
  .studio-shell .topbar {
    gap: 10px;
    padding: 0 10px;
  }
  .studio-mobile-tabs {
    display: flex;
    flex-shrink: 0;
    gap: 5px;
    padding: 4px 12px 10px;
  }
  .studio-shell .studio-mobile-tabs button {
    flex: 1;
    border: 1px solid transparent;
    padding: 8px 12px;
    font-size: 11px;
    color: var(--muted);
    background: transparent;
  }
  .studio-shell .studio-mobile-tabs button[aria-pressed="true"] {
    background: var(--raised);
    border-color: var(--line-strong);
    color: var(--ink);
  }
  .conversation-workspace {
    display: flex;
    min-height: 0;
  }
  .conversation-column {
    flex: 1;
    padding: 0 12px max(10px, env(safe-area-inset-bottom));
  }
  .chat-welcome {
    padding: 25px 12px;
    min-height: 150px;
  }
  .chat-welcome h1 {
    font-size: 34px;
  }
  .welcome-symbol {
    margin-bottom: 20px;
  }
  .workbench {
    display: none;
    flex: 1;
    margin: 0 8px 8px;
  }
  .show-preview .conversation-column {
    display: none;
  }
  .show-preview .workbench {
    display: flex;
  }
  .studio-shell .sidebar .side-footer {
    display: block;
  }
  .studio-shell .sidebar .profile {
    margin-top: 20px;
  }
  .workbench-bar {
    gap: 8px;
  }
  .conversation-actions button {
    padding: 5px 8px;
  }
  .evidence-placeholder {
    padding: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .chat-messages {
    scroll-behavior: auto;
  }
}
