body.is-prototype-flow {
  min-width: 0;
  background: var(--grape-160);
}

.prototype-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: var(--text-primary);
  background: linear-gradient(180deg, #132337 21.524%, #1a2e47 93.75%);
  font-family: var(--font-ui);
}

.prototype-frame button {
  cursor: default;
}

.prototype-frame button[data-frame],
.prototype-frame button[data-command-center],
.prototype-frame button[data-open-apps],
.prototype-frame button[data-open-home],
.prototype-frame button[data-open-command-center],
.prototype-frame [data-frame]:not(button),
.prototype-frame [data-frame]:not(button) button {
  cursor: pointer;
}

.apps-page,
.home-page {
  position: absolute;
  inset: 0 0 0 var(--home-nav-width);
  min-width: 0;
  overflow: auto;
  transition: left 260ms ease-out;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.apps-frame.is-home-nav-expanded .apps-page,
.home-frame.is-home-nav-expanded .home-page {
  left: var(--home-nav-expanded-width);
}

.apps-page {
  background: linear-gradient(180deg, #213959 0%, #20243b 100%);
}

.apps-page__inner {
  width: 100%;
  min-height: 100%;
  padding: 0 0 48px;
}

.apps-page h1 {
  min-height: 76px;
  margin: 0;
  padding: 24px 48px 16px;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  background: linear-gradient(0deg, rgba(33, 57, 89, 0), #213959);
  backdrop-filter: blur(12px);
}

.apps-grid {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 1848px;
  padding: 32px 48px;
}

.apps-card {
  display: flex;
  flex-direction: column;
  flex: 0 1 426px;
  gap: 8px;
  width: 426px;
  min-width: 214px;
  height: 148px;
  max-width: 800px;
  max-height: 148px;
  padding: 16px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: var(--text-primary);
  background: #16273d;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), inset 0 0.5px 1px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  text-align: left;
}

button.apps-card {
  width: 426px;
  font: inherit;
}

.apps-card strong {
  width: 100%;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apps-card span {
  display: -webkit-box;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.apps-card--interactive {
  transition: background-color 160ms ease-out, border-color 160ms ease-out, box-shadow 160ms ease-out;
}

.apps-card--interactive:hover,
.apps-card--interactive:focus-visible {
  outline: 0;
  background: #1c314b;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 2px 6px rgba(0, 0, 0, 0.24), inset 0 0.5px 1px rgba(255, 255, 255, 0.15);
}

.home-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px;
  overflow: hidden;
  background: linear-gradient(180deg, #29476d 21.524%, #2b3151 93.75%);
}

.home-page__bloom {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: min(960px, 100%);
  height: 600px;
  object-fit: cover;
  object-position: top right;
  pointer-events: none;
}

.home-page__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: min(100%, 900px);
}

.home-welcome {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: min(100%, 800px);
}

.home-welcome h1 {
  color: var(--text-primary);
  font-family: var(--font-editorial);
  font-size: 40px;
  font-weight: 400;
  line-height: 52px;
}

.home-ao {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 96px;
  min-height: 96px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(15, 24, 39, 0.9);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), inset 0 0.5px 1px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
}

.home-ao:focus-within {
  box-shadow: 0 0 0 2px #40ede6, 0 1px 2px rgba(0, 0, 0, 0.2), inset 0 0.5px 1px rgba(255, 255, 255, 0.15);
}

.home-ao__textfield {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  width: 100%;
  min-height: 52px;
  padding: 16px;
}

.home-ao__textfield > img {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.home-ao__textfield input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--text-primary);
  background: transparent;
  font-size: 14px;
  line-height: 20px;
}

.home-ao__textfield input::placeholder {
  color: var(--text-secondary);
  opacity: 1;
}

.home-ao__toolbar {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 8px 8px;
}

.home-mode-toggle {
  display: flex;
  width: 256px;
  height: 36px;
  flex: 0 0 256px;
  align-items: center;
  gap: 0;
  overflow: hidden;
  border-radius: 999px;
  background: #132337;
}

.home-mode-toggle button {
  height: 36px;
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--text-secondary);
  background: transparent;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.home-mode-toggle button:nth-child(1) { width: 68px; }
.home-mode-toggle button:nth-child(2) { width: 92px; }
.home-mode-toggle button:nth-child(3) { width: 96px; }

.home-mode-toggle button:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.home-mode-toggle button.is-active {
  color: #40ede6;
  background: #213959;
}

.home-ao__actions {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding-left: 16px;
}

.home-ao__actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
}

.home-ao__submit[aria-disabled="false"] {
  background: rgba(64, 237, 230, 0.14);
  cursor: pointer;
}

.home-ao__submit[aria-disabled="false"]:hover {
  background: rgba(64, 237, 230, 0.22);
}

.home-ao__actions img {
  display: block;
  width: 36px;
  height: 36px;
}

.home-ao__actions .home-ao__submit {
  background: rgba(255, 255, 255, 0.04);
}

.home-hero-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.home-hero-card {
  position: relative;
  display: flex;
  flex: 0 0 284px;
  flex-direction: column;
  gap: 12px;
  width: 284px;
  height: 144px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(15, 24, 39, 0.34);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.125), inset 0 0.5px 1px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  text-align: left;
  transition: background-color 160ms ease-out, border-color 160ms ease-out, box-shadow 160ms ease-out;
}

.home-hero-card[data-home-outcome-card] {
  cursor: pointer;
}

.home-hero-card:hover,
.home-hero-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.16);
  outline: 0;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 2px #40ede6, 0 2px 4px rgba(0, 0, 0, 0.125), inset 0 0.5px 1px rgba(255, 255, 255, 0.2);
}

.home-hero-card::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 59.1667px;
  background: url("./assets/figma-27a/home-card-bottom-blob.png") center / 100% 100% no-repeat;
  content: "";
  opacity: 0.5;
  pointer-events: none;
}

.home-hero-card > * {
  position: relative;
  z-index: 1;
}

.home-hero-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 16px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 16px;
}

.home-hero-card__meta .icon {
  width: 16px;
  height: 16px;
}

.home-hero-card__schedule {
  margin-left: auto;
}

.home-hero-card h2 {
  color: var(--text-primary);
  font-family: var(--font-editorial);
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  line-height: 20px;
}

.home-hero-card p {
  color: var(--text-primary);
  font-size: 12px;
  line-height: 16px;
}

@media (max-width: 1240px) {
  .home-page {
    padding-inline: 48px;
  }
}

@media (max-width: 720px) {
  .home-page {
    padding-inline: 24px;
  }

  .home-hero-card {
    flex-basis: min(284px, 100%);
    width: min(284px, 100%);
  }

  .home-mode-toggle {
    width: auto;
    flex: 0 0 auto;
  }

  .home-mode-toggle button:nth-child(n) {
    width: auto;
    padding-inline: 10px;
  }

  .home-ao__actions {
    padding-left: 8px;
  }

  .home-ao__actions button:not(.home-ao__submit) {
    display: none;
  }
}

.prototype-top-stripe {
  position: absolute;
  top: 0;
  right: 0;
  left: var(--home-nav-width);
  z-index: 4;
  display: block;
  width: calc(100% - var(--home-nav-width));
  height: 8px;
  object-fit: cover;
  object-position: left center;
  transition: left 260ms ease-out, width 260ms ease-out;
}

.prototype-frame.is-home-nav-expanded .prototype-top-stripe {
  left: var(--home-nav-expanded-width);
  width: calc(100% - var(--home-nav-expanded-width));
}

.advisor-home-nav {
  transition: width 260ms ease-out;
}

.prototype-frame .home-nav__avatar {
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 8px;
  background: #3b3832;
}

.prototype-frame .home-nav__footer {
  padding: 8px;
}

.advisor-workspace {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(var(--home-nav-width), calc((100% - 1460px) / 2));
  display: grid;
  grid-template-columns: minmax(468px, 996px) 464px;
  width: min(calc(100% - var(--home-nav-width)), 1460px);
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  transition: width 260ms ease-out, margin-left 260ms ease-out;
}

.prototype-frame.is-home-nav-expanded .advisor-workspace {
  width: min(calc(100% - var(--home-nav-expanded-width)), 1460px);
  left: max(var(--home-nav-expanded-width), calc((100% - 1460px) / 2));
  margin-left: 0;
}

.advisor-main {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.advisor-focus-return {
  position: absolute;
  top: 24px;
  right: 48px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
}

.advisor-focus-return .icon {
  width: 20px;
  height: 20px;
}

.advisor-header {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 30px 48px 24px;
}

.advisor-parent {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  min-height: 20px;
  padding: 0;
  border: 0;
  color: var(--link);
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}

.advisor-parent .icon {
  width: 20px;
  height: 20px;
  transform: rotate(180deg);
  filter: sepia(1) saturate(2) hue-rotate(355deg) brightness(1.1);
}

.advisor-header h1 {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.advisor-context {
  display: flex;
  gap: 24px;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 20px;
}

.advisor-context span {
  display: flex;
  gap: 4px;
}

.advisor-ao {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 52px;
  min-height: 52px;
  padding: 0 8px 0 16px;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: rgba(15, 24, 39, 0.9);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    inset 0 0.5px 1px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
}

.advisor-header > .advisor-ao {
  max-width: 800px;
  transition:
    height 220ms ease-out,
    min-height 220ms ease-out,
    margin-top 220ms ease-out,
    opacity 160ms ease-out,
    transform 220ms ease-out;
}

.advisor-frame.is-answer-resolving .advisor-header > .advisor-ao {
  height: 0;
  min-height: 0;
  margin-top: -20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
}

.advisor-ao.is-focused,
.advisor-ao.is-active {
  border: 2px solid #40ede6;
  padding: 0 6px 0 14px;
}

.advisor-ao__o {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.advisor-ao__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 50px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--text-secondary);
  background: transparent;
  caret-color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.advisor-ao__input::placeholder {
  color: var(--text-secondary);
  opacity: 1;
}

.advisor-ao.has-value .advisor-ao__input,
.advisor-ao__input:not(:placeholder-shown) {
  color: var(--text-primary);
}

.advisor-ao button {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
}

.advisor-ao button img {
  width: 36px;
  height: 36px;
}

.advisor-ao__submit {
  background: transparent !important;
}

.advisor-ao__submit[aria-disabled="false"] {
  cursor: pointer;
}

.app-header {
  position: relative;
}

.ao-suggestions {
  position: absolute;
  top: 220px;
  right: auto;
  left: 48px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  width: min(800px, calc(100% - 96px));
  padding: 8px 0;
  overflow: visible;
  border-radius: 8px;
  background: rgba(41, 71, 109, 0.6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(25px);
}

.ao-suggestions[hidden],
.ao-suggestions [hidden] {
  display: none;
}

.tactic-header > .ao-suggestions {
  top: 184px;
}

.ao-suggestions__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  max-height: 439px;
  overflow-x: clip;
  overflow-y: auto;
}

.ao-suggestions__list.has-open-picker {
  overflow: visible;
}

.ao-suggestions__prompt,
.ao-suggestions__variable-row {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  padding: 8px 16px;
  border: 0;
  color: var(--text-primary);
  background: transparent;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
}

.ao-suggestions__prompt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ao-suggestions__prompt:hover,
.ao-suggestions__variable-row:hover {
  background: var(--overlay-hover);
}

.ao-suggestions__prompt,
.ao-suggestions__variable-row,
.ao-variable-token,
.ao-variable-picker button {
  cursor: pointer !important;
}

.ao-suggestions__divider {
  width: 100%;
  height: 17px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-divider);
}

.ao-suggestions__group-label {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 32px;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 16px;
}

.ao-suggestions__variable-row {
  position: relative;
  gap: 4px;
  white-space: nowrap;
}

.ao-variable-token {
  min-width: 0;
  padding: 0;
  border: 0;
  color: #40ede6;
  background: transparent;
  font: inherit;
  font-weight: 600;
  line-height: inherit;
}

.ao-variable-token:hover,
.ao-variable-token[aria-expanded="true"] {
  color: #80edf3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ao-variable-picker {
  position: absolute;
  top: 32px;
  right: auto;
  left: 8px;
  z-index: 12;
  display: flex;
  flex-direction: column;
  width: 184px;
  padding: 8px 0;
  overflow: hidden;
  border: 1px solid var(--border-divider);
  border-radius: 8px;
  background: rgba(41, 71, 109, 0.98);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(25px);
}

.ao-variable-picker[hidden] {
  display: none;
}

.ao-variable-picker button {
  min-height: 36px;
  padding: 8px 16px;
  border: 0;
  color: var(--text-primary);
  background: transparent;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
}

.ao-variable-picker button:hover,
.ao-variable-picker button[aria-selected="true"] {
  background: var(--overlay-hover);
}

.ao-suggestions__footer {
  min-height: 32px;
  padding: 8px 16px 0;
  border-top: 1px solid var(--border-divider);
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 16px;
}

.ao-suggestions--standalone {
  top: 164px;
}

.ao-suggestions--above {
  top: auto;
  right: 0;
  bottom: 92px;
  left: var(--home-nav-width);
  width: min(calc(100% - var(--home-nav-width) - 96px), 800px);
  margin: 0 auto;
}

.prototype-frame.is-home-nav-expanded .ao-suggestions--above {
  left: var(--home-nav-expanded-width);
}

.advisor-scroll {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 0;
  padding: 24px 48px 100px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.advisor-frame.has-followup-answer .advisor-header {
  padding-bottom: 0;
}

.advisor-frame.has-followup-answer .advisor-scroll {
  padding-top: 12px;
}

.advisor-scroll > *,
.advisor-panel > * {
  flex-shrink: 0;
}

.advisor-scroll::-webkit-scrollbar,
.advisor-panel::-webkit-scrollbar,
.explore-content::-webkit-scrollbar {
  width: 8px;
}

.advisor-scroll::-webkit-scrollbar-track,
.advisor-panel::-webkit-scrollbar-track,
.explore-content::-webkit-scrollbar-track {
  background: transparent;
}

.advisor-scroll::-webkit-scrollbar-thumb,
.advisor-panel::-webkit-scrollbar-thumb,
.explore-content::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.24);
  background-clip: padding-box;
}

.advisor-scroll:focus {
  outline: 0;
}

.advisor-summary {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  max-width: 900px;
}

.advisor-summary__stripe {
  flex: 0 0 4px;
  width: 4px;
  min-height: 104px;
  border-radius: 4px;
  background: linear-gradient(180deg, #e96f5c 20.33%, #17bbb4 80.08%);
  box-shadow: 0 0 8px rgba(64, 237, 230, 0.35);
}

.advisor-summary > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
}

.advisor-summary h2,
.generated-card h2,
.explore-content h2,
.explore-result > h2 {
  font-family: var(--font-editorial);
  font-size: 40px;
  font-weight: 400;
  line-height: 52px;
}

.advisor-summary p {
  font-family: var(--font-editorial);
  font-size: 16px;
  line-height: 24px;
}

.advisor-section {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 380px;
  width: 100%;
  padding: 16px;
  border-radius: 16px;
}

.advisor-section:hover {
  background: var(--overlay-hover);
  box-shadow: inset 0 0 0 1px var(--border-divider);
}

.advisor-section.is-focus-expanding {
  background: transparent;
  box-shadow: none;
}

.advisor-section--focus {
  min-width: 0;
}

.advisor-section--focus:hover {
  background: transparent;
  box-shadow: none;
}

.focus-additional-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  margin-top: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border-divider);
}

.focus-audience-criteria {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.focus-audience-criteria h3 {
  font-size: 20px;
  line-height: 28px;
}

.focus-audience-criteria h4 {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 24px;
}

.focus-audience-criteria ul {
  margin: 0;
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.focus-transition-proxy {
  position: fixed;
  z-index: 1000;
  overflow: clip;
  margin: 0;
  pointer-events: none;
  color: var(--text-primary);
  background: #1a2e47;
  font-family: var(--font-ui);
  transform-origin: top left;
  will-change: top, left, width, height, opacity;
}

body.is-focus-transitioning .prototype-frame {
  pointer-events: none;
}

.answer-input-transition-proxy,
.answer-card-transition-proxy {
  position: fixed;
  margin: 0;
  pointer-events: none;
  transform-origin: top left;
  will-change: top, left, width, height, opacity, transform;
}

.answer-input-transition-proxy {
  z-index: 1002;
}

.answer-card-transition-proxy {
  z-index: 1001;
  overflow: clip;
}

body.is-answer-state-transitioning .app-frame,
body.is-answer-state-transitioning .prototype-frame {
  pointer-events: none;
}

.advisor-section__header {
  display: flex;
  gap: 8px;
  width: 100%;
}

.advisor-section__header > div {
  flex: 1 1 auto;
  min-width: 0;
}

.advisor-section__header h3 {
  display: flex;
  align-items: center;
  height: 36px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.advisor-section__header > div > span {
  display: block;
  width: 36px;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, #ff8c75, #9abef7, #80edf3);
}

.advisor-section--focus .advisor-section__header > div > span {
  display: none;
}

.advisor-section__expand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  opacity: 0;
  background: transparent;
}

.advisor-section:hover .advisor-section__expand,
.advisor-section__expand:focus-visible {
  opacity: 1;
}

.advisor-section__expand .icon {
  width: 20px;
  height: 20px;
}

.advisor-section__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.advisor-section__body > h2 {
  max-width: 800px;
  white-space: pre-line;
  font-family: var(--font-editorial);
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}

.tactic-objective-section .advisor-section__body > h2 {
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}

.advisor-section__body > p {
  max-width: 800px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
  white-space: pre-line;
}

.advisor-divider {
  width: 100%;
  height: 1px;
  background: var(--border-divider);
}

.advisor-chart {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding-top: 16px;
}

.advisor-chart h4,
.arr-chart h4,
.industry-distribution h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.advisor-chart > p,
.arr-chart > p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.advisor-chart__legend,
.role-chart__legend,
.arr-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--text-primary);
  font-size: 12px;
  line-height: 16px;
}

.advisor-chart__legend span,
.role-chart__legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.advisor-chart__legend i,
.industry-distribution span i {
  width: 10px;
  height: 10px;
}

.dvt-one { background: #57b8c2; }
.dvt-two { background: #af6109; }
.dvt-three { background: #28817e; }

.advisor-chart__plot {
  display: grid;
  grid-template-columns: 40px 1fr;
  height: 250px;
  margin-top: 8px;
}

.advisor-chart__axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 28px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 16px;
}

.advisor-chart__bars {
  position: relative;
  display: flex;
  align-items: end;
  height: 222px;
  margin-left: 12px;
  border-bottom: 1px solid var(--text-disabled);
  background: repeating-linear-gradient(to bottom, var(--text-disabled) 0 1px, transparent 1px 36px);
}

.advisor-chart__bar {
  position: relative;
  flex: 1 1 0;
  height: var(--bar-size);
  max-width: 33.333%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--bar-color);
}

.advisor-chart__bars > span {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  color: var(--text-secondary);
  font-size: 12px;
  text-align: center;
}

.advisor-link-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.advisor-subsection-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  overflow: hidden;
}

.advisor-subsection-actions button {
  height: 32px;
  padding: 6px 8px;
  border: 0;
  border-radius: 4px;
  color: var(--text-primary);
  background: var(--surface-solid);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
}

.advisor-subsection-actions button:not([aria-disabled="true"]):hover {
  background: rgba(255, 255, 255, 0.16);
}

.advisor-link-chips button,
.advisor-text-button,
.advisor-accept-button,
.tactic-list button {
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid var(--border-enabled);
  border-radius: 4px;
  color: var(--text-primary);
  background: var(--surface-solid);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.advisor-link-chips button:not([aria-disabled="true"]):hover,
.advisor-link-chips button:not([aria-disabled="true"]):focus-visible,
.advisor-text-button:hover,
.advisor-text-button:focus-visible,
.tactic-list button:not([aria-disabled="true"]):hover,
.tactic-list button:not([aria-disabled="true"]):focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.advisor-link-chips button:not([aria-disabled="true"]),
.advisor-subsection-actions button:not([aria-disabled="true"]),
[data-ask-oracle-prompt]:not([aria-disabled="true"]),
[data-apply-tactic-filter]:not([aria-disabled="true"]),
[data-close-answer],
[data-frame]:not([aria-disabled="true"]),
[data-prototype-link]:not([aria-disabled="true"]) {
  cursor: pointer;
}

.advisor-accept-button {
  align-self: flex-start;
  width: auto;
  color: #111;
  background: #fff;
}

.advisor-accept-button:hover,
.advisor-accept-button:focus-visible {
  background: rgba(255, 255, 255, 0.88);
}

.explore-filter-action {
  display: flex;
  width: 100%;
}

.tactic-filter-status {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 28px;
  margin: 8px 0 16px;
  padding: 4px 8px;
  border: 1px solid var(--border-enabled);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 12px;
  line-height: 18px;
}

.tactic-filter-status span {
  color: var(--text-secondary);
}

.tactic-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid var(--border-divider);
}

.tactic-list > div {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-divider);
}

.tactic-list > div > span {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tactic-list strong,
.tactic-list small {
  font-size: 14px;
  line-height: 20px;
}

.tactic-list small {
  color: var(--text-secondary);
  font-weight: 400;
}

.advisor-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 464px;
  height: 100%;
  min-height: 0;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.advisor-panel__header {
  display: flex;
  align-items: center;
  min-height: 52px;
}

.advisor-panel__header h2 {
  flex: 1 1 auto;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}

.advisor-panel__header button,
.advisor-mini-card button,
.advisor-priority__head button,
.audience-detail__title button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
}

.advisor-panel__header .icon,
.advisor-mini-card button .icon,
.advisor-priority__head .icon,
.audience-detail__title .icon {
  width: 20px;
  height: 20px;
}

.advisor-outcome {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 64px;
  padding: 12px 16px;
  overflow: hidden;
  border: 1px solid var(--border-divider);
  border-radius: 12px;
  color: #000;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.advisor-outcome:hover,
.advisor-outcome:focus-visible {
  outline: 2px solid #40ede6;
  outline-offset: 2px;
}

.advisor-outcome__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advisor-outcome__target,
.advisor-outcome > .icon {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
}

.advisor-outcome > div {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
}

.advisor-outcome strong { font-size: 14px; line-height: 20px; }
.advisor-outcome span { font-size: 12px; line-height: 16px; }

.advisor-panel__subhead {
  min-height: 52px;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}

.advisor-panel__spacer {
  height: 0;
}

.advisor-panel__header--comms {
  margin-top: -8px;
}

.advisor-panel__communications {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.advisor-mini-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 12px 16px;
  border-radius: 12px;
}

.advisor-mini-card:hover {
  background: var(--overlay-hover);
  box-shadow: inset 0 0 0 1px var(--border-divider);
}

.advisor-mini-card__avatar {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 24px;
  background: #03202a;
}

.advisor-mini-card__avatar .icon {
  width: 16px;
  height: 16px;
}

.advisor-mini-card > div:nth-child(2) {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.advisor-mini-card small,
.advisor-mini-card span {
  font-size: 12px;
  line-height: 16px;
}

.advisor-mini-card strong {
  margin: 2px 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.advisor-mini-card span {
  color: var(--text-secondary);
}

.advisor-priority-list {
  display: flex;
  flex-direction: column;
}

.advisor-priority {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
  padding: 16px;
  border-bottom: 1px solid var(--border-divider);
}

.advisor-priority__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.advisor-priority__head > small {
  flex: 1 1 auto;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 16px;
}

.advisor-priority__head > span {
  padding: 4px 10px;
  border-radius: 20px;
  color: white;
  background: var(--surface-warning-strong);
  font-size: 11px;
  line-height: 14px;
}

.advisor-priority h4 { font-size: 16px; line-height: 20px; }
.advisor-priority p { color: var(--text-secondary); font-size: 14px; line-height: 20px; }
.advisor-priority > small { color: var(--text-secondary); font-size: 12px; line-height: 16px; }

.advisor-solid-button {
  width: 100%;
  min-height: 36px;
  margin-top: 8px;
  border: 0;
  border-radius: 4px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 600;
}

.advisor-solid-button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.audience-detail {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.audience-detail__title {
  display: flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 16px;
}

.audience-detail__title h2 {
  flex: 1 1 auto;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.audience-detail > h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 28px;
}

.audience-detail > h4 {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 24px;
}

.audience-detail ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.arr-chart {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-divider);
}

.arr-chart__legend span::before {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  background: #57b8c2;
  content: "";
}

.audience-detail > .advisor-chart--breakdown,
.focus-additional-content > .advisor-chart--breakdown {
  min-height: 338px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-divider);
}

.advisor-chart--breakdown .advisor-chart__legend {
  gap: 12px;
}

.advisor-chart--breakdown .advisor-chart__legend span {
  flex: 0 1 auto;
}

.audience-detail__divider {
  width: 100%;
  height: 1px;
  margin-top: 32px;
  background: var(--border-divider);
}

.audience-detail .audience-table--focus,
.focus-additional-content .audience-table--focus {
  width: 100%;
  margin-top: 32px;
  padding-bottom: 32px;
}

.audience-detail .audience-table--focus h3,
.focus-additional-content .audience-table--focus h3 {
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.audience-detail .audience-table--focus > strong,
.focus-additional-content .audience-table--focus > strong {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 24px;
}

.audience-detail .audience-table--focus > small,
.focus-additional-content .audience-table--focus > small {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 20px;
}

.audience-table__scroll {
  width: 100%;
  overflow-x: auto;
}

.audience-detail .audience-table--focus table,
.focus-additional-content .audience-table--focus table {
  min-width: 720px;
  table-layout: fixed;
}

.audience-detail .audience-table--focus th,
.audience-detail .audience-table--focus td,
.focus-additional-content .audience-table--focus th,
.focus-additional-content .audience-table--focus td {
  height: 48px;
  padding: 14px 16px;
  overflow: hidden;
  border-color: var(--border-divider);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audience-detail .audience-table--focus th:first-child,
.audience-detail .audience-table--focus td:first-child,
.focus-additional-content .audience-table--focus th:first-child,
.focus-additional-content .audience-table--focus td:first-child {
  width: 28%;
}

.audience-detail .audience-table--focus th:nth-child(2),
.audience-detail .audience-table--focus td:nth-child(2),
.focus-additional-content .audience-table--focus th:nth-child(2),
.focus-additional-content .audience-table--focus td:nth-child(2) {
  width: 14%;
}

.audience-detail .audience-table--focus th:nth-child(3),
.audience-detail .audience-table--focus td:nth-child(3),
.focus-additional-content .audience-table--focus th:nth-child(3),
.focus-additional-content .audience-table--focus td:nth-child(3) {
  width: 24%;
}

.audience-detail .audience-table--focus th:nth-child(4),
.audience-detail .audience-table--focus td:nth-child(4),
.focus-additional-content .audience-table--focus th:nth-child(4),
.focus-additional-content .audience-table--focus td:nth-child(4) {
  width: 18%;
}

.audience-detail .audience-table--focus th:nth-child(5),
.audience-detail .audience-table--focus td:nth-child(5),
.focus-additional-content .audience-table--focus th:nth-child(5),
.focus-additional-content .audience-table--focus td:nth-child(5) {
  width: 16%;
}

.sample-records {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.sample-records__meta {
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 20px;
}

.sample-records__scroll {
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid var(--border-divider);
}

.sample-records table {
  width: 100%;
  min-width: max(720px, calc(var(--sample-column-count) * 144px));
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 20px;
}

.sample-records th,
.sample-records td {
  height: 44px;
  padding: 12px 16px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-divider);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sample-records th {
  color: var(--text-primary);
  font-weight: 600;
}

.sample-records td {
  color: var(--text-secondary);
}

.account-table-link {
  display: block;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: var(--link);
  background: transparent;
  font: inherit;
  font-weight: 600;
  line-height: inherit;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.account-table-link:hover,
.account-table-link:focus-visible {
  color: #fff2b3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-table-link:focus-visible {
  outline: 2px solid #40ede6;
  outline-offset: 3px;
}

.sample-records--short th:nth-child(1),
.sample-records--short td:nth-child(1) {
  width: 28%;
}

.sample-records--short table {
  min-width: 0;
}

.sample-records--short th:nth-child(2),
.sample-records--short td:nth-child(2) {
  width: 14%;
}

.sample-records--short th:nth-child(3),
.sample-records--short td:nth-child(3) {
  width: 24%;
}

.sample-records--short th:nth-child(4),
.sample-records--short td:nth-child(4) {
  width: 18%;
}

.sample-records--short th:nth-child(5),
.sample-records--short td:nth-child(5) {
  width: 16%;
}

.sample-records--explore {
  width: 100%;
  max-width: 1200px;
}

.generated-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 320px;
  min-height: 220px;
  padding: 32px;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(149.172deg, rgba(255, 255, 255, 0.02) 1.373%, rgba(255, 255, 255, 0.04) 26.416%);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.13),
    inset 0 0.5px 1px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}

.app-frame.has-command-answer .main-content > .generated-card {
  flex: 0 0 auto;
  margin-bottom: 48px;
}

.app-frame.is-answer-entering .main-content > .generated-card {
  animation: advisor-answer-enter 220ms ease-out both;
}

.generated-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(
    114.4deg,
    #80edf3 2.3%,
    #ff8c75 10.8%,
    rgba(255, 140, 117, 0) 19.1%
  );
  content: "";
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.generated-card > * {
  position: relative;
  z-index: 1;
}

.generated-card--loading {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04));
}

.advisor-frame.is-answer-resolving .generated-card--loading {
  opacity: 0.55;
  transform: translateY(-4px);
  transition: opacity 160ms ease-out, transform 220ms ease-out;
}

.advisor-frame.is-answer-entering .generated-card {
  animation: advisor-answer-enter 220ms ease-out both;
}

@keyframes advisor-answer-enter {
  from {
    opacity: 0.55;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.generated-card--follow-up {
  border-radius: 16px 16px 24px 24px;
}

.generated-card__prompt-row {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 36px;
}

.generated-card--loading .generated-card__prompt-row {
  min-height: 20px;
  padding-right: 16px;
}

.generated-card__prompt {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 16px;
  color: var(--text-secondary);
  font-family: var(--font-editorial);
  font-size: 14px;
  font-style: italic;
  line-height: 20px;
}

.generated-label {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 16px;
}

.generated-card__loading,
.generated-card__body,
.generated-card__text,
.generated-card__response,
.generated-card__transactions,
.generated-card__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.generated-card__loading,
.generated-card__body {
  gap: 16px;
}

.generated-card__text {
  gap: 8px;
  width: 100%;
  max-width: 800px;
}

.generated-card__text strong,
.generated-card__text p,
.generated-card__response {
  font-size: 14px;
  line-height: 20px;
}

.generated-card__text p,
.generated-card__response,
.generated-card__response p {
  color: var(--text-secondary);
}

.generated-card__response {
  width: 100%;
  margin-top: 8px;
  padding: 16px 0;
  border-radius: 4px;
}

.generated-card__transactions {
  flex-direction: row;
  gap: 8px;
}

.generated-card__footer {
  gap: 16px;
  width: 100%;
}

.generated-card__close {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
}

.generated-card__close:hover,
.generated-card__close:focus-visible,
.generated-card .advisor-ao button:not([aria-disabled="true"]):hover,
.generated-card .advisor-ao button:not([aria-disabled="true"]):focus-visible {
  background: var(--overlay-hover);
}

.prototype-frame .generated-card button:not([aria-disabled="true"]) {
  cursor: pointer;
}

.generated-card .advisor-ao__submit:not([aria-disabled="true"]):hover,
.generated-card .advisor-ao__submit:not([aria-disabled="true"]):focus-visible {
  background: var(--overlay-hover) !important;
}

.generated-card__close .icon { width: 20px; height: 20px; }

.generated-card .advisor-ao {
  flex: 0 0 auto;
  width: 100%;
}

.generated-card__criteria {
  font-size: 14px;
  line-height: 20px;
}

.generated-card__criteria ul {
  margin: 4px 0 0;
  padding-left: 20px;
}

.prototype-skeleton {
  position: relative;
  width: 240px;
  height: 40px;
}

.prototype-skeleton__bar {
  position: absolute;
  left: 0;
  height: 16px;
  border-radius: 4px;
  background-image: url("./assets/figma-27a/bloom-gradient-texture.png");
  background-size: 480px 16px;
  opacity: 0.32;
  animation: prototype-bloom 1.2s linear infinite;
}

.prototype-skeleton__bar--wide { top: 0; width: 240px; }
.prototype-skeleton__bar--short { top: 24px; width: 160px; }

@keyframes prototype-bloom {
  from { background-position: 0 0; }
  to { background-position: 480px 0; }
}

.program-shell-loading,
.tactic-loading-content {
  gap: 32px;
}

.tactic-loading-summary,
.tactic-loading-section {
  position: relative;
  min-height: 160px;
  padding: 16px;
}

.tactic-loading-summary {
  display: grid;
  grid-template-columns: 4px 1fr;
  column-gap: 24px;
}

.tactic-loading-summary .advisor-summary__stripe {
  grid-row: 1 / 4;
  min-height: 72px;
}

.tactic-loading-summary p,
.tactic-loading-section p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 16px;
}

.tactic-loading-section h3 {
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 20px;
}

.advisor-panel--loading > div:last-child {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--text-secondary);
  font-size: 14px;
}

.advisor-panel--loading > div:last-child img {
  width: 250px;
  height: 150px;
  object-fit: contain;
}

.tactic-header {
  gap: 20px;
}

.tactic-header .advisor-parent {
  margin-bottom: 0;
}

.tactic-header .advisor-ao {
  margin-top: 4px;
}

.role-chart {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
}

.role-chart__legend i {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  background: var(--legend-color);
}

.role-chart__plot {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  height: 300px;
}

.role-chart__axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 260px;
  padding-right: 8px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 16px;
  text-align: right;
}

.role-chart__bars {
  position: relative;
  display: flex;
  align-items: end;
  gap: 8px;
  height: 260px;
  padding: 0 60px;
  border-bottom: 1px solid var(--text-disabled);
  background: repeating-linear-gradient(to bottom, var(--text-disabled) 0 1px, transparent 1px 65px);
}

.role-chart__bar {
  position: relative;
  flex: 1 1 0;
  height: var(--bar-size);
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--bar-color);
}

.advisor-chart__bar::before,
.advisor-chart__bar::after,
.role-chart__bar::before,
.role-chart__bar::after {
  position: absolute;
  left: 50%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 120ms ease-out, transform 120ms ease-out;
}

.advisor-chart__bar::before,
.role-chart__bar::before {
  bottom: calc(100% + 4px);
  width: 0;
  height: 0;
  border-top: 5px solid #101820;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: "";
}

.advisor-chart__bar::after,
.role-chart__bar::after {
  bottom: calc(100% + 9px);
  min-width: max-content;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: #fff;
  background: #101820;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  content: attr(data-tooltip);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  white-space: nowrap;
}

.advisor-chart__bar:hover,
.advisor-chart__bar:focus-visible,
.role-chart__bar:hover,
.role-chart__bar:focus-visible {
  filter: brightness(1.08);
  outline: 2px solid rgba(255, 255, 255, 0.88);
  outline-offset: -2px;
}

.advisor-chart__bar:hover::before,
.advisor-chart__bar:hover::after,
.advisor-chart__bar:focus-visible::before,
.advisor-chart__bar:focus-visible::after,
.role-chart__bar:hover::before,
.role-chart__bar:hover::after,
.role-chart__bar:focus-visible::before,
.role-chart__bar:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.role-chart > p { font-size: 16px; line-height: 20px; }
.role-chart > small { color: var(--text-secondary); font-size: 14px; line-height: 20px; }

.tactic-audience-detail {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.tactic-audience-detail__title {
  display: flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 16px;
}

.tactic-audience-detail__title h2 {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.tactic-audience-detail > h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 30px;
}

.tactic-audience-detail > h4 {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 24px;
}

.tactic-audience-detail > ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.tactic-audience-detail__charts {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  margin-top: 8px;
  padding: 24px 0 16px;
  border-top: 1px solid var(--border-divider);
}

.tactic-focus-chart {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-height: 338px;
}

.tactic-focus-chart + .tactic-focus-chart {
  padding-top: 32px;
  border-top: 1px solid var(--border-divider);
}

.tactic-focus-chart > header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tactic-focus-chart > header h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.tactic-focus-chart > header p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.tactic-focus-chart__plot {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  height: 260px;
}

.tactic-focus-chart__axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 224px;
  padding-right: 8px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 16px;
  text-align: right;
}

.tactic-focus-chart__bars {
  position: relative;
  display: flex;
  align-items: end;
  gap: 8px;
  height: 224px;
  padding: 0 24px;
  border-bottom: 1px solid var(--text-disabled);
  background: repeating-linear-gradient(to bottom, var(--text-disabled) 0 1px, transparent 1px 37px);
}

.tactic-focus-chart__bars .role-chart__bar > span {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: 100%;
  min-width: max-content;
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
  transform: translateX(-50%);
}

.tactic-contact-table {
  width: 100%;
  margin-top: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border-divider);
}

.tactic-contact-table h3 {
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.tactic-contact-table > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 24px;
}

.tactic-contact-table > small {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.tactic-contact-table table {
  min-width: 920px;
  table-layout: fixed;
}

.tactic-contact-table th,
.tactic-contact-table td {
  height: 48px;
  padding: 14px 16px;
  overflow: hidden;
  border-color: var(--border-divider);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tactic-contact-table th:first-child,
.tactic-contact-table td:first-child { width: 16%; }
.tactic-contact-table th:nth-child(2),
.tactic-contact-table td:nth-child(2) { width: 28%; }
.tactic-contact-table th:nth-child(3),
.tactic-contact-table td:nth-child(3) { width: 16%; }
.tactic-contact-table th:nth-child(4),
.tactic-contact-table td:nth-child(4) { width: 16%; }
.tactic-contact-table th:nth-child(5),
.tactic-contact-table td:nth-child(5) { width: 24%; }

.email-variants {
  display: grid;
  grid-template-columns: repeat(auto-fit, 244px);
  justify-content: center;
  column-gap: clamp(16px, 4%, 40px);
  row-gap: 40px;
  max-width: 100%;
  width: 100%;
  padding: 16px 0;
}

.email-variant-card {
  display: flex;
  flex: 0 0 244px;
  flex-direction: column;
  width: 244px;
  overflow: hidden;
  border: 1px solid var(--border-divider);
  border-radius: 8px;
}

.email-variant-card__preview {
  flex: 0 0 244px;
  width: 244px;
  height: 244px;
  overflow: hidden;
}

.email-variant-card__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.email-variant-card__footer {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-height: 0;
  padding: 16px 16px 24px;
  background: #06485f;
}

.email-variant-card__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.email-variant-card__text strong {
  font-size: 16px;
  line-height: 20px;
}

.email-variant-card__text small {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-explore-mode {
  min-width: 0;
}

.explore-frame {
  --explore-nav-offset: var(--home-nav-width);
  min-width: 0;
  background: #20243b;
}

.explore-frame.is-home-nav-expanded {
  --explore-nav-offset: var(--home-nav-expanded-width);
}

.explore-frame .advisor-home-nav {
  z-index: 12;
}

.explore-page {
  position: absolute;
  inset: 0 0 0 var(--explore-nav-offset);
  min-width: 0;
  overflow: hidden;
  transition: left 260ms ease-out;
}

.explore-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, #213959 21.524%, #20243b 93.75%, #123d4c 100%);
}

.explore-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 120px;
  padding: 24px 48px 16px;
  background: linear-gradient(180deg, #213959 0%, rgba(33, 57, 89, 0) 100%);
  backdrop-filter: blur(12px);
}

.explore-header__nav-row,
.explore-header__title-row {
  display: flex;
  align-items: center;
  min-height: 36px;
}

.explore-parent {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 0;
  border: 0;
  color: var(--link);
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  text-align: left;
}

.explore-parent .icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  transform: rotate(180deg);
  filter: sepia(1) saturate(2) hue-rotate(355deg) brightness(1.1);
}

.explore-parent span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explore-header__toolbar,
.explore-response-toolbar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.explore-header__toolbar button,
.explore-response-toolbar button,
.explore-anchor-navigation button,
.explore-mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 8px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.explore-header__toolbar button:hover,
.explore-response-toolbar button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.explore-header__toolbar .icon,
.explore-response-toolbar .icon,
.explore-mobile-nav-toggle .icon {
  width: 20px;
  height: 20px;
}

.explore-header h1 {
  min-width: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}

.explore-scroll {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.explore-thread {
  display: flex;
  flex-direction: column;
  gap: 72px;
  width: min(1400px, calc(100% - 48px));
  min-height: 100%;
  margin: 0 auto;
  padding: 132px 0 180px;
}

.explore-turn {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.explore-turn__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.explore-history-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.explore-history-divider__line {
  flex: 1 1 0;
  min-width: 0;
  height: 1px;
  background: var(--border-divider);
}

.explore-history-divider time {
  flex: 0 0 auto;
  color: var(--text-secondary);
  font-family: var(--font-editorial);
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
}

.explore-user-prompt {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: min(100%, 800px);
}

.explore-user-prompt p {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--text-secondary);
  font-family: var(--font-editorial);
  font-size: 24px;
  font-style: italic;
  line-height: 32px;
}

.explore-user-prompt button {
  display: flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 2px;
  border: 0;
  background: transparent;
}

.explore-user-prompt .icon {
  width: 20px;
  height: 20px;
}

.explore-agent-response {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.explore-response-toolbar {
  height: 36px;
  gap: 4px;
}

.explore-response-toolbar button {
  background: transparent;
}

.explore-response-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.explore-copy-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100%, 800px);
}

.explore-copy-block h2,
.audience-table h3 {
  color: #fff;
  font-family: var(--font-editorial);
  font-size: 40px;
  font-weight: 400;
  line-height: 52px;
  overflow-wrap: anywhere;
}

.explore-copy-block strong,
.explore-copy-block p {
  color: #fff;
  font-size: 14px;
  line-height: 20px;
}

.explore-copy-block strong {
  font-weight: 700;
}

.ao-clarification-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(100%, 800px);
}

.ao-clarification-options button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--border-enabled);
  border-radius: 4px;
  color: var(--text-primary);
  background: var(--surface-solid);
  font: 600 14px/20px var(--font-ui);
  cursor: pointer;
}

.ao-clarification-options button:hover,
.ao-clarification-options button:focus-visible {
  background: var(--overlay-hover);
}

.ao-clarification-options button strong {
  font: inherit;
}

.ao-clarification-options--accounts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  width: 100%;
  max-width: 960px;
}

.ao-clarification-options--accounts button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 64px;
  text-align: left;
}

.ao-clarification-options--accounts button span {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.account-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  min-width: 0;
  color: var(--text-primary);
  font-family: var(--font-ui);
}

.account-detail__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  background: #194251;
}

.account-detail__intro > span,
.account-detail__section h3 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.75px;
  font-weight: 400;
  line-height: 16px;
}

.account-detail__intro h2 {
  color: #fff;
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}

.account-detail__intro p {
  max-width: 920px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.75px;
  line-height: 20px;
}

.account-detail__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  border-top: 1px solid var(--border-divider);
  border-bottom: 1px solid var(--border-divider);
}

.account-detail__metrics div {
  min-width: 0;
  padding: 12px 16px;
  border-right: 1px solid var(--border-divider);
}

.account-detail__metrics div:last-child {
  border-right: 0;
}

.account-detail__metrics dt {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 16px;
}

.account-detail__metrics dd {
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-detail__section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.account-detail__section--products {
  padding: 16px 16px 24px;
  border-radius: 16px;
  background: #194251;
}

.account-page-header {
  padding-bottom: 20px;
}

.account-page-header .advisor-context {
  flex-wrap: wrap;
}

.account-page-header > .advisor-ao {
  margin-top: 4px;
}

.account-page-scroll {
  gap: 0;
  padding-top: 12px;
}

.account-page-summary {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  padding: 8px 0 40px;
}

.item-level-loading-summary {
  min-height: 224px;
}

.item-level-loading-summary > div {
  justify-content: flex-start;
}

.item-level-loading-label,
.item-level-loading-section .account-page-section__header p {
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 20px;
}

.item-level-loading-summary .prototype-skeleton,
.item-level-loading-section .prototype-skeleton {
  width: min(100%, 560px);
  margin-top: 8px;
}

.account-page-summary > div {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.account-page-summary__eyebrow,
.account-page-section__header > span {
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.account-page-summary h2 {
  max-width: 840px;
  font-family: var(--font-editorial);
  font-size: 40px;
  font-weight: 400;
  line-height: 52px;
}

.account-page-summary > div > p:not(.account-page-summary__eyebrow),
.account-page-section__header p,
.account-page-summary__analysis li {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.account-page-summary__analysis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  max-width: 900px;
  padding-top: 8px;
}

.account-page-summary h3 {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.account-page-summary ul {
  margin: 0;
  padding-left: 20px;
}

.account-page-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 40px 0 48px;
  border-top: 1px solid var(--border-divider);
}

.item-level-loading-section {
  min-height: 224px;
}

.item-level-loading-section .account-page-section__header h2 {
  color: var(--text-primary);
}

.account-detail__metrics--answer {
  margin-top: 20px;
}

.generated-card .account-page-table {
  margin-top: 24px;
}

.account-page-section__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 900px;
}

.account-page-section__header h2 {
  font-family: var(--font-editorial);
  font-size: 28px;
  font-weight: 400;
  line-height: 36px;
}

.account-page-table {
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid var(--border-divider);
}

.account-page-table:focus {
  outline: 0;
}

.account-page-table table {
  width: 100%;
  min-width: max(760px, calc(var(--account-page-columns) * 144px));
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 20px;
}

.account-page-table th,
.account-page-table td {
  height: 48px;
  padding: 14px 16px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-divider);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-page-table th {
  color: var(--text-primary);
  font-weight: 600;
}

.account-page-table td {
  color: var(--text-secondary);
}

.account-page-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 12px;
  color: #071018;
  background: #a9b2bc;
  font-size: 12px;
  line-height: 16px;
}

.account-page-status.is-critical { background: #ff6b57; }
.account-page-status.is-high-risk { background: #e6a13b; }
.account-page-status.is-positive { background: #8fac55; }
.account-page-status.is-in-progress { background: #70afd0; }

.account-page-panel .advisor-priority__body p {
  overflow-wrap: anywhere;
}

.buyer-profile-header h1 {
  max-width: 760px;
}

.buyer-profile-scroll {
  padding-bottom: 72px;
}

.buyer-profile-summary__analysis {
  align-items: start;
}

.buyer-profile-purchase-role {
  padding-left: 24px;
  border-left: 1px solid var(--border-divider);
}

.buyer-profile-purchase-role p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.buyer-activity-section {
  gap: 28px;
}

.buyer-activity-list {
  width: min(100%, 760px);
  color: var(--text-primary);
  font-family: var(--font-ui);
}

.buyer-activity-group {
  position: relative;
}

.buyer-activity-group + .buyer-activity-group {
  margin-top: 24px;
}

.buyer-activity-group__label {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 24px;
}

.buyer-activity-group__label > span {
  position: relative;
  display: block;
  width: 40px;
  height: 24px;
}

.buyer-activity-group__label > span::after {
  position: absolute;
  top: 10px;
  left: 18px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-secondary);
  content: "";
}

.buyer-activity-group__label h3 {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.buyer-activity-group__items {
  position: relative;
}

.buyer-activity-group__items::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 19px;
  width: 1px;
  background: var(--border-divider);
  content: "";
}

.buyer-activity-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
}

.buyer-activity-item__rail {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.buyer-activity-item__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #6f8092;
  border-radius: 50%;
  background: #16273d;
}

.buyer-activity-item.is-emphasized .buyer-activity-item__icon {
  border-color: #8ee9e4;
  box-shadow: 0 0 0 1px rgb(142 233 228 / 18%);
}

.buyer-activity-item__icon .icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: .9;
}

.buyer-activity-item__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-top: 1px;
}

.buyer-activity-item__content h4 {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}

.buyer-activity-item__content time {
  color: var(--text-secondary);
  font-size: 13.75px;
  line-height: 16px;
}

.buyer-activity-item__content p {
  max-width: 640px;
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 20px;
}

.buyer-profile-panel .advisor-panel__communications {
  margin-top: 0;
}

.buyer-profile-panel .advisor-mini-card {
  cursor: default;
}

.account-detail__table-scroll {
  width: 100%;
  overflow-x: auto;
}

.account-detail table {
  width: 100%;
  min-width: max(680px, calc(var(--account-detail-columns) * 136px));
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--text-primary);
  font-size: 13.75px;
  line-height: 20px;
}

.account-detail th,
.account-detail td {
  height: 40px;
  padding: 10px 8px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-detail th {
  color: var(--text-primary);
  font-weight: 600;
}

.account-detail td {
  color: var(--text-secondary);
  font-weight: 400;
}

.account-detail__section--products th,
.account-detail__section--products td {
  color: #fff;
}

.account-detail__section--products th:nth-child(1) { width: 16%; }
.account-detail__section--products th:nth-child(2) { width: 18%; }
.account-detail__section--products th:nth-child(3) { width: 17%; }
.account-detail__section--products th:nth-child(4) { width: 16%; }
.account-detail__section--products th:nth-child(5) { width: 33%; }

.account-detail__source {
  color: var(--text-secondary);
  font-size: 13.75px;
  line-height: 20px;
}

.account-detail__source span {
  color: #f8c75a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.account-detail--explore {
  max-width: 1200px;
}

.account-detail--explore .account-detail__intro h2 {
  font-size: 24px;
  line-height: 32px;
}

.ao-distribution-chart {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(100%, 960px);
  margin: 0;
}

.ao-distribution-chart figcaption h3 {
  color: var(--text-primary);
  font: 600 18px/24px var(--font-ui);
}

.ao-distribution-chart__summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}

.ao-distribution-chart__summary p {
  color: var(--text-secondary);
  font: 400 14px/20px var(--font-ui);
}

.ao-distribution-chart__bar-layout {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
}

.ao-distribution-chart__axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 264px;
  padding-top: 1px;
  color: var(--text-secondary);
  font: 400 12px/16px var(--font-ui);
  text-align: right;
}

.ao-distribution-chart__bars {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  height: 320px;
  padding-top: 0;
  overflow-x: auto;
  background: transparent;
}

.ao-distribution-chart__bars::before {
  position: absolute;
  inset: 0 0 56px;
  border-bottom: 1px solid var(--border-divider);
  background: repeating-linear-gradient(to bottom, var(--border-divider) 0 1px, transparent 1px 20%);
  content: "";
  pointer-events: none;
}

.ao-distribution-chart__bars button {
  position: relative;
  display: grid;
  flex: 1 0 96px;
  grid-template-rows: 264px 56px;
  align-items: end;
  min-width: 96px;
  height: 100%;
  padding: 0;
  border: 0;
  color: var(--text-secondary);
  background: transparent;
  font: 400 12px/16px var(--font-ui);
  cursor: default;
  z-index: 1;
}

.ao-distribution-chart__bars button i {
  display: block;
  grid-row: 1;
  width: 100%;
  height: var(--bar-height);
  background: var(--series-color);
  transition: filter 120ms ease-out;
}

.ao-distribution-chart__bars button > span {
  display: -webkit-box;
  grid-row: 2;
  align-self: start;
  padding-top: 8px;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ao-distribution-chart__bars button::after,
.ao-distribution-chart__legend button::after {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 3;
  width: max-content;
  max-width: 220px;
  padding: 6px 8px;
  border-radius: 4px;
  color: #fff;
  background: #101820;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
  content: attr(data-tooltip);
  font: 400 12px/16px var(--font-ui);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 120ms ease-out, transform 120ms ease-out;
}

.ao-distribution-chart__bars button:hover i,
.ao-distribution-chart__bars button:focus-visible i {
  filter: brightness(1.22);
}

.ao-distribution-chart__bars button:hover::after,
.ao-distribution-chart__bars button:focus-visible::after,
.ao-distribution-chart__legend button:hover::after,
.ao-distribution-chart__legend button:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.ao-distribution-chart__pie-layout {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.ao-distribution-chart__pie {
  position: relative;
  display: flex;
  flex: 0 0 280px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pie-segments);
}

.ao-distribution-chart__pie::after {
  position: absolute;
  inset: 74px;
  border-radius: 50%;
  background: var(--background-20);
  content: "";
}

.ao-distribution-chart__pie strong,
.ao-distribution-chart__pie span {
  position: relative;
  z-index: 1;
}

.ao-distribution-chart__pie strong {
  color: var(--text-primary);
  font: 600 24px/32px var(--font-ui);
}

.ao-distribution-chart__pie span {
  color: var(--text-secondary);
  font: 400 12px/16px var(--font-ui);
}

.ao-distribution-chart__legend {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 240px;
}

.ao-distribution-chart__legend button {
  position: relative;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 10px 8px;
  border: 0;
  border-bottom: 1px solid var(--border-divider);
  color: var(--text-primary);
  background: transparent;
  font: 400 14px/20px var(--font-ui);
  text-align: left;
  cursor: default;
}

.ao-distribution-chart__legend button:hover,
.ao-distribution-chart__legend button:focus-visible {
  background: var(--overlay-hover);
}

.ao-distribution-chart__legend button i {
  width: 10px;
  height: 10px;
  background: var(--series-color);
}

.ao-distribution-chart__legend button strong {
  font-weight: 600;
}

.explore-generating {
  width: min(100%, 800px);
}

.explore-generating > p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.audience-table {
  width: 100%;
  margin: 0;
  overflow-x: auto;
}

.audience-table h3 {
  margin-bottom: 16px;
}

.audience-table > strong,
.audience-table > small {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 20px;
}

.audience-table > small {
  color: var(--text-secondary);
  font-size: 14px;
}

.audience-table table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 20px;
}

.audience-table th,
.audience-table td {
  height: 48px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-divider);
  text-align: left;
}

.audience-table th {
  font-weight: 600;
}

.industry-distribution {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin: 0;
}

.industry-distribution figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.industry-distribution figcaption h3,
.industry-distribution figcaption p {
  font-size: 14px;
  line-height: 20px;
}

.industry-distribution figcaption span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
}

.industry-distribution figcaption span i {
  width: 8px;
  height: 8px;
  background: #28817e;
}

.industry-bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 240px;
  margin-top: 8px;
  border-bottom: 1px solid var(--border-divider);
  background: repeating-linear-gradient(to bottom, var(--border-divider) 0 1px, transparent 1px 40px);
}

.industry-bars button {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: flex-end;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.industry-bars button i {
  display: block;
  width: 100%;
  height: calc(var(--bar-value) * 1%);
  background: #2b7678;
  transition: filter 120ms ease-out;
}

.industry-bars button:hover i,
.industry-bars button:focus-visible i {
  filter: brightness(1.22);
}

.industry-bars button::after {
  position: absolute;
  bottom: calc(var(--bar-value) * 1% + 8px);
  left: 50%;
  z-index: 2;
  width: max-content;
  max-width: 180px;
  padding: 6px 8px;
  border-radius: 4px;
  color: #fff;
  background: #101820;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
  content: attr(data-tooltip);
  font-size: 12px;
  line-height: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 120ms ease-out, transform 120ms ease-out;
}

.industry-bars button:hover::after,
.industry-bars button:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.explore-anchor-navigation {
  position: absolute;
  top: 50%;
  right: 48px;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 36px;
  padding: 8px 0 16px;
  border-radius: 24px;
  background: rgba(41, 71, 109, 0.6);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.13), inset 0 0.5px 1px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(3px);
  transform: translateY(-50%);
}

.explore-anchor-navigation button {
  background: transparent;
}

.explore-anchor-navigation__indicator {
  width: 34px !important;
  min-width: 34px !important;
  height: 24px !important;
  padding: 8px !important;
}

.explore-anchor-navigation__indicator span {
  width: 2px;
  height: 16px;
  border-radius: 2px;
  background: var(--text-secondary);
}

.explore-anchor-navigation__indicator.is-active span {
  width: 4px;
  background: #40ede6;
}

.explore-ao-container {
  position: absolute;
  right: 0;
  bottom: 0;
  left: var(--explore-nav-offset);
  z-index: 9;
  height: 84px;
  background: linear-gradient(180deg, rgba(22, 39, 61, 0) 0%, #16273d 100%);
  backdrop-filter: blur(1px);
  transition: left 260ms ease-out;
}

.advisor-ao--explore {
  position: absolute;
  bottom: 32px;
  left: 50%;
  width: min(calc(100% - 96px), 800px);
  transform: translateX(-50%);
}

.explore-ao__desktop-tools,
.explore-mobile-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
}

.explore-ao__desktop-tools button,
.explore-mobile-toolbar button,
.explore-mode-toggle button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
}

.explore-ao__desktop-tools img,
.explore-mobile-toolbar img {
  width: 20px;
  height: 20px;
}

.explore-ao__mobile-tools,
.explore-home-indicator,
.explore-ao__mobile-label,
.explore-mobile-nav-toggle {
  display: none;
}

@media (max-width: 1280px) {
  .advisor-header,
  .advisor-scroll {
    padding-right: 32px;
    padding-left: 32px;
  }

  .ao-suggestions {
    right: auto;
    left: 32px;
    width: min(800px, calc(100% - 64px));
  }

  .ao-suggestions--standalone {
    left: 48px;
    width: min(800px, calc(100% - 96px));
  }

  .ao-suggestions--above {
    right: 0;
    left: var(--home-nav-width);
    width: min(calc(100% - var(--home-nav-width) - 64px), 800px);
  }

  .prototype-frame.is-home-nav-expanded .ao-suggestions--above {
    left: var(--home-nav-expanded-width);
  }

  .advisor-summary h2 {
    font-size: 34px;
    line-height: 44px;
  }

  .account-page-summary h2 {
    font-size: 34px;
    line-height: 44px;
  }

}

@media (max-width: 700px) {
  .account-page-summary__analysis {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .buyer-profile-purchase-role {
    padding-top: 20px;
    padding-left: 0;
    border-top: 1px solid var(--border-divider);
    border-left: 0;
  }

  .account-page-summary h2 {
    font-size: 30px;
    line-height: 40px;
  }

  .account-page-section__header h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .account-page-table table {
    min-width: max(720px, calc(var(--account-page-columns) * 136px));
  }

  .account-detail__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-detail__metrics div:nth-child(2) {
    border-right: 0;
  }

  .account-detail__metrics div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border-divider);
  }

  .account-detail__intro,
  .account-detail__section--products {
    padding: 16px;
  }

  .explore-header {
    padding-right: 28px;
    padding-left: 28px;
  }

  .explore-thread {
    width: calc(100% - 64px);
    padding-bottom: 210px;
  }

  .explore-copy-block h2,
  .audience-table h3 {
    font-size: 32px;
    line-height: 40px;
  }

  .ao-distribution-chart__pie-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .ao-distribution-chart__pie {
    flex-basis: 240px;
    width: 240px;
  }

  .ao-distribution-chart__pie::after {
    inset: 64px;
  }

  .ao-distribution-chart__legend {
    width: 100%;
  }

  .explore-anchor-navigation {
    right: 16px;
  }

  .explore-ao-container {
    right: 0;
    left: 0;
    height: 130px;
    background: rgba(15, 24, 39, 0.96);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
  }

  .advisor-ao--explore {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
  }

  .advisor-ao--explore.is-active {
    border-width: 0 0 2px;
    padding: 0 8px 0 16px;
  }

  .explore-ao__desktop-label,
  .explore-ao__desktop-tools {
    display: none;
  }

  .explore-ao__mobile-label,
  .explore-ao__mobile-tools,
  .explore-home-indicator {
    display: flex;
  }

  .explore-ao__mobile-tools {
    position: absolute;
    top: 52px;
    right: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    padding: 0 8px 8px;
  }

  .explore-mode-toggle {
    display: flex;
    align-items: center;
    height: 36px;
    overflow: hidden;
    border: 1px solid var(--border-divider);
    border-radius: 4px;
  }

  .explore-mode-toggle button {
    border-right: 1px solid var(--border-divider);
    border-radius: 0;
  }

  .explore-mode-toggle button:last-child {
    border-right: 0;
  }

  .explore-mode-toggle button.is-selected {
    background: rgba(255, 255, 255, 0.1);
  }

  .explore-mode-toggle .icon {
    width: 16px;
    height: 16px;
  }

  .explore-home-indicator {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    height: 34px;
  }

  .explore-home-indicator span {
    width: 134px;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.7);
  }

  .ao-suggestions--above {
    bottom: 138px;
  }

  .explore-frame .home-nav {
    bottom: 130px;
    height: auto;
  }
}

@media (max-width: 520px) {
  .explore-frame {
    --explore-nav-offset: 0px;
  }

  .explore-frame .home-nav {
    transform: translateX(-100%);
    transition: width 260ms ease-out, transform 260ms ease-out;
  }

  .explore-frame.is-mobile-nav-open .home-nav {
    transform: translateX(0);
  }

  .explore-frame.is-mobile-nav-open .explore-page {
    left: var(--home-nav-width);
  }

  .explore-mobile-nav-toggle {
    position: absolute;
    top: 16px;
    left: 8px;
    z-index: 11;
    display: flex;
    background: rgba(255, 255, 255, 0.1);
  }

  .explore-frame.is-mobile-nav-open .explore-mobile-nav-toggle {
    opacity: 0;
    pointer-events: none;
  }

  .explore-frame:not(.is-mobile-nav-open) .explore-header__nav-row {
    padding-left: 24px;
  }

  .explore-header {
    padding-right: 28px;
    padding-left: 28px;
  }

  .explore-parent span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
  }

  .explore-header h1,
  .explore-user-prompt p,
  .explore-copy-block h2 {
    overflow-wrap: anywhere;
  }

  .explore-header__toolbar {
    align-self: flex-start;
  }

  .explore-thread {
    width: calc(100% - 64px);
  }

  .explore-history-divider {
    gap: 12px;
  }

  .explore-anchor-navigation {
    display: none;
  }

  .industry-bars {
    gap: 4px;
  }

  .industry-bars button::after {
    left: 0;
    transform: translate(0, 4px);
  }

  .industry-bars button:hover::after,
  .industry-bars button:focus-visible::after {
    transform: translate(0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .advisor-home-nav,
  .advisor-workspace,
  .prototype-top-stripe,
  .explore-page,
  .explore-ao-container,
  .advisor-header > .advisor-ao,
  .advisor-frame.is-answer-resolving .generated-card--loading {
    transition: none;
  }

  .advisor-frame.is-answer-entering .generated-card,
  .prototype-skeleton__bar {
    animation: none;
  }

  .answer-input-transition-proxy,
  .answer-card-transition-proxy {
    display: none;
  }
}
