#arc-shell .setup-card-head {
  align-items: center;
}
#arc-shell .setup-card-head h3 {
  font-size: 12px;
  font-weight: 500;
  margin: 0;
}
#arc-shell .setup-count {
  white-space: nowrap;
}
#arc-shell .setup-context {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  background: transparent;
  border-bottom: 1px solid color-mix(in srgb, var(--arc-line) 40%, transparent);
  color: var(--arc-muted);
}
#arc-shell .setup-context-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.6;
}
#arc-shell .setup-context strong {
  font-size: 12px;
  font-weight: 500;
}
#arc-shell .setup-context p {
  font-size: 12px;
  margin: 3px 0 0;
  opacity: 0.85;
  line-height: 1.4;
}
#arc-shell .setup-context-check {
  margin-left: auto;
  flex-shrink: 0;
}
#arc-shell .setup-context-check svg {
  width: 16px;
  height: 16px;
}
#arc-shell .setup-group-heading {
  padding: 11px 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--arc-line) 40%, transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#arc-shell .setup-group-heading h4 {
  font-size: 12px;
  font-weight: 500;
  margin: 0;
}
#arc-shell .setup-group-heading span {
  font-size: 11px;
  color: var(--arc-muted);
}
#arc-shell .setup-tools {
  padding: 0;
}
#arc-shell .setup-tool {
  align-items: center;
}
#arc-shell .setup-tool-copy {
  flex: 1;
  min-width: 0;
}
#arc-shell .setup-tool strong {
  font-size: 12px;
  font-weight: 500;
}
#arc-shell .setup-tool p {
  font-size: 12px;
  color: var(--arc-muted);
  margin: 2px 0;
  line-height: 1.4;
}
#arc-shell .setup-tool small {
  font-size: 10px;
  color: var(--arc-muted);
  opacity: 0.85;
}
#arc-shell .setup-connect {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--arc-line);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 12px;
  flex-shrink: 0;
  background: transparent;
}
#arc-shell .setup-connect svg {
  width: 13px;
  height: 13px;
}
#arc-shell .setup-connect:hover {
  background: var(--arc-selected);
}
#arc-shell .setup-connect.is-connected {
  color: #4e634b;
  border-color: #ccd5c5;
  background: #edf0e7;
}
#arc-shell .setup-optional {
  margin: 0;
  border-top: 1px solid var(--arc-line);
}
#arc-shell .setup-optional summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 12px 14px;
  font-size: 12px;
  list-style: none;
}
#arc-shell .setup-optional summary::-webkit-details-marker {
  display: none;
}
#arc-shell .setup-optional summary > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
#arc-shell .setup-optional summary svg {
  width: 15px;
  height: 15px;
  color: var(--arc-muted);
}
#arc-shell .setup-optional summary small {
  font-size: 10px;
  color: var(--arc-muted);
  margin-left: 4px;
}
#arc-shell .setup-optional[open] summary > svg {
  transform: rotate(180deg);
}
#arc-shell .setup-optional .setup-tools {
  padding: 0;
}
#arc-shell .setup-optional-note {
  padding-inline: 14px;
  font-size: 11px;
  color: var(--arc-muted);
  line-height: 1.5;
}
#arc-shell .setup-footer {
  padding: 14px;
  background: transparent;
  border-top: 1px solid var(--arc-line);
}
#arc-shell .setup-assignment {
  display: flex;
  align-items: center;
  gap: 12px;
}
#arc-shell .setup-assignment svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}
#arc-shell .setup-assignment strong {
  font-size: 12px;
  font-weight: 500;
}
#arc-shell .setup-assignment p {
  font-size: 12px;
  color: var(--arc-muted);
  margin: 4px 0 0;
}
#arc-shell .setup-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 16px;
}
#arc-shell .setup-footer-actions > span {
  font-size: 11px;
  color: var(--arc-muted);
}
#arc-shell .setup-start {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  font-size: 12px;
  border-radius: 8px;
  background: var(--arc-text);
  color: var(--arc-paper);
}
#arc-shell .setup-start:hover {
  opacity: 0.85;
}
#arc-shell .setup-start svg {
  width: 15px;
  height: 15px;
}
#arc-shell .setup-permissions {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--arc-muted);
  margin: 13px 4px 0;
}
#arc-shell .setup-permissions svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.setup-connection-dialog {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #3c352b;
  background: #fcfaf6;
  border: 1px solid #d2c4ae;
  border-radius: 18px;
  padding: 30px;
  width: min(420px, calc(100vw - 40px));
  box-sizing: border-box;
  box-shadow: 0 24px 80px #3c352b30;
}
.setup-connection-dialog::backdrop {
  background: #3c352b55;
  backdrop-filter: blur(4px);
}
.setup-connection-dialog h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.4px;
  margin: 15px 0 8px;
}
.setup-connection-dialog p {
  font-size: 13px;
  color: #7b7162;
  line-height: 1.6;
}
.setup-dialog-close {
  position: absolute;
  right: 16px;
  top: 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #7b7162;
}
.setup-dialog-close svg {
  width: 18px;
  height: 18px;
}
.setup-dialog-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}
.setup-connection-dialog label {
  display: block;
  font-size: 12px;
  margin: 22px 0 8px;
}
.setup-connection-dialog select {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 12px 42px 12px 14px;
  border: 1px solid #d2c4ae;
  background-color: #f6f0e6;
  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='%237b7162' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  color: #3c352b;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}
.setup-dialog-note {
  font-size: 12px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #7b7162;
  margin: 20px 0;
}
.setup-dialog-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.setup-demo-connect {
  width: 100%;
  background: #3c352b;
  color: #fcfaf6;
  border: 0;
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
@container (max-width:560px) {
  #arc-shell .setup-tool p {
    max-width: 260px;
  }
  #arc-shell .setup-group-heading span {
    display: none;
  }
  #arc-shell .setup-footer-actions {
    flex-wrap: wrap;
  }
}

#arc-shell .agent-setup-open .seo-area-top,
#arc-shell .agent-setup-open #seo-area-nav {
  display: none;
}
.setup-dialog-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* Provider choices sit between the category and its connection action. */
#arc-shell .setup-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  padding: 12px 14px;
}
#arc-shell .setup-providers {
  display: flex;
  align-items: center;
  padding-left: 0;
  isolation: isolate;
}
#arc-shell .setup-provider-circle {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  min-width: 0;
  padding: 0;
  border: 1px solid #e1d9cc;
  border-radius: 50%;
  background: #fffefa;
  box-shadow: 0 0 0 2px var(--arc-paper);
  color: #3c352b;
  cursor: pointer;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
#arc-shell .setup-provider-circle + .setup-provider-circle {
  margin-left: -7px;
}
#arc-shell .setup-provider-circle:hover,
#arc-shell .setup-provider-circle:focus-visible {
  transform: translateY(-3px);
  z-index: 2;
  border-color: #9c8c71;
  outline-offset: 3px;
}
#arc-shell .setup-provider-circle img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}
#arc-shell .setup-provider-circle span {
  font-size: 10px;
  font-weight: 600;
}
#arc-shell .setup-provider-more {
  font-size: 10px;
  color: var(--arc-muted);
  background: var(--arc-selected);
}
#arc-shell .setup-provider-pending {
  font-size: 10px;
  color: var(--arc-muted);
}
@container (max-width:560px) {
  #arc-shell .setup-tool {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }
  #arc-shell .setup-tool-copy {
    grid-column: 1/-1;
  }
  #arc-shell .setup-tool p {
    max-width: none;
  }
  #arc-shell .setup-providers,
  #arc-shell .setup-provider-pending {
    grid-column: 1;
  }
  #arc-shell .setup-connect {
    grid-column: 2;
    grid-row: 2;
  }
}

#arc-shell .setup-tool-copy.has-step {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}
#arc-shell .setup-tool-text {
  min-width: 0;
}
#arc-shell .setup-tool-heading {
  display: block;
  line-height: 20px;
}
#arc-shell .setup-step {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 1px solid var(--arc-line);
  border-radius: 50%;
  background: var(--arc-selected);
  color: var(--arc-muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}

#arc-shell .seo-setup-link {
  font-size: 12px;
  color: var(--arc-muted);
  margin: 0 0 14px;
  padding: 0;
}

#arc-shell .setup-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
#arc-shell .setup-page-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--arc-muted);
  cursor: pointer;
  flex-shrink: 0;
}
#arc-shell .setup-page-close:hover {
  background: var(--arc-selected);
  color: var(--arc-ink);
}
#arc-shell .setup-page-close:focus-visible {
  outline: 2px solid var(--arc-muted);
  outline-offset: 2px;
}
#arc-shell .setup-page-close svg {
  width: 18px;
  height: 18px;
}
