.app-stage {
  --app-top: #272a33;
  --app-sidebar: #1d2028;
  --app-main: #15171e;
  --app-raised: #242732;
  --app-border: #373b48;
  --app-text: #eceef5;
  --app-muted: #a9b0c2;
  --app-accent: #b4b8ff;
  --app-good: #a6e2c0;
  --app-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  container-type: inline-size;
  color: var(--app-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

.app-stage :where(p, ul, ol) { margin: 0; }
.app-stage :where(ul) { padding: 0; list-style: none; }
.app-stage :where(code, pre) { font-family: var(--app-mono); }
.demo-icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; }

.mock-window {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #4f5260;
  border-radius: 16px;
  background: var(--app-main);
  box-shadow: 0 28px 64px rgb(0 0 0 / .33), 0 2px 10px rgb(0 0 0 / .2);
}

.mock-window--hero {
  block-size: clamp(606px, 62.5cqi, 719px);
  box-shadow: 0 34px 80px rgb(0 0 0 / .52);
}

.mock-window:is(.mock-window--work, .mock-window--plan, .mock-window--chat) {
  block-size: clamp(574px, 59cqi, 650px);
}

.mock-window:is(.mock-window--models, .mock-window--changes) {
  border-radius: 13px;
  box-shadow: 0 20px 50px rgb(0 0 0 / .27);
}

.mock-window--models { block-size: 410px; }
.mock-window--changes { block-size: 428px; }

.app-chrome {
  display: grid;
  flex: 0 0 42px;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding-inline: 14px;
  border-bottom: 1px solid var(--app-border);
  background: linear-gradient(180deg, #2c2e38, var(--app-top));
  color: var(--app-muted);
}

.app-chrome-start,
.app-chrome-end {
  display: flex;
  align-items: center;
  gap: 13px;
}

.app-chrome-end { justify-self: end; }

.app-chrome-title {
  overflow: hidden;
  color: #d5d8e5;
  font-size: 11px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-traffic {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 7px;
  margin-inline-end: 7px;
}

.app-traffic i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6159;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1);
}

.app-traffic i:nth-child(2) { background: #ffbd2d; }
.app-traffic i:nth-child(3) { background: #29c943; }

.app-workspace-content {
  display: grid;
  flex: 1 1 0;
  grid-template-columns: 44px clamp(176px, 19cqi, 217px) minmax(0, 1fr);
  min-block-size: 0;
}

.app-workspace-content--compact { grid-template-columns: minmax(0, 1fr); }

.app-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-block: 10px;
  border-inline-end: 1px solid #343641;
  background: #272a34;
  color: var(--app-muted);
}

.app-rail span {
  display: grid;
  width: 32px;
  height: 33px;
  place-items: center;
  border-radius: 8px;
}

.app-rail span.app-rail-active {
  background: #373b48;
  color: var(--app-text);
}

.app-rail-bottom { margin-block-start: auto; }

.app-sidebar {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  padding-block-start: 6px;
  border-inline-end: 1px solid var(--app-border);
  background: var(--app-sidebar);
}

.app-sidebar-title,
.app-sidebar-new,
.app-sidebar-project,
.app-sidebar-scheduled {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-inline: 13px;
}

.app-sidebar-title { padding-block: 9px; }
.app-sidebar-title strong { font-size: 15px; letter-spacing: -.015em; }
.app-sidebar-title span {
  display: flex;
  gap: 9px;
  margin-inline-start: auto;
  color: var(--app-muted);
}

.app-sidebar-new {
  min-height: 35px;
  margin-block-end: 14px;
  font-weight: 560;
}

.app-sidebar-project { min-height: 27px; }
.app-sidebar-project > :first-child { color: var(--app-muted); }
.app-sidebar-project > :nth-child(2) { color: var(--app-accent); }

.app-history {
  display: grid;
  gap: 2px;
  margin: 2px 8px 0 !important;
  color: var(--app-muted);
}

.app-history li {
  overflow: hidden;
  padding: 7px 8px 7px 28px;
  border-radius: 7px;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-history li.app-history-selected {
  background: #353944;
  color: var(--app-text);
  font-weight: 620;
}

.app-sidebar-scheduled {
  min-height: 40px;
  margin-block-start: auto;
}

.app-sidebar-scheduled .demo-icon { color: var(--app-muted); }

.app-connection-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 7px 13px;
  border-top: 1px solid var(--app-border);
  background: var(--app-sidebar);
  font-size: 11px;
}

.app-connection-footer :is(strong, small) { display: block; }
.app-connection-footer strong { font-weight: 600; }
.app-connection-footer small { color: var(--app-muted); font-size: 10px; }

.app-status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #76d4a5;
}

.app-main-area {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  min-block-size: 0;
}

.app-work-body {
  display: grid;
  flex: 1 1 0;
  grid-template-columns: minmax(0, 1fr) minmax(224px, 37%);
  min-block-size: 0;
}

.app-work-body--compact { grid-template-columns: minmax(0, 1fr); }

.app-thread {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-inline-size: 0;
  min-block-size: 0;
  background: var(--app-main);
}

.app-transcript {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 13px;
  width: min(100%, 640px);
  min-height: 0;
  align-self: center;
  padding: 20px clamp(12px, 2.15cqi, 25px) 11px;
}

.app-thread--chat .app-transcript {
  width: min(100%, 680px);
  padding-top: 34px;
}

.app-workspace-content--compact .app-transcript {
  gap: 16px;
  padding: 26px clamp(18px, 5.5cqi, 32px) 18px;
}

.app-request {
  align-self: flex-end;
  width: fit-content;
  max-width: min(100%, 440px);
  padding: 12px 14px;
  border: 1px solid #3b3d51;
  border-radius: 13px 13px 4px 13px;
  background: #2a2d3c;
  color: #f0f0f8;
  font-size: 13px;
  font-weight: 510;
  line-height: 1.5;
}

.app-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 9px;
}

.app-attachments span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid #555971;
  border-radius: 5px;
  background: #34384b;
  color: #dee1f4;
  font-size: 11px;
}

.app-attachments .demo-icon { color: var(--app-accent); }

.app-assistant {
  color: #e0e4f0;
  font-size: 13px;
  line-height: 1.55;
}

.app-thread--chat .app-assistant {
  max-width: 62ch;
  margin-inline: 0;
}

.app-activity {
  overflow: hidden;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: #1d2029;
}

.app-activity-title,
.app-activity-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.app-activity-title {
  padding: 7px 10px;
  border-bottom: 1px solid #31343f;
  color: #dcdfeb;
  font-size: 11px;
}

.app-activity-title strong { font-weight: 650; }
.app-activity-title > .demo-icon { color: var(--app-muted); }

.app-activity-row {
  padding: 5px 10px;
  color: var(--app-muted);
  font-size: 11px;
  line-height: 1.35;
}

.app-activity-row:first-of-type { padding-top: 7px; }
.app-activity-row:last-child { padding-bottom: 7px; }
.app-activity-row .demo-icon { color: #a1dabb; }
.app-activity-row code { color: #d8ddef; font-size: 10px; }

.app-activity-row--current {
  background: rgb(162 171 255 / .08);
  color: #d7d9fa;
}

.app-completion {
  display: grid;
  gap: 9px;
}

.app-result-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.app-result-summary span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid #383d4b;
  border-radius: 6px;
  background: rgba(135, 146, 185, .08);
  color: #d1d6e5;
  font-size: 10px;
  font-weight: 620;
}

.app-result-summary span:first-child {
  border-color: #304e43;
  background: #1c302b;
  color: var(--app-good);
}

.app-plan {
  padding: 11px 13px;
  border: 1px solid #454964;
  border-radius: 8px;
  background: #202334;
  color: #e2e4f4;
}

.app-plan strong { color: #d1d4ff; }
.app-plan ol { display: grid; gap: 5px; padding: 7px 0 0 18px; }
.app-plan li { padding-inline-start: 2px; }

.app-composer-wrap {
  flex: 0 0 auto;
  width: min(100%, 660px);
  align-self: center;
  margin-block: auto 0;
  padding: 0 12px 12px;
}

.app-composer {
  position: relative;
  z-index: 1;
  padding: 10px 9px 8px;
  border: 1px solid #454957;
  border-radius: 14px;
  background: #292c37;
}

.app-composer--chat {
  display: flex;
  align-items: center;
  gap: 7px;
  min-block-size: 48px;
  border-radius: 25px;
}

.app-composer-input {
  min-height: 24px;
  padding-inline: 3px;
  color: #aeb5c7;
  font-size: 12px;
}

.app-composer--chat .app-composer-input {
  min-height: auto;
  margin-inline-start: 5px;
}

.app-composer-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  min-block-size: 27px;
  color: #c5cbda;
  font-size: 10px;
}

.app-composer--chat .app-composer-controls { margin-inline-start: auto; }

.app-composer-spacer { flex: 1 1 auto; }
.app-access, .app-model, .app-composer-tools > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.app-access { white-space: nowrap; }
.app-model {
  min-inline-size: 0;
  padding: 3px 6px;
  border-radius: 18px;
  background: #20232c;
  color: #dfe2f0;
}

.app-model strong {
  overflow: hidden;
  color: #eef0fa;
  font-size: inherit;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-model > .demo-icon:first-child { color: #beafff; }

.app-send {
  display: grid;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #aeb4ff;
  color: #181938;
}

.app-composer-tools {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: -2px 8px 0;
  padding: 7px 10px;
  border: 1px solid #373b47;
  border-radius: 0 0 10px 10px;
  background: #20232d;
  color: #bfc5d5;
  font-size: 10px;
}

.app-composer-tools span:first-child { color: #e4e8f7; }
.app-local-mobile { display: none; }
.app-new-mode {
  display: flex;
  align-self: center;
  gap: 2px;
  margin-block: 20px 0;
  padding: 3px;
  border-radius: 20px;
  background: #252933;
  color: #a7adbf;
  font-size: 11px;
}

.app-new-mode span { padding: 4px 21px; border-radius: 18px; }
.app-new-mode .app-mode-active { background: #383b49; color: var(--app-text); }

.app-chat-welcome {
  display: grid;
  flex: 1 1 auto;
  place-items: center;
  color: var(--app-text);
  font-size: clamp(19px, 4cqi, 25px);
  font-weight: 630;
  letter-spacing: -.03em;
}

.app-stage--models[data-active-state="local"] .app-chat-welcome {
  display: block;
  margin-inline: auto;
  font-size: 19px;
  text-align: center;
}

.app-inspector {
  min-width: 0;
  border-inline-start: 1px solid var(--app-border);
  background: #1a1d25;
  color: var(--app-text);
}

.app-inspector-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding-inline: 10px;
  border-bottom: 1px solid var(--app-border);
  color: var(--app-muted);
}

.app-inspector-tabs {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 2px;
  padding: 2px;
  border: 1px solid #3a3f4d;
  border-radius: 7px;
  background: #22252e;
}

.app-inspector-tabs > span {
  display: inline-flex;
  flex: 1 1 auto;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
  padding: 3px 5px;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 600;
}

.app-inspector-tabs .app-inspector-active {
  border-radius: 5px;
  background: #3c4150;
  color: #f8f8fb;
  box-shadow: 0 1px 2px rgb(0 0 0 / .22);
}

.app-inspector-active small { color: #ccd1f2; font-size: 9px; }

.app-inspector-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 11px 13px 7px;
  color: var(--app-muted);
  font-size: 11px;
}

.app-inspector-heading strong { color: #d8dcee; font-weight: 620; }

.app-file-list, .app-change-list {
  display: grid;
  gap: 3px;
  margin: 0 7px !important;
}

.app-file-list li, .app-change-list li {
  display: flex;
  align-items: center;
  min-height: 29px;
  gap: 7px;
  padding: 4px 7px;
  border-radius: 5px;
  font-size: 11px;
}

.app-change-list li { min-height: 39px; }
.app-file-list .demo-icon, .app-change-list .demo-icon { color: #b0b9e5; }
.app-change-list li > div { min-width: 0; }
.app-change-list li :is(strong, small) {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-change-list li strong { font-weight: 610; }
.app-change-list li small { color: #a9b0c2; font-family: var(--app-mono); font-size: 9px; }
.app-change-list .app-change-selected { background: #303448; }
.app-edited { margin-inline-start: auto; color: #c5cae6; font-size: 9px; }

.app-diff {
  display: flex;
  flex-direction: column;
  margin: 10px 7px 8px;
  border: 1px solid #393e4c;
  border-radius: 7px;
  background: #151820;
}

.app-diff-title {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-bottom: 1px solid #383d49;
  color: #d9deef;
  font-size: 10px;
}

.app-diff-title strong { font-weight: 600; }
.app-diff-title .demo-icon { color: #b4b9e1; }

.app-diff-title span {
  margin-inline-start: auto;
  padding-inline: 5px;
  border: 1px solid #43495a;
  border-radius: 3px;
  color: #d0d7ec;
  font-size: 9px;
}

.app-diff-code { padding-block: 5px; }
.app-code-line {
  display: grid;
  grid-template-columns: 23px 11px minmax(0, 1fr);
  align-items: baseline;
  padding: 2px 5px 2px 0;
  color: #c0c8df;
  font: 10px/1.45 var(--app-mono);
}

.app-code-line code { overflow-wrap: anywhere; white-space: pre-wrap; }
.app-line-number { color: #9da7bd; text-align: center; }
.app-code-line--add { background: #213a33; color: #b4e8ca; }
.app-code-line--remove { background: #3c2632; color: #ffb8c2; }
.app-code-line--add .app-line-number { color: #a4ccba; }
.app-code-line--remove .app-line-number { color: #e5aebb; }

.app-terminal {
  display: block;
  flex: 0 0 auto;
  min-height: 106px;
  border-top: 1px solid var(--app-border);
  background: #11131a;
}

.app-terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-bottom: 1px solid #2e3440;
  background: #1f222c;
  color: #dce0ed;
  font-size: 11px;
}

.app-terminal-bar strong { font-weight: 590; }
.app-terminal-bar > .demo-icon { color: #aab7e2; }
.app-exit {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
  color: #b4d8c7;
  font-size: 10px;
}

.app-terminal-output {
  padding: 8px 13px 10px;
  color: #b5c0d5;
  font: 11px/1.48 var(--app-mono);
}

.app-terminal-output strong { color: #f0f0f8; font-weight: 570; }
.app-terminal-output div:first-child > span { color: var(--app-accent); }
.app-terminal-success { color: var(--app-good); }

.app-command-detail {
  display: grid;
  gap: 8px;
  margin: 1px 12px 12px;
  padding: 10px 12px;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: #222631;
  color: #d8ddee;
  font-size: 12px;
}

.app-command-detail strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--app-mono);
}

.app-command-detail strong .demo-icon { color: var(--app-accent); }
.app-command-detail > div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.app-command-detail > div span { color: var(--app-muted); }
.app-command-detail b { color: var(--app-good); }

.app-review-overlay {
  position: absolute;
  z-index: 3;
  inset: 42px 0 0;
  display: grid;
  place-items: center;
  padding: 15px;
  background: rgb(6 8 14 / .64);
}

.app-review {
  display: grid;
  gap: 9px;
  width: min(100%, 314px);
  padding: 17px;
  border: 1px solid #62667a;
  border-radius: 14px;
  background: #292d39;
  color: #f4f4fa;
  box-shadow: 0 20px 47px rgb(0 0 0 / .4);
  text-align: center;
}

.app-review > strong { font-size: 15px; }
.app-review p, .app-review small { color: #c9cede; }
.app-review small { overflow-wrap: anywhere; font-size: 11px; }

.app-review code {
  margin: 1px 0;
  padding: 7px;
  border: 1px solid #404558;
  border-radius: 6px;
  background: #1e212d;
  color: #f4f4fa;
}

.app-review-icon {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  justify-self: center;
  border-radius: 7px;
  background: #383d54;
  color: #c3c7fd;
}

.app-review-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-block-start: 4px;
}

.app-review-actions span {
  padding: 6px;
  border-radius: 6px;
  background: #3a3f4f;
  font-size: 11px;
  font-weight: 620;
}

.app-review-actions span:last-child { background: #b3b8ff; color: #141632; }

.app-picker {
  position: absolute;
  z-index: 2;
  inset: auto max(18px, 8%) 109px auto;
  display: grid;
  gap: 3px;
  width: min(230px, calc(100% - 36px));
  padding: 7px;
  border: 1px solid #5a5e73;
  border-radius: 10px;
  background: #272b39;
  box-shadow: 0 15px 35px rgb(0 0 0 / .52);
  font-size: 12px;
}

.app-picker--local { inset-block-end: 112px; }
.app-picker--planning { inset: auto 30cqi 104px auto; }

.app-picker-label {
  padding: 3px 6px;
  color: #c1c9e5;
  font-size: 10px;
  font-weight: 620;
}

.app-picker-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 6px;
  border-radius: 5px;
  color: #e9eafa;
}

.app-picker-row small { display: block; color: #c2c8df; font-size: 10px; }
.app-picker-row span { flex: 1; }
.app-picker-row > .demo-icon { color: #b8c0f0; }
.app-picker-selected { background: #363c53; }
.app-picker-plan { margin-top: 3px; border-top: 1px solid #444a5d; border-radius: 0; }

.app-picker-plan i {
  width: 20px;
  height: 11px;
  border-radius: 10px;
  background: #464b5e;
}

.app-picker-plan i::before {
  display: block;
  width: 7px;
  height: 7px;
  margin: 2px;
  border-radius: 100%;
  background: #b2b8d0;
  content: "";
}

.app-picker-plan i.app-toggle-on { background: #8b94ef; }
.app-picker-plan i.app-toggle-on::before {
  margin-inline-start: 11px;
  background: #f1f0ff;
}

.app-changes-content {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-block-size: 0;
}

.app-changes-content .app-inspector { flex: 1 1 0; min-height: 0; border-inline: 0; }
.app-changes-content .app-inspector-toolbar { min-height: 37px; padding-inline: 13px; }
.app-changes-content .app-inspector-tabs { max-width: 316px; }
.app-changes-content .app-inspector-tabs > span { padding-block: 4px; font-size: 11px; }
.app-changes-content .app-inspector-heading { padding: 6px 14px 5px; }
.app-changes-content :is(.app-change-list, .app-diff) { margin-inline: 12px !important; }
.app-changes-content .app-change-list li { min-height: 32px; padding-block: 3px; line-height: 1.22; }
.app-changes-content .app-diff { margin-block: 7px 0; }
.app-changes-content .app-terminal { min-height: 95px; }
.app-changes-content .app-diff-title { padding-block: 5px; }
.app-changes-content .app-diff-code { padding-block: 3px; }
.app-changes-content .app-code-line { padding-block: 0; font-size: 11px; }

@keyframes show-app-detail {
  from { opacity: .67; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .is-advancing .app-appear { animation: show-app-detail 240ms ease-out backwards; }
}

.app-stage--work[data-active-state="complete"] .app-activity { display: none; }

@container (max-width: 1050px) {
  .app-stage--hero[data-active-state="complete"] .app-activity { display: none; }
}

@container (max-width: 925px) {
  .app-workspace-content { grid-template-columns: 37px clamp(138px, 19cqi, 169px) minmax(0, 1fr); }
  .app-workspace-content--compact { grid-template-columns: minmax(0, 1fr); }
  .app-sidebar-title { padding-inline: 9px; }
  .app-sidebar-title span { gap: 6px; }
  .app-sidebar-title span :nth-child(2) { display: none; }
  .app-history li { padding-inline-start: 20px; }
  .app-composer-controls { gap: 5px; }
  .app-mic { display: none; }
  .app-stage--work[data-active-state="checked"] .app-activity-row:nth-child(-n + 3) { display: none; }
  .app-stage--plan[data-active-state="complete"] .app-activity { display: none; }
}

@container (max-width: 740px) {
  .app-workspace-content { grid-template-columns: 35px minmax(0, 1fr); }
  .app-sidebar { display: none; }
  .app-workspace-content--compact { grid-template-columns: minmax(0, 1fr); }
  .app-local-mobile {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-block: 7px 2px;
    padding-inline: 10px;
    color: #c5cfdd;
    font-size: 11px;
  }
  .app-workspace-content--compact .app-local-mobile { display: none; }
}

@container (max-width: 540px) {
  .mock-window { border-radius: 11px; }
  .mock-window:is(.mock-window--hero, .mock-window--work) { block-size: 760px; }
  .mock-window.mock-window--plan { block-size: 682px; }
  .mock-window--chat { block-size: 392px !important; }
  .mock-window--models { block-size: 390px !important; }
  .app-chrome { flex-basis: 36px; gap: 9px; padding-inline: 10px; }
  .app-chrome-end { gap: 7px; }
  .app-chrome-end .demo-icon:nth-child(-n + 2) { display: none; }
  .app-chrome-start .demo-icon { display: none; }
  .app-traffic { gap: 5px; margin: 0; }
  .app-traffic i { width: 8px; height: 8px; }
  .app-workspace-content { grid-template-columns: minmax(0, 1fr); }
  .app-rail { display: none; }
  .app-work-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 306px; }
  .app-work-body--compact { grid-template-rows: minmax(0, 1fr); }
  .app-transcript { gap: 10px; padding-block: 14px 6px; }
  .app-completion { gap: 8px; }
  .app-composer { padding-block: 7px; }
  .app-composer-input { min-height: 15px; }
  .app-composer-wrap { padding-bottom: 8px; }
  .app-thread--chat .app-transcript { padding-top: 16px; }
  .app-inspector { border-inline-start: 0; border-block-start: 1px solid var(--app-border); }
  .app-inspector-toolbar { min-height: 36px; }
  .app-inspector-heading { padding-block: 6px 4px; }
  .app-change-list li { min-height: 34px; }
  .app-diff { margin-block: 7px 0; }
  .app-diff-title { padding-block: 5px; }
  .app-diff-code { padding-block: 3px; }
  .app-code-line { padding-block: 1px; }
  .app-file-list li { min-height: 25px; }
  .app-terminal { min-height: 95px; }
  .app-review-overlay { inset-block-start: 36px; }
  .app-review { align-self: start; margin-top: clamp(60px, 28cqi, 138px); }
  .app-stage:is([data-active-state="checked"], [data-active-state="complete"]) .app-thread:not(.app-thread--chat) .app-activity,
  .app-stage:is(.app-stage--work, .app-stage--hero)[data-active-state="complete"] .app-transcript > .app-assistant { display: none; }
  .app-stage--plan .app-work-body { grid-template-rows: minmax(0, 1fr) 216px; }
  .app-picker--planning { inset: auto 14px 315px auto; }
  .app-changes-content .app-inspector { border-block-start: 0; }
}

@container (max-width: 350px) {
  .app-chrome-end .demo-icon:nth-child(3) { display: none; }
  .app-assistant, .app-request { font-size: 12px; }
  .app-request { padding: 10px 12px; }
  .app-composer-controls { gap: 4px; }
  .app-access { gap: 3px; }
  .app-composer-tools { gap: 7px; }
}
