@import url("/fonts.css");
/* Normal menu chat sits over the sculpture; its underlying draft stays put. */
body[data-chat-mode="local-test"] #app {
  transition: opacity 240ms ease;
}
body.workspace-menu-chat-open #app {
  opacity: 0;
  pointer-events: none;
}
body[data-chat-mode="local-test"] > #assistant-open,
body[data-chat-mode="local-test"] > #assistant-composer {
  --accent: 160 234 240;
  --secondary: 155 246 207;
  --text: 231 247 249;
}
:root {
  color-scheme: dark;
  --bg: #0b1418;
  --panel: #111e23;
  --panel2: #15252b;
  --line: #c2e7ec20;
  --text: #e5eff0;
  --muted: #9bafb7;
  --mint: #a5dbce;
  --blue: #8cb5d0;
  --warm: #d9b68c;
  --red: #edaaa7;
  --radius: 18px;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.48;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #adede5;
  outline-offset: 5px;
}
button {
  color: inherit;
}
button,
a {
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  font-weight: 500;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.15;
}
h2 {
  font-size: 27px;
  line-height: 1.25;
}
h3 {
  font-size: 18px;
  line-height: 1.35;
}
p {
  line-height: 1.7;
}
small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.mono,
.eyebrow {
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow {
  color: var(--mint);
  margin-bottom: 18px;
}
.wordmark {
  font-family: Manrope, sans-serif;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-decoration: none;
  font-size: 21px;
}
.test-banner {
  padding: 9px 24px;
  text-align: center;
  background: #19272b;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #b4c7ca;
}
.test-banner strong {
  color: var(--mint);
  font-weight: 600;
}
.topbar {
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand span {
  border-left: 1px solid var(--line);
  padding-left: 24px;
  color: var(--muted);
  font-size: 13px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.text-button {
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}
.text-button:hover {
  color: var(--text);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  padding: 13px 19px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-weight: 550;
  min-height: 46px;
  background: var(--mint);
  color: #122b28;
  line-height: 1.4;
}
.button:hover {
  background: #c2f1e6;
}
.button.secondary {
  background: transparent;
  border-color: #b9dae036;
  color: var(--text);
}
.button.secondary:hover {
  background: #d1e9ed0d;
}
.button.small {
  padding: 9px 13px;
  min-height: 40px;
  font-size: 13px;
}
.button.danger {
  background: #512f33;
  color: #f3c4c3;
  border-color: #c8737540;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.entry {
  max-width: 1320px;
  margin: 0 auto;
  padding: 76px 5vw 36px;
}
.entry-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 8vw;
  align-items: start;
}
.entry-copy {
  padding: 10px 0;
}
.entry h1 {
  font-size: clamp(42px, 4.7vw, 67px);
  max-width: 580px;
  letter-spacing: -0.065em;
}
.entry h1 em {
  font-style: normal;
  color: var(--mint);
}
.entry-lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 470px;
  margin: 26px 0 40px;
}
.thread-art {
  padding: 24px 0 0;
  max-width: 440px;
  border-top: 1px solid var(--line);
}
.thread-node {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  position: relative;
  padding-bottom: 22px;
}
.thread-node:not(:last-child):before {
  content: "";
  position: absolute;
  left: 12px;
  top: 26px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--mint), #83c9bf20);
}
.thread-node b {
  width: 25px;
  height: 25px;
  border: 1px solid #a5dbce55;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: var(--mint);
  font-weight: 400;
}
.thread-node p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}
.intake-card {
  background: linear-gradient(140deg, #17282d, #0e1b20);
  border: 1px solid #b9dfe328;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 30px 90px #0002;
}
.intake-card h2 {
  font-size: 25px;
  margin-bottom: 9px;
}
.intake-card > p {
  font-size: 13px;
  margin-bottom: 22px;
  color: var(--muted);
}
label.field {
  display: block;
  font-size: 13px;
  margin-top: 19px;
  color: #cddde0;
}
.field input,
.field textarea,
.field select {
  display: block;
  margin-top: 8px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #bedbe02b;
  background: #0b171c;
  color: var(--text);
  border-radius: 8px;
  line-height: 1.6;
  min-height: 46px;
}
.field textarea {
  resize: vertical;
  min-height: 125px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #748e98;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 20px 0;
}
.check-label input {
  margin: 4px 0 0;
  accent-color: var(--mint);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.full {
  width: 100%;
}
.privacy-note {
  margin-top: 16px !important;
  font-size: 11px !important;
  line-height: 1.7;
}
.fixture-picker {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 22px;
}
.fixture-picker summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  min-height: 40px;
}
.fixture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.fixture-choice {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #102027;
  padding: 18px;
  color: var(--text);
  line-height: 1.5;
}
.fixture-choice:hover {
  border-color: #a5dbce66;
  background: #193038;
}
.fixture-choice span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.entry-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.shell {
  display: grid;
  grid-template-columns: 226px minmax(0, 1fr);
  min-height: calc(100dvh - 119px);
}
.sidebar {
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: #0d181d;
}
.project-label {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  padding: 0 12px;
}
.project-label strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  margin-top: 6px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: var(--muted);
  padding: 13px 12px;
  border-radius: 9px;
  font-size: 13px;
  border: 1px solid transparent;
}
.nav a:hover {
  background: #bdeded08;
}
.nav a[aria-current="page"] {
  background: #afd9d710;
  color: var(--mint);
  border-color: #a5dbce18;
}
.nav .index {
  font-family: monospace;
  font-size: 10px;
  opacity: 0.65;
}
.connection {
  margin-top: auto;
  padding: 14px 12px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.connection i,
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  margin-right: 7px;
}
.connection i {
  background: var(--warm);
}
.workspace-main {
  padding: 38px clamp(24px, 4vw, 64px) 50px;
  max-width: 1440px;
  width: 100%;
  margin: auto;
  align-self: start;
}
.breadcrumbs {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.025em;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 30px;
}
.page-heading h1 {
  font-size: clamp(30px, 3.5vw, 42px);
}
.page-heading p {
  color: var(--muted);
  margin-top: 11px;
  max-width: 580px;
  font-size: 14px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 30px;
  border: 1px solid #a5dbce30;
  background: #a5dbce09;
  color: var(--mint);
  font-size: 11px;
  white-space: nowrap;
  line-height: 1.4;
}
.pill.warn {
  color: var(--warm);
  border-color: #d9b68c30;
  background: #d9b68c08;
}
.pill.neutral {
  color: var(--muted);
  border-color: var(--line);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.8fr);
  gap: 22px;
}
.panel {
  background: linear-gradient(135deg, #14232a, #111c21);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  min-width: 0;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.panel-title h2 {
  font-size: 17px;
  letter-spacing: -0.015em;
}
.next-card {
  background:
    radial-gradient(ellipse at 85% 10%, #76d3c21c, transparent 65%), #13272b;
  border-color: #99d8c733;
  padding: 30px;
}
.next-card h2 {
  font-size: 28px;
  max-width: 460px;
  margin: 22px 0 13px;
}
.next-card p {
  color: #abc2c6;
  max-width: 490px;
  font-size: 14px;
  margin-bottom: 28px;
}
.next-card .eyebrow {
  margin: 0;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.milestones {
  margin-top: 12px;
}
.milestone {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 0;
  color: var(--muted);
  font-size: 13px;
}
.milestone b {
  border: 1px solid var(--line);
  border-radius: 50%;
  height: 23px;
  width: 23px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 400;
}
.milestone.done b {
  background: #a5dbce20;
  color: var(--mint);
  border-color: #a5dbce40;
}
.milestone.active {
  color: var(--text);
}
.milestone.active b {
  border-color: var(--mint);
  color: var(--mint);
}
.milestone span {
  padding-top: 2px;
}
.kv {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.kv:last-child {
  border-bottom: 0;
}
.kv span {
  color: var(--muted);
}
.kv strong {
  font-weight: 500;
  text-align: right;
}
.empty {
  padding: 45px 24px;
  text-align: center;
  border: 1px dashed #bddae024;
  border-radius: 16px;
  background: #0e1b2040;
}
.empty h2 {
  font-size: 22px;
  margin: 16px 0 10px;
}
.empty p {
  color: var(--muted);
  max-width: 430px;
  margin: 0 auto 22px;
  font-size: 14px;
}
.empty-symbol {
  width: 45px;
  height: 45px;
  border: 1px solid #a5dbce35;
  border-radius: 12px;
  margin: auto;
  display: grid;
  place-items: center;
  color: var(--mint);
  font-size: 21px;
}
.callout {
  padding: 16px 19px;
  border-left: 2px solid var(--warm);
  background: #d9b68c08;
  color: #c7bbab;
  font-size: 13px;
  line-height: 1.65;
  border-radius: 0 9px 9px 0;
  margin: 18px 0;
}
.callout.info {
  border-color: var(--mint);
  background: #a5dbce08;
  color: #b6cecc;
}
.conversation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 24px;
}
.thread {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #101e24;
  overflow: hidden;
}
.thread-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 19px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.messages {
  padding: 26px;
  max-height: 500px;
  min-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.message {
  max-width: 92%;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}
.message.customer {
  margin-left: auto;
}
.message-meta {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 9px;
}
.message.customer .message-meta {
  justify-content: flex-end;
}
.message-body {
  border: 1px solid var(--line);
  padding: 16px 19px;
  background: #172b32;
  border-radius: 13px 13px 13px 3px;
  white-space: pre-wrap;
  line-height: 1.75;
  font-size: 14px;
}
.message.customer .message-body {
  background: #20383d;
  border-color: #98bdbe24;
  border-radius: 13px 13px 3px 13px;
}
.message.owner .message-body {
  border-left: 2px solid var(--mint);
}
.message.system .message-body {
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
.composer {
  padding: 18px 24px 20px;
  border-top: 1px solid var(--line);
}
.composer textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px;
  background: #0d191e;
  min-height: 98px;
  resize: vertical;
  color: var(--text);
  line-height: 1.6;
}
.composer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}
.composer-bottom small {
  color: var(--muted);
  font-size: 10px;
  max-width: 240px;
}
.list {
  padding: 0;
  list-style: none;
  margin: 13px 0;
}
.list li {
  position: relative;
  padding: 9px 0 9px 19px;
  font-size: 14px;
  line-height: 1.65;
  color: #c4d5d9;
}
.list li:before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--mint);
}
.scope-top {
  padding-bottom: 27px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.price {
  font-size: 34px;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.price small {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 6px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.subheading {
  font-family: "DM Sans", sans-serif;
  font-weight: 550;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
}
.binding {
  overflow-wrap: anywhere;
  font-family: monospace;
  color: #829ba5;
  font-size: 10px;
  line-height: 1.8;
  margin-top: 20px;
}
.document {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.doc-icon {
  height: 55px;
  width: 44px;
  border: 1px solid #b3d1d746;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: var(--mint);
  font-family: monospace;
  font-size: 11px;
  flex-shrink: 0;
}
.document p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.payment-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}
.payment-card .price {
  font-size: 26px;
  margin-top: 14px;
}
.payment-card p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 12px;
}
.preview-card {
  background: linear-gradient(135deg, #29443e, #142625);
  height: 210px;
  border: 1px solid #b6d9cc30;
  border-radius: 12px;
  padding: 24px;
  overflow: hidden;
  position: relative;
}
.mini-browser {
  background: #eaf0e8;
  border-radius: 8px;
  color: #315347;
  padding: 18px 24px;
  max-width: 400px;
  transform: translateY(14px);
  box-shadow: 0 15px 40px #0004;
}
.mini-browser small {
  font-size: 9px;
  color: #658273;
}
.mini-browser h3 {
  font-size: 23px;
  margin: 16px 0;
}
.mini-line {
  height: 8px;
  background: #a2b7aa44;
  margin: 10px 0;
  width: 70%;
  border-radius: 3px;
}
.version-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.version-row p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}
.support-form {
  margin-top: 24px;
}
.support-item {
  margin: 12px 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.test-tools {
  border: 1px dashed #d9b68c36;
  padding: 15px 18px;
  border-radius: 10px;
  margin: 24px 0;
  color: var(--warm);
  font-size: 12px;
}
.test-tools summary {
  cursor: pointer;
  min-height: 26px;
}
.test-tools p {
  color: var(--muted);
  margin: 12px 0;
}
.test-tools .actions {
  margin: 12px 0;
}
.test-tools select {
  background: #111e23;
  color: var(--text);
  padding: 12px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 10px 0;
}
.workspace-footer {
  font-size: 11px;
  color: #839aa4;
  padding-top: 32px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.loading {
  padding: 10vh 10vw;
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  max-width: calc(100vw - 32px);
  width: max-content;
  border: 1px solid #a5dbce55;
  background: #1c3338;
  color: #dbe9e8;
  box-shadow: 0 16px 80px #0009;
  border-radius: 12px;
  padding: 15px 22px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast.error {
  border-color: #eda7a766;
}
.error-inline {
  color: var(--red);
  font-size: 13px;
  margin: 14px 0;
  line-height: 1.7;
}
.skip {
  clip-path: inset(50%);
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--mint);
  color: #102722;
  padding: 12px;
}
.skip:focus-visible {
  clip-path: none;
  top: 8px;
}
dialog {
  border: 1px solid #bde2e53b;
  background: #101e24;
  color: var(--text);
  padding: 0;
  border-radius: 20px;
  max-width: min(680px, calc(100vw - 28px));
  width: 680px;
  max-height: calc(100dvh - 36px);
  box-shadow: 0 40px 160px #000a;
}
dialog::backdrop {
  background: #061015b8;
  backdrop-filter: blur(8px);
}
.modal-content {
  padding: 30px;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 21px;
}
.modal-head h2 {
  font-size: 24px;
}
.close {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  font-size: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
}
.modal-content > p {
  color: var(--muted);
  font-size: 14px;
  margin: 16px 0;
}
.embed-frame {
  width: 100%;
  height: min(66dvh, 600px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f1f4ef;
}
.modal-content .callout {
  font-size: 12px;
}
.owner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.owner-project {
  padding: 23px;
}
.owner-project h3 {
  margin: 17px 0 8px;
}
.owner-project p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
.owner-audit {
  font-family: monospace;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  max-height: 300px;
  overflow: auto;
}
.owner-audit div {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.auth-box {
  max-width: 560px;
  margin: 64px auto;
  padding: 34px;
}
.auth-box .field {
  margin-bottom: 24px;
}
.auth-box p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 14px;
}
.hash {
  overflow-wrap: anywhere;
}
.live-region {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (min-width: 1600px) {
  .workspace-main {
    padding-top: 46px;
  }
  .entry {
    padding-top: 100px;
  }
}
@media (max-width: 1050px) {
  .shell {
    grid-template-columns: 188px 1fr;
  }
  .sidebar {
    padding: 24px 12px;
  }
  .workspace-main {
    padding: 30px 26px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-grid > .stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .conversation-layout {
    grid-template-columns: 1fr;
  }
  .conversation-layout > aside {
    display: none;
  }
  .owner-grid {
    grid-template-columns: 1fr 1fr;
  }
  .entry-grid {
    gap: 40px;
  }
  .entry {
    padding: 50px 5vw;
  }
  .intake-card {
    padding: 24px;
  }
  .fixture-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 72px;
    padding: 0 22px;
    gap: 12px;
  }
  .brand {
    gap: 14px;
  }
  .brand span {
    font-size: 11px;
    padding-left: 14px;
  }
  .wordmark {
    font-size: 18px;
  }
  .top-actions {
    gap: 14px;
  }
  .top-actions .identity {
    display: none;
  }
  .test-banner {
    padding: 8px 16px;
    font-size: 10px;
    line-height: 1.6;
  }
  .entry {
    padding: 38px 22px 24px;
  }
  .entry-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .entry h1 {
    font-size: 46px;
  }
  .entry-lead {
    font-size: 16px;
    margin: 22px 0 26px;
  }
  .thread-art {
    display: none;
  }
  .intake-card {
    padding: 23px;
  }
  .fixture-picker {
    margin-top: 36px;
  }
  .fixture-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .fixture-choice {
    padding: 14px;
    font-size: 12px;
  }
  .fixture-choice span {
    font-size: 11px;
  }
  .entry-footer {
    font-size: 10px;
    line-height: 1.7;
  }
  .shell {
    display: block;
    min-height: calc(100dvh - 116px);
  }
  .sidebar {
    padding: 0;
    border: 0;
    display: block;
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 2;
    box-shadow: 0 8px 16px #07111566;
  }
  .project-label,
  .connection {
    display: none;
  }
  .nav {
    flex-direction: row;
    gap: 2px;
    padding: 10px 16px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
  }
  .nav a {
    padding: 10px 13px;
    white-space: nowrap;
    min-height: 42px;
    font-size: 12px;
  }
  .nav .index {
    display: none;
  }
  .workspace-main {
    padding: 25px 20px 32px;
  }
  .breadcrumbs {
    font-size: 10px;
    margin-bottom: 25px;
  }
  .breadcrumbs span:last-child {
    max-width: 46%;
    text-align: right;
  }
  .page-heading {
    gap: 14px;
    margin-bottom: 25px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .page-heading > .pill {
    font-size: 9px;
    padding: 6px 8px;
    margin-top: 5px;
  }
  .dashboard-grid {
    gap: 16px;
  }
  .dashboard-grid > .stack {
    display: flex;
    gap: 16px;
  }
  .panel {
    padding: 22px;
  }
  .next-card {
    padding: 24px;
  }
  .next-card h2 {
    font-size: 26px;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .scope-top {
    display: block;
  }
  .scope-top .price {
    margin-top: 22px;
  }
  .messages {
    padding: 19px 16px;
    max-height: 430px;
  }
  .message {
    max-width: 95%;
  }
  .message-body {
    padding: 14px 16px;
    font-size: 13px;
  }
  .thread-header {
    padding: 17px;
  }
  .composer {
    padding: 16px;
  }
  .composer-bottom small {
    max-width: 170px;
    font-size: 9px;
  }
  .composer .button {
    font-size: 12px;
    padding: 10px 15px;
  }
  .workspace-footer {
    font-size: 10px;
    gap: 15px;
  }
  .document {
    gap: 16px;
  }
  .payment-card {
    display: block;
  }
  .payment-card .actions {
    margin-top: 20px;
  }
  .payment-card > .pill {
    display: none;
  }
  .version-row {
    align-items: flex-start;
  }
  .version-row .button {
    font-size: 11px;
    padding: 9px;
    min-width: 60px;
  }
  .owner-grid {
    grid-template-columns: 1fr;
  }
  .auth-box {
    margin: 35px 20px;
    padding: 26px;
  }
  .modal-content {
    padding: 22px;
  }
  .modal-head h2 {
    font-size: 23px;
  }
  .modal-content .actions {
    align-items: stretch;
  }
  .modal-content .actions > .button {
    flex: 1;
    font-size: 12px;
  }
  .embed-frame {
    height: 57dvh;
  }
  .preview-card {
    height: 190px;
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.project-context {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 0 0 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
}
.project-context strong {
  font-weight: 500;
  color: var(--mint);
}
.project-context span {
  display: block;
  color: var(--muted);
  max-width: 550px;
  margin-top: 6px;
}
.project-context p {
  max-width: 220px;
  text-align: right;
  color: #c1d5d8;
  font-size: 12px;
}
@media (max-width: 760px) {
  .project-context {
    display: block;
    font-size: 11px;
    margin-bottom: 24px;
    padding-bottom: 18px;
  }
  .project-context p {
    text-align: left;
    margin-top: 10px;
    max-width: none;
  }
}

.discovery-questions {
  margin: 0 24px 24px;
}
.discovery-question {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.discovery-question summary {
  cursor: pointer;
  font-size: 14px;
}
.discovery-question form {
  margin-top: 18px;
}
