:root { --oxrc1-cache-contract: "avatar-life-v22"; }

:root {
  color-scheme: dark;
  --oxrc1-bg: #1f1f1d;
  --oxrc1-side: #20201e;
  --oxrc1-side-deep: #191917;
  --oxrc1-composer: #2d2d2a;
  --oxrc1-hover: #343431;
  --oxrc1-active: #40403c;
  --oxrc1-line: rgba(255, 255, 255, 0.09);
  --oxrc1-line-strong: rgba(255, 255, 255, 0.16);
  --oxrc1-text: #f4f3ee;
  --oxrc1-muted: #c0beb6;
  --oxrc1-dim: #928f86;
  --oxrc1-soft: #d6d3c9;
  --oxrc1-accent: #b71922;
  --oxrc1-blue: #6ea0ff;
  --oxrc1-danger: #ff7777;
  --oxrc1-left-width: 244px;
  --oxrc1-right-width: 286px;
  --oxrc1-left-collapsed: 56px;
  --oxrc1-right-collapsed: 48px;
  --oxrc1-radius: 8px;
  --oxrc1-sidebar-icon: 20px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--oxrc1-bg);
  color: var(--oxrc1-text);
}

button,
textarea,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
textarea:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(110, 160, 255, 0.85);
  outline-offset: 2px;
}

.oxrc1-shell {
  width: 100vw;
  height: 100vh;
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: var(--oxrc1-left-width) minmax(0, 1fr) var(--oxrc1-right-width);
  background: radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.035), transparent 32%), var(--oxrc1-bg);
  isolation: isolate;
}

.oxrc1-shell.is-left-collapsed {
  --oxrc1-left-width: var(--oxrc1-left-collapsed);
}

.oxrc1-shell.is-right-collapsed {
  --oxrc1-right-width: var(--oxrc1-right-collapsed);
}

.oxrc1-left,
.oxrc1-right,
.oxrc1-chat {
  min-width: 0;
  min-height: 0;
}

.oxrc1-left,
.oxrc1-right {
  position: relative;
  z-index: 3;
  background: var(--oxrc1-side);
  border-color: var(--oxrc1-line);
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.oxrc1-left {
  border-right: 1px solid var(--oxrc1-line);
  padding: 10px 12px;
}

.oxrc1-right {
  border-left: 1px solid var(--oxrc1-line);
  padding: 12px 12px 14px;
}

.oxrc1-left-top,
.oxrc1-right-head,
.oxrc1-user,
.oxrc1-topbar-actions,
.oxrc1-composer-tools,
.oxrc1-composer-actions,
.oxrc1-section-head {
  display: flex;
  align-items: center;
}

.oxrc1-left-top {
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  margin-bottom: 10px;
  position: relative;
}

.oxrc1-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100% - 44px);
  min-width: 0;
  overflow: hidden;
  color: var(--oxrc1-text);
  text-decoration: none;
}

.oxrc1-left-top > .oxrc1-icon-button:not(.oxrc1-mobile-close) {
  position: absolute;
  right: 0;
  top: 7px;
}

.oxrc1-logo-frame {
  width: 166px;
  height: 62px;
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: visible;
  position: relative;
  flex: 0 0 auto;
  pointer-events: none;
  padding: 4px 0;
}

.oxrc1-logo-frame img {
  width: auto;
  height: auto;
  max-width: 166px;
  max-height: 54px;
  object-fit: contain;
  display: block;
}

.oxrc1-logo-mark {
  display: none !important;
}

.oxrc1-avatar {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(140deg, #77202b, #242424);
  border: 1px solid var(--oxrc1-line-strong);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0;
}

.oxrc1-icon-button,
.oxrc1-nav-action,
.oxrc1-thread,
.oxrc1-prompt-row button,
.oxrc1-tool,
.oxrc1-send,
.oxrc1-copy,
.oxrc1-pdf-download,
.oxrc1-image-download,
.oxrc1-engine-button,
.oxrc1-persona-button,
.oxrc1-menu-more,
.oxrc1-menu-item,
.oxrc1-menu-option,
.oxrc1-section-head button {
  border: 0;
  border-radius: var(--oxrc1-radius);
  background: transparent;
  cursor: pointer;
}

.oxrc1-icon-button {
  position: relative;
  z-index: 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--oxrc1-muted);
}

.oxrc1-icon-button:hover,
.oxrc1-nav-action:hover,
.oxrc1-thread:hover,
.oxrc1-settings:hover,
.oxrc1-prompt-row button:hover,
.oxrc1-tool:hover,
.oxrc1-send:hover,
.oxrc1-engine-button:hover,
.oxrc1-persona-button:hover,
.oxrc1-menu-more:hover,
.oxrc1-section-head button:hover {
  background: var(--oxrc1-hover);
  color: var(--oxrc1-text);
}

.oxrc1-left-actions {
  display: grid;
  gap: 4px;
  margin: 0 0 8px;
}

.oxrc1-left-scroll {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.oxrc1-left-scroll::-webkit-scrollbar {
  width: 8px;
}

.oxrc1-left-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.oxrc1-sidebar-align-group {
  padding: 0;
}

.oxrc1-sidebar-row {
  min-height: 34px;
  width: 100%;
}

.oxrc1-nav-action,
.oxrc1-search,
.oxrc1-thread,
.oxrc1-settings {
  width: 100%;
}

.oxrc1-nav-action {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  color: var(--oxrc1-soft);
  background: transparent;
}

.oxrc1-sidebar-icon {
  width: var(--oxrc1-sidebar-icon);
  height: var(--oxrc1-sidebar-icon);
  flex: 0 0 var(--oxrc1-sidebar-icon);
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--oxrc1-muted);
  font-size: 14px;
  line-height: 1;
}

.oxrc1-nav-action strong {
  font-size: 14px;
  line-height: 1.25;
  font-weight: 560;
}

.oxrc1-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  border-radius: var(--oxrc1-radius);
  background: transparent;
  color: var(--oxrc1-muted);
}

.oxrc1-nav-action:focus-visible,
.oxrc1-search:focus-within {
  background: var(--oxrc1-hover);
}

.oxrc1-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--oxrc1-soft);
  font-size: 14px;
  line-height: 1.25;
}

.oxrc1-search input::placeholder,
.oxrc1-composer textarea::placeholder {
  color: #aaa79f;
}

.oxrc1-search-panel {
  display: grid;
  gap: 6px;
  margin: 0 0 10px;
  padding: 6px 0 2px;
  border-bottom: 1px solid var(--oxrc1-line);
}

.oxrc1-search-panel[hidden] {
  display: none !important;
}

.oxrc1-search-status {
  padding: 0 8px;
  color: var(--oxrc1-dim);
  font-size: 12px;
  line-height: 1.35;
}

.oxrc1-search-results {
  display: grid;
  gap: 3px;
}

.oxrc1-search-result {
  width: 100%;
  display: grid;
  gap: 2px;
  padding: 7px 8px;
  text-align: left;
  border-radius: var(--oxrc1-radius);
  color: var(--oxrc1-muted);
  background: transparent;
}

.oxrc1-search-result:hover,
.oxrc1-search-result:focus-visible {
  background: var(--oxrc1-hover);
  color: var(--oxrc1-text);
}

.oxrc1-search-result strong,
.oxrc1-search-result span,
.oxrc1-search-result small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oxrc1-search-result strong {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
}

.oxrc1-search-result span {
  font-size: 12px;
  line-height: 1.35;
  color: var(--oxrc1-soft);
}

.oxrc1-search-result small {
  font-size: 11px;
  line-height: 1.3;
  color: var(--oxrc1-dim);
}

.oxrc1-search-more {
  justify-self: start;
  min-height: 28px;
  padding: 0 8px;
  border-radius: var(--oxrc1-radius);
  color: var(--oxrc1-muted);
  background: transparent;
}

.oxrc1-search-more:hover {
  background: var(--oxrc1-hover);
  color: var(--oxrc1-text);
}

.oxrc1-left-section,
.oxrc1-list {
  display: grid;
  gap: 3px;
}

.oxrc1-left-section[hidden] {
  display: none !important;
}

.oxrc1-sidebar-empty {
  padding: 7px 8px 8px;
  color: var(--oxrc1-dim);
  font-size: 12px;
  line-height: 1.35;
}

.oxrc1-thread,
.oxrc1-settings {
  text-align: left;
  color: var(--oxrc1-soft);
  padding: 5px 8px;
}

.oxrc1-thread.is-selected {
  color: var(--oxrc1-text);
  background: var(--oxrc1-active);
  box-shadow: inset 2px 0 0 var(--oxrc1-accent);
  font-weight: 560;
}

.oxrc1-left-section {
  margin-top: 9px;
}

.oxrc1-section-head {
  justify-content: space-between;
  min-height: 22px;
  margin: 0 0 3px;
}

.oxrc1-section-toggle {
  width: 100% !important;
  min-width: 0;
  height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--oxrc1-dim);
  text-transform: uppercase;
}

.oxrc1-section-arrow {
  width: var(--oxrc1-sidebar-icon);
  flex: 0 0 var(--oxrc1-sidebar-icon);
  text-align: center;
  display: inline-block;
  font-size: 10px;
  transform: rotate(0deg);
  transition: transform 140ms ease;
}

.oxrc1-left-section.is-section-collapsed .oxrc1-section-arrow {
  transform: rotate(-90deg);
}

.oxrc1-left-section.is-section-collapsed .oxrc1-list {
  display: none;
}

.oxrc1-section-head > button:not(.oxrc1-section-toggle) {
  width: 24px;
  height: 24px;
  color: var(--oxrc1-muted);
}

.oxrc1-thread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 5px;
  min-height: 32px;
}

.oxrc1-thread-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.oxrc1-thread span,
.oxrc1-user strong,
.oxrc1-settings strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 450;
}

.oxrc1-thread small,
.oxrc1-thread-time,
.oxrc1-user span,
.oxrc1-right-head span,
.oxrc1-title span {
  color: var(--oxrc1-dim);
  font-size: 12px;
  line-height: 1.25;
}

.oxrc1-thread-time {
  justify-self: end;
  white-space: nowrap;
  min-width: max-content;
}

.oxrc1-menu-more {
  width: 24px;
  height: 24px;
  color: var(--oxrc1-dim);
}

.oxrc1-project-group {
  display: grid;
  gap: 1px;
}

.oxrc1-project-children {
  display: grid;
  gap: 3px;
  margin: 2px 0 4px 13px;
  padding-left: 7px;
}

.oxrc1-project-children .oxrc1-thread {
  min-height: 31px;
  padding-block: 4px;
}

.oxrc1-show-more {
  width: 100%;
  justify-content: flex-start;
  min-height: 28px;
  padding: 4px 8px 4px 14px;
  color: var(--oxrc1-muted);
  font-size: 12px;
  font-weight: 500;
}

.oxrc1-show-more:hover {
  color: var(--oxrc1-text);
  background: var(--oxrc1-hover);
}

.oxrc1-project-arrow {
  width: 12px;
  flex: 0 0 12px;
  color: var(--oxrc1-dim);
  font-size: 12px !important;
  line-height: 1;
}

.oxrc1-project-status-badges {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  gap: 3px;
  min-width: 0;
  padding-left: 17px;
  overflow: visible;
  white-space: normal;
}

.oxrc1-project-status-badge {
  min-height: 18px;
  max-width: 100%;
  padding: 2px 6px;
  border: 1px solid var(--oxrc1-line);
  border-radius: 999px;
  color: var(--oxrc1-dim);
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oxrc1-project-status-badge.is-attention {
  color: var(--oxrc1-text);
  border-color: rgba(255, 124, 124, 0.45);
}

.oxrc1-project-status-badge.is-stage {
  color: var(--oxrc1-text);
}

.oxrc1-project-status-badge:hover,
.oxrc1-project-status-badge:focus-visible {
  background: var(--oxrc1-hover);
}

.oxrc1-founder-queue-shortcut {
  margin-bottom: 8px;
}

.oxrc1-founder-home-shortcut {
  margin-bottom: 8px;
}

.oxrc1-founder-home-button,
.oxrc1-founder-queue-button {
  width: 100%;
  display: grid;
  gap: 3px;
  min-height: 64px;
  padding: 9px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  color: var(--oxrc1-text);
  background: rgba(255, 255, 255, 0.025);
  text-align: left;
  cursor: pointer;
}

.oxrc1-founder-queue-button:hover,
.oxrc1-founder-queue-button:focus-visible,
.oxrc1-founder-home-button:hover,
.oxrc1-founder-home-button:focus-visible {
  background: var(--oxrc1-hover);
}

.oxrc1-founder-home-button.is-active {
  border-color: rgba(123, 167, 255, 0.5);
  background: rgba(123, 167, 255, 0.08);
}

.oxrc1-founder-queue-button.has-attention,
.oxrc1-founder-home-button.has-attention {
  border-color: rgba(247, 197, 102, 0.45);
}

.oxrc1-founder-home-button span,
.oxrc1-founder-home-button small,
.oxrc1-founder-queue-button span,
.oxrc1-founder-queue-button small {
  color: var(--oxrc1-dim);
  font-size: 12px;
}

.oxrc1-founder-home-button strong,
.oxrc1-founder-queue-button strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.oxrc1-left-footer {
  flex: 0 0 auto;
  margin-top: 8px;
  display: block;
  padding-top: 10px;
  border-top: 1px solid var(--oxrc1-line);
  background: var(--oxrc1-side);
}

.oxrc1-settings {
  flex: 0 0 auto;
  min-width: 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-left: auto;
  padding: 4px;
  background: transparent;
  border: 0;
  border-radius: var(--oxrc1-radius);
  cursor: pointer;
}

.oxrc1-settings span {
  width: 26px;
  text-align: center;
  color: var(--oxrc1-muted);
  font-size: 1.45em;
  line-height: 1;
}

.oxrc1-user {
  position: relative;
  gap: 9px;
  padding: 6px 2px 3px;
  min-width: 0;
}

.oxrc1-account-trigger {
  min-width: 0;
  flex: 1 1 auto;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 3px 4px;
  border: 0;
  border-radius: var(--oxrc1-radius);
  color: var(--oxrc1-text);
  background: transparent;
  cursor: pointer;
}

.oxrc1-account-trigger:hover,
.oxrc1-account-trigger[aria-expanded="true"],
.oxrc1-settings[aria-expanded="true"] {
  background: var(--oxrc1-hover);
}

.oxrc1-account-copy {
  min-width: 0;
  display: grid;
  flex: 1 1 auto;
}

.oxrc1-account-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 260;
  width: min(260px, calc(100vw - 24px));
  padding: 7px;
  border: 1px solid var(--oxrc1-line-strong);
  border-radius: 12px;
  background: #30302d;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.45);
  color: var(--oxrc1-text);
}

.oxrc1-account-menu[hidden] {
  display: none !important;
}

.oxrc1-account-menu-head {
  display: grid;
  gap: 3px;
  padding: 8px 9px 9px;
  border-bottom: 1px solid var(--oxrc1-line);
  margin-bottom: 5px;
}

.oxrc1-account-menu-head strong,
.oxrc1-account-menu-head span,
.oxrc1-account-menu-head small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oxrc1-account-menu-head strong {
  font-size: 14px;
  font-weight: 560;
}

.oxrc1-account-menu-head span {
  color: var(--oxrc1-muted);
  font-size: 12px;
}

.oxrc1-account-menu-head small {
  color: var(--oxrc1-dim);
  font-size: 11px;
}

.oxrc1-account-menu button {
  width: 100%;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  color: var(--oxrc1-muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.oxrc1-account-menu button:hover,
.oxrc1-account-menu button:focus-visible {
  color: var(--oxrc1-text);
  background: var(--oxrc1-hover);
}

.oxrc1-account-menu button[aria-disabled="true"] {
  color: var(--oxrc1-dim);
  cursor: default;
}

.oxrc1-account-menu button[aria-disabled="true"]:hover {
  background: transparent;
}

.oxrc1-account-menu button span {
  color: var(--oxrc1-dim);
  font-size: 11px;
}

.oxrc1-account-menu .is-logout {
  color: #ffb6b6;
}

.oxrc1-account-menu .is-logout:hover,
.oxrc1-account-menu .is-logout:focus-visible {
  color: #ffd7d7;
  background: rgba(255, 119, 119, 0.12);
}

.oxrc1-shell.is-left-collapsed .oxrc1-logo-frame {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  place-items: center;
}

.oxrc1-shell.is-left-collapsed .oxrc1-logo-wordmark {
  display: none !important;
}

.oxrc1-shell.is-left-collapsed .oxrc1-logo-mark {
  display: block !important;
  width: 31px;
  height: 31px;
}

.oxrc1-shell.is-left-collapsed .oxrc1-nav-action strong,
.oxrc1-shell.is-left-collapsed .oxrc1-search input,
.oxrc1-shell.is-left-collapsed .oxrc1-search span,
.oxrc1-shell.is-left-collapsed .oxrc1-search-panel,
.oxrc1-shell.is-left-collapsed .oxrc1-left-section,
.oxrc1-shell.is-left-collapsed .oxrc1-account-copy,
.oxrc1-shell.is-left-collapsed .oxrc1-settings strong {
  display: none;
}

.oxrc1-shell.is-left-collapsed .oxrc1-left {
  align-items: center;
  padding-inline: 7px;
}

.oxrc1-shell.is-left-collapsed .oxrc1-brand,
.oxrc1-shell.is-left-collapsed .oxrc1-left-top {
  justify-content: center;
}

.oxrc1-shell.is-left-collapsed .oxrc1-brand {
  width: 34px;
  max-width: 34px;
}

.oxrc1-shell.is-left-collapsed .oxrc1-left-top {
  flex-direction: column;
}

.oxrc1-shell.is-left-collapsed .oxrc1-left-actions {
  width: 100%;
}

.oxrc1-shell.is-left-collapsed .oxrc1-nav-action {
  justify-content: center;
  padding: 0;
}

.oxrc1-chat {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100vh;
  background: var(--oxrc1-bg);
  overflow: hidden;
}

.oxrc1-chat-topbar {
  min-height: 50px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid transparent;
}

.oxrc1-topbar-zone {
  min-width: 0;
  display: flex;
  align-items: center;
}

.oxrc1-topbar-left {
  flex: 1 1 0;
  justify-content: flex-start;
  gap: 10px;
}

.oxrc1-topbar-center {
  flex: 0 1 auto;
  justify-content: center;
}

.oxrc1-topbar-right {
  flex: 1 1 0;
  justify-content: flex-end;
  gap: 10px;
}

.oxrc1-center-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0 2px;
  border-bottom: 1px solid var(--oxrc1-line);
  border-radius: 8px 8px 0 0;
  background: rgba(255, 255, 255, 0.018);
  flex: 0 0 auto;
}

.oxrc1-center-tab {
  min-width: 56px;
  height: 28px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 7px 7px 0 0;
  background: transparent;
  color: var(--oxrc1-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0;
  padding: 0 10px;
}

.oxrc1-center-tab:hover {
  background: rgba(255, 255, 255, 0.045);
  color: var(--oxrc1-text);
}

.oxrc1-center-tab.is-active {
  border-bottom-color: var(--oxrc1-accent);
  background: rgba(255, 255, 255, 0.06);
  color: var(--oxrc1-text);
}

.oxrc1-center-view {
  min-width: 0;
  min-height: 0;
}

.oxrc1-center-view[hidden] {
  display: none !important;
}

.oxrc1-chat-view {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  overflow: hidden;
}

.oxrc1-browser-view {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  height: 100%;
  overflow: hidden;
  background: var(--oxrc1-bg);
}

.oxrc1-browser-bar {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px 34px minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px 18px 8px;
  border-bottom: 1px solid var(--oxrc1-line);
}

.oxrc1-browser-tool,
.oxrc1-browser-go {
  height: 34px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--oxrc1-soft);
  cursor: pointer;
}

.oxrc1-browser-tool {
  width: 34px;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}

.oxrc1-browser-go {
  padding: 0 16px;
  background: var(--oxrc1-accent);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 720;
}

.oxrc1-browser-tool:hover,
.oxrc1-browser-go:hover {
  filter: brightness(1.08);
}

.oxrc1-browser-bar input {
  min-width: 0;
  height: 34px;
  border: 1px solid var(--oxrc1-line-strong);
  border-radius: var(--oxrc1-radius);
  background: var(--oxrc1-side-deep);
  color: var(--oxrc1-text);
  padding: 0 12px;
  outline: 0;
}

.oxrc1-browser-bar input::placeholder {
  color: var(--oxrc1-dim);
}

.oxrc1-browser-fallback {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 18px;
  border-bottom: 1px solid var(--oxrc1-line);
  color: var(--oxrc1-dim);
  font-size: 12px;
  line-height: 1.35;
}

.oxrc1-browser-view[data-rc1-browser-state="fallback"] .oxrc1-browser-fallback {
  display: flex;
}

.oxrc1-browser-fallback a {
  flex: 0 0 auto;
  color: var(--oxrc1-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.oxrc1-browser-empty {
  display: none;
  min-width: 0;
  min-height: 0;
  place-items: center;
  padding: 24px;
  color: var(--oxrc1-dim);
  font-size: 13px;
  text-align: center;
}

.oxrc1-browser-view[data-rc1-browser-state="empty"] .oxrc1-browser-empty {
  display: grid;
}

.oxrc1-browser-view[data-rc1-browser-state="empty"] .oxrc1-browser-frame {
  display: none;
}

.oxrc1-browser-frame {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border: 0;
  background: #fff;
}

/* empty e frame ocupam a MESMA linha 1fr do grid (sao mutuamente exclusivos);
   sem isso o iframe cai numa linha implicita 'auto' e encolhe pra ~150px, cortando o conteudo. */
.oxrc1-browser-empty,
.oxrc1-browser-frame {
  grid-row: 3;
  grid-column: 1;
}

.oxrc1-title {
  min-width: 0;
  display: grid;
  gap: 2px;
  text-align: left;
  flex: 1 1 auto;
}

.oxrc1-title strong {
  font-size: 14px;
  font-weight: 640;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oxrc1-cost-counter {
  flex: 0 0 auto;
  max-width: 180px;
  min-height: 24px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  color: var(--oxrc1-muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.oxrc1-drawer-button,
.oxrc1-mobile-close {
  display: none;
}

.oxrc1-messages {
  overflow-y: auto;
  overflow-x: hidden;
  min-width: 0;
  padding: 32px 20px 158px;
  scroll-behavior: smooth;
}

.oxrc1-empty,
.oxrc1-message {
  width: min(100%, 820px);
  margin-inline: auto;
}

.oxrc1-empty[hidden] {
  display: none !important;
}

.oxrc1-empty {
  min-height: 56vh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 12px;
}

.oxrc1-empty p {
  margin: 0;
  color: var(--oxrc1-muted);
  font-size: 13px;
}

.oxrc1-empty small {
  max-width: 440px;
  color: var(--oxrc1-dim);
  font-size: 13px;
  line-height: 1.45;
}

.oxrc1-empty h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 620;
  letter-spacing: 0;
}

.oxrc1-prompt-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.oxrc1-prompt-row button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--oxrc1-line);
  color: var(--oxrc1-muted);
}

.oxrc1-message {
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
  line-height: 1.58;
}

.oxrc1-message.is-user {
  justify-items: end;
}

.oxrc1-message.is-assistant {
  justify-items: stretch;
}

.oxrc1-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 24px;
  color: var(--oxrc1-dim);
  font-size: 12px;
}

.oxrc1-assistant-meta {
  min-height: 36px;
}

.oxrc1-claudio-avatar,
.oxrc1-persona-response-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.18);
  background: #1d1d1b;
}

.oxrc1-persona-name {
  color: var(--oxrc1-text);
  font-weight: 650;
}

.oxrc1-engine-preview {
  color: #aaa79f;
}

.oxrc1-cost-preview {
  color: #8faca2;
}

.oxrc1-message-state {
  color: #8e8a82;
  font-size: 11px;
}

.oxrc1-message-time {
  color: rgba(192, 190, 182, 0.58);
  font-size: 11px;
  line-height: 1;
}

.oxrc1-message.is-pending .oxrc1-bubble {
  opacity: 0.82;
}

.oxrc1-message.is-failed .oxrc1-bubble {
  border-color: rgba(255, 127, 127, 0.54);
}

.oxrc1-bubble h1,
.oxrc1-bubble h2,
.oxrc1-bubble h3,
.oxrc1-thinking-body h1,
.oxrc1-thinking-body h2,
.oxrc1-thinking-body h3 {
  margin: 12px 0 6px;
  color: var(--oxrc1-text);
  font-weight: 650;
  line-height: 1.22;
}

.oxrc1-bubble h1,
.oxrc1-thinking-body h1 {
  font-size: 20px;
}

.oxrc1-bubble h2,
.oxrc1-thinking-body h2 {
  font-size: 17px;
}

.oxrc1-bubble h3,
.oxrc1-thinking-body h3 {
  font-size: 15px;
}

.oxrc1-message.is-user .oxrc1-meta {
  justify-self: end;
}

.oxrc1-thinking {
  max-width: min(100%, 680px);
  margin: 0 0 2px 40px;
  border: 1px solid rgba(142, 174, 160, 0.22);
  border-radius: 8px;
  background: rgba(142, 174, 160, 0.055);
  color: var(--oxrc1-muted);
  font-size: 13px;
}

.oxrc1-thinking summary {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  cursor: pointer;
  color: #c9d5ce;
  font-weight: 560;
  letter-spacing: 0;
}

.oxrc1-thinking summary::marker {
  color: #8faca2;
}

.oxrc1-thinking-body {
  padding: 0 12px 10px;
  color: #b8c3bd;
}

.oxrc1-thinking-body p {
  margin: 0 0 8px;
}

.oxrc1-thinking-body p:last-child {
  margin-bottom: 0;
}

.oxrc1-bubble {
  max-width: 100%;
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--oxrc1-text);
  overflow-wrap: anywhere;
}

.oxrc1-message.is-user .oxrc1-bubble {
  max-width: min(100%, 680px);
  background: #2a2a28;
  border: 1px solid var(--oxrc1-line);
}

.oxrc1-message.is-assistant .oxrc1-bubble {
  padding-inline: 4px;
  background: transparent;
}

.oxrc1-bubble p {
  margin: 0 0 10px;
}

.oxrc1-bubble p:last-child {
  margin-bottom: 0;
}

.oxrc1-bubble h2,
.oxrc1-bubble h3 {
  margin: 0 0 10px;
  letter-spacing: 0;
  font-weight: 650;
}

.oxrc1-bubble h2 {
  font-size: 20px;
}

.oxrc1-bubble h3 {
  font-size: 16px;
}

.oxrc1-bubble ul,
.oxrc1-bubble ol {
  margin: 8px 0 12px 22px;
  padding: 0;
}

.oxrc1-bubble li + li {
  margin-top: 4px;
}

.oxrc1-bubble a {
  color: #9eb5ff;
  text-decoration: none;
}

.oxrc1-bubble a:hover {
  text-decoration: underline;
}

.oxrc1-bubble code {
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4d6a3;
}

.oxrc1-code {
  margin: 12px 0;
  overflow: hidden;
  border: 1px solid var(--oxrc1-line);
  border-radius: 10px;
  background: #171715;
}

.oxrc1-code pre {
  margin: 0;
  padding: 14px;
  overflow: auto;
}

.oxrc1-code code {
  padding: 0;
  background: transparent;
  color: #e6e0d1;
}

.oxrc1-copy {
  margin-left: auto;
  min-height: 26px;
  padding: 0 8px;
  color: var(--oxrc1-muted);
  background: rgba(255, 255, 255, 0.04);
}

.oxrc1-pdf-download {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(183, 25, 34, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 650;
}

.oxrc1-image-download {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(110, 160, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 650;
}

.oxrc1-generated-image {
  margin: 12px 0 0;
  max-width: min(100%, 640px);
}

.oxrc1-generated-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--oxrc1-line);
  background: #171715;
}

.oxrc1-generated-image a {
  display: inline-flex;
  margin-top: 8px;
  color: #9eb5ff;
  text-decoration: none;
  font-size: 13px;
}

.oxrc1-artifact {
  margin-top: 12px;
  width: min(100%, 360px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--oxrc1-line);
  background: rgba(255, 255, 255, 0.04);
}

.oxrc1-artifact-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #262624;
  color: var(--oxrc1-muted);
  font-size: 11px;
}

.oxrc1-artifact div:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.oxrc1-artifact strong {
  font-size: 13px;
}

.oxrc1-artifact span {
  color: var(--oxrc1-dim);
  font-size: 12px;
}

.oxrc1-composer {
  z-index: 2;
  width: min(calc(100% - 40px), 820px);
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--oxrc1-line-strong);
  border-radius: 18px;
  background: var(--oxrc1-composer);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.oxrc1-attachment-tray {
  grid-column: 1 / -1;
  min-width: 0;
}

.oxrc1-attachment-chip {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  border: 1px solid var(--oxrc1-line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--oxrc1-soft);
  font-size: 12px;
  line-height: 1.25;
}

.oxrc1-attachment-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #71d38a;
  box-shadow: 0 0 0 3px rgba(113, 211, 138, 0.12);
  flex: 0 0 auto;
}

.oxrc1-attachment-chip[data-attachment-kind="image"] {
  padding: 4px 7px 4px 4px;
}

.oxrc1-attachment-thumb {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid var(--oxrc1-line);
  background: rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
}

.oxrc1-attachment-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oxrc1-attachment-status {
  flex: 0 0 auto;
  padding: 2px 6px;
  border: 1px solid rgba(113, 211, 138, 0.24);
  border-radius: 999px;
  color: #b9eec5;
  background: rgba(113, 211, 138, 0.09);
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.oxrc1-attachment-chip button {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--oxrc1-muted);
  cursor: pointer;
}

.oxrc1-attachment-chip button:hover {
  background: var(--oxrc1-hover);
  color: var(--oxrc1-text);
}

.oxrc1-composer-tools,
.oxrc1-composer-actions {
  gap: 6px;
  align-items: center;
}

.oxrc1-tool,
.oxrc1-send {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--oxrc1-muted);
  flex: 0 0 auto;
}

.oxrc1-send {
  background: var(--oxrc1-text);
  color: #1f1f1d;
}

.oxrc1-composer textarea {
  width: 100%;
  max-height: 160px;
  min-height: 32px;
  resize: none;
  border: 0;
  outline: 0;
  padding: 7px 2px;
  color: var(--oxrc1-text);
  background: transparent;
  line-height: 1.45;
}

.oxrc1-engine {
  position: relative;
}

.oxrc1-persona-selector {
  position: relative;
}

.oxrc1-engine-button {
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  color: var(--oxrc1-muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid transparent;
  white-space: nowrap;
}

.oxrc1-engine-button[aria-expanded="true"] {
  color: var(--oxrc1-text);
  border-color: var(--oxrc1-line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.oxrc1-engine-button i {
  font-style: normal;
  color: var(--oxrc1-dim);
}

.oxrc1-persona-button img,
.oxrc1-persona-option-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #1d1d1b;
  flex: 0 0 auto;
}

.oxrc1-persona-option-avatar {
  width: 24px;
  height: 24px;
}

.oxrc1-engine-menu,
.oxrc1-context-menu {
  position: fixed;
  z-index: 80;
  min-width: 190px;
  max-width: min(320px, calc(100vw - 20px));
  max-height: min(420px, calc(100vh - 20px));
  overflow: auto;
  padding: 7px;
  border: 1px solid var(--oxrc1-line-strong);
  border-radius: 12px;
  background: #343431;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.oxrc1-engine-menu {
  right: 0;
  bottom: calc(100% + 8px);
}

.oxrc1-menu-option,
.oxrc1-menu-item {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 9px;
  color: var(--oxrc1-text);
  text-align: left;
}

.oxrc1-menu-option:hover,
.oxrc1-menu-item:hover,
.oxrc1-menu-option.is-selected,
.oxrc1-menu-item.is-active {
  background: rgba(255, 255, 255, 0.08);
}

.oxrc1-menu-option[aria-disabled="true"],
.oxrc1-menu-item[aria-disabled="true"] {
  color: #89877f;
  cursor: not-allowed;
}

.oxrc1-menu-mark,
.oxrc1-menu-icon {
  width: 18px;
  color: var(--oxrc1-muted);
  text-align: center;
}

.oxrc1-menu-text {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.oxrc1-menu-text small {
  color: #aaa79f;
  font-size: 11px;
}

.oxrc1-menu-divider {
  height: 1px;
  margin: 7px 4px;
  background: rgba(255, 255, 255, 0.1);
}

.oxrc1-menu-item.is-danger {
  color: var(--oxrc1-danger);
}

.oxrc1-right-head {
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.oxrc1-right-head div {
  min-width: 0;
}

.oxrc1-right-head h2 {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 400;
}

.oxrc1-shell.is-right-collapsed .oxrc1-right {
  align-items: center;
  padding-inline: 8px;
}

.oxrc1-shell.is-right-collapsed .oxrc1-right-head div,
.oxrc1-shell.is-right-collapsed .oxrc1-progress,
.oxrc1-shell.is-right-collapsed .oxrc1-progress-note {
  display: none;
}

.oxrc1-progress {
  overflow-y: auto;
  min-height: 0;
  display: grid;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0 2px 8px;
}

.oxrc1-progress li {
  min-height: 32px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  color: var(--oxrc1-dim);
  border-radius: 8px;
  padding: 4px 5px;
}

.oxrc1-progress li span {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--oxrc1-line-strong);
  background: transparent;
}

.oxrc1-progress li p {
  margin: 0;
  min-width: 0;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 400;
}

.oxrc1-progress li.is-done {
  color: var(--oxrc1-muted);
}

.oxrc1-progress li.is-done span {
  background: var(--oxrc1-blue);
  border-color: var(--oxrc1-blue);
}

.oxrc1-progress li.is-done span::before {
  content: "✓";
  color: #101010;
  font-size: 12px;
  font-weight: 760;
}

.oxrc1-progress li.is-current {
  color: var(--oxrc1-text);
  background: rgba(255, 255, 255, 0.06);
}

.oxrc1-progress li.is-current span {
  border-color: var(--oxrc1-blue);
  box-shadow: inset 0 0 0 5px rgba(110, 160, 255, 0.24);
}

.oxrc1-progress-note {
  margin-top: auto;
  padding: 10px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  color: var(--oxrc1-muted);
  background: transparent;
  font-size: 12px;
  line-height: 1.25;
}

.oxrc1-resizer {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 200;
  width: 8px;
  cursor: col-resize;
  touch-action: none;
  background: rgba(255, 255, 255, 0.018);
}

.oxrc1-left-resizer { right: 0; }
.oxrc1-right-resizer { left: 0; }
.oxrc1-resizer:hover { background: rgba(110, 160, 255, 0.08); }
.oxrc1-shell.is-resizing { user-select: none; cursor: col-resize; }

.oxrc1-hidden-file { display: none; }

.oxrc1-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.38);
}

.oxrc1-context-menu[hidden],
.oxrc1-engine-menu[hidden],
.oxrc1-modal-layer[hidden] {
  display: none !important;
}

.oxrc1-modal {
  width: min(420px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border: 1px solid var(--oxrc1-line-strong);
  border-radius: 14px;
  background: #2f2f2c;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
  padding: 18px;
}

.oxrc1-modal-wide {
  width: min(760px, calc(100vw - 28px));
}

.oxrc1-modal h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.oxrc1-modal p {
  margin: 0 0 14px;
  color: var(--oxrc1-muted);
  line-height: 1.45;
}

.oxrc1-modal input,
.oxrc1-modal select {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--oxrc1-line-strong);
  border-radius: 9px;
  color: var(--oxrc1-text);
  background: #242422;
}

.oxrc1-modal dl {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 8px;
  margin: 12px 0 0;
  font-size: 13px;
}

.oxrc1-modal dt { color: var(--oxrc1-dim); }
.oxrc1-modal dd { margin: 0; color: var(--oxrc1-text); overflow-wrap: anywhere; }

.oxrc1-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.oxrc1-modal-error {
  display: block;
  margin-top: 6px;
  color: var(--oxrc1-danger);
  font-size: 12px;
}

.oxrc1-modal-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--oxrc1-line-strong);
  border-radius: 9px;
  color: var(--oxrc1-text);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.oxrc1-modal-actions .is-danger {
  border-color: rgba(255, 119, 119, 0.45);
  color: #ffd1d1;
  background: rgba(255, 80, 80, 0.16);
}

.oxrc1-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 130;
  transform: translateX(-50%);
  max-width: min(520px, calc(100vw - 32px));
  padding: 10px 14px;
  border: 1px solid var(--oxrc1-line-strong);
  border-radius: 999px;
  color: var(--oxrc1-text);
  background: #343431;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.36);
  font-size: 13px;
}

.oxrc1-project-home {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 28px 20px 110px;
  display: grid;
  gap: 18px;
}

.oxrc1-project-home-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--oxrc1-line);
}

.oxrc1-project-home-header span {
  display: block;
  margin-bottom: 7px;
  color: var(--oxrc1-dim);
  font-size: 12px;
}

.oxrc1-project-home h1,
.oxrc1-project-home h2,
.oxrc1-project-home p {
  margin: 0;
}

.oxrc1-project-home h1 {
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: 0;
}

.oxrc1-project-home-header p,
.oxrc1-project-home-note,
.oxrc1-project-home-empty p {
  color: var(--oxrc1-muted);
  line-height: 1.45;
}

.oxrc1-project-home-actions,
.oxrc1-project-home-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.oxrc1-project-home-action {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--oxrc1-line-strong);
  border-radius: var(--oxrc1-radius);
  color: var(--oxrc1-text);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.oxrc1-project-home-action:hover,
.oxrc1-project-home-action:focus-visible,
.oxrc1-project-home-chat:hover,
.oxrc1-project-home-chat:focus-visible {
  background: var(--oxrc1-hover);
}

.oxrc1-project-home-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.oxrc1-project-home-summary div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  background: rgba(255, 255, 255, 0.025);
}

.oxrc1-project-home-summary span,
.oxrc1-project-home-chat span,
.oxrc1-project-home-chat small {
  display: block;
  color: var(--oxrc1-dim);
  font-size: 12px;
}

.oxrc1-project-home-summary strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
}

.oxrc1-project-home-section {
  display: grid;
  gap: 10px;
}

.oxrc1-activity-summary {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  background: rgba(255, 255, 255, 0.025);
}

.oxrc1-activity-summary header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.oxrc1-activity-summary header span,
.oxrc1-activity-summary-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--oxrc1-dim);
  font-size: 12px;
}

.oxrc1-activity-summary h2 {
  font-size: 16px;
}

.oxrc1-activity-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.oxrc1-activity-summary-grid article {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  background: rgba(255, 255, 255, 0.02);
}

.oxrc1-activity-summary-grid strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.oxrc1-activity-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.oxrc1-decision-center {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  background: rgba(255, 255, 255, 0.02);
}

.oxrc1-decision-center header span,
.oxrc1-decision-item span,
.oxrc1-decision-item small {
  display: block;
  color: var(--oxrc1-dim);
  font-size: 12px;
}

.oxrc1-decision-center h2 {
  font-size: 16px;
}

.oxrc1-decision-list {
  display: grid;
  gap: 8px;
}

.oxrc1-decision-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  background: rgba(255, 255, 255, 0.018);
}

.oxrc1-decision-item.is-blocked {
  border-color: rgba(255, 124, 124, 0.45);
}

.oxrc1-decision-item.is-attention {
  border-color: rgba(247, 197, 102, 0.45);
}

.oxrc1-decision-item strong,
.oxrc1-decision-item p,
.oxrc1-decision-item small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.oxrc1-decision-item p {
  margin: 4px 0;
}

.oxrc1-decision-actions {
  display: flex;
  justify-content: flex-end;
}

.oxrc1-decision-empty {
  padding: 12px;
  border: 1px dashed var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  color: var(--oxrc1-dim);
}

.oxrc1-founder-queue {
  display: grid;
  gap: 12px;
}

.oxrc1-founder-queue header span,
.oxrc1-founder-queue-item span,
.oxrc1-founder-queue-item small,
.oxrc1-founder-queue-more {
  color: var(--oxrc1-dim);
  font-size: 12px;
}

.oxrc1-founder-queue h2 {
  font-size: 20px;
}

.oxrc1-founder-queue-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.oxrc1-founder-queue-tabs button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  color: var(--oxrc1-muted);
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
}

.oxrc1-founder-queue-tabs button:hover,
.oxrc1-founder-queue-tabs button:focus-visible,
.oxrc1-founder-queue-tabs button.is-active {
  color: var(--oxrc1-text);
  background: var(--oxrc1-hover);
}

.oxrc1-founder-queue-list {
  display: grid;
  gap: 8px;
}

.oxrc1-founder-queue-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  background: rgba(255, 255, 255, 0.018);
}

.oxrc1-founder-queue-item.is-blocked {
  border-color: rgba(255, 124, 124, 0.45);
}

.oxrc1-founder-queue-item.is-attention {
  border-color: rgba(247, 197, 102, 0.45);
}

.oxrc1-founder-queue-item.is-reviewed {
  opacity: 0.76;
}

.oxrc1-founder-queue-item strong,
.oxrc1-founder-queue-item p,
.oxrc1-founder-queue-item small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.oxrc1-founder-queue-item p {
  margin: 4px 0;
}

.oxrc1-founder-queue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.oxrc1-founder-queue-empty {
  padding: 12px;
  border: 1px dashed var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  color: var(--oxrc1-dim);
}

.oxrc1-founder-home {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 28px 20px 110px;
  display: grid;
  gap: 18px;
}

.oxrc1-founder-home > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--oxrc1-line);
}

.oxrc1-founder-home h1,
.oxrc1-founder-home h2,
.oxrc1-founder-home p {
  margin: 0;
}

.oxrc1-founder-home h1 {
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: 0;
}

.oxrc1-founder-home header span,
.oxrc1-founder-home-item span,
.oxrc1-founder-home-item small,
.oxrc1-founder-home-block header p {
  color: var(--oxrc1-dim);
  font-size: 12px;
}

.oxrc1-founder-home-block {
  display: grid;
  gap: 10px;
}

.oxrc1-founder-home-list {
  display: grid;
  gap: 8px;
}

.oxrc1-founder-home-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  background: rgba(255, 255, 255, 0.018);
}

.oxrc1-founder-home-item.is-blocked {
  border-color: rgba(255, 124, 124, 0.45);
}

.oxrc1-founder-home-item.is-reviewed {
  opacity: 0.78;
}

.oxrc1-founder-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.oxrc1-founder-home-empty {
  padding: 12px;
  border: 1px dashed var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  color: var(--oxrc1-dim);
}

.oxrc1-decision-review {
  display: grid;
  gap: 14px;
}

.oxrc1-decision-review header span,
.oxrc1-decision-review dt {
  color: var(--oxrc1-dim);
  font-size: 12px;
}

.oxrc1-decision-review h2 {
  font-size: 20px;
}

.oxrc1-decision-review p,
.oxrc1-decision-review dd {
  overflow-wrap: anywhere;
}

.oxrc1-decision-review-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.oxrc1-decision-review-badges span {
  padding: 5px 9px;
  border: 1px solid var(--oxrc1-line);
  border-radius: 999px;
  color: var(--oxrc1-text);
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
}

.oxrc1-decision-review dl {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 8px 12px;
}

.oxrc1-decision-review dd {
  margin: 0;
}

.oxrc1-decision-review-artifact {
  display: grid;
  gap: 10px;
}

.oxrc1-decision-review-artifact article {
  padding: 12px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  background: rgba(255, 255, 255, 0.02);
}

.oxrc1-decision-review-artifact h4 {
  margin-bottom: 6px;
}

.oxrc1-mission-center {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  background: rgba(255, 255, 255, 0.02);
}

.oxrc1-mission-center-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.oxrc1-mission-center-head span {
  display: block;
  margin-bottom: 5px;
  color: var(--oxrc1-dim);
  font-size: 12px;
}

.oxrc1-mission-center-head h2,
.oxrc1-mission-empty h3 {
  margin: 0;
  font-size: 16px;
}

.oxrc1-mission-list {
  display: grid;
  gap: 8px;
}

.oxrc1-mission-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  background: rgba(0, 0, 0, 0.08);
}

.oxrc1-mission-item span,
.oxrc1-mission-item small {
  display: block;
  color: var(--oxrc1-dim);
  font-size: 12px;
}

.oxrc1-mission-item span {
  width: fit-content;
  max-width: 100%;
  padding: 3px 7px;
  border: 1px solid var(--oxrc1-line-strong);
  border-radius: 999px;
  color: var(--oxrc1-text);
  background: rgba(255, 255, 255, 0.04);
}

.oxrc1-mission-item strong,
.oxrc1-mission-item p,
.oxrc1-mission-item small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oxrc1-mission-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.oxrc1-mission-empty {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px dashed var(--oxrc1-line-strong);
  border-radius: var(--oxrc1-radius);
}

.oxrc1-mission-empty p {
  color: var(--oxrc1-muted);
  line-height: 1.45;
}

.oxrc1-mission-detail {
  display: grid;
  gap: 14px;
}

.oxrc1-mission-detail dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 14px;
  margin: 0;
}

.oxrc1-mission-detail dt {
  color: var(--oxrc1-dim);
}

.oxrc1-mission-detail dd {
  margin: 0;
}

.oxrc1-mission-detail ol {
  margin: 0;
  padding-left: 18px;
  color: var(--oxrc1-muted);
}

.oxrc1-planner-panel,
.oxrc1-planner-confirm {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  background: rgba(255, 255, 255, 0.025);
}

.oxrc1-planner-panel h4,
.oxrc1-planner-panel p,
.oxrc1-planner-confirm p {
  margin: 0;
}

.oxrc1-planner-panel span {
  display: inline-block;
  width: fit-content;
  padding: 3px 7px;
  border: 1px solid var(--oxrc1-line-strong);
  border-radius: 999px;
  color: var(--oxrc1-dim);
  font-size: 11px;
}

.oxrc1-planner-panel ul,
.oxrc1-planner-panel ol,
.oxrc1-planner-confirm ul {
  margin: 0;
  padding-left: 18px;
  color: var(--oxrc1-muted);
}

.oxrc1-planner-panel small {
  color: var(--oxrc1-dim);
}

.oxrc1-mission-funnel {
  display: grid;
  gap: 14px;
}

.oxrc1-funnel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--oxrc1-line);
}

.oxrc1-funnel-head span,
.oxrc1-funnel-head small {
  display: block;
  color: var(--oxrc1-dim);
  font-size: 12px;
}

.oxrc1-funnel-head h4 {
  margin: 3px 0 7px;
  font-size: 18px;
  line-height: 1.2;
}

.oxrc1-funnel-head p {
  margin: 0;
}

.oxrc1-funnel-head strong {
  align-self: start;
  white-space: nowrap;
  padding: 5px 9px;
  border: 1px solid rgba(120, 180, 150, 0.42);
  border-radius: 999px;
  color: #d9f7e4;
  background: rgba(62, 132, 95, 0.16);
  font-size: 12px;
}

.oxrc1-funnel-head small {
  grid-column: 1 / -1;
}

.oxrc1-funnel-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oxrc1-funnel-steps li {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 11px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  background: rgba(255, 255, 255, 0.018);
}

.oxrc1-funnel-steps li > span {
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid var(--oxrc1-line-strong);
  border-radius: 999px;
  color: var(--oxrc1-muted);
  font-size: 12px;
}

.oxrc1-funnel-steps li.is-completed > span {
  border-color: rgba(120, 180, 150, 0.46);
  color: #d9f7e4;
}

.oxrc1-funnel-steps li.is-running > span {
  border-color: rgba(120, 168, 255, 0.54);
  color: #dbe7ff;
}

.oxrc1-funnel-steps li.is-blocked > span,
.oxrc1-funnel-steps li.is-failed > span {
  border-color: rgba(255, 150, 120, 0.48);
  color: #ffdccc;
}

.oxrc1-funnel-steps strong,
.oxrc1-funnel-steps p,
.oxrc1-funnel-steps small {
  display: block;
  min-width: 0;
}

.oxrc1-funnel-steps strong {
  font-size: 14px;
}

.oxrc1-funnel-steps p,
.oxrc1-funnel-result p {
  margin: 3px 0 0;
  color: var(--oxrc1-muted);
}

.oxrc1-funnel-steps small {
  margin-top: 5px;
  color: var(--oxrc1-dim);
  font-size: 12px;
}

.oxrc1-funnel-result,
.oxrc1-funnel-history {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  background: rgba(255, 255, 255, 0.02);
}

.oxrc1-funnel-result h4,
.oxrc1-funnel-history h4 {
  margin: 0;
  font-size: 14px;
}

.oxrc1-funnel-result article {
  display: grid;
  gap: 6px;
}

.oxrc1-funnel-result ul,
.oxrc1-funnel-history ol {
  margin: 0;
  padding-left: 18px;
  color: var(--oxrc1-muted);
}

.oxrc1-funnel-result small {
  color: var(--oxrc1-dim);
}

.oxrc1-funnel-affected-files {
  display: grid;
  gap: 6px;
}

.oxrc1-funnel-affected-files span {
  padding: 8px 10px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  color: var(--oxrc1-muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  line-height: 1.4;
}

.oxrc1-funnel-result pre {
  margin: 0;
  padding: 10px;
  overflow: auto;
  white-space: pre-wrap;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  color: var(--oxrc1-muted);
  background: rgba(0, 0, 0, 0.16);
  font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.oxrc1-project-home-section h2,
.oxrc1-project-home-empty h2 {
  font-size: 16px;
  line-height: 1.25;
}

.oxrc1-project-home-list {
  display: grid;
  gap: 7px;
}

.oxrc1-project-home-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.oxrc1-project-home-chat {
  min-width: 0;
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  color: var(--oxrc1-text);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.oxrc1-project-home-chat strong,
.oxrc1-project-home-chat span,
.oxrc1-project-home-chat small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oxrc1-project-home-empty {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--oxrc1-line);
  border-radius: var(--oxrc1-radius);
  background: rgba(255, 255, 255, 0.025);
}

@media (max-width: 920px) {
  .oxrc1-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .oxrc1-project-home {
    padding: 22px 14px 112px;
  }

  .oxrc1-project-home-header {
    display: grid;
  }

  .oxrc1-project-home-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oxrc1-activity-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oxrc1-mission-center-head,
  .oxrc1-mission-item,
  .oxrc1-decision-item {
    display: grid;
    grid-template-columns: 1fr;
  }

  .oxrc1-mission-actions,
  .oxrc1-decision-actions {
    justify-content: flex-start;
  }

  .oxrc1-decision-review dl {
    grid-template-columns: 1fr;
  }

  .oxrc1-funnel-head,
  .oxrc1-funnel-steps li {
    grid-template-columns: 1fr;
  }

  .oxrc1-funnel-head strong {
    width: fit-content;
  }

  .oxrc1-left,
  .oxrc1-right {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 100;
    width: min(84vw, 320px);
    transform: translateX(-105%);
    transition: transform 160ms ease;
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.4);
  }

  .oxrc1-left { left: 0; }
  .oxrc1-right {
    right: 0;
    left: auto;
    transform: translateX(105%);
  }

  .oxrc1-shell.is-mobile-left-open .oxrc1-left,
  .oxrc1-shell.is-mobile-right-open .oxrc1-right {
    transform: translateX(0);
  }

  .oxrc1-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.44);
  }

  .oxrc1-backdrop[hidden] {
    display: none;
  }

  .oxrc1-drawer-button,
  .oxrc1-mobile-close {
    display: grid;
  }

  .oxrc1-resizer {
    display: none;
  }

  .oxrc1-shell.is-left-collapsed .oxrc1-left,
  .oxrc1-shell.is-right-collapsed .oxrc1-right {
    align-items: stretch;
  }

  .oxrc1-shell.is-left-collapsed .oxrc1-logo-frame,
  .oxrc1-shell.is-left-collapsed .oxrc1-nav-action strong,
  .oxrc1-shell.is-left-collapsed .oxrc1-search input,
  .oxrc1-shell.is-left-collapsed .oxrc1-search span,
  .oxrc1-shell.is-left-collapsed .oxrc1-left-section,
  .oxrc1-shell.is-left-collapsed .oxrc1-user div,
  .oxrc1-shell.is-left-collapsed .oxrc1-settings strong,
  .oxrc1-shell.is-right-collapsed .oxrc1-right-head div,
  .oxrc1-shell.is-right-collapsed .oxrc1-progress,
  .oxrc1-shell.is-right-collapsed .oxrc1-progress-note {
    display: revert;
  }

  .oxrc1-shell.is-left-collapsed .oxrc1-logo-frame {
    width: 118px;
    height: 44px;
    overflow: visible;
    padding: 3px 0;
  }

  .oxrc1-shell.is-left-collapsed .oxrc1-brand {
    width: auto;
    max-width: calc(100% - 34px);
  }

  .oxrc1-shell.is-left-collapsed .oxrc1-logo-frame img {
    width: auto;
    max-width: 118px;
    max-height: 38px;
    object-fit: contain;
    transform: none;
  }

  .oxrc1-chat-topbar {
    flex-wrap: wrap;
    border-bottom-color: var(--oxrc1-line);
  }

  .oxrc1-topbar-left {
    order: 1;
    flex: 1 1 calc(100% - 92px);
  }

  .oxrc1-topbar-center {
    order: 3;
    flex: 1 1 auto;
    justify-content: flex-start;
  }

  .oxrc1-topbar-right {
    order: 2;
    flex: 0 0 auto;
  }

  .oxrc1-center-tabs {
    order: 1;
  }

  .oxrc1-center-tab {
    min-width: 54px;
  }

  .oxrc1-title {
    flex: 1 1 150px;
  }

  .oxrc1-cost-counter {
    max-width: none;
  }

  .oxrc1-topbar-actions {
    order: 2;
  }

  .oxrc1-browser-bar {
    grid-template-columns: 34px 34px minmax(0, 1fr);
    padding-inline: 10px;
  }

  .oxrc1-browser-go {
    grid-column: 1 / -1;
  }

  .oxrc1-browser-fallback {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 10px;
  }

  .oxrc1-composer {
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
  }

  .oxrc1-composer-tools,
  .oxrc1-composer-actions {
    justify-content: space-between;
  }

  .oxrc1-engine-menu,
  .oxrc1-context-menu {
    max-width: calc(100vw - 16px);
  }
}
