/* Standalone page shell */
:root {
  color-scheme: light dark;
}
body {
  margin: 0;
  padding: 16px;
  background: light-dark(#ffffff, #201e1a);
}
body > #arc-shell {
  height: calc(100dvh - 32px);
  max-height: calc(100dvh - 32px);
}
@media (max-width: 900px) {
  body > #arc-shell {
    height: auto;
    max-height: none;
  }
}
#arc-shell .cursor-interaction {
  cursor: pointer;
}
/* End standalone page shell */

#arc-shell {
  --arc-chrome: light-dark(#e8dfd0, #3d372e);
  --arc-paper: light-dark(#fcfaf6, #28251f);
  --arc-text: light-dark(#3c352b, #f1ebe0);
  --arc-muted: light-dark(#7b7162, #b8ac98);
  --arc-hover: light-dark(#dcd0bc, #504738);
  --arc-selected: light-dark(#f6f0e6, #645641);
  --arc-line: light-dark(#d2c4ae, #5a4e3d);
  --workspace-content-width: 840px;
  --workspace-content-padding: 24px;
  --workspace-tab-gap: 30px;
  --workspace-tab-inset: 32px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  color: var(--arc-text);
  background: var(--arc-chrome);
  border: 1px solid var(--arc-line);
  border-radius: 14px;
  padding: 8px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 8px;
  position: relative;
  box-sizing: border-box;
  isolation: isolate;
}
#arc-shell * {
  box-sizing: border-box;
}
#arc-shell button,
#arc-shell input {
  font: inherit;
  color: inherit;
}
#arc-shell button {
  border: 0;
  background: transparent;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  text-align: left;
  min-width: 0;
}
#arc-shell button:hover {
  background: var(--arc-hover);
}
#arc-shell button:disabled {
  opacity: 0.35;
}
#arc-shell button:disabled:hover {
  background: transparent;
}
#arc-shell svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
#arc-shell .arc-sidebar {
  display: flex;
  flex-direction: column;
  padding: 4px 5px 0;
  min-width: 0;
}
#arc-shell .arc-window {
  display: flex;
  align-items: center;
  padding: 0 5px;
  margin-bottom: 15px;
}
#arc-shell .arc-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f16b64;
}
#arc-shell .arc-dot:nth-child(2) {
  background: #eebd4f;
}
#arc-shell .arc-dot:nth-child(3) {
  background: #62c457;
}
#arc-shell .arc-window .arc-icon {
  margin-left: 0;
}
#arc-shell .arc-window {
  gap: 4px;
  flex-wrap: wrap;
  height: auto;
  min-height: 32px;
}
#arc-shell .arc-traffic {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
#arc-shell .arc-dot {
  flex-shrink: 0;
}
#arc-shell .arc-navigation {
  display: flex;
  gap: 0;
  margin-left: auto;
  flex-shrink: 0;
}
#arc-shell .arc-icon {
  justify-content: center;
  padding: 7px;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
#arc-shell .arc-icon[data-action="sidebar"] {
  padding: 4px;
  color: var(--arc-muted);
}
#arc-shell .sidebar-toggle-icon {
  width: 20px;
  height: 20px;
}
#arc-shell .arc-address {
  width: 100%;
  background: var(--arc-hover);
  color: var(--arc-muted);
  padding: 12px;
  margin-bottom: 18px;
}
#arc-shell .arc-address span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#arc-shell .arc-section {
  display: flex;
  align-items: center;
}
#arc-shell .arc-tab {
  width: 100%;
  margin: 1px 0;
  min-height: 32px;
  padding: 7px 9px;
  line-height: 18px;
}
#arc-shell .arc-department {
  margin-top: 12px;
}
#arc-shell .arc-tab span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#arc-shell .arc-tab[aria-pressed="true"] {
  background: var(--arc-selected);
  box-shadow: 0 1px 3px #0000000a;
}
#arc-shell .arc-bottom {
  margin-top: auto;
}
#arc-shell .arc-content {
  border-radius: 9px;
  background: var(--arc-paper);
  box-shadow: 0 1px 5px #00000012;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
#arc-shell .arc-stage {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
#arc-shell .arc-pane {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  min-width: 0;
  gap: 16px;
}
#arc-shell .arc-pane h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
  font-weight: 500;
  margin: 0;
  color: var(--arc-text);
}
#arc-shell[data-collapsed="true"] {
  grid-template-columns: minmax(0, 1fr);
}
#arc-shell[data-collapsed="true"] .arc-sidebar {
  display: none;
}
@media (max-width: 600px) {
  #arc-shell {
    grid-template-columns: 166px minmax(0, 1fr);
    min-height: 540px;
  }
  #arc-shell .arc-sidebar {
    padding: 4px 0 0;
  }
  #arc-shell .arc-pane {
    padding: 14px;
  }
  #arc-shell .arc-pane h2 {
    font-size: 20px;
  }
  #arc-shell .arc-stage {
    min-height: 450px;
  }
  #arc-shell .arc-tab {
    gap: 6px;
    padding: 7px 6px;
  }
}
@media (pointer: coarse) {
  #arc-shell button {
    min-height: 44px;
  }
  #arc-shell .arc-icon {
    width: 44px;
    height: 44px;
  }
  #arc-shell .arc-bottom {
    flex-wrap: wrap;
  }
}
#arc-shell .arc-project-picker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 7px;
  color: var(--arc-text);
  height: 40px;
  box-shadow: inset 0 0 0 1px var(--arc-line);
}
#arc-shell .arc-project-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 16px;
  height: 16px;
  margin: 0;
  pointer-events: none;
  color: var(--arc-muted);
  z-index: 1;
}
#arc-shell .arc-project-picker > svg {
  pointer-events: none;
}
@media (pointer: coarse) {
  #arc-shell .arc-project-picker {
    height: 44px;
  }
}
#arc-shell .arc-agent {
  gap: 9px;
  padding: 4px 9px;
  min-height: 32px;
}
#arc-shell .arc-agent .arc-agent-label {
  flex: 1;
  min-width: 0;
  white-space: normal;
  overflow: visible;
  line-height: 18px;
}
#arc-shell .arc-character,
#arc-shell .arc-character span {
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
}
#arc-shell .arc-character {
  --character-ink: #352f29;
  --character-fill: #f48b70;
  position: relative;
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
#arc-shell .arc-character:before,
#arc-shell .arc-character:after {
  content: "";
  position: absolute;
  top: 11px;
  width: 5px;
  height: 2px;
  background: var(--character-ink);
  border-radius: 2px;
}
#arc-shell .arc-character:before {
  left: 0;
  transform: rotate(-30deg);
}
#arc-shell .arc-character:after {
  right: 0;
  transform: rotate(30deg);
}
#arc-shell .arc-character-body {
  position: absolute;
  left: 3px;
  top: 2px;
  display: block;
  width: 18px;
  height: 19px;
  background: var(--character-fill);
  border: 1.3px solid var(--character-ink);
  border-radius: 48% 52% 44% 46%;
  z-index: 1;
}
#arc-shell .arc-character-body:before {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 6px;
  height: 4px;
  border: solid var(--character-ink);
  border-width: 0 0 1.2px 0;
  border-radius: 0 0 6px 6px;
}
#arc-shell .arc-character-body:after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -4px;
  width: 5px;
  height: 3px;
  background: var(--character-fill);
  border: 1px solid var(--character-ink);
  border-radius: 1px 1px 3px 3px;
  box-shadow:
    7px 0 0 -1px var(--character-fill),
    7px 0 0 0 var(--character-ink);
}
#arc-shell .arc-character-eyes {
  position: absolute;
  left: 4px;
  top: 5px;
  width: 9px;
  height: 3px;
  display: block;
}
#arc-shell .arc-character-eyes:before,
#arc-shell .arc-character-eyes:after {
  content: "";
  position: absolute;
  top: 0;
  width: 2px;
  height: 3px;
  border-radius: 50%;
  background: var(--character-ink);
}
#arc-shell .arc-character-eyes:before {
  left: 0;
}
#arc-shell .arc-character-eyes:after {
  right: 0;
}
#arc-shell .arc-character-spark .arc-character-body {
  border-radius: 50% 45% 40% 50%;
  transform: rotate(-8deg);
}
#arc-shell .arc-character-spark:after {
  top: 6px;
  transform: rotate(-55deg);
}
#arc-shell .arc-character-boost {
  --character-fill: #f2c550;
}
#arc-shell .arc-character-boost .arc-character-body {
  border-radius: 4px;
}
#arc-shell .arc-character-boost .arc-character-eyes:after {
  height: 1.5px;
  top: 1px;
  width: 3px;
  transform: rotate(-15deg);
}
#arc-shell .arc-character-scout {
  --character-fill: #7ab9df;
}
#arc-shell .arc-character-scout .arc-character-body {
  left: 4px;
  width: 16px;
  border-radius: 7px 7px 5px 5px;
}
#arc-shell .arc-character-scout .arc-character-eyes {
  left: 2px;
  width: 10px;
  top: 4px;
}
#arc-shell .arc-character-scout .arc-character-eyes:before,
#arc-shell .arc-character-scout .arc-character-eyes:after {
  width: 5px;
  height: 5px;
  background: radial-gradient(var(--character-ink) 0 1px, transparent 1px);
  border: 1px solid var(--character-ink);
  border-radius: 50%;
}
#arc-shell .arc-character-scout .arc-character-body:before {
  left: 4px;
}
#arc-shell .arc-character-story {
  --character-fill: #91c99c;
}
#arc-shell .arc-character-story .arc-character-body {
  border-radius: 42% 55% 35% 45%;
  width: 20px;
  left: 2px;
}
#arc-shell .arc-character-story .arc-character-body:before {
  width: 7px;
  height: 5px;
  background: var(--character-ink);
  border-radius: 1px 1px 5px 5px;
}
#arc-shell .arc-character-connect {
  --character-fill: #bb9cdb;
}
#arc-shell .arc-character-connect .arc-character-body {
  border-radius: 7px 7px 50% 50%;
}
#arc-shell .arc-character-connect:before {
  top: 6px;
  transform: rotate(55deg);
}
#arc-shell .arc-character-connect:after {
  top: 6px;
  transform: rotate(-55deg);
}
@media (pointer: coarse) {
  #arc-shell .arc-agent {
    min-height: 44px;
  }
}
#arc-shell .arc-section {
  gap: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: light-dark(#898279, #a69f95);
}
#arc-shell .arc-section > span:last-child {
  line-height: 18px;
}
#arc-shell .arc-navigation [data-action="command"] {
  border-radius: 50%;
  background: var(--arc-selected);
  box-shadow: inset 0 0 0 1px var(--arc-line);
  color: var(--arc-text);
  transition:
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}
#arc-shell .arc-navigation [data-action="command"]:hover,
#arc-shell .arc-navigation [data-action="command"]:focus-visible {
  background: var(--arc-hover);
  box-shadow: inset 0 0 0 1px var(--arc-muted);
}
@media (prefers-reduced-motion: reduce) {
  #arc-shell .arc-navigation [data-action="command"] {
    transition: none;
  }
}
#arc-shell .arc-character-ledger {
  --character-fill: #8dd4c0;
}
#arc-shell .arc-character-ledger .arc-character-body {
  border-radius: 3px 3px 5px 5px;
}
#arc-shell .arc-character-ledger .arc-character-eyes {
  left: 2px;
  top: 4px;
  width: 12px;
  height: 5px;
  border-top: 1px solid var(--character-ink);
}
#arc-shell .arc-character-ledger .arc-character-eyes:before,
#arc-shell .arc-character-ledger .arc-character-eyes:after {
  width: 5px;
  height: 5px;
  border: 1px solid var(--character-ink);
  border-radius: 2px;
  background: radial-gradient(var(--character-ink) 0 1px, transparent 1px);
}
#arc-shell .arc-character-ledger .arc-character-body:before {
  width: 5px;
  left: 5px;
  height: 3px;
}
#arc-shell .arc-chief {
  margin-bottom: 12px;
}
#arc-shell .arc-character-orbit {
  --character-fill: #f3a47b;
}
#arc-shell .arc-character-orbit .arc-character-body {
  top: 4px;
  height: 17px;
  width: 20px;
  left: 2px;
  border-radius: 50%;
}
#arc-shell .arc-character-orbit .arc-character-accessory {
  position: absolute;
  top: -5px;
  left: 9px;
  width: 5px;
  height: 5px;
  border: solid var(--character-ink);
  border-width: 1.3px 0 0 1.3px;
  transform: rotate(15deg);
}
#arc-shell .arc-character-orbit .arc-character-accessory:after {
  content: "";
  position: absolute;
  right: -2px;
  top: -3px;
  width: 4px;
  height: 4px;
  border: 1px solid var(--character-ink);
  border-radius: 50%;
  background: #f8d260;
}
#arc-shell .arc-character-dash {
  --character-fill: #b2bbc5;
}
#arc-shell .arc-character-dash .arc-character-body {
  border-radius: 3px 9px 3px 9px;
  transform: rotate(-12deg);
}
#arc-shell .arc-character-dash .arc-character-eyes:after {
  height: 1.5px;
  top: 1px;
  width: 3px;
}
#arc-shell .arc-character-dash .arc-character-accessory {
  position: absolute;
  top: -3px;
  left: 1px;
  width: 11px;
  height: 3px;
  background: #575f6b;
  border: 1px solid var(--character-ink);
  border-radius: 2px;
  transform: rotate(-8deg);
}
#arc-shell .arc-character-muse {
  --character-fill: #e7a0cb;
}
#arc-shell .arc-character-muse .arc-character-body {
  width: 20px;
  left: 2px;
  border-radius: 45% 55% 40% 42%;
}
#arc-shell .arc-character-muse .arc-character-accessory {
  position: absolute;
  top: -4px;
  left: 0;
  width: 16px;
  height: 5px;
  border: 1px solid var(--character-ink);
  border-radius: 70% 40% 30% 20%;
  background: #b08cc8;
  transform: rotate(-12deg);
}
#arc-shell .arc-character-muse .arc-character-accessory:after {
  content: "";
  position: absolute;
  top: -3px;
  left: 7px;
  width: 2px;
  height: 3px;
  background: var(--character-ink);
}
#arc-shell .arc-character-network {
  --character-fill: #84a5d4;
}
#arc-shell .arc-character-network .arc-character-body {
  left: 4px;
  width: 16px;
  border-radius: 4px 4px 6px 6px;
}
#arc-shell .arc-character-network .arc-character-eyes {
  left: 3px;
  width: 8px;
}
#arc-shell .arc-character-network .arc-character-body:before {
  left: 4px;
  top: 8px;
}
#arc-shell .arc-character-network .arc-character-accessory {
  position: absolute;
  left: 6px;
  top: 13px;
  width: 3px;
  height: 4px;
  background: #e8c36e;
  border: 1px solid var(--character-ink);
  transform: rotate(45deg);
  border-radius: 1px;
}
#arc-shell .arc-character-courier {
  --character-fill: #b9d176;
}
#arc-shell .arc-character-courier .arc-character-body {
  width: 17px;
  left: 3px;
  border-radius: 60% 40% 50% 45%;
  transform: rotate(8deg);
}
#arc-shell .arc-character-courier .arc-character-accessory {
  position: absolute;
  left: -2px;
  top: 12px;
  width: 20px;
  height: 3px;
  background: #ee916d;
  border: 1px solid var(--character-ink);
  border-radius: 2px;
}
#arc-shell .arc-character-courier .arc-character-accessory:after {
  content: "";
  position: absolute;
  left: -3px;
  top: 1px;
  width: 5px;
  height: 3px;
  background: #ee916d;
  border: 1px solid var(--character-ink);
  transform: rotate(-25deg);
}
#arc-shell .arc-character-courier:after {
  top: 7px;
  transform: rotate(-45deg);
}
#arc-shell .arc-section {
  padding: 0;
}
#arc-shell .arc-group-toggle {
  width: 100%;
  padding: 8px 9px 5px;
  font: inherit;
  text-transform: inherit;
  line-height: 18px;
  justify-content: space-between;
  gap: 4px;
}
#arc-shell .arc-group-toggle svg {
  width: 12px;
  height: 12px;
  opacity: 0.65;
}
#arc-shell .arc-group-toggle[aria-expanded="false"] svg {
  transform: rotate(-90deg);
}
#arc-shell .arc-agent[hidden] {
  display: none;
}
#arc-shell .arc-agent[draggable="true"] {
  position: relative;
  user-select: none;
}
#arc-shell .arc-agent.is-dragging {
  opacity: 0.4;
  cursor: grabbing;
}
#arc-shell .agent-drop-before {
  box-shadow: 0 -2px 0 var(--arc-muted) !important;
}
#arc-shell .agent-drop-after {
  box-shadow: 0 2px 0 var(--arc-muted) !important;
}
#arc-shell #workstream-form {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 0 10px;
  padding: 10px 5px;
  grid-column: 1/-1;
}
#arc-shell #workstream-form[hidden] {
  display: none;
}
#arc-shell #workstream-form label {
  font-size: 11px;
  font-weight: 500;
  color: var(--arc-muted);
}
#arc-shell #workstream-form input,
#arc-shell #workstream-form select {
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--arc-line);
  border-radius: 6px;
  background: var(--arc-paper);
  color: var(--arc-text);
  font: inherit;
  font-size: 12px;
}
#arc-shell #workstream-error {
  font-size: 11px;
  line-height: 16px;
  margin: 0;
  color: var(--arc-muted);
}
#arc-shell #workstream-error:empty {
  display: none;
}
#arc-shell .arc-character-alliance {
  --character-fill: #d5b58d;
}
#arc-shell .arc-character-alliance .arc-character-body {
  border-radius: 50% 50% 6px 6px;
  width: 20px;
  left: 2px;
}
#arc-shell .arc-character-alliance .arc-character-accessory {
  position: absolute;
  left: 4px;
  top: 13px;
  width: 5px;
  height: 4px;
  border: 1px solid var(--character-ink);
  border-radius: 50%;
  background: #e99a91;
  transform: rotate(-20deg);
}
#arc-shell .arc-character-alliance .arc-character-accessory:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  width: 5px;
  height: 4px;
  border: 1px solid var(--character-ink);
  border-radius: 50%;
  background: #e99a91;
}
#arc-shell .arc-character-focus {
  --character-fill: #b7c8a3;
}
#arc-shell .arc-character-focus .arc-character-body {
  border-radius: 5px 8px 5px 8px;
}
#arc-shell .arc-character-focus .arc-character-accessory {
  position: absolute;
  left: 2px;
  top: 3px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--character-ink);
  border-radius: 50%;
  background: transparent;
}
#arc-shell .arc-character-focus .arc-character-accessory:after {
  content: "";
  position: absolute;
  left: -1px;
  top: 5px;
  width: 1px;
  height: 6px;
  background: var(--character-ink);
  transform: rotate(15deg);
}
#arc-shell .arc-character-whisper {
  --character-fill: #a9a3e5;
}
#arc-shell .arc-character-whisper .arc-character-body {
  border-radius: 8px 8px 3px 8px;
  transform: rotate(-5deg);
}
#arc-shell .arc-character-whisper .arc-character-accessory {
  position: absolute;
  right: -5px;
  top: -3px;
  width: 9px;
  height: 7px;
  background: #f8e4ab;
  border: 1px solid var(--character-ink);
  border-radius: 4px;
}
#arc-shell .arc-character-whisper .arc-character-accessory:after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -3px;
  width: 3px;
  height: 3px;
  background: #f8e4ab;
  border: solid var(--character-ink);
  border-width: 0 0 1px 1px;
  transform: skewY(-25deg);
}
#arc-shell .arc-character-postie {
  --character-fill: #f3db99;
}
#arc-shell .arc-character-postie .arc-character-body {
  border-radius: 5px 5px 8px 8px;
}
#arc-shell .arc-character-postie .arc-character-accessory {
  position: absolute;
  left: 0;
  top: -4px;
  width: 17px;
  height: 5px;
  background: #739eae;
  border: 1px solid var(--character-ink);
  border-radius: 5px 5px 1px 1px;
}
#arc-shell .arc-character-postie .arc-character-accessory:after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -1px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--character-ink);
}
#arc-shell .arc-character-fiesta {
  --character-fill: #edb17f;
}
#arc-shell .arc-character-fiesta .arc-character-body {
  top: 5px;
  height: 16px;
  width: 20px;
  left: 2px;
  border-radius: 50%;
}
#arc-shell .arc-character-fiesta .arc-character-accessory {
  position: absolute;
  left: 5px;
  top: -8px;
  width: 8px;
  height: 9px;
  background: repeating-linear-gradient(35deg, #a08cd3 0 3px, #ead3f5 3px 5px);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: rotate(12deg);
}
#arc-shell .arc-character-fiesta:before {
  top: 7px;
  transform: rotate(55deg);
}
#arc-shell .arc-character-fiesta:after {
  top: 7px;
  transform: rotate(-55deg);
}
#arc-shell .arc-character-voice {
  --character-fill: #80c9c8;
}
#arc-shell .arc-character-voice .arc-character-body {
  left: 5px;
  width: 15px;
  border-radius: 9px 9px 5px 5px;
}
#arc-shell .arc-character-voice .arc-character-eyes {
  left: 3px;
  width: 7px;
}
#arc-shell .arc-character-voice .arc-character-body:before {
  left: 4px;
  width: 5px;
}
#arc-shell .arc-character-voice .arc-character-accessory {
  position: absolute;
  right: -5px;
  top: 8px;
  width: 4px;
  height: 6px;
  background: #8993a5;
  border: 1px solid var(--character-ink);
  border-radius: 3px;
  transform: rotate(-20deg);
}
#arc-shell .arc-character-voice .arc-character-accessory:after {
  content: "";
  position: absolute;
  left: 1px;
  top: 5px;
  width: 1px;
  height: 5px;
  background: var(--character-ink);
}
/* Extra characters reuse the original 24px silhouette and connected limbs. */
#arc-shell .arc-character-extra .arc-character-accessory {
  position: absolute;
  z-index: 2;
}
#arc-shell .arc-character-fern {
  --character-fill: #9cceac;
}
#arc-shell .arc-character-fern .arc-character-body {
  border-radius: 7px 7px 5px 5px;
}
#arc-shell .arc-character-fern .arc-character-accessory {
  width: 2px;
  height: 5px;
  left: 7px;
  top: -5px;
  background: var(--character-ink);
}
#arc-shell .arc-character-fern .arc-character-accessory::before,
#arc-shell .arc-character-fern .arc-character-accessory::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 4px;
  top: -2px;
  border: 1px solid var(--character-ink);
  background: #75ae70;
}
#arc-shell .arc-character-fern .arc-character-accessory::before {
  right: 1px;
  border-radius: 0 5px;
}
#arc-shell .arc-character-fern .arc-character-accessory::after {
  left: 1px;
  border-radius: 5px 0;
}
#arc-shell .arc-character-nova {
  --character-fill: #c6b4e7;
}
#arc-shell .arc-character-nova .arc-character-body {
  border-radius: 50% 50% 5px 5px;
}
#arc-shell .arc-character-nova .arc-character-accessory {
  width: 8px;
  height: 8px;
  right: -3px;
  top: -4px;
  background: #edc761;
  clip-path: polygon(
    50% 0,
    63% 34%,
    100% 38%,
    72% 61%,
    82% 100%,
    50% 78%,
    18% 100%,
    28% 61%,
    0 38%,
    37% 34%
  );
  transform: rotate(12deg);
}
#arc-shell .arc-character-skipper {
  --character-fill: #83bdcf;
}
#arc-shell .arc-character-skipper .arc-character-body {
  border-radius: 5px 5px 8px 8px;
}
#arc-shell .arc-character-skipper .arc-character-accessory {
  left: -1px;
  top: -4px;
  width: 18px;
  height: 6px;
  border: 1px solid var(--character-ink);
  border-bottom-width: 2px;
  border-radius: 7px 7px 2px 2px;
  background: #f7eed8;
}
#arc-shell .arc-character-skipper .arc-character-accessory::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 1px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #c79a4c;
}
#arc-shell .arc-character-maker {
  --character-fill: #e9ad76;
}
#arc-shell .arc-character-maker .arc-character-body {
  border-radius: 4px;
}
#arc-shell .arc-character-maker .arc-character-accessory {
  left: -2px;
  top: -4px;
  width: 20px;
  height: 7px;
  border: 1px solid var(--character-ink);
  border-bottom-width: 2px;
  border-radius: 9px 9px 2px 2px;
  background: #f4d46a;
}
#arc-shell .arc-character-maker .arc-character-accessory::after {
  content: "";
  position: absolute;
  left: 8px;
  top: -1px;
  width: 2px;
  height: 5px;
  border-inline: 1px solid var(--character-ink);
}
#arc-shell .arc-character-berry {
  --character-fill: #e6a3b7;
}
#arc-shell .arc-character-berry .arc-character-body {
  border-radius: 50% 50% 42% 42%;
}
#arc-shell .arc-character-berry .arc-character-accessory {
  width: 5px;
  height: 5px;
  top: -2px;
  right: -1px;
  background: #b96176;
  transform: rotate(-45deg);
}
#arc-shell .arc-character-berry .arc-character-accessory::before,
#arc-shell .arc-character-berry .arc-character-accessory::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background: #b96176;
  border-radius: 50%;
}
#arc-shell .arc-character-berry .arc-character-accessory::before {
  top: -2.5px;
}
#arc-shell .arc-character-berry .arc-character-accessory::after {
  left: 2.5px;
}
#arc-shell .arc-character-pixel {
  --character-fill: #9faee0;
}
#arc-shell .arc-character-pixel .arc-character-body {
  border-radius: 4px 4px 7px 7px;
}
#arc-shell .arc-character-pixel .arc-character-accessory {
  left: -3px;
  top: -3px;
  width: 22px;
  height: 14px;
  border: 2px solid var(--character-ink);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}
#arc-shell .arc-character-pixel .arc-character-accessory::before,
#arc-shell .arc-character-pixel .arc-character-accessory::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 4px;
  height: 6px;
  background: #e7c7a2;
  border: 1px solid var(--character-ink);
  border-radius: 2px;
}
#arc-shell .arc-character-pixel .arc-character-accessory::before {
  left: -3px;
}
#arc-shell .arc-character-pixel .arc-character-accessory::after {
  right: -3px;
}
#arc-shell .arc-character-sunny {
  --character-fill: #f0d773;
}
#arc-shell .arc-character-sunny .arc-character-body {
  border-radius: 50%;
}
#arc-shell .arc-character-sunny .arc-character-eyes {
  left: 2px;
  width: 12px;
  top: 5px;
}
#arc-shell .arc-character-sunny .arc-character-eyes::before,
#arc-shell .arc-character-sunny .arc-character-eyes::after {
  width: 5px;
  height: 4px;
  border-radius: 1px 1px 3px 3px;
}
#arc-shell .arc-character-sunny .arc-character-accessory {
  left: 5px;
  top: 5px;
  width: 6px;
  height: 1px;
  background: var(--character-ink);
}
#arc-shell #arc-project {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 40px 0 12px;
  font-weight: 500;
  border-radius: 7px;
  background: transparent;
}
#arc-shell #arc-project:hover,
#arc-shell #arc-project[aria-expanded="true"] {
  background: var(--arc-selected);
  box-shadow: inset 0 0 0 1px var(--arc-line);
}
#arc-shell #arc-project-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 6;
  padding: 5px;
  background: var(--arc-chrome);
  border: 1px solid var(--arc-line);
  border-radius: 9px;
  box-shadow: 0 8px 24px #30241424;
}
#arc-shell #arc-project-menu[hidden] {
  display: none;
}
#arc-shell .arc-project-option {
  width: 100%;
  min-height: 34px;
  padding: 8px 9px;
  gap: 8px;
  font-weight: 400;
  color: var(--arc-text);
}
#arc-shell .project-menu-divider {
  height: 1px;
  margin: 5px 9px;
  background: var(--arc-line);
}
#arc-shell #project-menu-add {
  justify-content: flex-start;
}
#arc-shell #project-menu-add svg {
  width: 16px;
  height: 16px;
}
#arc-shell .arc-project-option[aria-checked="true"] {
  background: var(--arc-selected);
}
#arc-shell .arc-project-option:hover {
  background: var(--arc-hover);
}
#arc-shell .arc-project-option .arc-project-check {
  flex: 0 0 14px;
  text-align: center;
  visibility: hidden;
}
#arc-shell .arc-project-option[aria-checked="true"] .arc-project-check {
  visibility: visible;
}
@media (pointer: coarse) {
  #arc-shell .arc-project-option {
    min-height: 44px;
  }
}
#arc-shell .arc-workspace,
#arc-shell .writer-main {
  --arc-paper: light-dark(#ffffff, #28251f);
  background: var(--arc-paper);
}
#arc-shell .arc-workspace {
  padding: 0;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
}
#arc-shell .cmo-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 19px 24px;
  border-bottom: 1px solid color-mix(in srgb, var(--arc-line) 45%, transparent);
}
#arc-shell .cmo-heading {
  min-width: 0;
  flex: 1;
}
#arc-shell .cmo-heading h1 {
  font-size: 15px;
  line-height: 21px;
  font-weight: 500;
  letter-spacing: -0.2px;
  margin: 0;
}
#arc-shell .cmo-subtitle {
  font-size: 11px;
  line-height: 17px;
  color: var(--arc-muted);
  margin-top: 2px;
}
#arc-shell .cmo-view {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}
#arc-shell .cmo-view[hidden],
#arc-shell .cmo-specialist[hidden] {
  display: none;
}
#arc-shell .cmo-thread,
#arc-shell .cmo-composer-wrap,
#arc-shell .workspace-report-inner {
  width: 100%;
  max-width: var(--workspace-content-width);
  margin: 0 auto;
  padding-inline: var(--workspace-content-padding);
}
#arc-shell .cmo-thread {
  padding-block: 25px 22px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  font-size: 13px;
  line-height: 1.65;
}
#arc-shell .cmo-user {
  align-self: flex-end;
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 14px 14px 3px 14px;
  background: var(--arc-selected);
  border: 1px solid color-mix(in srgb, var(--arc-line) 40%, transparent);
  overflow-wrap: anywhere;
}
#arc-shell .cmo-agent-message {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
  overflow-wrap: anywhere;
}
/* Keep the CMO message aligned with its content, with the speaker in the gutter. */
#arc-shell .cmo-view:has(#seo-chat-work:not([hidden])) .cmo-thread,
#arc-shell .cmo-view:has(#seo-chat-work:not([hidden])) .cmo-composer-wrap,
#arc-shell .cmo-view:has(#cmo-opening-response:not([hidden])) .cmo-thread,
#arc-shell
  .cmo-view:has(#cmo-opening-response:not([hidden]))
  .cmo-composer-wrap {
  max-width: none;
  padding-left: max(
    66px,
    calc(
      (100% - var(--workspace-content-width)) / 2 +
        var(--workspace-content-padding)
    )
  );
  padding-right: max(
    var(--workspace-content-padding),
    calc(
      (100% - var(--workspace-content-width)) / 2 +
        var(--workspace-content-padding)
    )
  );
}
#arc-shell #seo-opening-response,
#arc-shell #cmo-opening-response {
  position: relative;
}
#arc-shell #seo-message-avatar,
#arc-shell #cmo-message-avatar {
  position: absolute;
  left: -54px;
  top: -10px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
}
#arc-shell #seo-message-avatar .arc-character,
#arc-shell #cmo-message-avatar .arc-character {
  transform: scale(1.35);
}
#arc-shell .cmo-speaker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 12px;
}
#arc-shell .cmo-agent-message p {
  margin: 0;
}
#arc-shell .cmo-agent-message strong {
  font-weight: 500;
}
#arc-shell .cmo-plan {
  border: 1px solid var(--arc-line);
  border-radius: 11px;
  background: var(--arc-paper);
  margin: 4px 0 0;
  overflow: hidden;
}
#arc-shell .cmo-plan-heading {
  padding: 11px 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--arc-line) 55%, transparent);
  font-size: 12px;
  font-weight: 500;
}
#arc-shell .cmo-plan-meta {
  color: var(--arc-muted);
  font-size: 11px;
  font-weight: 400;
}
#arc-shell .cmo-assignment {
  width: 100%;
  padding: 12px 14px;
  gap: 12px;
  border-radius: 0;
  align-items: center;
}
#arc-shell .cmo-assignment + .cmo-assignment {
  border-top: 1px solid color-mix(in srgb, var(--arc-line) 40%, transparent);
}
#arc-shell .cmo-assignment-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#arc-shell .cmo-assignment-name {
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}
#arc-shell .cmo-assignment-detail {
  font-size: 11px;
  line-height: 16px;
  color: var(--arc-muted);
}
#arc-shell .cmo-plan-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 3px;
}
#arc-shell .cmo-approve {
  padding: 9px 13px;
  background: var(--arc-text);
  color: var(--arc-paper);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}
#arc-shell .cmo-approve:hover {
  background: light-dark(#594d3b, #d3c5ab);
}
#arc-shell .cmo-adjust {
  font-size: 12px;
  color: var(--arc-muted);
}
#arc-shell .workspace-tabs {
  display: flex;
  gap: var(--workspace-tab-gap);
  flex-shrink: 0;
  min-width: 0;
  overflow-x: auto;
  padding: 0 var(--workspace-tab-inset);
  border-bottom: 1px solid color-mix(in srgb, var(--arc-line) 45%, transparent);
}
#arc-shell .workspace-tabs button {
  position: relative;
  border-radius: 0;
  padding: 17px 0;
  font-size: 13px;
  flex-shrink: 0;
  white-space: nowrap;
  gap: 7px;
  color: var(--arc-muted);
}
#arc-shell .workspace-tabs button:hover,
#arc-shell .writer-tabs button:hover {
  background: none;
  color: var(--arc-text);
}
#arc-shell .workspace-tabs button[aria-selected="true"] {
  color: var(--arc-text);
}
#arc-shell .workspace-tabs button[aria-selected="true"]:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--arc-text);
}
#arc-shell .workspace-tabs svg {
  width: 14px;
  height: 14px;
}
#arc-shell .workspace-report {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
#arc-shell .workspace-report-inner {
  padding-block: 28px 36px;
}
#arc-shell #workspace-tabs[hidden],
#arc-shell #workspace-tabs button[hidden],
#arc-shell .workspace-report[hidden],
#arc-shell #results-demo-content[hidden],
#arc-shell .workspace-empty[hidden] {
  display: none;
}
#arc-shell .report-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
#arc-shell .report-eyebrow {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--arc-muted);
}
#arc-shell .workspace-report h2 {
  font-size: 23px;
  line-height: 31px;
  font-weight: 500;
  letter-spacing: -0.6px;
  margin: 0;
}
#arc-shell .report-description {
  font-size: 12px;
  line-height: 20px;
  color: var(--arc-muted);
  margin: 8px 0 14px;
}
#arc-shell .report-demo {
  font-size: 10px;
  line-height: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--arc-muted);
  margin-bottom: 24px;
}
#arc-shell .report-demo-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--arc-muted);
  flex-shrink: 0;
}
#arc-shell .workspace-report h3 {
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0;
  margin: 0;
}
#arc-shell .activity-filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--arc-muted);
}
#arc-shell #activity-filter {
  font: inherit;
  color: var(--arc-text);
  border: 1px solid var(--arc-line);
  border-radius: 7px;
  background: var(--arc-paper);
  padding: 6px 8px;
}
#arc-shell .activity-date {
  font-size: 11px;
  color: var(--arc-muted);
  margin: 24px 0 14px;
  font-weight: 500;
}
#arc-shell .activity-record {
  position: relative;
  margin-left: 6px;
  padding: 0 0 20px 22px;
  border-left: 1px solid var(--arc-line);
}
#arc-shell .activity-record:before {
  content: "";
  position: absolute;
  top: 7px;
  left: -4px;
  width: 7px;
  height: 7px;
  background: var(--arc-muted);
  border-radius: 50%;
}
#arc-shell .activity-record summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  list-style: none;
  border-radius: 7px;
  padding: 5px 7px;
  margin: -5px -7px;
}
#arc-shell .activity-record summary::-webkit-details-marker {
  display: none;
}
#arc-shell .activity-record summary:hover {
  background: var(--arc-hover);
}
#arc-shell .activity-record summary > div {
  flex: 1;
  min-width: 0;
}
#arc-shell .activity-record summary strong {
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  display: block;
}
#arc-shell .activity-record summary time {
  font-size: 10px;
  color: var(--arc-muted);
  padding-top: 3px;
}
#arc-shell .activity-record summary:after {
  content: "+";
  font-size: 15px;
  color: var(--arc-muted);
}
#arc-shell .activity-record[open] summary:after {
  content: "−";
}
#arc-shell .activity-meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 7px;
  font-size: 10px;
  color: var(--arc-muted);
}
#arc-shell .activity-status {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  font-size: 10px;
  line-height: 16px;
  color: var(--arc-text);
}
#arc-shell .activity-status svg {
  width: 12px;
  height: 12px;
}
#arc-shell .activity-detail {
  padding: 14px;
  margin-top: 12px;
  border-radius: 8px;
  background: var(--arc-selected);
  font-size: 11px;
  line-height: 18px;
}
#arc-shell .activity-detail dl {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 9px 12px;
  margin: 0;
}
#arc-shell .activity-detail dt {
  color: var(--arc-muted);
}
#arc-shell .activity-detail dd {
  margin: 0;
  overflow-wrap: anywhere;
}
#arc-shell .activity-detail > p {
  margin: 12px 0 0;
  color: var(--arc-muted);
}
#arc-shell .activity-detail button {
  font-size: 11px;
  margin-top: 12px;
  padding: 7px 9px;
  border: 1px solid var(--arc-line);
}
#arc-shell .workspace-empty {
  padding: 36px 0;
  max-width: 420px;
  font-size: 12px;
  line-height: 20px;
  color: var(--arc-muted);
}
#arc-shell .workspace-empty > svg {
  width: 26px;
  height: 26px;
  margin-bottom: 12px;
}
#arc-shell .workspace-empty button {
  margin-top: 16px;
  border: 1px solid var(--arc-line);
}
@media (max-width: 600px) {
  #arc-shell .workspace-report-inner {
    padding-block: 22px;
  }
  #arc-shell .activity-detail dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  #arc-shell .activity-detail dd {
    margin-bottom: 8px;
  }
}
#arc-shell .cmo-composer-wrap {
  padding-block: 12px 18px;
}
#arc-shell .cmo-composer {
  background: var(--arc-paper);
  border: 1px solid var(--arc-line);
  border-radius: 14px;
  padding: 13px 13px 10px;
  box-shadow: 0 3px 12px #3d302008;
}
#arc-shell .cmo-composer textarea {
  display: block;
  width: 100%;
  min-height: 51px;
  resize: none;
  max-height: none;
  overflow-y: auto;
  border: 0;
  background: transparent;
  color: var(--arc-text);
  font: inherit;
  font-size: 13px;
  line-height: 20px;
  padding: 0 30px 0 2px;
  outline-offset: 3px;
}
#arc-shell .cmo-writing {
  position: relative;
}
#arc-shell #composer-expand {
  position: absolute;
  right: 0;
  top: 0;
  width: 24px;
  height: 24px;
  padding: 5px;
  justify-content: center;
  color: var(--arc-muted);
  border-radius: 6px;
  opacity: 0;
}
#arc-shell #composer-expand svg {
  width: 13px;
  height: 13px;
}
#arc-shell .cmo-composer:hover #composer-expand,
#arc-shell #composer-expand:focus-visible,
#arc-shell #composer-expand[aria-expanded="true"] {
  opacity: 1;
}
#arc-shell #composer-expand .composer-shrink-icon,
#arc-shell #composer-expand[aria-expanded="true"] .composer-grow-icon {
  display: none;
}
#arc-shell #composer-expand[aria-expanded="true"] .composer-shrink-icon {
  display: flex;
}
@media (hover: none) {
  #arc-shell #composer-expand {
    opacity: 1;
  }
}
#arc-shell .cmo-composer textarea::placeholder {
  color: var(--arc-muted);
}
#arc-shell #cmo-input:focus,
#arc-shell #cmo-input:focus-visible {
  outline: none;
  box-shadow: none;
}
#arc-shell .cmo-composer:focus-within {
  border-color: var(--arc-muted);
}
#arc-shell .cmo-composer-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
#arc-shell .cmo-specialist {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 660px;
  width: 100%;
  margin: 0 auto;
  align-items: flex-start;
}
#arc-shell .cmo-specialist h2 {
  font-size: 21px;
  line-height: 28px;
  letter-spacing: -0.4px;
  margin: 0;
}
#arc-shell .cmo-specialist p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  color: var(--arc-muted);
}
#arc-shell .cmo-specialist .cmo-back {
  border: 1px solid var(--arc-line);
  font-size: 12px;
}
@media (max-width: 760px) {
  #arc-shell {
    --workspace-content-padding: 18px;
  }
  #arc-shell .cmo-thread {
    padding-block: 20px;
  }
  #arc-shell .cmo-composer-wrap {
    padding-block: 10px 16px;
  }
  #arc-shell .cmo-header {
    padding-left: 18px;
    padding-right: 18px;
  }
  #arc-shell .cmo-user {
    max-width: 95%;
  }
  #arc-shell .cmo-assignment {
    padding: 10px;
    gap: 8px;
  }
}
@media (max-width: 540px) {
  #arc-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  #arc-shell .arc-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 3px 8px;
  }
  #arc-shell .arc-window,
  #arc-shell .arc-project-picker,
  #arc-shell .arc-chief,
  #arc-shell .arc-section,
  #arc-shell .arc-bottom,
  #arc-shell #arc-tabs {
    grid-column: 1/-1;
  }
  #arc-shell .arc-window,
  #arc-shell .arc-project-picker {
    margin-bottom: 5px;
  }
  #arc-shell .arc-bottom {
    padding-top: 8px;
  }
  #arc-shell .arc-workspace {
    min-height: 650px;
  }
  #arc-shell .cmo-plan-heading {
    flex-wrap: wrap;
  }
  #arc-shell .cmo-assignment-detail {
    font-size: 11px;
  }
  #arc-shell .cmo-composer textarea {
    font-size: 16px;
  }
}
#arc-shell #cmo-messages {
  gap: 22px;
}
#arc-shell #cmo-messages:empty,
#arc-shell #cmo-opening-user[hidden],
#arc-shell #cmo-opening-response[hidden],
#arc-shell #agent-chat-intro[hidden] {
  display: none;
}
#arc-shell #agent-chat-intro {
  padding-top: 20px;
}
#arc-shell #agent-chat-focus {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin: 14px 0 10px;
}
#arc-shell #agent-chat-welcome {
  margin: 0;
  color: var(--arc-muted);
}
#arc-shell #cmo-messages p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#arc-shell .cmo-composer-tools {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
#arc-shell .cmo-tool {
  width: 30px;
  height: 30px;
  padding: 7px;
  justify-content: center;
  border-radius: 7px;
  color: var(--arc-muted);
}
#arc-shell .cmo-tool[aria-pressed="true"] {
  background: var(--arc-selected);
  color: var(--arc-text);
}
#arc-shell .cmo-voice {
  border-radius: 50%;
  background: var(--arc-text);
  color: var(--arc-paper);
}
#arc-shell .cmo-voice:hover {
  background: light-dark(#594d3b, #d3c5ab);
}
#arc-shell .cmo-model-picker {
  position: relative;
  min-width: 0;
}
#arc-shell .cmo-model-button {
  font-size: 12px;
  padding: 6px 8px;
  gap: 6px;
  color: var(--arc-muted);
  height: 30px;
}
#arc-shell .cmo-model-button svg {
  width: 12px;
  height: 12px;
}
#arc-shell :is(#cmo-model-menu, #cmo-audit-model-menu) {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  padding: 5px;
  background: var(--arc-chrome);
  border: 1px solid var(--arc-line);
  border-radius: 9px;
  box-shadow: 0 6px 20px #30241424;
  z-index: 3;
}
#arc-shell :is(#cmo-model-menu, #cmo-audit-model-menu)[hidden] {
  display: none;
}
#arc-shell :is(#cmo-model-menu, #cmo-audit-model-menu) button {
  width: 100%;
  padding: 8px 10px;
  font-size: 12px;
  justify-content: space-between;
}
#arc-shell
  :is(#cmo-model-menu, #cmo-audit-model-menu)
  button[aria-checked="true"] {
  background: var(--arc-selected);
}
#arc-shell
  :is(#cmo-model-menu, #cmo-audit-model-menu)
  button[aria-checked="true"]:after {
  content: "✓";
}
#arc-shell .cmo-files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 9px;
}
#arc-shell .cmo-files:empty {
  display: none;
}
#arc-shell .cmo-file {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  font-size: 11px;
  padding: 3px 4px 3px 8px;
  border: 1px solid var(--arc-line);
  background: var(--arc-selected);
  border-radius: 7px;
}
#arc-shell .cmo-file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 230px;
  min-width: 0;
}
#arc-shell .cmo-file button {
  padding: 2px 5px;
  flex-shrink: 0;
}
#arc-shell .cmo-audio-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin-bottom: 12px;
  background: var(--arc-selected);
  border-radius: 9px;
  font-size: 12px;
}
#arc-shell .cmo-audio-preview[hidden] {
  display: none;
}
#arc-shell .cmo-audio-preview > div {
  flex: 1;
  min-width: 0;
}
#arc-shell .cmo-audio-preview small {
  display: block;
  color: var(--arc-muted);
  font-size: 11px;
  margin-top: 3px;
}
@media (pointer: coarse) {
  #arc-shell .cmo-tool {
    width: 44px;
    height: 44px;
  }
  #arc-shell .cmo-model-button {
    height: 44px;
  }
}
#arc-shell .arc-project-picker {
  margin-bottom: 8px;
}
#arc-shell .arc-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 18px;
  grid-column: 1/-1;
}
#arc-shell .arc-shortcut {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
  height: 56px;
  min-height: 56px;
  padding: 2px 3px 3px;
  line-height: 16px;
  background: color-mix(in srgb, var(--arc-hover) 40%, transparent);
  border: 0;
  border-radius: 8px;
  font-size: 12px;
}
#arc-shell .arc-shortcut:hover {
  background: color-mix(in srgb, var(--arc-hover) 80%, transparent);
}
#arc-shell .arc-shortcut[aria-pressed="true"] {
  background: var(--arc-hover);
}
#arc-shell .arc-shortcut-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 28px;
  flex: 0 0 28px;
  background: transparent;
}
#arc-shell .arc-shortcut[aria-pressed="true"] .arc-shortcut-label {
  color: var(--arc-text);
  font-weight: 500;
}
#arc-shell .arc-workspace-tool {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--arc-muted);
}
#arc-shell .arc-shortcut svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0;
  stroke-width: 1.5;
  color: var(--arc-muted);
}
#arc-shell .arc-shortcut-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  font-size: 9px;
  line-height: 10px;
  text-align: center;
  color: var(--arc-muted);
  margin: 0;
  padding: 0;
  white-space: normal;
}
#arc-shell .project-settings {
  padding: 24px 28px 32px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
#arc-shell .project-settings[hidden],
#arc-shell .settings-panel[hidden],
#arc-shell .connection-setup[hidden] {
  display: none;
}
#arc-shell .settings-nav {
  display: flex;
  gap: 5px;
  border-bottom: 1px solid var(--arc-line);
  padding-bottom: 12px;
}
#arc-shell .settings-nav button {
  font-size: 12px;
  padding: 8px 12px;
  color: var(--arc-muted);
}
#arc-shell .settings-nav button[aria-pressed="true"] {
  background: var(--arc-selected);
  color: var(--arc-text);
}
#arc-shell .settings-intro h2 {
  font-size: 21px;
  line-height: 28px;
  letter-spacing: -0.4px;
  margin: 0 0 7px;
}
#arc-shell .settings-intro p {
  font-size: 12px;
  line-height: 19px;
  color: var(--arc-muted);
  margin: 0;
  max-width: 530px;
}
#arc-shell .connection-group {
  margin-top: 24px;
}
#arc-shell .connection-group h3 {
  font-size: 11px;
  font-weight: 500;
  line-height: 17px;
  color: var(--arc-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
#arc-shell .connection-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--arc-line) 50%, transparent);
}
#arc-shell .connection-symbol {
  width: 32px;
  height: 32px;
  border: 1px solid var(--arc-line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--arc-selected);
  font-size: 12px;
  font-weight: 500;
}
#arc-shell .connection-copy {
  flex: 1;
  min-width: 0;
}
#arc-shell .connection-name {
  font-size: 13px;
  font-weight: 500;
}
#arc-shell .connection-status {
  font-size: 11px;
  line-height: 17px;
  color: var(--arc-muted);
  overflow-wrap: anywhere;
}
#arc-shell .connection-action {
  font-size: 11px;
  border: 1px solid var(--arc-line);
  padding: 6px 10px;
  flex-shrink: 0;
}
#arc-shell .connection-setup {
  padding: 16px;
  border: 1px solid var(--arc-line);
  background: var(--arc-selected);
  border-radius: 10px;
  margin-top: 20px;
}
#arc-shell .connection-setup h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 6px;
}
#arc-shell .connection-setup p {
  font-size: 11px;
  line-height: 17px;
  color: var(--arc-muted);
  margin: 0 0 12px;
}
#arc-shell .connection-setup label {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}
#arc-shell .connection-setup input {
  display: block;
  width: 100%;
  font-size: 13px;
  border: 1px solid var(--arc-line);
  border-radius: 7px;
  padding: 9px 10px;
  background: var(--arc-paper);
  color: var(--arc-text);
}
#arc-shell .connection-setup-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 11px;
}
#arc-shell .connection-save {
  background: var(--arc-text);
  color: var(--arc-paper);
  font-size: 12px;
}
#arc-shell .connection-save:hover {
  background: light-dark(#594d3b, #d3c5ab);
}
#arc-shell .settings-note {
  font-size: 11px;
  line-height: 17px;
  color: var(--arc-muted);
  margin: 16px 0 0;
}
#arc-shell .settings-general-info {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px 16px;
  margin: 24px 0;
  font-size: 12px;
  line-height: 19px;
}
#arc-shell .settings-general-info dt {
  color: var(--arc-muted);
}
#arc-shell .settings-general-info dd {
  margin: 0;
}
@media (max-width: 760px) {
  #arc-shell .project-settings {
    padding: 20px 18px;
  }
  #arc-shell .connection-action {
    max-width: 100px;
  }
}
#arc-shell[data-inspector="true"] .arc-stage {
  grid-template-columns: minmax(0, 1fr) var(--arc-inspector-width, 280px);
}
#arc-shell .arc-inspector {
  display: none;
  flex-direction: column;
  min-width: 0;
  border-left: 1px solid color-mix(in srgb, var(--arc-line) 65%, transparent);
  background: var(--arc-paper);
  border-radius: 0 9px 9px 0;
}
#arc-shell[data-inspector="true"] .arc-inspector {
  display: flex;
}
#arc-shell .cmo-header {
  padding-right: 18px;
}
#arc-shell #inspector-toggle {
  position: absolute;
  top: 50%;
  right: calc(var(--arc-inspector-width, 280px) - 10px);
  transform: translateY(-50%);
  z-index: 8;
  width: 20px;
  height: 44px;
  padding: 0;
  margin: 0;
  justify-content: center;
  border: 1px solid var(--arc-line);
  border-radius: 7px;
  background: var(--arc-paper);
  color: var(--arc-muted);
  box-shadow: 0 1px 4px #3024140d;
}
#arc-shell #inspector-toggle:hover,
#arc-shell #inspector-toggle:focus-visible {
  background: var(--arc-selected);
  color: var(--arc-text);
}
#arc-shell #inspector-toggle svg {
  width: 13px;
  height: 13px;
}
#arc-shell[data-inspector="false"] #inspector-toggle {
  right: 0;
  border-right: 0;
  border-radius: 7px 0 0 7px;
}
#arc-shell[data-inspector="false"] #inspector-toggle svg {
  transform: rotate(180deg);
}
@media (max-width: 900px) {
  #arc-shell #inspector-toggle {
    top: 350px;
    right: 0;
    border-right: 0;
    border-radius: 7px 0 0 7px;
  }
}
#arc-shell .agent-identity {
  padding: 28px 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
#arc-shell #agent-avatar-edit {
  position: relative;
  width: 80px;
  height: 80px;
  padding: 0;
  border-radius: 22px;
  justify-content: center;
}
#arc-shell #agent-profile-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
}
#arc-shell #agent-profile-avatar > .arc-character {
  transform: scale(2.5);
}
#arc-shell .agent-edit-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--arc-paper);
  box-shadow: inset 0 0 0 1px var(--arc-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--arc-muted);
  opacity: 0;
  pointer-events: none;
}
#arc-shell #agent-avatar-edit:hover .agent-edit-badge,
#arc-shell #agent-avatar-edit:focus-visible .agent-edit-badge {
  opacity: 1;
}
#arc-shell .agent-edit-badge svg {
  width: 11px;
  height: 11px;
}
#arc-shell .agent-identity h2 {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  margin: 0;
  max-width: 100%;
  text-align: center;
}
#arc-shell #agent-name-edit {
  justify-content: center;
  font: inherit;
  padding: 5px 6px;
  gap: 7px;
  max-width: 100%;
  text-align: center;
}
#arc-shell #agent-name-edit span {
  overflow-wrap: anywhere;
}
#arc-shell #agent-name-edit svg {
  width: 11px;
  height: 11px;
  opacity: 0;
}
#arc-shell #agent-name-edit:hover svg,
#arc-shell #agent-name-edit:focus-visible svg {
  opacity: 0.55;
}
#arc-shell .agent-avatar-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--arc-line);
  border-radius: 10px;
  background: var(--arc-paper);
}
#arc-shell .agent-avatar-picker button {
  height: 40px;
  justify-content: center;
  padding: 5px;
}
#arc-shell .agent-avatar-picker button[aria-pressed="true"] {
  background: var(--arc-selected);
  box-shadow: inset 0 0 0 1px var(--arc-line);
}
#arc-shell #agent-name-form {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}
#arc-shell #agent-name-form label {
  font-size: 11px;
  color: var(--arc-muted);
}
#arc-shell #agent-name-input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--arc-line);
  border-radius: 7px;
  background: var(--arc-paper);
  padding: 9px;
  font-size: 13px;
}
#arc-shell .agent-name-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}
#arc-shell .agent-name-actions button {
  font-size: 12px;
  padding: 7px 10px;
}
#arc-shell #agent-name-save {
  background: var(--arc-selected);
}
#arc-shell #agent-name-error {
  font-size: 11px;
  line-height: 16px;
  color: var(--arc-muted);
  margin: 0;
}
#arc-shell #agent-name-error:empty,
#arc-shell #agent-avatar-picker[hidden],
#arc-shell #agent-name-form[hidden],
#arc-shell #agent-avatar-edit[hidden],
#arc-shell #inspector-scope[hidden] {
  display: none;
}
#arc-shell #agent-name-edit:disabled {
  opacity: 1;
}
#arc-shell #agent-name-edit:disabled svg {
  display: none;
}
#arc-shell .agent-inspector-tabs {
  display: flex;
  gap: 3px;
  padding: 12px 12px 8px;
  flex-wrap: wrap;
}
#arc-shell .agent-inspector-tabs button {
  flex: 1 1 auto;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  padding: 7px 4px;
  border-radius: 16px;
  color: var(--arc-muted);
  white-space: nowrap;
}
#arc-shell .agent-inspector-tabs button svg {
  width: 12px;
  height: 12px;
}
#arc-shell .agent-inspector-tabs button[aria-selected="true"] {
  background: var(--arc-selected);
  color: var(--arc-text);
}
#arc-shell #agent-inspector-tabs[hidden],
#arc-shell #agent-details-panel[hidden],
#arc-shell #agent-library-panel[hidden],
#arc-shell #agent-computer-panel[hidden] {
  display: none;
}
#arc-shell .agent-focus-title {
  font-size: 14px;
  line-height: 21px;
  font-weight: 500;
  margin: 0 0 8px;
}
#arc-shell .agent-detail-note {
  font-size: 11px;
  line-height: 17px;
  color: var(--arc-muted);
  margin: 6px 0 0;
}
#arc-shell .agent-preview-note {
  font-size: 10px;
  line-height: 16px;
  color: var(--arc-muted);
  margin: 10px 0 0;
}
#arc-shell .agent-routine {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
#arc-shell .agent-routine-copy {
  flex: 1;
  min-width: 0;
}
#arc-shell .agent-routine-name {
  font-size: 12px;
  line-height: 18px;
  display: block;
}
#arc-shell .agent-routine-schedule {
  font-size: 10px;
  line-height: 16px;
  color: var(--arc-muted);
  display: block;
  margin-top: 2px;
}
#arc-shell .agent-routine-switch {
  width: 28px;
  height: 17px;
  flex: 0 0 28px;
  border-radius: 20px;
  padding: 2px;
  background: var(--arc-line);
}
#arc-shell .agent-routine-switch:before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--arc-paper);
  box-shadow: 0 1px 2px #0002;
}
#arc-shell .agent-routine-switch[aria-checked="true"] {
  background: var(--arc-text);
}
#arc-shell .agent-routine-switch[aria-checked="true"]:before {
  transform: translateX(11px);
}
#arc-shell .agent-routine-switch:hover {
  background: var(--arc-muted);
}
#arc-shell .agent-resource {
  margin: 4px 0;
}
#arc-shell .agent-resource summary {
  font-size: 12px;
  line-height: 18px;
  padding: 9px 0;
  color: var(--arc-text);
}
#arc-shell .agent-resource p {
  font-size: 11px;
  line-height: 18px;
  margin: 0 0 10px;
  color: var(--arc-muted);
}
#arc-shell .agent-file-meta {
  display: block;
  font-size: 10px;
  color: var(--arc-muted);
  margin: 2px 0 0 14px;
}
#arc-shell .agent-computer-screen {
  margin: 16px 16px 10px;
  min-height: 160px;
  border-radius: 10px;
  background: var(--arc-selected);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 16px;
}
#arc-shell .agent-computer-screen svg {
  width: 30px;
  height: 30px;
  color: var(--arc-muted);
}
#arc-shell .agent-computer-screen strong {
  font-size: 12px;
  font-weight: 500;
}
#arc-shell .agent-computer-screen span,
#arc-shell .agent-computer-caption {
  font-size: 11px;
  line-height: 17px;
  color: var(--arc-muted);
}
#arc-shell .agent-computer-caption {
  text-align: center;
  margin: 8px 16px 14px;
}
#arc-shell .inspector-project {
  font-size: 11px;
  color: var(--arc-muted);
  line-height: 17px;
}
#arc-shell .inspector-section {
  padding: 20px 18px;
  border-bottom: 1px solid color-mix(in srgb, var(--arc-line) 40%, transparent);
}
#arc-shell .inspector-section:last-child {
  border-bottom: 0;
}
#arc-shell .inspector-label {
  font-size: 10px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--arc-muted);
  text-transform: uppercase;
  margin: 0 0 9px;
}
#arc-shell .inspector-goal {
  font-size: 17px;
  line-height: 23px;
  letter-spacing: -0.25px;
  font-weight: 500;
  margin: 0 0 10px;
}
#arc-shell .inspector-small {
  font-size: 11px;
  line-height: 17px;
  color: var(--arc-muted);
  margin: 0;
}
#arc-shell .inspector-timing {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--arc-muted);
}
#arc-shell .inspector-timing svg {
  width: 13px;
  height: 13px;
}
#arc-shell .inspector-task {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
  border-radius: 6px;
  padding: 8px 0;
  margin: 3px 0;
}
#arc-shell .inspector-task .arc-character {
  margin-top: 1px;
}
#arc-shell .inspector-task-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
#arc-shell .inspector-task-name {
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}
#arc-shell .inspector-task-note {
  font-size: 11px;
  line-height: 16px;
  color: var(--arc-muted);
}
#arc-shell .inspector-task[aria-current="true"] .inspector-task-name {
  text-decoration: underline;
  text-underline-offset: 3px;
}
#arc-shell .inspector-review {
  width: 100%;
  padding: 11px;
  align-items: flex-start;
  background: var(--arc-selected);
  border: 1px solid color-mix(in srgb, var(--arc-line) 65%, transparent);
  border-radius: 9px;
}
#arc-shell .inspector-review svg {
  margin-top: 2px;
}
#arc-shell .inspector-context {
  width: 100%;
  padding: 0;
  align-items: flex-start;
  gap: 8px;
}
#arc-shell .inspector-context svg {
  margin-top: 2px;
  color: var(--arc-muted);
}
#arc-shell .inspector-context .inspector-task-name {
  font-size: 11px;
}
#arc-shell #inspector-launch[hidden],
#arc-shell #inspector-project-info[hidden],
#arc-shell #inspector-reviewed[hidden],
#arc-shell #inspector-review-button[hidden] {
  display: none;
}
#arc-shell #inspector-project-info {
  padding: 20px 18px;
}
#arc-shell #inspector-reviewed {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--arc-muted);
}
#arc-shell[data-inspector="true"] .cmo-composer-bottom {
  gap: 3px;
}
#arc-shell[data-inspector="true"] .cmo-model-button {
  font-size: 11px;
  padding: 6px 3px;
}
#arc-shell[data-inspector="true"] .cmo-composer-tools {
  gap: 2px;
}
@media (max-width: 900px) {
  #arc-shell[data-inspector="true"] .arc-stage {
    grid-template-columns: minmax(0, 1fr);
  }
  #arc-shell .arc-inspector {
    border-left: 0;
    border-top: 1px solid var(--arc-line);
    border-radius: 0 0 9px 9px;
  }
  #arc-shell #inspector-launch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #arc-shell .inspector-section {
    border-bottom: 0;
  }
}
@media (max-width: 540px) {
  #arc-shell #inspector-launch {
    grid-template-columns: minmax(0, 1fr);
  }
}
#arc-shell .arc-sidebar,
#arc-shell .arc-inspector {
  position: relative;
}
#arc-shell .pane-resizer {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10px;
  height: auto;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  z-index: 7;
  cursor: col-resize;
  touch-action: none;
  user-select: none;
}
#arc-shell .pane-resizer:hover,
#arc-shell .pane-resizer:active {
  background: transparent;
}
#arc-shell .pane-resizer:after {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  bottom: 5px;
  width: 2px;
  border-radius: 2px;
  background: transparent;
}
#arc-shell .pane-resizer:hover:after,
#arc-shell .pane-resizer:focus-visible:after,
#arc-shell .pane-resizer[data-dragging="true"]:after {
  background: var(--arc-muted);
}
#arc-shell[data-resizing="true"],
#arc-shell[data-resizing="true"] * {
  cursor: col-resize !important;
  user-select: none !important;
}
@media (min-width: 601px) {
  #arc-shell:not([data-collapsed="true"]) {
    grid-template-columns: var(--arc-sidebar-width, 280px) minmax(0, 1fr);
  }
}
@media (min-width: 901px) {
  #arc-shell[data-inspector="true"] .arc-stage {
    grid-template-columns: minmax(0, 1fr) var(--arc-inspector-width, 280px);
  }
}
@media (max-width: 600px) {
  #arc-shell #sidebar-resizer {
    display: none;
  }
}
@media (max-width: 900px) {
  #arc-shell #inspector-resizer {
    display: none;
  }
}
#arc-shell {
  height: 100dvh;
  min-height: 0;
  max-height: 100dvh;
  overflow: hidden;
  grid-template-rows: minmax(0, 1fr);
}
#arc-shell .arc-sidebar {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--arc-line) transparent;
}
#arc-shell .arc-sidebar > * {
  flex-shrink: 0;
}
#arc-shell .arc-bottom {
  position: sticky;
  bottom: 0;
  background: var(--arc-chrome);
  z-index: 2;
  padding-top: 12px;
}
#arc-shell .arc-content {
  min-height: 0;
  overflow: hidden;
}
#arc-shell .arc-stage {
  position: relative;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr);
}
#arc-shell .arc-workspace {
  min-height: 0;
  overflow: hidden;
}
#arc-shell .cmo-header {
  flex-shrink: 0;
}
#arc-shell .cmo-view {
  min-height: 0;
  overflow: hidden;
}
#arc-shell .cmo-thread {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--arc-line) transparent;
}
#arc-shell .cmo-thread > * {
  flex-shrink: 0;
}
#arc-shell .cmo-composer-wrap {
  flex-shrink: 0;
  padding-bottom: 14px;
}
#arc-shell .arc-inspector {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--arc-line) transparent;
}
#arc-shell .arc-inspector > * {
  flex-shrink: 0;
}
#arc-shell .project-settings,
#arc-shell .cmo-specialist {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
#arc-shell #sidebar-resizer {
  left: calc(var(--arc-sidebar-width, 280px) + 7px);
  right: auto;
  top: 8px;
  bottom: 8px;
}
#arc-shell #inspector-resizer {
  left: auto;
  right: calc(var(--arc-inspector-width, 280px) - 5px);
}
#arc-shell[data-inspector="false"] #inspector-resizer,
#arc-shell[data-collapsed="true"] #sidebar-resizer {
  display: none;
}
@media (max-width: 900px) {
  #arc-shell {
    height: auto;
    min-height: 700px;
    max-height: none;
    overflow: visible;
    grid-template-rows: auto;
  }
  #arc-shell .arc-content {
    overflow: visible;
  }
  #arc-shell .arc-stage {
    grid-template-rows: auto auto;
  }
  #arc-shell .arc-workspace {
    min-height: 700px;
  }
  #arc-shell .cmo-thread,
  #arc-shell .arc-inspector,
  #arc-shell .arc-sidebar {
    overflow: visible;
  }
  #arc-shell .arc-bottom {
    position: static;
  }
}
#arc-shell .sidebar-edge {
  display: none;
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 12px;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  z-index: 8;
  touch-action: manipulation;
}
#arc-shell[data-collapsed="true"] .sidebar-edge {
  display: block;
}
#arc-shell .sidebar-edge:hover {
  background: transparent;
}
#arc-shell .sidebar-edge:after {
  content: "";
  position: absolute;
  left: 3px;
  top: calc(50% - 20px);
  height: 40px;
  width: 3px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--arc-muted) 35%, transparent);
}
#arc-shell .sidebar-edge:focus-visible {
  outline: 2px solid var(--arc-muted);
  outline-offset: -2px;
}
#arc-shell[data-collapsed="true"][data-sidebar-peek="true"] .arc-sidebar {
  display: flex;
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: var(--arc-sidebar-width, 280px);
  max-width: calc(100% - 24px);
  padding: 4px 5px 0;
  background: var(--arc-chrome);
  border: 1px solid var(--arc-line);
  border-radius: 10px;
  box-shadow: 6px 4px 24px #30241428;
  z-index: 10;
  overflow-y: auto;
}
#arc-shell[data-collapsed="true"][data-sidebar-peek="true"]
  .arc-sidebar
  .arc-bottom {
  position: sticky;
}
#arc-shell[data-collapsed="true"][data-sidebar-peek="true"]
  .arc-sidebar
  [data-action="sidebar"] {
  background: var(--arc-selected);
}
#arc-shell .cmo-header {
  height: 77px;
  min-height: 77px;
  max-height: 77px;
  flex: 0 0 77px;
  box-sizing: border-box;
}

#arc-shell #brain-navigation {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex-shrink: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--arc-line) 45%, transparent);
}
#arc-shell #brain-navigation[hidden],
#arc-shell #brain-navigation > button[hidden],
#arc-shell #brain-overview[hidden],
#arc-shell #brain-empty[hidden],
#arc-shell #brain-voice[hidden],
#arc-shell #cmo-strategy[hidden],
#arc-shell #cmo-strategy-template[hidden],
#arc-shell #brain-competitors[hidden] {
  display: none;
}
#arc-shell .brain-facts dd.brain-unset,
#arc-shell .brain-overview .brain-section-note {
  color: var(--arc-muted);
}
#arc-shell #brain-navigation {
  padding: 0 var(--workspace-tab-inset);
}
#arc-shell #brain-section-description:empty {
  display: none;
}
#arc-shell .brain-overview {
  font-size: 13px;
  line-height: 22px;
  margin-top: 26px;
  max-width: 720px;
}
#arc-shell .brain-overview section {
  padding: 20px 0;
  border-top: 1px solid color-mix(in srgb, var(--arc-line) 55%, transparent);
}
#arc-shell .brain-overview h3 {
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  margin: 0 0 12px;
}
#arc-shell .brain-overview p {
  margin: 0;
  color: var(--arc-text);
}
#arc-shell .brain-overview section > p + p {
  margin-top: 12px;
}
#arc-shell .brain-facts {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px 16px;
  margin: 12px 0 0;
}
#arc-shell .brain-facts dt {
  color: var(--arc-muted);
}
#arc-shell .brain-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
#arc-shell .brain-facts a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--arc-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
#arc-shell .brain-facts a svg {
  width: 13px;
  height: 13px;
}
#arc-shell .brain-overview ul {
  padding-left: 18px;
  margin: 0;
}
#arc-shell .brain-overview li {
  padding: 2px 0;
}
#arc-shell #cmo-strategy h4 {
  margin: 24px 0 10px;
  font-size: 13px;
  line-height: 22px;
  font-weight: 500;
}
#arc-shell #cmo-strategy strong {
  font-weight: 500;
}
#arc-shell #cmo-strategy .brain-section-note {
  margin-bottom: 14px;
}
#arc-shell .brain-strategy-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}
#arc-shell .brain-strategy-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 20px;
}
#arc-shell .brain-strategy-table th,
#arc-shell .brain-strategy-table td {
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid color-mix(in srgb, var(--arc-line) 55%, transparent);
}
#arc-shell .brain-strategy-table th {
  font-weight: 500;
}
#arc-shell .brain-strategy-table thead {
  color: var(--arc-muted);
}
#arc-shell .brain-strategy-table th:first-child {
  padding-left: 0;
}
#arc-shell .brain-motivation-group {
  border: 1px solid var(--arc-line);
  border-radius: 9px;
  margin-top: 14px;
  padding: 0 14px;
  overflow: hidden;
}
#arc-shell .brain-motivation-group summary {
  padding: 13px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
}
#arc-shell .brain-motivation-group summary::-webkit-details-marker {
  display: none;
}
#arc-shell .brain-motivation-group summary small {
  margin-left: auto;
  font-size: 11px;
  font-weight: 400;
  color: var(--arc-muted);
}
#arc-shell .brain-motivation-group summary:after {
  content: "+";
  font-size: 16px;
  color: var(--arc-muted);
}
#arc-shell .brain-motivation-group[open] summary:after {
  content: "−";
}
#arc-shell .brain-motivation-group > p {
  font-size: 12px;
  line-height: 20px;
  margin-bottom: 12px;
}
#arc-shell .brain-motivation-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
  line-height: 19px;
  margin-bottom: 8px;
}
#arc-shell .brain-motivation-table th,
#arc-shell .brain-motivation-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--arc-line) 55%, transparent);
  overflow-wrap: anywhere;
}
#arc-shell .brain-motivation-table th {
  font-weight: 500;
}
#arc-shell .brain-motivation-table th:first-child {
  width: 32px;
  padding-left: 0;
}
#arc-shell .brain-motivation-table tbody td {
  color: var(--arc-text);
}
@media (max-width: 600px) {
  #arc-shell .brain-motivation-group summary {
    flex-wrap: wrap;
  }
  #arc-shell .brain-motivation-group summary small {
    margin-left: 0;
  }
}
@media (max-width: 600px) {
  #arc-shell .brain-facts {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  #arc-shell .brain-facts dd {
    margin-bottom: 8px;
  }
}
#arc-shell #brain-tabs {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  border: 0;
  padding: 0;
  overscroll-behavior-x: contain;
}
#arc-shell .brain-section-empty {
  margin-top: 30px;
  padding: 26px;
  border: 1px dashed var(--arc-line);
  border-radius: 12px;
  max-width: 640px;
}
#arc-shell .brain-section-empty > svg {
  width: 24px;
  height: 24px;
  margin-bottom: 14px;
  color: var(--arc-muted);
}
#arc-shell .brain-section-empty h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
}
#arc-shell .brain-section-empty p {
  font-size: 13px;
  line-height: 22px;
  color: var(--arc-muted);
  margin: 0;
}
/* SEO-specific structure; visual rules are shared with Reddit in workstreams.css. */
#arc-shell #seo-chat-work[hidden] {
  display: none;
}
#arc-shell .seo-detail-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 20px 0 15px;
  font-size: 11px;
  color: var(--arc-muted);
}
#arc-shell .seo-detail-top button {
  padding: 3px 0;
  font-size: 12px;
}
#arc-shell .seo-active-row > div {
  flex: 1;
  min-width: 0;
}
#arc-shell .seo-active-row small {
  display: block;
}
#arc-shell .seo-journey-summary {
  font-size: 12px;
  color: var(--arc-muted);
  margin-top: 14px;
}
#arc-shell .seo-journey-summary summary {
  padding: 8px 0;
}
#arc-shell #create-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 26px;
  border: 1px solid var(--arc-line);
  border-radius: 18px;
  background: var(--arc-paper);
  color: var(--arc-text);
  box-shadow: 0 24px 90px #201a1233;
  overflow: auto;
}
#arc-shell #create-dialog::backdrop {
  background: #241d164d;
  backdrop-filter: blur(3px);
}
#arc-shell .create-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
#arc-shell .create-heading h2 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.4px;
  margin: 0;
}
#arc-shell #create-choices > p,
#arc-shell #create-form-context {
  font-size: 13px;
  line-height: 20px;
  color: var(--arc-muted);
  margin: 12px 0 22px;
}
#arc-shell #create-choices[hidden],
#arc-shell #create-agent-fields[hidden] {
  display: none;
}
#arc-shell .create-choice {
  width: 100%;
  gap: 16px;
  padding: 18px;
  margin-top: 10px;
  border: 1px solid var(--arc-line);
  border-radius: 12px;
}
#arc-shell .create-choice > svg:first-child {
  width: 23px;
  height: 23px;
}
#arc-shell .create-choice > span {
  flex: 1;
  min-width: 0;
}
#arc-shell .create-choice strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
#arc-shell .create-choice small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 18px;
  color: var(--arc-muted);
}
#arc-shell #create-dialog #workstream-form {
  padding: 0;
  margin: 0;
  gap: 10px;
}
#arc-shell #create-dialog #workstream-form label,
#arc-shell .create-avatar-heading {
  font-size: 12px;
  font-weight: 500;
  color: var(--arc-text);
}
#arc-shell #create-dialog #workstream-form input,
#arc-shell #create-dialog #workstream-form select {
  padding: 11px 12px;
  font-size: 14px;
  border-radius: 8px;
}
#arc-shell #create-agent-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#arc-shell .create-avatar-heading {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}
#arc-shell #create-avatar-label {
  font-weight: 400;
  color: var(--arc-muted);
}
#arc-shell #create-avatar-options {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}
#arc-shell #create-avatar-options button {
  justify-content: center;
  height: 48px;
  padding: 8px;
  border: 1px solid transparent;
  background: var(--arc-selected);
}
#arc-shell #create-avatar-options button:hover {
  background: var(--arc-hover);
}
#arc-shell #create-avatar-options button[aria-pressed="true"] {
  border-color: var(--arc-text);
  background: var(--arc-hover);
}
#arc-shell .create-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
#arc-shell #create-dialog #workstream-add {
  background: var(--arc-text);
  color: var(--arc-paper);
  padding: 11px 18px;
}
#arc-shell #create-dialog #workstream-add:hover {
  opacity: 0.88;
}
#arc-shell #arc-project-menu {
  max-height: 300px;
  overflow-y: auto;
}
#arc-shell .arc-select-field {
  position: relative;
  display: block;
  min-width: 0;
}
#arc-shell .arc-select-field > svg {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  pointer-events: none;
  color: var(--arc-muted);
}
#arc-shell #activity-filter,
#arc-shell #create-dialog #workstream-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: none;
}
@media (max-width: 420px) {
  #arc-shell #create-dialog {
    padding: 18px;
  }
  #arc-shell #create-avatar-options {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  #arc-shell {
    --workspace-tab-gap: 24px;
    --workspace-tab-inset: 24px;
  }
}

/* One account entry keeps personal identity and settings together. */
#arc-shell .arc-bottom {
  display: block;
  padding: 10px 0 2px;
  border-top: 1px solid color-mix(in srgb, var(--arc-line) 55%, transparent);
}
#arc-shell .account-toggle {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  gap: 10px;
  border-radius: 10px;
  color: var(--arc-text);
}
#arc-shell .account-toggle:hover,
#arc-shell .account-toggle[aria-expanded="true"] {
  background: var(--arc-hover);
}
#arc-shell .account-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: light-dark(#b9ceb2, #627c59);
  color: light-dark(#30452b, #f1ebe0);
  font-size: 14px;
  font-weight: 600;
}
#arc-shell .account-identity {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}
#arc-shell .account-name,
#arc-shell .account-email {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#arc-shell .account-name {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
}
#arc-shell .account-email {
  font-size: 12px;
  line-height: 16px;
  color: var(--arc-muted);
}

#arc-shell .account-menu {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  right: 0;
  padding: 6px;
  border: 1px solid color-mix(in srgb, var(--arc-line) 70%, transparent);
  border-radius: 12px;
  background: var(--arc-paper);
  box-shadow: 0 8px 24px #30241424;
}
#arc-shell .account-menu[hidden] {
  display: none;
}
#arc-shell .account-menu button {
  width: 100%;
  gap: 10px;
  padding: 10px;
  font-size: 14px;
  color: var(--arc-text);
}
#arc-shell .account-menu button:hover,
#arc-shell .account-menu button:focus-visible {
  background: var(--arc-selected);
}
#arc-shell .account-menu svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
#arc-shell .account-menu-chevron {
  margin-left: auto;
}
@media (max-width: 900px) {
  #arc-shell .arc-bottom {
    position: relative;
  }
}

/* Account settings: a centered profile with quiet, grouped preference rows. */
#arc-shell.account-settings-active .arc-stage {
  grid-template-columns: minmax(0, 1fr);
}
#arc-shell.account-settings-active .arc-inspector,
#arc-shell.account-settings-active #inspector-toggle,
#arc-shell.account-settings-active #inspector-resizer,
#arc-shell.account-settings-active #cmo-header-avatar,
#arc-shell.account-settings-active .cmo-subtitle {
  display: none;
}
#arc-shell.account-settings-active .cmo-header {
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  flex-basis: 60px;
  padding: 0 26px;
}
#arc-shell.account-settings-active #cmo-header-title {
  font-size: 18px;
  font-weight: 600;
}
#arc-shell .account-settings {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 40px 24px 56px;
  overscroll-behavior: contain;
}
#arc-shell .account-settings[hidden] {
  display: none;
}
#arc-shell .account-settings-inner {
  width: 100%;
  max-width: 888px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
#arc-shell .account-settings-identity {
  text-align: center;
  margin-bottom: 40px;
}
#arc-shell .account-settings-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: light-dark(#b9ceb2, #627c59);
  color: light-dark(#30452b, #f1ebe0);
  font-size: 36px;
  font-weight: 500;
}
#arc-shell .account-settings-avatar button {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 34px;
  height: 34px;
  padding: 8px;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--arc-paper);
  background: light-dark(#e3ecde, #4c6145);
  color: var(--arc-text);
  box-shadow: 0 2px 8px #30241410;
}
#arc-shell .account-settings-identity h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
#arc-shell .account-settings-identity p {
  margin: 0;
  color: var(--arc-muted);
  font-size: 16px;
  overflow-wrap: anywhere;
}
#arc-shell .account-settings-group {
  margin-bottom: 16px;
  padding: 4px 6px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--arc-chrome) 30%, var(--arc-paper));
}
#arc-shell .account-settings-row {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 10px;
  gap: 12px;
  font-size: 15px;
  line-height: 20px;
  color: var(--arc-text);
}
#arc-shell .account-settings-row:hover {
  background: color-mix(in srgb, var(--arc-hover) 45%, transparent);
}
#arc-shell .account-settings-row > svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
#arc-shell .account-settings-value {
  margin-left: auto;
  min-width: 0;
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--arc-muted);
  font-size: 14px;
}
#arc-shell .account-settings-row .account-settings-arrow {
  margin-left: auto;
  width: 13px;
  height: 13px;
  color: var(--arc-muted);
  opacity: 0.65;
}
#arc-shell .account-settings-value + .account-settings-arrow {
  margin-left: -7px;
}
#arc-shell #account-detail-dialog {
  width: min(440px, calc(100vw - 40px));
  padding: 26px;
  border: 1px solid var(--arc-line);
  border-radius: 18px;
  color: var(--arc-text);
  background: var(--arc-paper);
  box-shadow: 0 20px 80px #30241430;
}
#arc-shell #account-detail-dialog::backdrop {
  background: #30241445;
  backdrop-filter: blur(3px);
}
#arc-shell .account-detail-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
#arc-shell .account-detail-heading h2 {
  margin: 0;
  font-size: 20px;
}
#arc-shell #account-detail-description {
  color: var(--arc-muted);
  line-height: 1.6;
  margin: 14px 0 22px;
}
#arc-shell #account-detail-label {
  display: block;
  margin-bottom: 8px;
}
#arc-shell #account-detail-input {
  width: 100%;
  padding: 12px;
  background: var(--arc-paper);
  border: 1px solid var(--arc-line);
  border-radius: 8px;
}
#arc-shell #account-detail-label[hidden],
#arc-shell #account-detail-input[hidden],
#arc-shell #account-detail-save[hidden] {
  display: none;
}
#arc-shell .account-detail-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
#arc-shell #account-detail-save {
  background: var(--arc-text);
  color: var(--arc-paper);
  padding-inline: 18px;
}

/* Account settings share the workspace palette, with project-scoped connections. */
#arc-shell .account-settings-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: sticky;
  top: 0;
}
#arc-shell .account-settings-nav > button {
  gap: 11px;
  padding: 12px;
  font-size: 14px;
  border-radius: 9px;
  text-align: left;
}
#arc-shell .account-settings-nav > button[aria-pressed="true"] {
  background: var(--arc-selected);
  color: var(--arc-text);
}
#arc-shell .account-settings-nav svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
#arc-shell .settings-nav-footer {
  display: flex;
  gap: 12px;
  margin: 28px 12px 0;
}
#arc-shell .settings-nav-footer button {
  font-size: 12px;
  color: var(--arc-muted);
  padding: 0;
}
#arc-shell .settings-nav-footer button:hover {
  color: var(--arc-text);
  background: transparent;
}
#arc-shell .account-settings-content {
  min-width: 0;
}
#arc-shell .account-settings-view {
  width: 100%;
  min-width: 0;
}
#arc-shell .account-settings-view + .account-settings-view {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--arc-line);
}
#arc-shell .settings-page-intro {
  margin: 0 0 28px;
}
#arc-shell .settings-scope {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--arc-muted);
  font-weight: 600;
}
#arc-shell .settings-page-intro h2 {
  font-size: 25px;
  margin: 8px 0 10px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
#arc-shell .settings-page-intro p,
#arc-shell .settings-help {
  color: var(--arc-muted);
  font-size: 14px;
  line-height: 1.6;
}
#arc-shell .settings-help {
  margin: 14px 0 20px;
}
#arc-shell .settings-soft-card {
  padding: 20px;
  background: color-mix(in srgb, var(--arc-chrome) 24%, var(--arc-paper));
  border-radius: 14px;
  margin-bottom: 18px;
}
#arc-shell .settings-soft-card h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 7px 0 10px;
}
#arc-shell .settings-soft-card p {
  font-size: 13px;
  color: var(--arc-muted);
  line-height: 1.6;
  margin: 8px 0 16px;
}
#arc-shell .settings-section-title {
  font-size: 15px;
  font-weight: 500;
  margin: 28px 0 14px;
}
#arc-shell .account-settings select {
  appearance: none;
  border: 1px solid var(--arc-line);
  border-radius: 8px;
  background-color: var(--arc-paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23877d6c' stroke-width='1.7'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  color: var(--arc-text);
  padding: 10px 38px 10px 12px;
  font: inherit;
  font-size: 14px;
  max-width: 100%;
}
#arc-shell .settings-project-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--arc-line);
}
#arc-shell #account-connections-slot .settings-intro {
  display: none;
}
#arc-shell #account-connections-slot .connection-name {
  font-size: 15px;
}
#arc-shell #account-connections-slot .connection-status {
  font-size: 13px;
}
#arc-shell #account-connections-slot .connection-group h3 {
  font-size: 13px;
}
#arc-shell .settings-billing-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
#arc-shell .settings-sample-label {
  color: var(--arc-muted);
  font-size: 12px;
  margin-bottom: 16px;
}
#arc-shell .settings-soft-card .settings-credit-total {
  font-size: 28px;
  margin: 10px 0 16px;
}
#arc-shell .settings-credit-total small {
  font-size: 13px;
  color: var(--arc-muted);
}
#arc-shell .settings-small-action {
  padding: 8px 12px;
  border: 1px solid var(--arc-line);
  border-radius: 8px;
  background: var(--arc-paper);
  font-size: 13px;
  gap: 8px;
}
#arc-shell .settings-small-action svg {
  width: 15px;
  height: 15px;
}
#arc-shell .settings-usage-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 10px 0 16px;
}
#arc-shell .settings-usage-heading h3 {
  font-size: 16px;
  font-weight: 500;
}
#arc-shell .settings-usage-row {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) 1fr 95px;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  padding: 10px 0;
}
#arc-shell .settings-usage-row span:last-child {
  text-align: right;
  color: var(--arc-muted);
  font-size: 12px;
}
#arc-shell .account-settings progress {
  appearance: none;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  background: var(--arc-line);
}
#arc-shell .account-settings progress::-webkit-progress-bar {
  background: var(--arc-line);
  border-radius: 5px;
}
#arc-shell .account-settings progress::-webkit-progress-value {
  background: #8eaa82;
  border-radius: 5px;
}
#arc-shell .account-settings progress::-moz-progress-bar {
  background: #8eaa82;
  border-radius: 5px;
}
#arc-shell .settings-preference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 12px;
  cursor: pointer;
}
#arc-shell .settings-preference strong {
  display: block;
  font-weight: 500;
  font-size: 15px;
}
#arc-shell .settings-preference small {
  display: block;
  font-size: 13px;
  color: var(--arc-muted);
  margin-top: 6px;
  line-height: 1.5;
}
#arc-shell .settings-preference input {
  appearance: none;
  width: 34px;
  height: 20px;
  border-radius: 20px;
  background: var(--arc-line);
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}
#arc-shell .settings-preference input:checked {
  background: #809774;
}
#arc-shell .settings-preference input::after {
  content: "";
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.15s;
}
#arc-shell .settings-preference input:checked::after {
  transform: translateX(14px);
}
#arc-shell .settings-danger {
  color: #a15349;
}
@media (max-width: 1100px) {
  #arc-shell .account-settings-inner {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 24px;
  }
  #arc-shell .settings-billing-summary {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 760px) {
  #arc-shell .account-settings-inner {
    display: block;
  }
  #arc-shell .account-settings-nav {
    flex-direction: row;
    overflow-x: auto;
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--arc-paper);
    padding-block: 12px;
    margin-bottom: 20px;
  }
  #arc-shell .account-settings-nav > button {
    white-space: nowrap;
    flex-shrink: 0;
  }
  #arc-shell .settings-nav-footer {
    display: none;
  }
  #arc-shell .settings-usage-row {
    grid-template-columns: 1fr 75px;
  }
  #arc-shell .settings-usage-row progress {
    display: none;
  }
}

#arc-shell #seo-opening-response {
  margin-bottom: 22px;
}

#arc-shell #cmo-audit-model-menu {
  width: min(300px, 72vw);
  max-height: 320px;
  overflow-y: auto;
}
#arc-shell .audit-model-notice {
  padding: 8px 10px;
  margin: 0;
  font-size: 12px;
  color: var(--arc-muted);
}
/* Live backend data: chat replies, Company Brain, Library and approvals. */
#arc-shell .cmo-live-reply {
  gap: 8px;
}
#arc-shell .cmo-live-reply h3,
#arc-shell .cmo-live-reply h4,
#arc-shell .cmo-live-reply h5,
#arc-shell .cmo-live-reply h6,
#arc-shell .backend-document h3,
#arc-shell .backend-document h4,
#arc-shell .backend-document h5,
#arc-shell .backend-document h6 {
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
  margin: 6px 0 0;
}
#arc-shell .cmo-live-reply ul,
#arc-shell .cmo-live-reply ol,
#arc-shell .backend-brain ul,
#arc-shell .backend-brain ol,
#arc-shell .backend-document ul,
#arc-shell .backend-document ol {
  margin: 0;
  padding-left: 18px;
}
#arc-shell .cmo-live-reply ol,
#arc-shell .backend-brain ol,
#arc-shell .backend-document ol {
  list-style: decimal;
}
#arc-shell .cmo-live-reply pre,
#arc-shell .backend-brain pre,
#arc-shell .backend-document pre {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--arc-selected);
  font-size: 11px;
  line-height: 17px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#arc-shell .backend-table {
  overflow-x: auto;
}
#arc-shell .backend-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: inherit;
}
#arc-shell .backend-table th,
#arc-shell .backend-table td {
  padding: 6px 10px;
  border: 1px solid var(--arc-line);
  text-align: left;
  vertical-align: top;
}
#arc-shell .backend-table th {
  font-weight: 500;
  background: var(--arc-selected);
}
#arc-shell .cmo-live-reply code,
#arc-shell .backend-brain code,
#arc-shell .backend-document code {
  padding: 1px 4px;
  border-radius: 4px;
  background: var(--arc-selected);
  font-size: 0.92em;
}
#arc-shell .cmo-live-reply em,
#arc-shell .backend-brain em,
#arc-shell .backend-document em {
  font-style: italic;
}
#arc-shell .cmo-live-reply hr,
#arc-shell .backend-brain hr,
#arc-shell .backend-document hr {
  width: 100%;
  margin: 4px 0;
  border: 0;
  border-top: 1px solid var(--arc-line);
}
#arc-shell .cmo-live-note {
  color: var(--arc-muted);
  font-size: 12px;
  align-items: flex-start;
}
#arc-shell .cmo-live-note button {
  font-size: 11px;
  padding: 7px 9px;
  border: 1px solid var(--arc-line);
  border-radius: 7px;
}
#arc-shell .backend-brain h4,
#arc-shell .backend-brain h5,
#arc-shell .backend-brain h6 {
  font-size: 13px;
  font-weight: 500;
  margin: 12px 0 4px;
}
#arc-shell .backend-brain section > * + * {
  margin-top: 10px;
}
#arc-shell .backend-brain .backend-note,
#arc-shell .backend-brain .backend-meta,
#arc-shell .backend-empty {
  font-size: 11px;
  color: var(--arc-muted);
}
#arc-shell .backend-brain .backend-note {
  margin-bottom: 14px;
}
#arc-shell .backend-document {
  display: grid;
  gap: 8px;
  padding: 0 0 12px 14px;
  font-size: 11px;
  line-height: 18px;
  overflow-wrap: anywhere;
}
#arc-shell .backend-document p {
  margin: 0;
  color: var(--arc-text);
}
#arc-shell .activity-detail .backend-document {
  padding: 10px 0 0;
  border-top: 1px solid var(--arc-line);
}
#arc-shell .activity-detail .backend-document .backend-meta {
  color: var(--arc-muted);
}
#arc-shell .backend-actions {
  display: flex;
  gap: 8px;
}
#arc-shell .activity-detail button:disabled {
  opacity: 0.5;
}
/* The edit control's flex layout must not override its hidden state. */
#arc-shell #brain-edit-actions[hidden] {
  display: none;
}
