/* source/user-client/src/assets/onboarding.css */
.companio-introduction {
  box-sizing: border-box;
  max-width: 520px;
  width: calc(100% - 24px);
  margin: 8px auto;
  padding: 16px 20px;
  border: 1px solid #cbd9ef;
  background: #fff;
  color: #172338;
  border-radius: 20px;
  box-shadow: 0 6px 24px #24426a10;
}
.companio-introduction h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.companio-introduction p {
  margin: 8px 0;
  line-height: 1.45;
  font-size: .94rem;
}
.companio-introduction button {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #edf3ff;
  color: #164bb7;
}
.companio-introduction-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.companio-introduction-actions > button:first-child {
  color: white;
  background: #245ce0;
}
.companio-introduction-error {
  margin: 8px 16px;
  color: #a52222;
}
.web-main.has-onboarding .web-scene {
  flex-basis: min(30dvh, 280px);
}
.web-main.has-onboarding .web-greeting {
  display: none;
}
.onboarding-chat .web-composer,
.onboarding-chat > .chat-composer {
  outline: 3px solid #245ce0;
  outline-offset: 3px;
  border-radius: 16px;
}
.onboarding-appearance .ai-self-head-trigger {
  outline: 3px solid #245ce0;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .companio-introduction {
    max-height: 38dvh;
    overflow: auto;
    padding: 12px 16px;
  }
}

/* source/user-client/src/assets/safety.css */
.safety-workspace {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  color: #172033;
}
.safety-workspace > section,
.safety-card {
  padding: 18px;
  margin: 0 0 18px;
  border: 1px solid #d7deea;
  border-radius: 12px;
  background: #fff;
}
.safety-workspace h1 {
  margin: 0 0 20px;
}
.safety-workspace h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}
.safety-workspace h3 {
  font-size: 1rem;
  margin: 0 0 10px;
}
.safety-workspace p,
.safety-report p {
  line-height: 1.5;
}
.safety-form {
  display: grid;
  gap: 16px;
}
.safety-form label {
  display: grid;
  gap: 6px;
  font-size: .95rem;
}
.safety-form input:not([type=checkbox]),
.safety-form select,
.safety-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 11px;
  border: 1px solid #94a3b8;
  border-radius: 7px;
  background: #fff;
  color: #172033;
  font: inherit;
}
.safety-form label.safety-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.safety-check input {
  margin-top: 4px;
  flex-shrink: 0;
}
.safety-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.safety-workspace button,
.safety-report button {
  padding: 9px 13px;
  border: 1px solid #a3b2c8;
  border-radius: 8px;
  background: #eef3fa;
  color: #172033;
  cursor: pointer;
  font: inherit;
}
.safety-workspace button:disabled,
.safety-report button:disabled {
  cursor: default;
  opacity: .6;
}
.safety-workspace [role=alert],
.safety-report [role=alert] {
  color: #a11924;
}
.safety-workspace ul {
  padding-left: 20px;
}
.safety-workspace li {
  margin-bottom: 14px;
}
.safety-report {
  margin-top: 12px;
}
.safety-report summary {
  cursor: pointer;
  font-size: .9rem;
}
.safety-report[open] {
  padding: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #172033;
}
.safety-report form {
  margin-top: 14px;
}
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 14px;
}
.safety-code {
  overflow-wrap: anywhere;
}
.safety-overdue {
  color: #a11924;
  font-weight: 600;
}
.safety-table {
  width: 100%;
  border-collapse: collapse;
}
.safety-table th,
.safety-table td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #d7deea;
}
@media (max-width: 600px) {
  .safety-workspace {
    padding: 14px;
  }
  .safety-workspace > section {
    padding: 14px;
  }
}

/* source/web/src/assets/social.css */
.social-workspace {
  max-width: 850px;
  margin: 0 auto;
  padding: 20px;
  overflow-wrap: anywhere;
}
.activity-next-step {
  border-left: 4px solid #245ce0;
  background: #f0f5ff;
}
.activity-next-step > strong {
  font-size: 1.2rem;
}
.activity-participants,
.activity-summary > span {
  color: #536078;
  display: block;
  margin-top: 8px;
}
.activity-summary:hover {
  border-color: #245ce0;
}
.activity-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 12px 0 20px;
}
.activity-filters button {
  border-radius: 24px;
}
.activity-filters button[aria-pressed=true] {
  background: #245ce0;
  color: white;
}
.activity-private-note {
  color: #536078;
  font-size: .9rem;
}
.activity-history > summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
}
.web-primary-navigation {
  display: flex;
  align-items: center;
  gap: 8px;
}
.web-primary-navigation a {
  display: block;
  padding: 10px 16px;
  border-radius: 22px;
  text-decoration: none;
  color: #172338;
}
.web-primary-navigation a.active {
  color: #164bb7;
  background: #e8efff;
  font-weight: 700;
}
.web-primary-navigation span {
  display: inline-block;
  min-width: 22px;
  text-align: center;
  background: #164bb7;
  color: white;
  border-radius: 12px;
}
.web-private-chat-label {
  padding: 12px;
  color: #536078;
}
@media (max-width: 700px) {
  .web-app {
    grid-template-rows: auto minmax(0, 1fr);
  }
  .web-topbar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .web-primary-navigation {
    order: 3;
    justify-content: center;
    width: 100%;
  }
}
.social-card {
  display: block;
  padding: 18px;
  margin: 14px 0;
  border: 1px solid #d4dfed;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}
.social-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.social-workspace label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 16px 0;
}
.social-workspace input,
.social-workspace textarea,
.social-workspace select {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 42px;
  padding: 9px;
  border: 1px solid #a6b5c6;
  border-radius: 8px;
  font: inherit;
}
.social-workspace textarea {
  min-height: 80px;
  resize: vertical;
}
.social-workspace button {
  min-height: 42px;
  margin: 5px;
  padding: 8px 12px;
}
.social-workspace :focus-visible,
.connection-avatars:focus-visible {
  outline: 3px solid #326bce;
  outline-offset: 3px;
}
.social-avatar {
  display: inline-flex;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5efff;
  border: 2px solid white;
}
.social-avatar svg {
  width: 100%;
  height: 100%;
}
.avatar-centre {
  position: relative;
}
.connection-avatars {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 5;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 5px 10px;
  border-radius: 30px;
  background: white;
  box-shadow: 0 2px 10px #2342;
  color: #23446e;
  text-decoration: none;
}
.connection-avatars .social-avatar + .social-avatar {
  margin-left: -14px;
}
.connection-avatars > span:last-child:not(.social-avatar) {
  margin-left: 5px;
}
@media (max-width: 480px) {
  .social-workspace {
    padding: 12px;
  }
  .social-card {
    padding: 12px;
  }
}

/* source/user-client/src/assets/chat-markdown.css */
.chat-markdown {
  min-width: 0;
  line-height: 1.55;
}
.chat-markdown p,
.chat-markdown ul,
.chat-markdown ol,
.chat-markdown blockquote,
.chat-markdown pre,
.chat-markdown-table {
  margin: 0.65em 0;
}
.chat-markdown h1,
.chat-markdown h2,
.chat-markdown h3,
.chat-markdown h4,
.chat-markdown h5,
.chat-markdown h6 {
  margin: 1em 0 0.45em;
  line-height: 1.3;
  font-weight: 700;
}
.chat-markdown h1 {
  font-size: 1.4em;
}
.chat-markdown h2 {
  font-size: 1.25em;
}
.chat-markdown h3 {
  font-size: 1.1em;
}
.chat-markdown h4,
.chat-markdown h5,
.chat-markdown h6 {
  font-size: 1em;
}
.chat-markdown > :first-child {
  margin-top: 0;
}
.chat-markdown > :last-child {
  margin-bottom: 0;
}
.chat-markdown ul,
.chat-markdown ol {
  padding-left: 1.5em;
}
.chat-markdown ul {
  list-style-type: disc;
}
.chat-markdown ol {
  list-style-type: decimal;
}
.chat-markdown li + li {
  margin-top: 0.3em;
}
.chat-markdown li > p {
  margin: 0.3em 0;
}
.chat-markdown a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.chat-markdown a:focus-visible,
.chat-markdown pre:focus-visible,
.chat-markdown-table:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}
.chat-markdown blockquote {
  border-left: 3px solid #94a3b8;
  padding-left: 0.85em;
  color: #cbd5e1;
}
.chat-markdown code {
  border-radius: 4px;
  padding: 0.1em 0.3em;
  background: #0f172a;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  font-size: 0.95em;
}
.chat-markdown pre {
  max-width: 100%;
  overflow-x: auto;
  border-radius: 6px;
  padding: 0.75em;
  background: #0f172a;
  white-space: pre;
  overflow-wrap: normal;
}
.chat-markdown pre code {
  padding: 0;
  background: none;
}
.chat-markdown-table {
  max-width: 100%;
  overflow-x: auto;
}
.chat-markdown table {
  border-collapse: collapse;
  font-size: inherit;
}
.chat-markdown th,
.chat-markdown td {
  border: 1px solid #64748b;
  padding: 0.4em 0.65em;
  min-width: 6em;
}
.chat-markdown th {
  background: #0f172a;
}
.chat-markdown .contains-task-list {
  list-style: none;
}
.chat-markdown .task-list-item input {
  margin-right: 0.5em;
}
.chat-markdown hr {
  border: 0;
  border-top: 1px solid #64748b;
  margin: 1em 0;
}

/* source/user-client/src/assets/chat-presentation.css */
.chat-history {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.chat-history[hidden] {
  display: none;
}
.chat-history-log {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overflow-anchor: none;
  overscroll-behavior: contain;
  padding: 10px 12px;
}
.chat-history-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.chat-history-empty {
  color: rgba(248, 250, 252, 0.5);
  font-size: 13px;
  text-align: center;
  margin-top: 24px;
}
.chat-message {
  align-self: flex-start;
  max-width: 80%;
  min-width: 0;
  box-sizing: border-box;
  background: #1e293b;
  color: #f8fafc;
  border-radius: 14px 14px 14px 4px;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.chat-message--user {
  align-self: flex-end;
  background: #3b82f6;
  border-radius: 14px 14px 4px 14px;
  white-space: pre-wrap;
}
.chat-history-status {
  align-self: flex-start;
  color: rgba(248, 250, 252, 0.5);
  font-size: 12px;
  padding: 6px 12px;
}
.chat-history-error {
  color: #f87171;
  font-size: 11px;
  text-align: center;
}
.chat-report-link {
  display: block;
  margin-top: 8px;
  padding: 6px 10px;
  border: 1px solid #64748b;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.chat-jump-latest {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 14px;
  border: 1px solid #64748b;
  border-radius: 24px;
  background: #1e293b;
  color: #f8fafc;
  font: inherit;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 12px #0002;
}
.chat-composer {
  flex-shrink: 0;
  padding: 8px 10px;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.chat-composer-context {
  padding: 2px 4px 8px;
}
.chat-composer-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.chat-composer-input {
  flex: 1;
  min-width: 0;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 8px 12px;
  color: #f8fafc;
  font-size: 14px;
}
.chat-send-button,
.chat-microphone-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.chat-send-button {
  font-size: 16px;
}
.chat-microphone-button {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.chat-send-button:disabled,
.chat-microphone-button:disabled {
  background: rgba(255, 255, 255, 0.08);
  cursor: default;
}
.chat-microphone-button[data-phase=recording] {
  background: #ef4444;
}
.chat-microphone-button[data-phase=requesting] {
  background: #f59e0b;
}
.chat-voice-message {
  padding: 6px 4px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}
.chat-voice-message--error {
  color: #fca5a5;
}
.chat-composer :focus-visible,
.chat-history :focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
}
.chat-activity-status {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
}
.chat-activity-status > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-activity-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: currentColor;
  animation: chat-activity-pulse 1.4s ease-in-out infinite;
}
@keyframes chat-activity-pulse {
  0%, 100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .chat-activity-dot {
    animation: none;
  }
}

/* source/user-client/src/assets/token-usage.css */
.token-usage-card {
  box-sizing: border-box;
  min-width: 0;
  padding: clamp(18px, 3vw, 32px);
  margin-bottom: 16px;
  border: 1px solid #d8e2ef;
  border-radius: 16px;
  background: #fff;
  color: #10233f;
  font-size: 14px;
  line-height: 1.5;
}
.token-usage-card * {
  box-sizing: border-box;
}
.token-usage-card h3 {
  margin: 0 0 8px;
  color: #10233f;
  font-size: 24px;
  line-height: 1.2;
}
.token-usage-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}
.token-usage-period {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #4b607c;
}
.token-usage-badge {
  padding: 3px 10px;
  border-radius: 16px;
  color: #365b89;
  background: #eaf3ff;
  font-size: 12px;
  white-space: nowrap;
}
.token-usage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
}
.token-usage-card button,
.token-usage-card select {
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #cbd9e9;
  border-radius: 8px;
  background: #fff;
  color: #10233f;
  font: inherit;
  cursor: pointer;
}
.token-usage-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.token-usage-card button:hover:not(:disabled),
.token-usage-card summary:hover {
  background: #f3f7fc;
}
.token-usage-card button:disabled {
  opacity: .55;
  cursor: wait;
}
.token-usage-card :is(button, select, summary):focus-visible {
  outline: 3px solid #245ce0;
  outline-offset: 3px;
}
.token-usage-total {
  display: flex;
  flex-direction: column;
  margin: 28px 0 22px;
}
.token-usage-total strong {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.token-usage-total > span {
  margin-top: 6px;
  font-size: 16px;
  color: #4b607c;
}
.token-usage-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 18px 20px;
  border-radius: 12px;
  background: #f0f6fd;
}
.token-usage-breakdown > div + div {
  border-left: 1px solid #d5e1ef;
  padding-left: 20px;
}
.token-usage-breakdown > div:first-child {
  padding-right: 16px;
}
.token-usage-card dt {
  color: #4b607c;
}
.token-usage-card dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.token-usage-breakdown dd {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.35;
}
.token-usage-breakdown .token-usage-hint {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 400;
  color: #4b607c;
}
.token-usage-notice {
  color: #4b607c;
  font-size: 13px;
}
.token-usage-notice:empty {
  display: none;
}
.token-usage-notice p {
  margin: 14px 0;
}
.token-usage-models {
  margin-top: 24px;
  border-top: 1px solid #d8e2ef;
}
.token-usage-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}
.token-usage-card summary::-webkit-details-marker {
  display: none;
}
.token-usage-models > summary {
  padding: 14px 0;
  font-size: 18px;
  font-weight: 650;
}
.token-usage-chevron {
  display: inline-block;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin: 0 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}
.token-usage-card details[open] > summary > .token-usage-chevron,
.token-usage-model[open] > summary .token-usage-chevron {
  transform: rotate(45deg);
}
.token-usage-model-heading {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid #e3eaf3;
  color: #4b607c;
  font-size: 12px;
}
.token-usage-model {
  border-top: 1px solid #e3eaf3;
}
.token-usage-model > summary {
  padding: 14px 0;
}
.token-usage-model-name {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.token-usage-model > summary > strong {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.token-usage-model-content {
  padding-bottom: 14px;
  color: #4b607c;
  overflow-wrap: anywhere;
}
.token-usage-model-content p {
  margin: 0 0 8px;
}
.token-usage-model-content dl {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 0;
}
.token-usage-model-content dd {
  color: #10233f;
  font-weight: 600;
}
.token-usage-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 20px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #d8e2ef;
  color: #4b607c;
  font-size: 12px;
}
.token-usage-footer details {
  max-width: 100%;
}
.token-usage-footer details[open] {
  flex-basis: 100%;
}
.token-usage-footer summary {
  justify-content: flex-end;
}
.token-usage-footer details[open] summary {
  justify-content: flex-start;
}
@media (max-width: 480px) {
  .token-usage-card h3 {
    font-size: 22px;
  }
  .token-usage-actions {
    width: 100%;
  }
  .token-usage-actions select {
    flex: 1;
    min-width: 0;
  }
  .token-usage-breakdown {
    padding: 16px 12px;
  }
  .token-usage-breakdown > div + div {
    padding-left: 12px;
  }
  .token-usage-breakdown > div:first-child {
    padding-right: 12px;
  }
  .token-usage-footer {
    display: block;
  }
  .token-usage-footer summary {
    justify-content: flex-start;
  }
}

/* source/user-client/src/assets/product-updates.css */
.product-updates {
  margin-bottom: 16px;
  border: 1px solid #d8e2ef;
  border-radius: 16px;
  background: #fff;
  color: #10233f;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.product-updates-content {
  padding: 18px;
}
.product-updates-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.product-updates-switch button {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #cbd9e9;
  border-radius: 8px;
  background: #fff;
  color: #10233f;
  font: inherit;
  cursor: pointer;
}
.product-updates-switch button[aria-pressed=true] {
  border-color: #10233f;
  background: #10233f;
  color: #fff;
}
.product-updates button:focus-visible {
  outline: 3px solid #245ce0;
  outline-offset: 3px;
}
.product-updates h2 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #10233f;
}
.product-updates-note {
  margin: 0 0 16px;
  color: #4b607c;
}
.product-updates-entry {
  padding: 16px 0;
  border-top: 1px solid #d8e2ef;
}
.product-updates-entry:last-child {
  padding-bottom: 0;
}
.product-updates-entry header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}
.product-updates-entry h3 {
  margin: 0;
  font-size: 16px;
  color: #10233f;
}
.product-updates-entry time {
  color: #4b607c;
}
.product-updates-status {
  padding: 3px 10px;
  border-radius: 16px;
  background: #eaf3ff;
  color: #365b89;
  font-size: 12px;
}
.product-updates-entry ul {
  margin: 0;
  padding-left: 20px;
}
.product-updates-entry li + li {
  margin-top: 8px;
}
.product-updates-change + .product-updates-change {
  margin-top: 16px;
}
.product-updates-change h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}
.product-updates-change p {
  margin: 0;
}

/* source/web/src/assets/avatar.css */
.ai-self-scene {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}
.ai-self-scene-copy {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 8px;
  padding: 0 4px 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.ai-self-scene-copy > div:first-child {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.ai-self-scene-copy h2 {
  margin: 0;
  color: #172033;
  font-size: 17px;
  letter-spacing: -0.015em;
}
.ai-self-summary {
  margin: 3px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}
.ai-self-scene-notices {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ai-self-scene-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-self-scene-actions button,
.ai-self-reload-notice button,
.ai-self-stale-notice button,
.ai-self-stage-fallback button {
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}
.ai-self-scene-actions button.is-primary {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}
.ai-self-scene-actions button:disabled {
  cursor: default;
  opacity: 0.55;
}
.ai-self-reload-notice,
.ai-self-stale-notice {
  position: relative;
  z-index: 2;
  margin: 0 4px 6px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fffbeb;
  color: #92400e;
  text-align: center;
  font-size: 11px;
}
.ai-self-reload-notice button,
.ai-self-stale-notice button {
  padding: 3px 7px;
  border-color: #f59e0b;
  color: #92400e;
}
.ai-self-stale-notice {
  border-color: #fdba74;
  background: #fff7ed;
  color: #9a3412;
}
.ai-self-stale-notice button {
  border-color: #f97316;
  color: #9a3412;
}
.ai-self-stage-visual,
.ai-self-stage-surface,
.ai-self-stage-host {
  position: relative;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.ai-self-stage-canvas {
  display: block;
  max-width: none;
}
.ai-self-head-trigger {
  position: absolute;
  z-index: 3;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 48%;
  background: transparent;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.ai-self-head-trigger:hover:not(:disabled),
.ai-self-head-trigger:focus-visible {
  border-color: #fff;
  outline: 3px solid #7194bc;
  outline-offset: 3px;
  box-shadow: 0 0 0 7px rgba(219, 234, 254, 0.24);
}
.ai-self-head-trigger:disabled {
  cursor: default;
}
.ai-self-head-trigger-icon {
  position: absolute;
  right: -9px;
  bottom: 0;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid #d8e3ee;
  border-radius: 50%;
  background: #fff;
  color: #48698d;
  box-shadow: 0 3px 10px rgba(31, 54, 78, 0.12);
  font-size: 14px;
  opacity: 0;
}
.ai-self-head-trigger:hover .ai-self-head-trigger-icon,
.ai-self-head-trigger:focus-visible .ai-self-head-trigger-icon {
  opacity: 1;
}
.ai-self-stage-static {
  height: 65%;
  width: min(65%, 180px);
}
.ai-self-stage-static .ai-self-appearance-illustration {
  width: 100%;
  height: 100%;
}
.ai-self-head-trigger-hint {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  padding: 5px 9px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  color: #48617c;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-50%) translateY(-3px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}
.ai-self-head-trigger:hover:not(:disabled) .ai-self-head-trigger-hint,
.ai-self-head-trigger:focus-visible .ai-self-head-trigger-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.ai-self-stage-loading,
.ai-self-stage-fallback,
.ai-self-load-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #64748b;
  text-align: center;
  font-size: 12px;
}
.ai-self-stage-fallback,
.ai-self-load-placeholder {
  background:
    radial-gradient(
      circle at 50% 35%,
      #f8fafc 0%,
      #e2e8f0 72%);
}
.ai-self-stage-silhouette,
.ai-self-load-placeholder-figure {
  position: relative;
  width: 72px;
  height: 120px;
  display: block;
  opacity: 0.55;
}
.ai-self-stage-silhouette-head,
.ai-self-load-placeholder-figure::before {
  position: absolute;
  top: 2px;
  left: 20px;
  width: 34px;
  height: 42px;
  border-radius: 50%;
  background: #94a3b8;
  content: "";
}
.ai-self-stage-silhouette-body,
.ai-self-load-placeholder-figure::after {
  position: absolute;
  top: 48px;
  left: 9px;
  width: 56px;
  height: 70px;
  border-radius: 26px 26px 12px 12px;
  background: #94a3b8;
  content: "";
}
.ai-self-wardrobe-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: transparent;
  overflow: hidden;
  box-sizing: border-box;
}
.ai-self-wardrobe-backdrop[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-self-wardrobe-backdrop::backdrop {
  background: rgba(24, 39, 56, 0.42);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.ai-self-wardrobe {
  width: min(820px, 100%);
  height: min(650px, 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 25px;
  background: #fbfcfd;
  color: #243345;
  box-shadow: 0 28px 90px rgba(15, 32, 52, 0.26);
  outline: none;
}
.ai-self-wardrobe-header {
  flex-shrink: 0;
  padding: 23px 26px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e8edf2;
  background: #fff;
}
.ai-self-wardrobe-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #758a9c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ai-self-wardrobe-header h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.035em;
}
.ai-self-wardrobe-header p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 12px;
}
.ai-self-wardrobe-close {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f0f3f6;
  color: #53687c;
  font-size: 24px;
  line-height: 1;
}
.ai-self-wardrobe-body {
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) minmax(0, 1.8fr);
  flex: 1;
  min-height: 0;
}
.ai-self-wardrobe-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  padding: 22px 22px 18px;
  border-right: 1px solid #e6ebed;
  background:
    radial-gradient(
      ellipse at 50% 35%,
      #fffdf7,
      #edf1ee 85%);
}
.ai-self-wardrobe-preview-label {
  flex-shrink: 0;
  color: #74887f;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ai-self-wardrobe-preview > .ai-self-stage-surface {
  flex: 1;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 10px 0;
}
.ai-self-wardrobe-preview .ai-self-stage-fallback {
  justify-content: flex-start;
  gap: 6px;
  padding: 6px;
  overflow-y: auto;
  font-size: 10px;
}
.ai-self-wardrobe-preview .ai-self-stage-silhouette {
  display: none;
}
.ai-self-wardrobe-preview p {
  flex-shrink: 0;
  margin: 0;
  color: #708078;
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
}
.ai-self-wardrobe-picker {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.ai-self-wardrobe-tabs {
  display: flex;
  flex-shrink: 0;
  gap: 3px;
  margin: 18px 20px 0;
  padding: 4px;
  border-radius: 12px;
  background: #edf1f5;
  overflow-x: auto;
}
.ai-self-animation-status {
  min-height: 1.5em;
  margin: 3px 0 0;
  color: #5d7a71;
  font-size: 11px;
  line-height: 1.5;
}
.ai-self-expressions > p {
  margin: 0 0 14px;
  color: #647487;
  font-size: 12px;
  line-height: 1.6;
}
.ai-self-expression-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 9px;
  padding: 12px;
  border: 1px solid #e1e8e5;
  border-radius: 12px;
  background: #f9fbfa;
  color: #405e53;
  text-align: left;
}
.ai-self-expression-option:hover,
.ai-self-expression-option.is-playing {
  border-color: #91b5a5;
  background: #edf5f0;
}
.ai-self-expression-option strong,
.ai-self-expression-option > span > span {
  display: block;
}
.ai-self-expression-option strong {
  margin-bottom: 3px;
  font-size: 12px;
}
.ai-self-expression-option > span > span {
  color: #708078;
  font-size: 11px;
  line-height: 1.5;
}
.ai-self-expression-play {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2eee6;
  font-size: 20px;
}
.ai-self-wardrobe-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 4px;
  min-height: 36px;
  padding: 8px 6px;
  border-radius: 9px;
  background: transparent;
  color: #647487;
  font-size: 11px;
  font-weight: 750;
}
.ai-self-wardrobe-tabs button[aria-selected=true] {
  background: #fff;
  color: #2c4c70;
  box-shadow: 0 1px 4px rgba(34, 56, 79, 0.09);
}
.ai-self-category-conflict {
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fef3c7;
  color: #92400e;
  font-size: 10px;
}
.ai-self-wardrobe-fields {
  flex: 1;
  min-height: 0;
  padding: 22px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.ai-self-option-group {
  min-width: 0;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}
.ai-self-option-group legend {
  margin-bottom: 11px;
  color: #53667b;
  font-size: 12px;
  font-weight: 750;
}
.ai-self-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.ai-self-options.has-swatches {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ai-self-option {
  position: relative;
  min-width: 0;
  min-height: 44px;
  padding: 6px 5px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #e1e7ed;
  border-radius: 13px;
  background: #fff;
  color: #637488;
  cursor: pointer;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  transition: border-color 120ms ease, background 120ms ease;
}
.ai-self-option:hover {
  border-color: #a8bed3;
}
.ai-self-option.is-selected {
  border-color: #6e95b8;
  background: #f0f6fb;
  color: #315d82;
  box-shadow: inset 0 0 0 1px #6e95b8;
}
.ai-self-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}
.ai-self-option:has(input:focus-visible) {
  outline: 2px solid #315d82;
  outline-offset: 3px;
}
.ai-self-option:has(input:disabled) {
  cursor: default;
  opacity: 0.6;
}
.ai-self-option-art {
  display: block;
  width: 100%;
  height: 83px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(
      ellipse at 50% 45%,
      #f6f3eb,
      #edf1f3);
}
.ai-self-appearance-illustration {
  display: block;
  width: 100%;
  height: 100%;
}
.ai-self-option-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  line-height: 1.25;
}
.ai-self-option-check {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #6289ac;
  color: #fff;
  font-size: 10px;
  opacity: 0;
}
.ai-self-option.is-selected .ai-self-option-check {
  opacity: 1;
}
.ai-self-option-swatch {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  margin-top: 6px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 50%;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(15, 23, 42, 0.1);
}
.ai-self-option-group.has-conflict {
  padding: 10px;
  border: 1px solid #f59e0b;
  border-radius: 11px;
  background: #fffbeb;
}
.ai-self-field-conflict {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #92400e;
  font-size: 11px;
  line-height: 1.4;
}
.ai-self-conflict-actions {
  display: flex;
  gap: 7px;
}
.ai-self-conflict-actions button {
  padding: 6px 9px;
  border: 1px solid #f59e0b;
  border-radius: 7px;
  background: #fff;
  color: #92400e;
  font-size: 11px;
  font-weight: 800;
}
.ai-self-wardrobe-footer {
  flex-shrink: 0;
  padding: 10px 24px calc(16px + var(--safe-bottom));
  border-top: 1px solid #e8edf2;
  background: #fff;
}
.ai-self-wardrobe-feedback {
  min-height: 18px;
  margin-bottom: 7px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #b45309;
  font-size: 11px;
}
.ai-self-wardrobe-feedback:empty {
  display: none;
}
.ai-self-wardrobe-feedback button {
  padding: 0;
  background: transparent;
  color: #92400e;
  text-decoration: underline;
  font-size: inherit;
  font-weight: 850;
}
.ai-self-wardrobe-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.ai-self-wardrobe-actions button {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 11px;
  background: #eef2f5;
  color: #53677b;
  font-size: 12px;
  font-weight: 850;
}
.ai-self-wardrobe-actions button.is-primary {
  background: #426d96;
  color: #fff;
}
.ai-self-wardrobe button:focus-visible,
.ai-self-wardrobe [role=tabpanel]:focus-visible {
  outline: 2px solid #315d82;
  outline-offset: 3px;
}
.ai-self-wardrobe-actions button:disabled,
.ai-self-wardrobe-close:disabled,
.ai-self-conflict-actions button:disabled {
  cursor: default;
  opacity: 0.5;
}
@media (max-width: 640px) {
  .ai-self-wardrobe-backdrop[open] {
    align-items: flex-end;
    padding: 10px 0 0;
  }
  .ai-self-wardrobe {
    width: 100%;
    height: min(90dvh, 760px);
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -18px 48px rgba(15, 23, 42, 0.28);
  }
  .ai-self-wardrobe-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 128px minmax(0, 1fr);
  }
  .ai-self-wardrobe-preview {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: center;
    gap: 4px 18px;
    padding: 9px 24px;
    border-right: 0;
    border-bottom: 1px solid #e6ebed;
  }
  .ai-self-wardrobe-preview-label {
    grid-column: 2;
    align-self: end;
    margin-top: 9px;
  }
  .ai-self-wardrobe-preview > .ai-self-stage-surface {
    grid-column: 1;
    grid-row: 1 / 3;
    height: 110px;
    margin: 0;
  }
  .ai-self-wardrobe-preview p {
    grid-column: 2;
    align-self: start;
    text-align: left;
    font-size: 10px;
    line-height: 1.5;
  }
  .ai-self-wardrobe-tabs {
    margin: 13px 14px 0;
  }
  .ai-self-wardrobe-header,
  .ai-self-wardrobe-fields,
  .ai-self-wardrobe-footer {
    padding-inline: 14px;
  }
  .ai-self-wardrobe-header {
    padding-block: 15px 13px;
  }
  .ai-self-wardrobe-header h2 {
    font-size: 22px;
  }
}
@media (max-width: 419px) {
  .ai-self-scene-copy {
    padding: 0;
  }
  .ai-self-reload-notice,
  .ai-self-stale-notice {
    margin: 8px 0 0;
  }
  .ai-self-summary {
    max-width: 230px;
  }
  .ai-self-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .ai-self-options.has-swatches {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ai-self-wardrobe-tabs button {
    padding-inline: 3px;
    font-size: 10px;
  }
}
@media (max-height: 599px) {
  .ai-self-scene-copy {
    padding-bottom: 4px;
  }
  .ai-self-summary {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 640px) and (max-height: 599px) {
  .ai-self-wardrobe {
    height: calc(100dvh - 10px);
  }
  .ai-self-wardrobe-header {
    padding-block: 10px;
  }
  .ai-self-wardrobe-eyebrow {
    display: none;
  }
  .ai-self-wardrobe-body {
    grid-template-columns: minmax(72px, 0.55fr) minmax(0, 1.8fr);
    grid-template-rows: minmax(0, 1fr);
  }
  .ai-self-wardrobe-preview {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    border-right: 1px solid #e6ebed;
    border-bottom: 0;
  }
  .ai-self-wardrobe-preview-label {
    align-self: center;
    margin: 0;
    font-size: 8px;
  }
  .ai-self-wardrobe-preview > .ai-self-stage-surface {
    flex: 1;
    min-height: 0;
    height: auto;
  }
  .ai-self-wardrobe-preview p {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .ai-self-wardrobe-tabs {
    margin: 8px 8px 0;
  }
  .ai-self-wardrobe-fields {
    padding: 12px 8px;
  }
  .ai-self-wardrobe-footer {
    padding-block: 8px calc(8px + var(--safe-bottom));
  }
}
@media (max-height: 419px) {
  .ai-self-wardrobe-backdrop[open] {
    padding: 8px;
  }
  .ai-self-wardrobe {
    height: 100%;
    border-radius: 18px;
  }
  .ai-self-wardrobe-header {
    padding: 10px 14px;
  }
  .ai-self-wardrobe-eyebrow {
    display: none;
  }
  .ai-self-wardrobe-body {
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .ai-self-wardrobe-preview {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 4px 14px;
    height: 105px;
    padding: 7px 18px;
    border-right: 0;
    border-bottom: 1px solid #e6ebed;
  }
  .ai-self-wardrobe-preview-label {
    grid-column: 2;
    align-self: end;
    margin: 6px 0 0;
  }
  .ai-self-wardrobe-preview > .ai-self-stage-surface {
    grid-column: 1;
    grid-row: 1 / 3;
    height: 90px;
    margin: 0;
  }
  .ai-self-wardrobe-preview p {
    position: static;
    grid-column: 2;
    align-self: start;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
    text-align: left;
  }
  .ai-self-wardrobe-fields {
    flex: none;
    overflow: visible;
    padding-block: 12px;
  }
  .ai-self-wardrobe-footer {
    padding-block: 8px calc(8px + var(--safe-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  .ai-self-head-trigger,
  .ai-self-head-trigger-hint,
  .ai-self-option {
    transition: none;
  }
}

/* source/web/src/assets/thought-bubbles.css */
.avatar-workspace.has-thoughts {
  grid-template-rows: auto minmax(0, 1fr);
  row-gap: 16px;
}
.thought-bubbles-group {
  grid-column: 1 / -1;
  width: 100%;
  z-index: 3;
}
.thought-bubbles-heading {
  margin: 0 0 18px;
  text-align: center;
  color: #52657e;
  font-size: 14px;
}
.thought-bubbles {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  width: min(100%, 440px);
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0 12px 28px;
}
.thought-item {
  position: relative;
  flex: 1 1 280px;
  min-width: 0;
}
.thought-bubble {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #263b59;
  cursor: pointer;
  border-radius: 45%;
}
.thought-bubble:focus-visible {
  outline: 3px solid #245ce0;
  outline-offset: 5px;
}
.thought-cloud {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 25px 25px 27px;
  filter: drop-shadow(0 6px 7px #3b5d861c);
  animation: thought-drift 7s ease-in-out infinite;
}
.thought-cloud > svg:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.thought-cloud-text {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}
.thought-cloud .thought-cloud-tail {
  position: absolute;
  width: 36px;
  height: 36px;
  bottom: -27px;
  left: 57%;
}
.thought-bubble-next {
  flex: 0 0 108px;
  margin-bottom: 8px;
}
.thought-bubble-next .thought-cloud {
  min-height: 70px;
  padding: 17px 15px;
  animation-delay: -2.2s;
}
.thought-bubble-next .thought-cloud-text {
  font-size: 11px;
  font-weight: 500;
}
.thought-bubble-next .thought-cloud-tail {
  width: 18px;
  height: 18px;
  bottom: -12px;
  left: 28%;
  transform: scaleX(-1);
}
.thought-bubble:hover .thought-cloud {
  filter: drop-shadow(0 8px 9px #3b5d8633);
}
.thought-bubble:disabled {
  cursor: default;
  opacity: .65;
}
.thought-options > summary {
  position: absolute;
  right: 4px;
  top: -8px;
  z-index: 5;
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 34px;
  padding: 0 7px;
  border-radius: 16px;
  border: 1px solid #cbd9ec;
  background: #fff;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
}
.thought-options > summary::-webkit-details-marker {
  display: none;
}
.thought-options > summary:focus-visible {
  outline: 3px solid #245ce0;
  outline-offset: 2px;
}
.thought-item:has(.thought-options[open]) {
  z-index: 6;
}
.thought-options-panel {
  position: absolute;
  z-index: 6;
  right: 0;
  top: 30px;
  box-sizing: border-box;
  width: min(270px, 82vw);
  padding: 14px;
  color: #263b59;
  border: 1px solid #cbd9ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 20px #263b5925;
  font-size: 13px;
}
.thought-item:first-child:not(:only-child) .thought-options-panel {
  left: 0;
  right: auto;
}
.thought-options-panel p {
  margin: 0 0 10px;
}
.thought-feedback-actions {
  display: grid;
  gap: 6px;
}
.thought-feedback-actions button,
.thought-feedback-undo button {
  padding: 7px 9px;
  border: 1px solid #cbd9ec;
  border-radius: 6px;
  background: #f4f8fe;
  color: inherit;
  cursor: pointer;
}
.thought-feedback-undo {
  margin: 0 auto 8px;
  text-align: center;
  font-size: 13px;
  color: #263b59;
}
@keyframes thought-drift {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-4px) rotate(1deg);
  }
}
@media (max-width: 600px) {
  .thought-bubbles {
    gap: 3px;
    padding: 0 0 22px;
  }
  .thought-cloud {
    min-height: 98px;
    padding: 21px 13px 24px;
  }
  .thought-cloud-text {
    font-size: 12px;
    line-height: 1.3;
  }
  .thought-cloud .thought-cloud-tail {
    width: 28px;
    height: 28px;
    bottom: -21px;
  }
  .thought-bubble-next {
    flex-basis: 90px;
  }
  .thought-bubble-next .thought-cloud {
    min-height: 65px;
    padding: 14px 12px;
  }
  .thought-bubble-next .thought-cloud-tail {
    width: 18px;
    height: 18px;
    bottom: -12px;
  }
  .is-greeting .web-scene:has(.has-thoughts) {
    min-height: 340px;
    max-height: none;
    flex-basis: 390px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .thought-cloud {
    animation: none;
  }
}

/* source/web/src/assets/sign-in.css */
.web-sign-in {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 88px 1fr 64px;
  background: #fafbfc;
  color: #172338;
}
.web-sign-in-header {
  padding: 24px 40px;
  display: flex;
  align-items: center;
}
.web-sign-in-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 70px;
  width: min(1190px, calc(100% - 112px));
  margin: 0 auto;
  padding: 28px 0 54px;
}
.web-sign-in-welcome {
  min-width: 0;
  text-align: center;
}
.web-sign-in-launch {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #245ce0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.web-sign-in h1 {
  font-size: 46px;
  letter-spacing: -1.7px;
  line-height: 1.15;
  font-weight: 650;
  margin: 0 0 16px;
}
.web-sign-in-intro {
  color: #617087;
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
}
.web-sign-in-scene {
  position: relative;
  height: 398px;
  margin: 28px -18px 10px;
  background:
    radial-gradient(
      ellipse at 50% 62%,
      #eaf2ff 0,
      #eef4fc70 34%,
      transparent 70%);
}
.web-sign-in-avatar {
  position: absolute;
  height: 100%;
  width: min(100%, 455px);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}
.web-sign-in-avatar > svg {
  display: block;
  width: 100%;
  height: 100%;
}
.web-sign-in-caption {
  margin: 21px 0 0;
  color: #64758e;
  font-size: 14px;
  line-height: 1.5;
}
.web-sign-in-card {
  width: 100%;
  min-width: 0;
  max-width: 434px;
  justify-self: end;
  padding: 39px 36px 30px;
  border: 1px solid #e0e7f0;
  border-radius: 24px;
  background: white;
  box-shadow: 0 16px 52px #203a6407, 0 2px 4px #203a6403;
}
.web-sign-in h2 {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -.75px;
  line-height: 1.2;
  margin: 0 0 10px;
}
.web-sign-in-logo {
  display: block;
  width: 180px;
  height: 180px;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 20px;
}
.web-sign-in-form-intro {
  font-size: 14px;
  line-height: 1.6;
  color: #6a778c;
  margin: 0 0 32px;
}
.web-sign-in-field + .web-sign-in-field {
  margin-top: 21px;
}
.web-sign-in label {
  display: block;
  font-size: 14px;
  font-weight: 550;
  margin: 0 0 9px;
}
.web-sign-in input {
  width: 100%;
  height: 52px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  padding: 0 15px;
  background: #fcfdff;
  color: #172338;
  font-size: 14px;
}
.web-sign-in input::placeholder {
  color: #718098;
}
.web-sign-in :is(input, button):focus-visible {
  outline: 3px solid #245ce0;
  outline-offset: 3px;
}
.web-sign-in-submit {
  width: 100%;
  min-height: 52px;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: #245ce0;
  color: white;
  font-size: 15px;
  font-weight: 600;
  margin-top: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 10px #245ce019;
}
.web-sign-in-submit:hover:not(:disabled) {
  background: #1e50c6;
}
.web-sign-in-submit:disabled {
  opacity: .7;
  cursor: wait;
}
.web-sign-in-submit svg {
  width: 18px;
  height: 18px;
}
.web-sign-in-error {
  color: #b42318;
  font-size: 14px;
  line-height: 1.5;
  margin: 16px 0 0;
  overflow-wrap: anywhere;
}
.web-sign-in-registration {
  margin: 27px 0 0;
  padding-top: 24px;
  border-top: 1px solid #edf0f5;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: #6a778c;
}
.web-sign-in-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: #718098;
}
@media (min-width: 1450px) {
  .web-sign-in-main {
    width: min(1260px, calc(100% - 140px));
    gap: 100px;
  }
  .web-sign-in-scene {
    height: 430px;
  }
  .web-sign-in-avatar {
    width: min(100%, 491px);
  }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .web-sign-in-main {
    gap: 30px;
    width: calc(100% - 64px);
    grid-template-columns: 1fr 1fr;
  }
  .web-sign-in h1 {
    font-size: 35px;
  }
  .web-sign-in-intro {
    font-size: 16px;
  }
  .web-sign-in-scene {
    height: 300px;
    margin-left: 0;
    margin-right: 0;
  }
  .web-sign-in-card {
    padding: 30px 24px;
  }
}
@media (max-width: 700px) {
  .web-sign-in {
    grid-template-rows: 70px 1fr 36px;
  }
  .web-sign-in-header {
    padding: 18px 22px;
  }
  .web-sign-in .web-brand {
    font-size: 23px;
    gap: 10px;
  }
  .web-sign-in .web-brand > span {
    width: 33px;
    height: 33px;
    border-radius: 9px;
    font-size: 25px;
  }
  .web-sign-in-main {
    width: calc(100% - 36px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 17px 0 12px;
  }
  .web-sign-in h1 {
    font-size: 29px;
    letter-spacing: -.9px;
    margin-bottom: 10px;
  }
  .web-sign-in-intro {
    font-size: 14px;
    line-height: 1.5;
  }
  .web-sign-in-intro br {
    display: none;
  }
  .web-sign-in-scene {
    height: 178px;
    margin: 13px 0 0;
  }
  .web-sign-in-avatar {
    width: 204px;
  }
  .web-sign-in-caption {
    margin-top: 12px;
    font-size: 12px;
  }
  .web-sign-in-card {
    max-width: 420px;
    padding: 25px 25px 22px;
    border-radius: 19px;
  }
  .web-sign-in h2 {
    font-size: 25px;
    margin-bottom: 7px;
  }
  .web-sign-in-form-intro {
    margin-bottom: 22px;
    font-size: 13px;
  }
  .web-sign-in label {
    font-size: 13px;
    margin-bottom: 7px;
  }
  .web-sign-in input {
    height: 46px;
    font-size: 13px;
  }
  .web-sign-in-field + .web-sign-in-field {
    margin-top: 16px;
  }
  .web-sign-in-submit {
    min-height: 47px;
    margin-top: 22px;
    font-size: 14px;
  }
  .web-sign-in-registration {
    margin-top: 20px;
    padding-top: 18px;
    font-size: 12px;
  }
  .web-sign-in-footer {
    font-size: 10px;
  }
}

/* source/user-client/src/assets/base.css */
:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --accent: #3b82f6;
  --dark: #0f172a;
  --surface-dark: #1e293b;
  --bg: #f1f5f9;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #64748b;
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #f59e0b;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  border: none;
  cursor: pointer;
}
.scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--accent);
  animation: spin 0.75s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* source/user-client/src/assets/workspace.css */
.workspace-library,
.workspace-form,
.report-reader,
.workspace-app-content {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
  color: #17243b;
}
.workspace-toolbar,
.workspace-actions,
.workspace-search,
.workspace-field-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.workspace-toolbar {
  justify-content: space-between;
  margin-bottom: 20px;
}
.workspace-toolbar h2,
.workspace-toolbar h3 {
  margin: 0;
}
.workspace-actions {
  margin-top: 12px;
}
.workspace-library button,
.workspace-form button,
.report-reader button,
.workspace-app-content button,
.workspace-pagination button {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid #cad3e1;
  border-radius: 9px;
  background: #fff;
  color: #19375e;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.workspace-library button:hover,
.workspace-form button:hover,
.report-reader button:hover {
  background: #edf3ff;
}
.workspace-library button:disabled,
.workspace-form button:disabled,
.report-reader button:disabled {
  opacity: .5;
  cursor: default;
}
.workspace-form button[type=submit],
.workspace-search button[type=submit] {
  background: #315cd5;
  color: #fff;
  border-color: #315cd5;
}
.workspace-form {
  max-width: 760px;
}
.workspace-form label,
.workspace-search label,
.report-reader label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 16px;
  min-width: 0;
}
.workspace-form input,
.workspace-form select,
.workspace-form textarea,
.workspace-search input,
.workspace-search select,
.report-reader select {
  box-sizing: border-box;
  min-height: 42px;
  width: 100%;
  border: 1px solid #b9c7d9;
  border-radius: 8px;
  padding: 9px 11px;
  font: inherit;
  background: #fff;
  color: #17243b;
}
.workspace-form textarea {
  resize: vertical;
}
.workspace-form fieldset {
  margin: 24px 0;
  border: 1px solid #c8d4e4;
  border-radius: 12px;
  padding: 20px;
}
.workspace-form legend {
  padding: 0 8px;
  font-weight: 750;
}
.workspace-form .workspace-checkbox {
  flex-direction: row;
  align-items: center;
}
.workspace-form .workspace-checkbox input {
  width: 20px;
  min-height: 20px;
}
.workspace-field-row > label {
  flex: 1;
  min-width: 140px;
}
.workspace-source {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dbe3ef;
}
.workspace-search {
  align-items: flex-end;
  margin-bottom: 20px;
}
.workspace-search label {
  flex: 1;
  margin: 0;
}
.workspace-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.workspace-list .workspace-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  width: 100%;
  padding: 12px 18px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #fff;
  text-align: left;
}
.workspace-list-item .workspace-artwork {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
}
.workspace-item-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.workspace-item-copy strong {
  overflow-wrap: anywhere;
}
.workspace-item-copy > span {
  font-size: 12px;
  font-weight: 400;
  color: #52637a;
}
.workspace-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  background: #dfebff;
  color: #1946a5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.workspace-badge.attention {
  background: #ffedc5;
  color: #824807;
}
.workspace-pagination {
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: center;
  margin: 22px 0;
  font-size: 13px;
}
.workspace-error {
  color: #9f202b;
  background: #fff0f1;
  border: 1px solid #f4c6cb;
  padding: 14px;
  border-radius: 9px;
  white-space: pre-wrap;
}
.workspace-instance-chooser {
  margin-top: 24px;
  border: 1px solid #b6c9e6;
  border-radius: 12px;
  padding: 20px;
  background: #f3f7ff;
}
.workspace-instance-chooser .workspace-list {
  margin-top: 16px;
}
.report-reader {
  background: #fff;
  color: #1e293b;
  line-height: 1.7;
}
.report-reader > .workspace-artwork {
  width: 112px;
  height: 108px;
}
.report-reader.theme-midnight {
  background: #152237;
  color: #edf2fa;
}
.report-reader.theme-minimal {
  background: transparent;
}
.report-reader > h2 {
  margin: 16px 0 0;
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: -.025em;
}
.report-reader h3 {
  margin: 28px 0 12px;
  color: var(--report-accent);
}
.report-reader a {
  color: #285dca;
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.report-reader.theme-midnight a {
  color: #b2cbff;
}
.report-edition-date {
  color: #66778c;
  font-size: 12px;
}
.theme-midnight .report-edition-date {
  color: #b8c5d7;
}
.report-text {
  white-space: pre-wrap;
}
.report-metric {
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--report-accent);
  padding: 12px 20px;
  margin: 16px 0;
  background: #f1f5f9;
  color: #17243b;
}
.report-metric strong {
  font-size: 30px;
}
.report-table-scroll {
  overflow-x: auto;
}
.report-reader table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
.report-reader th,
.report-reader td {
  text-align: left;
  border-bottom: 1px solid #cdd7e4;
  padding: 10px 12px;
}
.report-chart {
  margin: 18px 0;
}
.report-chart figcaption {
  font-weight: 750;
}
.report-chart > div {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 12px 0;
  font-size: 12px;
}
.report-chart > div > span:first-child {
  min-width: 85px;
}
.report-chart-bar {
  height: 15px;
  background: var(--report-accent);
  border-radius: 4px;
}
.report-reader details {
  margin: 20px 0;
}
.report-reader summary {
  cursor: pointer;
  font-weight: 650;
}
.report-reader details label {
  margin-top: 14px;
}
.report-new-edition {
  display: block;
  width: 100%;
  background: #e4edff !important;
}
.report-lifecycle {
  padding-top: 20px;
  border-top: 1px solid #ccd8e6;
}
.workspace-chat-subject {
  font-size: 13px;
  padding: 10px 14px;
  background: #e7eefb;
  border-radius: 9px;
  color: #27466c;
}
.workspace-chat-subject button,
.chat-report-question button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #b9c7d9;
  border-radius: 8px;
  background: #edf3ff;
  color: #23487b;
  font: inherit;
  cursor: pointer;
}
.workspace-chat-subject {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.chat-report-question {
  padding: 14px;
  border: 1px solid #536888;
  border-radius: 12px;
  background: #1e293b;
  color: #f8fafc;
  font-size: 13px;
}
.chat-report-question > p {
  margin: 0 0 10px;
  white-space: pre-wrap;
}
.chat-report-question-actions {
  padding: 0;
  border: 0;
  background: transparent;
}
.chat-report-question-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chat-report-question-options button {
  max-width: 100%;
  text-align: left;
  overflow-wrap: anywhere;
}
.chat-report-question-options button:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
}
.chat-report-question button:disabled {
  opacity: .5;
  cursor: default;
}
.chat-report-question .workspace-form {
  background: #fff;
  border-radius: 10px;
}
.chat-app-link {
  min-height: 44px;
  padding: 8px 12px;
  margin-top: 8px;
  border: 1px solid #b9c7d9;
  border-radius: 8px;
  background: #edf3ff;
  color: #23487b;
  cursor: pointer;
}
.mobile-workspace {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #f2f5fa;
  color: #17243b;
}
.mobile-workspace > header {
  min-height: 50px;
  padding: calc(8px + var(--safe-top, 0px)) 16px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #142239;
  color: #fff;
}
.mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.mobile-brand > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #245ce0;
  color: #fff;
  font-size: 23px;
  font-weight: 600;
}
.mobile-workspace > header button,
.mobile-workspace > nav button {
  border: 0;
  border-radius: 8px;
  padding: 10px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.mobile-workspace > nav {
  display: flex;
  flex-wrap: wrap;
  padding: 6px 8px;
  gap: 3px;
  flex-shrink: 0;
  background: #142239;
  color: #d4def0;
}
.mobile-workspace > nav button {
  flex: 1;
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
}
.mobile-workspace > nav button[aria-current=page] {
  background: #315cd5;
  color: #fff;
}
.mobile-workspace > main {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
}
.mobile-chat-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-top: 1px solid #cdd7e4;
}
.mobile-chat-toggle button {
  padding: 9px 14px;
  border-radius: 8px;
  background: #dfebff;
  color: #23487b;
}
.mobile-conversation {
  display: flex;
  flex-direction: column;
  min-height: 200px;
}
@media (max-width: 640px) {
  .workspace-library,
  .workspace-form,
  .report-reader {
    padding: 16px;
  }
  .workspace-list .workspace-list-item {
    padding: 10px;
    gap: 8px;
  }
  .workspace-list-item .workspace-artwork {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }
  .workspace-search {
    align-items: stretch;
  }
  .workspace-form fieldset {
    padding: 14px;
  }
}

/* source/web/src/assets/web.css */
html,
body,
#appSPA {
  height: 100%;
}
.web-app {
  --accent: #245ce0;
  --text: #172338;
  --text-muted: #536078;
  --bg: #fafbfc;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: #fafbfc;
  color: var(--text);
  font-size: 16px;
}
.web-app [hidden] {
  display: none !important;
}
.web-app :is(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid #245ce0;
  outline-offset: 3px;
}
.web-app button:disabled {
  cursor: default;
}
.web-app :is(button, input, select, textarea) {
  font-family: inherit;
}
.web-skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 10px;
  color: white;
  background: #245ce0;
}
.web-skip-link:focus {
  top: 12px;
}
.web-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 40px;
  position: relative;
  z-index: 30;
}
.web-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #101b31;
  text-decoration: none;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -1px;
}
.web-brand > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #245ce0;
  color: white;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1px;
}
.web-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.workspace-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  color: #536078;
  background: transparent;
  text-decoration: none;
}
.workspace-icon-button:hover {
  background: #edf2fa;
  color: #245ce0;
}
.web-attention {
  position: relative;
}
.web-attention > svg {
  width: 27px;
  height: 27px;
}
.attention-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e99a13;
  border: 2px solid #fafbfc;
}
.web-profile {
  position: relative;
}
.web-view-menu {
  position: relative;
}
.web-view-menu > nav {
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
}
.web-profile-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e8efff;
  color: #245ce0;
  font-size: 17px;
  font-weight: 650;
}
.web-profile-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 228px;
  padding: 8px;
  background: white;
  border: 1px solid #dee5f0;
  border-radius: 16px;
  box-shadow: 0 12px 36px #17233818;
}
.web-profile-menu > :is(a, button) {
  display: flex;
  align-items: center;
  text-align: left;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: #172338;
  background: transparent;
  text-decoration: none;
  border-radius: 9px;
  font-size: 14px;
}
.web-profile-menu > :is(a, button):hover {
  background: #f0f4fb;
}
.web-connection-notice {
  font-size: 13px;
  color: #895415;
}
.web-main {
  min-height: 0;
  min-width: 0;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.web-companion {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  min-height: 0;
  height: 100%;
  position: relative;
}
.web-scene {
  flex: 0 0 clamp(180px, 33dvh, 350px);
  min-height: 0;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}
.is-greeting .web-companion {
  justify-content: center;
  padding-bottom: 4dvh;
}
.is-greeting .web-scene {
  flex-basis: clamp(280px, 53dvh, 570px);
}
.web-greeting {
  text-align: center;
  margin: 20px 0 28px;
}
.web-greeting h1 {
  font-size: clamp(23px, 2.25vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.7px;
  font-weight: 650;
  margin: 0;
  overflow-wrap: anywhere;
}
.web-transcript {
  display: flex;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 1040px;
  margin: 12px auto 18px;
}
.web-composer {
  flex: none;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}
.is-greeting .web-composer {
  max-width: 880px;
}
.web-history-button {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 22px;
  padding: 9px 16px;
  border-radius: 12px;
  background: transparent;
  color: #536078;
  font-size: 15px;
}
.web-history-button:hover {
  background: #edf2fa;
}
.web-home-error {
  max-width: 900px;
  align-self: center;
  padding: 8px 16px;
}
.web-drawer-close,
.web-open-conversation,
.web-chat-backdrop {
  display: none;
}
.avatar-workspace {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 0 32px;
  background:
    radial-gradient(
      ellipse at 50% 55%,
      #ebf3ffb0 0,
      transparent 65%);
}
.avatar-centre {
  min-height: 0;
  min-width: 0;
  height: 100%;
  position: relative;
}
.web-scene .avatar-centre .ai-self-scene {
  min-height: 0;
  height: 100%;
  width: 100%;
  padding: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}
.web-scene .ai-self-scene-notices {
  position: absolute;
  top: 0;
  z-index: 10;
  max-width: 260px;
}
.web-scene .ai-self-stage-visual {
  min-height: 0;
  height: 100%;
}
.web-scene .ai-self-head-trigger-icon {
  opacity: 0;
}
.web-scene .ai-self-head-trigger:is(:hover, :focus-visible) .ai-self-head-trigger-icon {
  opacity: 1;
}
.avatar-objects {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 3;
}
.avatar-object-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 6px;
  align-items: center;
  justify-items: center;
  width: 100%;
}
.avatar-object-grid:has(> :only-child) {
  grid-template-columns: minmax(0, 1fr);
}
.avatar-library-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.avatar-library-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  color: #536078;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.avatar-library-link:hover {
  color: #245ce0;
  background: #edf2fa;
}
.avatar-start-app {
  width: 44px;
  height: 44px;
  border: 1px dashed #a9bbd6;
}
.avatar-object {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  min-width: 44px;
  min-height: 44px;
  width: 100%;
  max-width: 136px;
  padding: 0;
  color: #172338;
  background: transparent;
  border: 0;
  border-radius: 12px;
  text-decoration: none;
}
.avatar-object:hover .workspace-artwork {
  filter: drop-shadow(0 10px 9px #243c6528);
}
.avatar-object .workspace-artwork {
  width: 100%;
  height: auto;
  max-height: 145px;
  filter: drop-shadow(0 6px 5px #243c6515);
  animation: workspace-float 6s ease-in-out infinite;
}
.avatar-object-grid > :nth-child(even) .workspace-artwork {
  animation-delay: -3s;
}
.avatar-object-title {
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 5px 6px;
}
.floating-report {
  width: 100%;
  max-width: 140px;
}
.floating-report .report-document {
  max-width: none;
  width: 100%;
}
.report-paper {
  position: relative;
  display: block;
  aspect-ratio: 120 / 138;
}
.report-paper > svg {
  display: block;
  width: 100%;
  height: 100%;
}
.report-paper-title {
  position: absolute;
  top: 23%;
  left: 20%;
  width: 56%;
  color: #172338;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.15;
  text-align: left;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.report-unread-dot {
  position: absolute;
  top: 9%;
  right: 9%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #245ce0;
  border: 2px solid #fafbfc;
}
.report-attention-mark {
  position: absolute;
  right: 8%;
  bottom: 9%;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 1px solid #dea32a;
  color: #785211;
  background: #fff0c7;
  font-size: 13px;
  font-weight: 700;
}
.floating-report-details {
  position: absolute;
  left: 50%;
  top: calc(100% - 4px);
  transform: translateX(-50%);
  z-index: 45;
  width: 238px;
  padding: 14px 16px;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background: white;
  box-shadow: 0 9px 24px #17233818;
  font-size: 13px;
  color: #536078;
  line-height: 1.5;
}
.floating-report-details strong {
  display: block;
  margin-bottom: 5px;
  color: #172338;
}
.floating-report-details > span,
.floating-report-details > span > span {
  display: block;
}
@keyframes workspace-float {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-4px) rotate(0deg);
  }
}
.web-app .chat-history {
  background: transparent;
  border: 0;
}
.web-app .chat-history-log {
  padding: 12px 16px 16px;
  scroll-padding-block: 16px;
  scrollbar-width: thin;
  scrollbar-color: #c6d3e6 transparent;
}
.web-app .chat-history-messages {
  gap: 22px;
}
.web-app .chat-message {
  max-width: 92%;
  font-size: 18px;
  line-height: 1.65;
  color: #172338;
}
.web-app .chat-message--me {
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.web-app .chat-message--user {
  align-self: flex-end;
  padding: 12px 18px;
  background: #e8efff;
  color: #172338;
  border-radius: 18px 18px 5px 18px;
}
.web-app .chat-history-status {
  color: #536078;
  font-size: 15px;
}
.web-app .chat-history-empty {
  color: #536078;
  font-size: 15px;
}
.web-app .chat-history-error {
  color: #a52c30;
  font-size: 15px;
  text-align: left;
}
.web-app .chat-markdown a,
.web-app .chat-app-link,
.web-app .chat-report-link {
  color: #245ce0;
}
.web-app .chat-markdown blockquote {
  color: #536078;
  border-color: #b8c8e0;
}
.web-app .chat-markdown :not(pre) > code {
  background: #eaf0f8;
  color: #253756;
}
.web-app .chat-markdown pre {
  color: #172338;
  background: #edf2f8;
  border-color: #dce5f0;
}
.web-app .chat-markdown th {
  background: #eaf0f8;
}
.web-app .chat-markdown :is(th, td) {
  border-color: #cbd7e7;
}
.web-app .chat-jump-latest {
  min-width: 44px;
  min-height: 44px;
  color: #245ce0;
  background: white;
  border: 1px solid #d8e3f2;
  box-shadow: 0 3px 12px #17233812;
}
.web-app .chat-composer {
  padding: 10px 12px;
  border: 1px solid #dce4ef;
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 5px 24px #243c6506;
}
.web-app .chat-composer-row {
  gap: 10px;
  min-height: 54px;
}
.web-app .chat-composer-input {
  border: 0;
  background: transparent;
  border-radius: 9px;
  color: #172338;
  padding: 10px 12px;
  font-size: 18px;
  min-height: 48px;
}
.web-app .chat-composer-input::placeholder {
  color: #6b7b95;
  opacity: 1;
}
.web-app .chat-send-button,
.web-app .chat-microphone-button {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}
.web-app .chat-send-button {
  order: 3;
  background: #245ce0;
  color: white;
  font-size: 26px;
}
.web-app .chat-send-button:disabled {
  background: #e9eff8;
  color: #71829c;
}
.web-app .chat-microphone-button {
  order: 2;
  background: #f0f3f9;
  color: #172338;
}
.web-app .chat-microphone-button[data-phase=recording] {
  background: #c9343a;
  color: white;
}
.web-app .chat-microphone-button[data-phase=requesting] {
  background: #fff0ca;
  color: #82590c;
}
.web-app .chat-microphone-button:disabled {
  opacity: .55;
}
.web-app .chat-voice-message {
  margin: 4px 12px;
  color: #536078;
  font-size: 13px;
}
.web-app .chat-composer-context {
  margin: 0 4px 4px;
}
.web-context-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  min-height: 36px;
  padding: 5px 10px;
  border-radius: 20px;
  background: #edf2fa;
  color: #344865;
  font-size: 13px;
}
.web-context-chip > svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.web-context-chip > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.web-context-chip.is-cleared {
  border: 1px dashed #acbad0;
  background: white;
}
.web-context-edition {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.web-main.is-expanded {
  display: grid;
  grid-template-columns: minmax(360px, .42fr) minmax(540px, .58fr);
  gap: 28px;
  padding-top: 8px;
}
.is-expanded .web-scene {
  flex-basis: clamp(170px, 31dvh, 335px);
}
.is-expanded .avatar-workspace {
  gap: 8px;
  padding: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
}
.is-expanded .avatar-object {
  max-width: 105px;
}
.is-expanded .web-transcript {
  margin-top: 10px;
}
.is-expanded .chat-message {
  max-width: 96%;
  font-size: 18px;
  line-height: 1.6;
}
.is-expanded .chat-composer-input {
  font-size: 18px;
}
.is-expanded .chat-send-button,
.is-expanded .chat-microphone-button {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
}
.is-expanded .avatar-library-link {
  font-size: 13px;
}
.is-expanded .report-paper-title {
  font-size: 11px;
  -webkit-line-clamp: 2;
}
.is-expanded .floating-report-details {
  left: 0;
  transform: none;
}
.web-content {
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c6d3e6 transparent;
}
.web-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 4px;
}
.web-content-header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -.5px;
}
.web-main.is-library {
  gap: 16px;
}
.is-library .web-content {
  flex: 1;
  order: 0;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.is-library .web-companion {
  flex: none;
  height: auto;
  order: 1;
}
.is-library.has-chat-drawer .web-companion {
  flex: 0 0 min(45dvh, 420px);
  min-height: 210px;
}
.is-library.has-chat-drawer .web-drawer-close {
  display: flex;
  align-self: flex-end;
}
.web-app .report-reader--web {
  min-height: 100%;
  margin: 0;
  padding: 24px 46px 42px;
  border: 1px solid #dce4ef;
  border-radius: 22px;
  box-shadow: 0 4px 22px #17233804;
  font-size: 18px;
  line-height: 1.7;
}
.web-app .report-reader--web:is(.theme-paper, .theme-minimal) {
  background: white;
  color: #253756;
}
.web-app .report-reader--web h2 {
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.2;
  letter-spacing: -.9px;
  margin: 10px 0 18px;
}
.web-app .report-reader--web h3 {
  color: inherit;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -.3px;
  margin: 30px 0 12px;
}
.web-app .report-reader--web p {
  margin: 12px 0;
}
.web-app .report-reader--web > .report-summary {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #dce4ef;
  font-size: 19px;
}
.web-app .report-reader--web .report-edition-date {
  font-size: 13px;
  color: #536078;
}
.web-app .report-reader-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 6px;
  position: relative;
}
.web-app .report-reader--web > .report-reader-toolbar {
  position: sticky;
  top: 0;
  z-index: 12;
  background: inherit;
}
.web-app .report-reader-kind {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.web-app .report-close-button,
.web-app .report-actions-menu > summary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #536078;
  font-size: 23px;
  list-style: none;
  cursor: pointer;
}
.web-app .report-actions-menu > summary::-webkit-details-marker {
  display: none;
}
.web-app .report-close-button:hover,
.web-app .report-actions-menu > summary:hover {
  background: #edf2fa;
}
.web-app .report-actions-menu {
  position: relative;
  margin: 0;
}
.web-app .report-actions-popover {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 275px;
  max-width: 72vw;
  padding: 10px;
  border: 1px solid #dae4f0;
  border-radius: 14px;
  background: white;
  color: #172338;
  box-shadow: 0 10px 28px #17233820;
  font-size: 14px;
  line-height: 1.45;
}
.web-app .report-actions-popover > button {
  min-height: 44px;
  padding: 10px;
  text-align: left;
  color: #172338;
  background: transparent;
  border-radius: 8px;
}
.web-app .report-actions-popover > button:hover {
  background: #edf2fa;
}
.web-app .report-menu-status {
  padding: 5px 10px;
  color: #536078;
  font-size: 12px;
}
.web-app .report-edition-history {
  padding: 8px 10px;
}
.web-app .report-edition-history select {
  max-width: 100%;
}
.web-app .report-sources {
  margin-top: 30px;
  color: #536078;
}
.web-app .report-sources > summary {
  min-height: 44px;
  cursor: pointer;
}
.web-app .report-sources a {
  color: #245ce0;
}
.web-app .report-reader--web.theme-midnight :is(.report-edition-date, .report-sources, .report-close-button, .report-actions-menu > summary) {
  color: #c4d1e4;
}
.web-app .report-reader--web.theme-midnight .report-sources a {
  color: #aac9ff;
}
.web-app .workspace-library {
  padding: 16px 4px 28px;
}
.web-app .workspace-search,
.web-app .workspace-list-item,
.web-app .workspace-form {
  border-color: #dce4ef;
}
.web-app .workspace-form {
  max-width: 100%;
}
.web-app .workspace-error {
  color: #a52c30;
}
.web-app .chat-report-question {
  border-color: #d6e1ef;
  background: #f0f5fc;
  color: #172338;
  font-size: 15px;
}
.web-app .chat-report-question-actions {
  background: transparent;
}
.web-report-request {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  margin-bottom: 12px;
  border: 1px solid #e5c985;
  border-radius: 14px;
  background: #fff8e7;
  color: #614c24;
  font-size: 15px;
}
.web-report-request p {
  flex: 1;
  margin: 0;
}
.web-report-request button {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #614c24;
  background: #f5e8c7;
  font-weight: 650;
}
@media (max-width: 1099px) {
  .web-main.is-expanded {
    display: flex;
    padding: 8px 24px 20px;
  }
  .is-expanded .web-content {
    flex: 1;
    padding-bottom: 76px;
  }
  .is-expanded .web-companion {
    position: fixed;
    inset: auto 0 0;
    z-index: 61;
    height: min(86dvh, 840px);
    padding: 38px 18px max(18px, env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    background: #fafbfc;
    box-shadow: 0 -12px 48px #17233824;
    visibility: hidden;
    transform: translateY(100%);
  }
  .is-expanded.has-chat-drawer .web-companion {
    visibility: visible;
    transform: translateY(0);
  }
  .is-expanded .web-scene {
    flex-basis: clamp(125px, 23dvh, 220px);
    max-width: 620px;
  }
  .is-expanded .web-transcript,
  .is-expanded .web-composer {
    max-width: 820px;
  }
  .is-expanded .web-drawer-close {
    display: flex;
    position: absolute;
    top: 3px;
    right: 12px;
  }
  .web-open-conversation {
    display: flex;
    align-items: center;
    gap: 8px;
    position: fixed;
    right: 28px;
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 32;
    width: 92px;
    height: 64px;
    padding: 5px 14px 5px 4px;
    background: white;
    border: 1px solid #d6e1ef;
    color: #245ce0;
    border-radius: 36px;
    box-shadow: 0 6px 24px #1723381a;
  }
  .web-open-conversation > .ai-self-appearance-illustration {
    width: 52px;
    height: 52px;
    flex: none;
  }
  .web-open-conversation > svg:last-child {
    flex: none;
  }
  .has-chat-drawer .web-open-conversation {
    visibility: hidden;
  }
  .web-chat-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: #17233840;
  }
}
@media (max-width: 640px) {
  .web-app {
    grid-template-rows: auto minmax(0, 1fr);
  }
  .web-topbar {
    padding: 12px 18px;
    gap: 8px;
  }
  .web-brand {
    font-size: 23px;
    gap: 9px;
  }
  .web-brand > span {
    width: 34px;
    height: 34px;
    font-size: 25px;
    border-radius: 9px;
  }
  .web-header-actions {
    gap: 8px;
    margin-left: auto;
  }
  .web-profile-button {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }
  .web-main {
    padding: 0 12px max(12px, env(safe-area-inset-bottom));
  }
  .web-scene {
    flex-basis: clamp(145px, 30dvh, 240px);
  }
  .is-greeting .web-scene {
    flex-basis: clamp(270px, 48dvh, 420px);
  }
  .is-greeting .web-companion {
    padding-bottom: 2dvh;
  }
  .avatar-workspace {
    padding: 0;
    gap: 2px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  }
  .is-greeting .avatar-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr) minmax(0, 1fr);
  }
  .avatar-object-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .avatar-object-grid > :nth-child(n+3) {
    display: none;
  }
  .avatar-object {
    max-width: 91px;
  }
  .avatar-object .workspace-artwork {
    max-height: 95px;
  }
  .avatar-object-title {
    font-size: 10px;
    padding-bottom: 1px;
  }
  .avatar-objects {
    gap: 0;
  }
  .avatar-library-link {
    padding: 6px 4px;
    font-size: 13px;
  }
  .avatar-start-app {
    min-width: 44px;
    width: 44px;
  }
  .floating-report {
    max-width: 96px;
  }
  .report-paper-title {
    font-size: 11px;
    -webkit-line-clamp: 2;
  }
  .floating-report-details {
    left: 0;
    transform: none;
    width: 230px;
  }
  .web-greeting {
    margin: 16px 8px 24px;
  }
  .web-greeting h1 {
    font-size: 23px;
  }
  .web-history-button {
    margin-top: 12px;
  }
  .web-transcript {
    margin: 4px auto 12px;
  }
  .web-app .chat-history-log {
    padding: 8px 6px 12px;
  }
  .web-app .chat-message,
  .is-expanded .chat-message {
    font-size: 16px;
    max-width: 96%;
  }
  .web-app .chat-message--user {
    padding: 10px 13px;
  }
  .web-app .chat-history-messages {
    gap: 16px;
  }
  .web-app .chat-composer {
    padding: 6px;
    border-radius: 19px;
  }
  .web-app .chat-composer-row {
    gap: 4px;
    min-height: 48px;
  }
  .web-app .chat-composer-input {
    font-size: 16px;
    padding: 8px;
  }
  .web-app .chat-send-button,
  .web-app .chat-microphone-button {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
  .web-main.is-expanded {
    padding: 4px 10px 12px;
  }
  .web-app .report-reader--web {
    padding: 16px 22px 30px;
    border-radius: 17px;
    font-size: 16px;
    line-height: 1.65;
  }
  .web-app .report-reader--web h2 {
    font-size: 30px;
  }
  .web-app .report-reader--web h3 {
    font-size: 21px;
  }
  .web-open-conversation {
    bottom: 18px;
    right: 18px;
  }
  .is-expanded .web-scene {
    flex-basis: clamp(110px, 21dvh, 170px);
  }
  .is-expanded .avatar-object-grid > :nth-child(n+2) {
    display: none;
  }
  .is-expanded .avatar-object {
    max-width: 77px;
  }
  .is-expanded .web-companion {
    padding-inline: 12px;
  }
  .web-context-chip {
    min-height: 44px;
  }
}
@media (max-height: 650px) {
  .web-scene,
  .is-expanded .web-scene {
    flex-basis: 150px;
  }
  .is-greeting .web-scene {
    flex: 1 1 180px;
    min-height: 80px;
    max-height: 260px;
  }
  .is-greeting .web-companion {
    padding-bottom: 0;
  }
  .web-greeting {
    margin: 8px 0 14px;
  }
  .web-history-button {
    margin-top: 5px;
  }
}
@media (max-width: 1099px) and (max-height: 650px) {
  .is-expanded .web-companion {
    height: 94dvh;
  }
  .is-expanded .web-scene {
    flex-basis: 110px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .web-app .avatar-object .workspace-artwork {
    animation: none;
  }
}
.web-app .avatar-workspace {
  grid-template-columns: minmax(0, 1fr);
}
.web-app .avatar-centre {
  grid-column: 1;
  width: 100%;
  justify-self: center;
}
.web-library-tabs {
  display: flex;
  gap: 12px;
  padding: 0 0 16px;
}
.web-library-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  color: #536179;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
}
.web-library-tabs a.active {
  color: #263c66;
  background: #e8edf9;
  font-weight: 600;
}
.ai-self-profile {
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: 24px;
}
.ai-self-profile > p {
  color: #596980;
  line-height: 1.5;
}
.ai-self-profile-group {
  margin-top: 24px;
}
.ai-self-profile-group h2 {
  margin: 0 0 8px;
  font-size: 18px;
}
.ai-self-profile-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ai-self-profile-group li {
  padding: 16px;
  margin: 8px 0;
  border: 1px solid #e0e6ef;
  border-radius: 14px;
  background: #fff;
}
.ai-self-profile-group li.is-highlighted {
  outline: 2px solid #879de1;
}
.ai-self-profile-item-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}
.ai-self-profile-item-heading span,
.ai-self-profile-reason,
.ai-self-profile-empty {
  font-size: 13px;
  color: #687890;
}
.ai-self-profile-group p {
  line-height: 1.5;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.ai-self-profile-group details,
.ai-self-account-settings {
  margin: 12px 0;
  font-size: 13px;
  color: #596980;
}
.ai-self-profile summary,
.chat-memory-learning summary {
  cursor: pointer;
  padding: 8px 0;
}
.ai-self-correct,
.chat-memory-learning button {
  border: 0;
  border-radius: 8px;
  background: #edf1f8;
  color: #314b74;
  padding: 10px 12px;
  cursor: pointer;
}
.web-profile-correction {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  margin-bottom: 8px;
  background: #edf1f8;
  border-radius: 12px;
  font-size: 13px;
}
.web-profile-correction span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.web-profile-correction button {
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.chat-memory-learning {
  margin-top: 10px;
  border-top: 1px solid #dbe3ec;
  font-size: 13px;
  color: #52647d;
}
.chat-memory-learning li {
  margin: 6px 0;
}
.chat-memory-learning button {
  display: block;
  margin-top: 6px;
}
