@font-face {
  font-family: "Anthropic Sans";
  src: url("assets/fonts/cc27851ad-DDVos-BJ.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  font-feature-settings: "dlig" 0;
}

@font-face {
  font-family: "Anthropic Sans";
  src: url("assets/fonts/c9d3a3a49-CJtkx3-S.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  font-feature-settings: "dlig" 0;
}

@font-face {
  font-family: "Anthropic Serif";
  src: url("assets/fonts/c66fc489e-2VcCjn5t.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Anthropic Serif";
  src: url("assets/fonts/cc410af59-Dcb-9NUS.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Anthropic Serif Fallback Georgia";
  src: local("Georgia");
  size-adjust: 104.79%;
  ascent-override: 94.71%;
  descent-override: 24.57%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Anthropic Serif Fallback Times";
  src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"), local("LiberationSerif");
  size-adjust: 114.99%;
  ascent-override: 86.31%;
  descent-override: 22.39%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Anthropic Serif Fallback DejaVu";
  src: local("DejaVu Serif"), local("DejaVuSerif");
  size-adjust: 90.15%;
  ascent-override: 110.1%;
  descent-override: 28.56%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Anthropic Serif Fallback Noto";
  src: local("Noto Serif"), local("NotoSerif"), local("NotoSerif-Regular");
  size-adjust: 97.12%;
  ascent-override: 102.19%;
  descent-override: 26.51%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Anthropic Mono";
  src: url("assets/fonts/c5dbe0935-CQcSkHaI.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Anthropic Mono";
  src: url("assets/fonts/c2f08283e-CZqJpOsc.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Anthropicons-Variable";
  src: url("assets/fonts/c0f671921-_JGacpB2.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
}

@font-face {
  font-family: "OpenDyslexic";
  src: url("assets/fonts/cf5d8819d-D7oQwCA_.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "OpenDyslexic";
  src: url("assets/fonts/ce6cfa480-T9ivnrk-.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "OpenDyslexic";
  src: url("assets/fonts/c59d6eb1d-lZojiKrH.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "OpenDyslexic";
  src: url("assets/fonts/ce4f31d76-ChjKfT4W.woff2") format("woff2");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

@keyframes voice-bars {
  0%,
  100% {
    transform: scaleY(0.48);
    transform-origin: center;
  }

  50% {
    transform: scaleY(1);
    transform-origin: center;
  }
}

:root {
  color-scheme: dark;
  --always-black: 0 0% 0%;
  --always-white: 0 0% 100%;
  --brand-clay: 15 63% 60%;
  --brand-clay-strong: 15 54% 51%;
  --accent-000: 210 65.5% 67.1%;
  --bg-000: 60 2.1% 18.4%;
  --bg-100: 60 2.7% 14.5%;
  --bg-200: 30 3.3% 11.8%;
  --bg-300: 60 2.6% 7.6%;
  --bg-400: 0 0% 5%;
  --border: 51 16.5% 84.5%;
  --border-200: 51 16.5% 84.5%;
  --border-300: 51 16.5% 84.5%;
  --border-400: 51 16.5% 84.5%;
  --border-soft: hsl(var(--border) / 0.14);
  --pictogram-100: 48 3.4% 29.2%;
  --pictogram-200: 60 2.5% 23.3%;
  --pictogram-300: 60 2.1% 18.4%;
  --pictogram-400: 60 2.7% 14.5%;
  --text-000: 48 33.3% 97.1%;
  --text-100: 48 33.3% 97.1%;
  --text-200: 50 9% 73.7%;
  --text-300: 50 9% 73.7%;
  --text-400: 48 4.8% 59.2%;
  --text-500: 48 4.8% 59.2%;
  --sidebar-width: 18rem;
  --sidebar-collapsed-width: 3.05rem;
  --focus: 213 77% 68%;
  --font-anthropic-sans: "Anthropic Sans", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-anthropic-serif: "Anthropic Serif", "Anthropic Serif Fallback Georgia", "Anthropic Serif Fallback Times", "Anthropic Serif Fallback DejaVu", "Anthropic Serif Fallback Noto", Georgia, "Arial Hebrew", "Noto Sans Hebrew", "Times New Roman", Times, "Hiragino Sans", "Yu Gothic", Meiryo, "Noto Sans CJK JP", "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", serif;
  --font-ui: var(--font-anthropic-sans);
  --font-ui-serif: var(--font-anthropic-serif);
  --font-serif: var(--font-ui-serif);
  --font-mono: "Anthropic Mono", ui-monospace, monospace;
  --font-claude-response: var(--font-ui-serif);
  --font-user-message: var(--font-ui);
  --font-anthropicons: "Anthropicons-Variable";
  --font-open-dyslexic: "OpenDyslexic", "Comic Sans MS", ui-serif, serif;
  --chat-content-width: 48rem;
  --cds-font-sans: var(--font-ui);
  --cds-h-control: 32px;
  --cds-text-primary: hsl(var(--text-000));
  --cds-text-secondary: hsl(var(--text-200));
  --cds-text-body: 0.9375rem;
  --cds-text-footnote: 0.875rem;
  --cds-spacing-md: 0.75rem;
  --cds-page-bg: hsl(var(--bg-100));
  --cds-cursor-interactive: pointer;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  background: hsl(var(--bg-100));
  font-family: var(--font-ui);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body {
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
  background: hsl(var(--bg-100));
  color: hsl(var(--text-100));
}

body.app-booting .main > section,
body.app-booting .mobile-sidebar-button,
body.app-booting .incognito-button {
  display: none;
}

body.app-booting .app-shell {
  pointer-events: none;
  visibility: hidden;
}

button,
textarea,
input,
select,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contents {
  display: contents;
}

.cds-root {
  font-family: var(--cds-font-sans, var(--font-ui));
}

.cds-reset {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
}

.mx-auto {
  margin-inline: auto;
}

.mt-4 {
  margin-top: 1rem;
}

.\!mt-1 {
  margin-top: 0.25rem !important;
}

.w-full {
  width: 100%;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-xs {
  max-width: 20rem;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-col {
  flex-direction: column;
}

.shrink-0 {
  flex-shrink: 0;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-md {
  gap: var(--cds-spacing-md);
}

.whitespace-normal {
  white-space: normal;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.select-none {
  user-select: none;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--cds-text-primary);
}

.text-secondary {
  color: var(--cds-text-secondary);
}

.text-body {
  font-size: var(--cds-text-body);
}

.text-footnote {
  font-size: var(--cds-text-footnote);
}

.font-sans {
  font-family: var(--cds-font-sans, var(--font-ui));
}

.font-large {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 430;
  line-height: 1.4;
}

.font-user-message {
  font-family: var(--font-user-message, var(--font-ui));
}

.\!font-user-message {
  font-family: var(--font-user-message, var(--font-ui)) !important;
}

.font-claude-response {
  font-family: var(--font-claude-response, var(--font-ui-serif));
}

.font-claude-response-body {
  font-family: var(--font-claude-response, var(--font-ui-serif));
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

[data-theme="claude"][data-mode="dark"] .font-claude-response-body {
  font-weight: 360;
}

.message-body .font-claude-response-body {
  color: hsl(var(--text-200));
}

.leading-\[1\.7\] {
  line-height: 1.7;
}

.font-medium {
  font-weight: 650;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  inset: 0;
}

.isolate {
  isolation: isolate;
}

.-z-\[1\] {
  z-index: -1;
}

.rounded {
  border-radius: 0.5rem;
}

.rounded-\[inherit\] {
  border-radius: inherit;
}

.border-0 {
  border: 0;
}

.outline-none {
  outline: none;
}

.h-control {
  height: var(--cds-h-control, 2rem);
}

.px-4 {
  padding-inline: 1rem;
}

.px-md {
  padding-inline: var(--cds-spacing-md);
}

.py-12 {
  padding-block: 3rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .md\:px-8 {
    padding-inline: 2rem;
  }
}

@media (min-width: 1024px) {
  .lg\:mt-6 {
    margin-top: 1.5rem;
  }
}

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: 100dvh;
  overflow: hidden;
}

body.login-active {
  overflow: auto;
  background: hsl(var(--bg-300));
}

body.login-active .app-shell {
  grid-template-columns: 1fr;
}

body.login-active .main {
  overflow: auto;
  background: hsl(var(--bg-300));
}

body.login-active .sidebar,
body.login-active .mobile-sidebar-button,
body.login-active .incognito-button {
  display: none;
}

.sidebar {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  border-right: 1px solid var(--border-soft);
  background:
    linear-gradient(to top, hsl(var(--bg-200) / 0.05), hsl(var(--bg-200) / 0.3)),
    hsl(var(--bg-100));
}

.sidebar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3rem;
  padding: 0.5rem 0.75rem 0.375rem 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 5.125rem;
  height: 1.5rem;
  min-width: 0;
  color: hsl(var(--text-100));
}

.brand svg {
  width: 100%;
  height: 1.25rem;
  fill: currentColor;
  stroke: none;
}

.sidebar__actions {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.icon-button {
  position: relative;
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-300));
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.icon-button svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.anthropicon {
  display: flex;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  font-family: var(--font-anthropicons);
  font-feature-settings: "liga" 0;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "opsz" var(--cds-opsz, 16), "wght" var(--cds-wght, 533.3);
  font-weight: var(--cds-wght, 533.3);
  line-height: 1;
  user-select: none;
}

.anthropicon--12 {
  --cds-opsz: 12;
  --cds-wght: 577.8;
  font-size: 0.75rem;
}

.anthropicon--16 {
  --cds-opsz: 16;
  --cds-wght: 533.3;
  font-size: 1rem;
}

.anthropicon--20 {
  --cds-opsz: 20;
  --cds-wght: 433.3;
  font-size: 1.25rem;
}

.anthropicon--heavy {
  --cds-wght: 700;
}

@property --cds-anim {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

@property --cds-anim2 {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

[data-cds-anim] {
  --cds-anim: 0;
  --cds-anim2: 0;
  --cds-icon-font-variation:
    "opsz" var(--cds-opsz, 20),
    "wght" var(--cds-wght, 400),
    "ANIM" var(--cds-anim),
    "ANM2" var(--cds-anim2);
  font-variation-settings: var(--cds-icon-font-variation);
  transition:
    font-variation-settings var(--cds-anim-dur-out, var(--cds-anim-dur, 0.3s)) var(--cds-anim-ease, cubic-bezier(0.34, 1.3, 0.64, 1)),
    --cds-anim var(--cds-anim-dur-out, var(--cds-anim-dur, 0.3s)) var(--cds-anim-ease, cubic-bezier(0.34, 1.3, 0.64, 1));
}

@keyframes cds-anim-loop {
  0%,
  49.99% {
    --cds-anim2: 0;
    font-variation-settings:
      "opsz" var(--cds-opsz, 20),
      "wght" var(--cds-wght, 400),
      "ANIM" var(--cds-anim),
      "ANM2" 0;
  }

  50%,
  to {
    --cds-anim2: 100;
    font-variation-settings:
      "opsz" var(--cds-opsz, 20),
      "wght" var(--cds-wght, 400),
      "ANIM" var(--cds-anim),
      "ANM2" 100;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .group:focus-within [data-cds-anim],
  [data-cds-anim]:focus-visible {
    --cds-anim: 100;
    font-variation-settings:
      "opsz" var(--cds-opsz, 20),
      "wght" var(--cds-wght, 400),
      "ANIM" 100,
      "ANM2" var(--cds-anim2);
    transition-duration: var(--cds-anim-dur, 0.3s);
  }

  .group:focus-within [data-cds-anim-loop],
  [data-cds-anim-loop]:focus-visible {
    animation: cds-anim-loop 1s linear 0.1s infinite;
  }

  @media (hover: hover) {
    .group:hover [data-cds-anim],
    [data-cds-anim]:hover {
      --cds-anim: 100;
      font-variation-settings:
        "opsz" var(--cds-opsz, 20),
        "wght" var(--cds-wght, 400),
        "ANIM" 100,
        "ANM2" var(--cds-anim2);
      transition-duration: var(--cds-anim-dur, 0.3s);
    }

    .group:hover [data-cds-anim-loop],
    [data-cds-anim-loop]:hover {
      animation: cds-anim-loop 1s linear 0.1s infinite;
    }
  }

  .group:active [data-cds-anim],
  [data-cds-anim]:active {
    --cds-anim: 0;
    font-variation-settings:
      "opsz" var(--cds-opsz, 20),
      "wght" var(--cds-wght, 400),
      "ANIM" 0,
      "ANM2" var(--cds-anim2);
    animation: none;
    transition-duration: 80ms;
  }
}

.icon-button:hover,
.icon-button:focus-visible,
.tool-button:hover,
.voice-button:hover,
.agent-selector:hover,
.model-selector:hover,
.incognito-button:hover {
  background: hsl(var(--text-100) / 0.07);
  color: hsl(var(--text-000));
}

.icon-button:focus-visible,
.tool-button:focus-visible,
.voice-button:focus-visible,
.agent-selector:focus-visible,
.model-selector:focus-visible,
.prompt-categories button:focus-visible,
.account__button:focus-visible,
.account__download:focus-visible,
.account__chevrons:focus-visible,
.nav-item:focus-visible,
.recent-list a:focus-visible,
.sidebar-download:focus-visible,
.incognito-button:focus-visible,
.mobile-sidebar-button:focus-visible,
.chat-action:focus-visible,
.chat-row-link:focus-visible,
.chat-row-menu:focus-visible,
.project-action:focus-visible,
.project-sort-menu button:focus-visible,
.chat-checkbox input:focus-visible + .chat-checkbox__box,
textarea:focus-visible {
  outline: 2px solid hsl(var(--focus));
  outline-offset: 2px;
}

.provider-form input:focus-visible,
.provider-form select:focus-visible,
.provider-form textarea:focus-visible,
.provider-form button:focus-visible {
  outline: 2px solid hsl(var(--focus));
  outline-offset: 2px;
}

.login-action:focus-visible,
.login-email:focus-visible,
.google-button-mount:focus-within,
.download-app:focus-visible,
.login-brand:focus-visible,
.pricing-tab:focus-visible,
.pricing-card__cta:focus-visible,
.pricing-footnote a:focus-visible {
  outline: 2px solid hsl(var(--focus));
  outline-offset: 2px;
}

.sidebar__scroll {
  min-height: 0;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: hsl(var(--border) / 0.35) transparent;
  scrollbar-width: thin;
}

.nav-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  min-height: 2rem;
  gap: 0.75rem;
  overflow: hidden;
  border-radius: 9px;
  padding: 0.375rem 0.75rem;
  color: hsl(var(--text-200));
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  transition: background-color 120ms ease, color 120ms ease;
}

.nav-item:hover,
.nav-item:focus-visible,
.nav-item.is-active {
  background: hsl(var(--text-100) / 0.055);
  color: hsl(var(--text-000));
}

.nav-item > span:not(.nav-icon):not(.nav-extra) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-icon {
  display: inline-grid;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  place-items: center;
  color: hsl(var(--text-100));
}

.nav-icon--round {
  width: 1.4rem;
  height: 1.4rem;
  margin-inline: -0.2rem 0;
  border-radius: 999px;
  background: hsl(var(--text-500) / 0.15);
  transition: transform 150ms ease, background-color 150ms ease;
}

.nav-item--new:hover .nav-icon--round,
.nav-item--new:focus-visible .nav-icon--round {
  transform: rotate(-3deg) scale(1.08);
  background: hsl(var(--text-500) / 0.25);
}

.nav-item--new:active .nav-icon--round {
  transform: rotate(6deg) scale(0.98);
}

.nav-item .nav-icon,
.sidebar-download > [data-cds="Icon"] {
  transition: transform 150ms ease, color 150ms ease;
}

.nav-item.group:hover .nav-icon,
.nav-item.group:focus-visible .nav-icon,
.sidebar-download:hover > [data-cds="Icon"],
.sidebar-download:focus-visible > [data-cds="Icon"] {
  transform: scale(1.06);
}

.nav-item.group:active .nav-icon,
.sidebar-download:active > [data-cds="Icon"] {
  transform: scale(0.98);
}

.nav-extra {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  color: hsl(var(--text-500));
}

.nav-section {
  margin-top: 0.875rem;
  padding-inline: 0.5rem;
}

.nav-section .nav-group {
  padding: 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 1.625rem;
}

.section-title {
  margin: 0 0 0.375rem;
  padding-left: 0.25rem;
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.section-head .section-title {
  margin-bottom: 0;
}

.icon-button--tiny {
  width: 1.75rem;
  height: 1.75rem;
  margin-right: 0.25rem;
  color: hsl(var(--text-500));
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 0;
  padding: 0.25rem 0 1rem;
  list-style: none;
}

.recent-list a {
  display: block;
  min-height: 2rem;
  overflow: hidden;
  border-radius: 9px;
  padding: 0.46rem 0.75rem;
  color: hsl(var(--text-200));
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: background-color 120ms ease, color 120ms ease;
}

.recent-list a:hover,
.recent-list a:focus-visible,
.recent-list a.is-active {
  background: hsl(var(--text-100) / 0.055);
  color: hsl(var(--text-000));
}

.recent-list a.muted {
  color: hsl(var(--text-300) / 0.62);
}

.account {
  position: relative;
  flex: 0 0 auto;
  border-top: 0.5px solid var(--border-soft);
}

.sidebar-download {
  display: flex;
  min-height: 2.25rem;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0.5rem 0.25rem;
  overflow: hidden;
  border-radius: 9px;
  padding: 0.375rem 0.75rem;
  color: hsl(var(--text-200));
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  transition: background-color 120ms ease, color 120ms ease;
}

.sidebar-download:hover,
.sidebar-download:focus-visible {
  background: hsl(var(--text-100) / 0.055);
  color: hsl(var(--text-000));
}

.sidebar-download__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account__surface {
  display: flex;
  width: 100%;
  min-height: 4rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  transition: background-color 150ms ease;
}

.account__surface:hover,
.account__surface:focus-within {
  background: hsl(var(--text-100) / 0.04);
}

.account__button {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  padding: 0;
  color: hsl(var(--text-100));
  cursor: pointer;
  outline: none;
  text-align: left;
}

.account__button:hover {
  background: transparent;
}

.avatar {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  background: hsl(var(--text-200));
  color: hsl(var(--bg-100));
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  user-select: none;
}

.avatar__initial {
  display: inline-flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.avatar svg {
  width: 100%;
  height: 100%;
  stroke: none;
}

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

.account__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.125rem;
}

.account__copy strong,
.account__copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account__copy strong {
  font-size: 0.875rem;
  line-height: 1.15;
}

.account__copy span {
  color: hsl(var(--text-500));
  font-size: 0.75rem;
}

.account__download {
  position: relative;
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border: 0.5px solid hsl(var(--border) / 0.32);
  border-radius: 0.5rem;
  color: hsl(var(--text-300));
  outline: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.account__download:hover,
.account__download:focus-visible {
  background: hsl(var(--text-100) / 0.07);
  border-color: transparent;
  color: hsl(var(--text-100));
}

.account__download-badge {
  position: absolute;
  top: -0.125rem;
  right: -0.125rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: hsl(var(--accent-000));
  pointer-events: none;
}

.account__download-badge::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  content: "";
  animation: account-download-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes account-download-ping {
  70%, 100% {
    opacity: 0;
    transform: scale(2);
  }
}

.account__chevrons {
  display: inline-grid;
  width: 1rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--text-500));
  cursor: pointer;
  outline: none;
}

.account__chevrons svg {
  width: 0.875rem;
  height: 0.875rem;
  color: hsl(var(--text-500));
  fill: currentColor;
  stroke: none;
}

.account__chevrons:hover,
.account__chevrons:focus-visible,
.account__chevrons[aria-expanded="true"] {
  color: hsl(var(--text-200));
}

.account__menu {
  position: absolute;
  right: 0.5rem;
  bottom: calc(100% + 0.5rem);
  z-index: 80;
  width: 17rem;
  max-width: calc(100vw - 1rem);
  overflow: visible;
  border: 0;
  border-radius: 0.625rem;
  background: hsl(60 2.75% 21.37%);
  box-shadow:
    0 0 0 1px hsl(var(--border-300) / 0.08),
    0 8px 24px hsl(var(--always-black) / 0.2),
    0 2px 6px hsl(var(--always-black) / 0.14);
  color: hsl(var(--text-100));
  font-family: var(--font-anthropic-sans);
  text-rendering: optimizeLegibility;
}

.account-menu-content {
  min-height: 0;
  overflow: visible;
  border-radius: inherit;
  padding: 0.25rem;
}

.account-menu-header {
  display: block;
  overflow: hidden;
  padding: 0.25rem 0.5rem;
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-item,
.account-menu-submenu-item {
  display: flex;
  width: 100%;
  min-height: 1.5rem;
  align-items: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--text-100));
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.125rem;
  outline: none;
  padding: 0.1875rem 0.5rem;
  text-align: left;
  text-decoration: none;
  user-select: none;
}

.account-menu-item {
  gap: 0.375rem;
}

.account-menu-item:hover,
.account-menu-item:focus-visible,
.account-menu-item[aria-expanded="true"],
.account-menu-submenu-item:hover,
.account-menu-submenu-item:focus-visible {
  background: hsl(var(--always-white) / 0.06);
}

.account-menu-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: hsl(var(--text-100));
  font-size: 1rem;
  font-weight: 533.3;
}

.account-menu-label {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-shortcut {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.0625rem;
  margin-left: 0.5rem;
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1rem;
}

.account-menu-shortcut kbd {
  font: inherit;
}

.account-menu-chevron {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-right: -0.25rem;
  color: hsl(var(--text-500));
  font-size: 1rem;
  font-weight: 533.3;
}

.account-menu-separator {
  height: 1px;
  margin: 0.25rem 0.5rem;
  background: hsl(var(--border-300) / 0.18);
}

.account-menu-submenu-anchor {
  position: relative;
}

.account-menu-submenu {
  position: absolute;
  bottom: 0;
  left: calc(100% + 0.125rem);
  z-index: 90;
  display: none;
  width: 13rem;
  max-width: calc(100vw - 1rem);
  border-radius: 0.625rem;
  background: hsl(60 2.75% 21.37%);
  box-shadow:
    0 0 0 1px hsl(var(--border-300) / 0.08),
    0 8px 24px hsl(var(--always-black) / 0.2),
    0 2px 6px hsl(var(--always-black) / 0.14);
  padding: 0.25rem;
}

.account-menu-submenu-anchor:hover > .account-menu-submenu,
.account-menu-submenu-anchor:focus-within > .account-menu-submenu,
.account-menu-submenu-anchor[data-open="true"] > .account-menu-submenu {
  display: block;
}

.main {
  position: relative;
  min-width: 0;
  min-height: 100dvh;
  overflow: auto;
  background: hsl(var(--bg-100));
}

.main::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, hsl(var(--bg-200)) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(var(--bg-200)) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  opacity: 0;
}

.mobile-sidebar-button {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 8;
  display: none;
}

.incognito-button {
  position: fixed;
  top: 0.625rem;
  right: 0.75rem;
  z-index: 2;
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-300));
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.incognito-button svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: none;
  fill: currentColor;
}

.prompt-categories svg,
.claude-spark svg {
  stroke: none;
  fill: currentColor;
}

@keyframes look-around {
  0%,
  16.6%,
  100% {
    transform: translateX(-1.5px);
  }
  25%,
  41.6% {
    transform: translateX(1.5px);
  }
  50%,
  66.6% {
    transform: translateY(-1.5px);
  }
  75%,
  91.6% {
    transform: translate(0, 0);
  }
}

.incognito-button:hover .incognito-button__eyes {
  animation: look-around 2.4s ease-in-out infinite;
}

.login-screen[hidden],
.welcome[hidden] {
  display: none;
}

.login-screen {
  position: relative;
  display: block;
  min-height: 100dvh;
  overflow: visible;
  background: hsl(var(--bg-300));
  color: hsl(var(--text-100));
  padding: 0;
}

.login-screen--split {
  display: none;
}

.login-screen::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 18rem;
  pointer-events: none;
  background: linear-gradient(to top, hsl(var(--always-black) / 0.16), transparent);
  content: "";
}

.login-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  background: hsl(var(--bg-300));
}

.login-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(calc(100% - clamp(2rem, 1.43rem + 2.86vw, 4rem)), 90rem);
  height: 4.5rem;
  margin-inline: auto;
}

.login-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.5rem;
  flex: 0 0 auto;
  border-radius: 0.625rem;
  color: hsl(var(--text-100));
}

.login-brand__spark {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--brand-clay));
}

.login-brand__spark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: none;
}

.login-brand__word {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.login-nav__links,
.login-nav__actions {
  display: flex;
  align-items: center;
}

.login-nav__right {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1.5rem;
}

.login-nav__links {
  gap: 1rem;
  min-width: 0;
}

.login-nav__item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 2rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-200));
  cursor: pointer;
  padding: 0 0.125rem;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  transition: color 150ms ease;
}

.login-nav__item:hover {
  color: hsl(var(--text-100));
}

.login-nav__item[aria-expanded="true"] {
  color: hsl(var(--text-300));
}

.login-nav__item[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.login-nav__item svg {
  width: 0.75rem;
  height: 0.75rem;
  fill: currentColor;
  stroke: none;
  transition: transform 150ms ease;
}

.login-nav__actions {
  gap: 0.75rem;
  flex: 0 0 auto;
}

.login-nav__sales,
.login-nav__try {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  min-width: 5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  padding: 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.login-nav__sales {
  border: 0.5px solid hsl(var(--border) / 0.2);
  background: transparent;
  color: hsl(var(--text-100));
}

.login-nav__sales:hover {
  border-color: hsl(var(--border) / 0.2);
  background: transparent;
  color: hsl(var(--text-100));
}

.login-nav__try {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid hsl(60 14% 92%);
  background: hsl(60 14% 93%);
  color: hsl(var(--bg-400));
  transform: translateZ(0);
  transition: transform 150ms cubic-bezier(0.165, 0.85, 0.45, 1), background-color 200ms ease;
}

.login-nav__try::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(at bottom, hsl(var(--bg-000) / 0.2), hsl(var(--bg-000) / 0));
  content: "";
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 200ms ease, transform 200ms ease;
}

.login-nav__try:hover {
  transform: scaleX(1.005) scaleY(1.015);
}

.login-nav__try:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.login-nav__menu {
  position: relative;
  display: none;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: hsl(var(--text-500));
  cursor: pointer;
  padding: 0.5rem;
  transition: color 300ms ease, opacity 300ms ease;
}

.login-nav__menu:hover {
  color: hsl(var(--text-100));
}

.login-nav__menu span {
  position: absolute;
  display: block;
  width: 1rem;
  height: 1px;
  background: currentColor;
  transition: transform 300ms ease-out, opacity 300ms ease-out, width 300ms ease-out;
}

.login-nav__menu span:first-child {
  transform: translateY(-0.375rem);
}

.login-nav__menu span:nth-child(3) {
  width: 0.625rem;
  transform: translate(0.1875rem, 0.375rem);
}

.login-nav__menu.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.login-mega {
  position: absolute;
  z-index: 3;
  top: 0;
  right: auto;
  left: 0;
  display: grid;
  border: 1px solid hsl(var(--border) / 0.08);
  border-radius: 0.875rem;
  background: hsl(var(--bg-200));
  box-shadow: 0 0.75rem 1.5rem hsl(var(--always-black) / 0.22);
  padding: 0.875rem 0;
  transform: none;
  transform-origin: top center;
  animation: login-mega-unfurl 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.login-mega--meet {
  width: min(calc(100% - 2rem), 56rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.login-mega--platform {
  width: min(calc(100% - 2rem), 27.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.login-mega--solutions {
  width: min(calc(100% - 2rem), 68rem);
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.login-mega--pricing {
  width: min(calc(100% - 2rem), 13.5rem);
  grid-template-columns: minmax(0, 1fr);
  padding-block: 0.625rem;
}

.login-mega--resources {
  width: min(calc(100% - 2rem), 41.5rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.login-mega--platform,
.login-mega--solutions,
.login-mega--resources {
  padding-block: 1.125rem;
}

.login-mega[hidden] {
  display: none;
}

.login-mega__column {
  min-width: 0;
  padding: 0 0.5rem;
}

.login-mega__column + .login-mega__column {
  border-left: 1px solid hsl(var(--border) / 0.11);
}

.login-mega__label {
  min-height: 1.5rem;
  margin: 0;
  color: hsl(var(--text-400));
  padding: 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.25rem;
}

.login-mega__label--empty {
  visibility: hidden;
}

.login-mega__link {
  display: flex;
  min-width: 0;
  min-height: 2.5rem;
  align-items: center;
  border-radius: 0.5rem;
  color: hsl(var(--text-100));
  padding: 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.25;
  transition: background-color 120ms ease, color 120ms ease;
}

.login-mega:has(.login-mega__link:hover) .login-mega__link,
.login-mega:has(.login-mega__link:focus-visible) .login-mega__link {
  background: transparent;
  color: hsl(var(--text-400));
}

.login-mega__link:hover,
.login-mega__link:focus-visible {
  outline: none;
  background: hsl(var(--text-100) / 0.09);
  color: hsl(var(--text-100));
}

.login-mega:has(.login-mega__link:hover) .login-mega__link:hover,
.login-mega:has(.login-mega__link:focus-visible) .login-mega__link:focus-visible {
  background: hsl(var(--text-100) / 0.09);
  color: hsl(var(--text-100));
}

.login-mega__link--external {
  justify-content: space-between;
  gap: 1rem;
}

.login-mega__link--external svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
}

@keyframes login-mega-unfurl {
  from {
    clip-path: inset(0 0 100% 0 round 0.875rem);
    opacity: 0.65;
    transform: scaleY(0.96);
  }

  to {
    clip-path: inset(0 0 0 0 round 0.875rem);
    opacity: 1;
    transform: scaleY(1);
  }
}

.login-nav__drawer {
  display: none;
  position: fixed;
  z-index: 150;
  inset: 0 0 0 auto;
  width: 100%;
  flex-direction: column;
  border-left: 1px solid hsl(var(--border-400));
  background: hsl(var(--bg-200));
  box-shadow: 0 4px 20px hsl(var(--always-black) / 0.04);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.login-nav__drawer.is-open {
  clip-path: inset(0 0 0 0);
}

.login-nav__backdrop {
  display: none;
  position: fixed;
  z-index: 140;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.login-nav__backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.login-nav__drawer-header {
  display: flex;
  width: calc(100% - (2 * clamp(2rem, 1.43rem + 2.86vw, 4rem)));
  height: 72px;
  flex: 0 0 72px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.login-nav__drawer-close {
  position: relative;
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: hsl(var(--text-500));
  cursor: pointer;
  outline: none;
  padding: 0.5rem;
}

.login-nav__drawer-close:focus-visible {
  color: hsl(var(--text-100));
}

.login-nav__drawer-close span {
  position: absolute;
  width: 1rem;
  height: 1px;
  background: currentColor;
}

.login-nav__drawer-close span:first-child { transform: rotate(45deg); }
.login-nav__drawer-close span:nth-child(2) { opacity: 0; }
.login-nav__drawer-close span:last-child { transform: rotate(-45deg); }

.login-nav__drawer-scroll {
  height: 100%;
  flex: 1;
  overflow-y: auto;
  margin-top: 2rem;
  padding-inline: 2rem;
  mask-image: linear-gradient(to bottom, black calc(100% - 48px), transparent);
  scrollbar-width: none;
}

.login-nav__drawer-scroll::-webkit-scrollbar {
  display: none;
}

.login-nav__drawer-sections {
  padding-block: 2rem;
}

.login-nav__drawer-section + .login-nav__drawer-section {
  border-top: 0.5px solid hsl(var(--border) / 0.16);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.login-nav__drawer-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: hsl(var(--text-300));
  cursor: pointer;
  padding: 0.5rem 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5rem;
  text-align: left;
  transition: color 200ms ease;
}

.login-nav__drawer-toggle:hover,
.login-nav__drawer-toggle:focus-visible,
.login-nav__drawer-toggle[aria-expanded="true"] {
  color: hsl(var(--text-100));
  outline: none;
}

.login-nav__drawer-toggle i {
  position: relative;
  width: 1rem;
  height: 1rem;
}

.login-nav__drawer-toggle i::before,
.login-nav__drawer-toggle i::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1rem;
  height: 1px;
  background: hsl(var(--text-400));
  content: "";
  transition: transform 300ms ease-out;
}

.login-nav__drawer-toggle i::after { transform: rotate(-90deg); }
.login-nav__drawer-toggle[aria-expanded="true"] i::after { transform: rotate(0); }

.login-nav__drawer-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 500ms ease-in-out, opacity 500ms ease-in-out;
}

.login-nav__drawer-toggle[aria-expanded="true"] + .login-nav__drawer-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.login-nav__drawer-panel-inner {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  padding-top: 0;
  transition: padding 500ms ease-in-out;
}

.login-nav__drawer-toggle[aria-expanded="true"] + .login-nav__drawer-panel .login-nav__drawer-panel-inner {
  padding-block: 2rem;
}

.login-nav__drawer-panel h4 {
  margin: 0.3125rem 0 -0.25rem;
  color: hsl(var(--text-400));
  font-size: 0.75rem;
  font-weight: 400;
  transition: none;
}

.login-nav__drawer-panel a {
  display: block;
  color: hsl(var(--text-100));
  font-size: 15px;
  line-height: 1.25rem;
  transition: color 200ms ease;
}

.login-nav__drawer-panel-inner:has(a:hover) a,
.login-nav__drawer-panel-inner:has(a:focus-visible) a {
  color: hsl(var(--text-400));
}

.login-nav__drawer-panel-inner:has(a:hover) a:hover,
.login-nav__drawer-panel-inner:has(a:focus-visible) a:focus-visible {
  color: hsl(var(--text-100));
  outline: none;
}

.login-nav__drawer-footer {
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
  padding: 1rem 2rem 2rem;
}

.login-nav__drawer-footer button {
  width: 50%;
  min-height: 2.75rem;
  border-radius: 0.6rem;
  font-size: 1rem;
}

.login-nav__drawer-sales {
  border: 1px solid hsl(var(--border) / 0.2);
  background: transparent;
  color: hsl(var(--text-100));
}

.login-nav__drawer-try {
  border: 1px solid hsl(60 14% 92%);
  background: hsl(60 14% 93%);
  color: hsl(var(--bg-400));
}

.login-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100dvh - 4.5rem);
  grid-template-columns: minmax(22rem, 28rem) minmax(30rem, 45rem);
  align-items: center;
  justify-content: center;
  gap: clamp(4rem, 8vw, 8rem);
  padding: clamp(4rem, 6vh, 6rem) clamp(2rem, 4vw, 4rem) clamp(4rem, 6vh, 6rem);
}

.login-screen__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 28rem);
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.login-hero {
  display: flex;
  width: min(100%, 32rem);
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}

.login-hero h1 {
  margin: 0;
  color: hsl(var(--text-100));
  font-family: var(--font-serif);
  font-feature-settings: "liga" 1;
  font-size: 3.5rem;
  font-variation-settings: "opsz" 48, "wght" 290;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
}

.login-hero p {
  margin: 0;
  color: hsl(var(--text-200));
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.375;
  letter-spacing: 0;
}

.login-card {
  display: flex;
  width: min(100%, 28rem);
  flex-direction: column;
  gap: 0.75rem;
  border: 0.5px solid hsl(var(--border-300, var(--border)) / 0.3);
  border-radius: 2rem;
  background: hsl(var(--bg-300));
  box-shadow:
    0 4px 24px hsl(var(--always-black) / 0.0157),
    0 4px 32px hsl(var(--always-black) / 0.0157),
    0 2px 64px hsl(var(--always-black) / 0.0118),
    0 16px 32px hsl(var(--always-black) / 0.0118);
  padding: 1.75rem;
  text-align: center;
}

.login-initial-state {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.email-auth-state {
  display: flex;
  min-height: 16.25rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.email-auth-state[hidden],
.login-initial-state[hidden] {
  display: none;
}

.email-auth-mailbox {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: hsl(var(--accent-main-000, 15 75% 58%));
}

.email-auth-mailbox svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

.email-auth-copy {
  width: 100%;
  min-width: 0;
  color: hsl(var(--text-300));
  font-size: 0.9375rem;
  line-height: 1.45;
  text-align: center;
}

.email-auth-copy p,
.email-auth-code-links p {
  margin: 0;
}

.email-auth-copy strong {
  display: block;
  overflow: hidden;
  color: hsl(var(--text-100));
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.email-auth-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}

.email-auth-links button,
.email-auth-code-links button {
  border: 0;
  background: transparent;
  color: hsl(var(--text-300));
  padding: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.email-auth-links button:hover,
.email-auth-code-links button:hover {
  color: hsl(var(--text-100));
}

.email-auth-state--code {
  min-height: 0;
  justify-content: flex-start;
}

.email-verification-code {
  text-align: center;
}

.email-auth-code-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: hsl(var(--text-300));
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
}

.login-action,
.download-app,
.login-email {
  width: 100%;
  min-height: 2.75rem;
  border-radius: 0.625rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}

.login-action,
.download-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  cursor: pointer;
  line-height: 1.2;
  transition: background-color 100ms ease, border-color 100ms ease, color 100ms ease;
}

.login-action[disabled],
.download-app[disabled] {
  cursor: wait;
  opacity: 0.64;
  transform: none;
}

.google-login {
  display: grid;
  width: 100%;
  min-height: 2.75rem;
  place-items: stretch;
}

.google-button-mount {
  display: grid;
  width: 100%;
  min-height: 2.75rem;
  place-items: stretch center;
  overflow: hidden;
  border-radius: 0.625rem;
}

.google-button-mount > div,
.google-button-mount iframe {
  width: 100% !important;
  min-width: 100% !important;
}

.login-action--google {
  min-height: 2.75rem;
  border: 0.5px solid hsl(var(--border-200, var(--border)) / 0.3);
  background: transparent;
  color: hsl(var(--text-100));
  font-weight: 600;
}

.login-action--google:hover {
  border-color: hsl(var(--border) / 0.28);
  background: hsl(var(--text-100) / 0.05);
}

.login-action--google svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.login-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1rem;
  color: hsl(var(--text-300));
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1;
}

.login-status {
  margin: -0.125rem 0 0;
  border: 1px solid hsl(var(--border) / 0.1);
  border-radius: 0.625rem;
  background: hsl(var(--bg-000) / 0.72);
  color: hsl(var(--text-300));
  padding: 0.625rem 0.75rem;
  font-size: 0.78125rem;
  font-weight: 600;
  line-height: 1.38;
  text-align: center;
}

.login-status[data-tone="success"] {
  border-color: hsl(142 38% 49% / 0.28);
  background: hsl(142 35% 18% / 0.32);
  color: hsl(142 48% 75%);
}

.login-status[data-tone="warning"] {
  border-color: hsl(36 64% 54% / 0.34);
  background: hsl(36 48% 17% / 0.36);
  color: hsl(37 72% 76%);
}

.login-status[data-tone="error"] {
  border-color: hsl(5 72% 57% / 0.36);
  background: hsl(5 48% 17% / 0.38);
  color: hsl(5 84% 78%);
}

.login-email {
  min-height: 2.5rem;
  border: 0.5px solid hsl(var(--border-300, var(--border)) / 0.18);
  background: hsl(var(--bg-100));
  color: hsl(var(--text-100));
  padding: 0 1rem;
  font-weight: 400;
  outline: none;
}

.login-email::placeholder {
  color: hsl(var(--text-400));
  opacity: 1;
}

.login-email:focus {
  border-color: hsl(var(--border) / 0.32);
  background: hsl(var(--bg-100));
}

.login-password-field {
  display: contents;
}

.login-action--email {
  min-height: 2.5rem;
  background: hsl(60 14% 93%);
  color: hsl(var(--bg-400));
}

.login-action--email:hover {
  background: hsl(60 14% 98%);
}

.login-action--sso {
  border: 1px solid hsl(var(--border) / 0.16);
  background: transparent;
  color: hsl(var(--text-200));
}

.login-action--sso:hover {
  border-color: hsl(var(--border) / 0.28);
  background: hsl(var(--text-100) / 0.05);
  color: hsl(var(--text-100));
}

.login-legal {
  margin: 0;
  color: hsl(var(--text-400));
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.login-legal a {
  color: hsl(var(--text-200));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.download-app {
  width: auto;
  min-width: 15.75rem;
  min-height: 2.75rem;
  margin-top: 1.5rem;
  border: 0.5px solid hsl(var(--border-200, var(--border)) / 0.3);
  background: transparent;
  color: hsl(var(--text-100));
  padding: 0 1.25rem;
  font-weight: 600;
}

.download-app:hover {
  border-color: hsl(var(--border) / 0.25);
  background: hsl(var(--text-100) / 0.06);
  color: hsl(var(--text-100));
}

.download-app__icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  color: currentColor;
}

.download-app__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.login-preview {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 36rem;
  aspect-ratio: 1080 / 1350;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: hsl(var(--bg-200));
  box-shadow: 0 4px 20px hsl(var(--always-black) / 0.04);
}

.login-preview__video {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

@media (min-width: 1280px) {
  .login-preview {
    max-width: calc(80svh - 7.2rem);
  }
}

.pricing-section {
  position: relative;
  z-index: 1;
  width: min(calc(100% - clamp(2rem, 1.43rem + 2.86vw, 4rem)), 90rem);
  margin-inline: auto;
  padding: clamp(6rem, 8vw, 9rem) 0 7rem;
}

.pricing-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.pricing-header h2 {
  margin: 0;
  color: hsl(var(--text-100));
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.pricing-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  min-height: 2.5rem;
  border: 0;
  border-radius: 0.625rem;
  background: hsl(var(--bg-300));
  padding: 0.125rem;
  box-shadow: inset 0 0 0 1px hsl(var(--border) / 0.04);
}

.pricing-tab {
  min-height: 2.25rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-500));
  cursor: pointer;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0;
  transition: background-color 150ms ease, color 150ms ease;
  white-space: nowrap;
}

.pricing-tab:hover {
  color: hsl(var(--text-300));
}

.pricing-tab--active {
  background: hsl(var(--bg-000));
  color: hsl(var(--text-100));
  box-shadow: 0 0 0 0.5px hsl(var(--border) / 0.22), 0 0.5px 1px hsl(var(--always-black) / 0.25);
}

.pricing-panel[hidden] {
  display: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 2rem);
  align-items: stretch;
}

.pricing-grid--organization {
  grid-template-columns: repeat(2, minmax(0, 30rem));
  gap: 1rem;
  justify-content: center;
}

.pricing-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 0.5px solid hsl(var(--border-400) / 0.34);
  border-radius: 1.5rem;
  background: hsl(var(--bg-200));
  padding: 2rem clamp(1.25rem, 1.8vw, 2rem);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pricing-card--featured {
  border-color: hsl(var(--accent-000) / 0.2);
  box-shadow:
    0 0 1.5rem hsl(var(--accent-000) / 0.1),
    0 0.5rem 1.75rem hsl(var(--always-black) / 0.08);
}

.pricing-card--organization {
  width: 100%;
  max-width: 30rem;
  background: hsl(var(--bg-200));
}

.pricing-card:hover {
  box-shadow: 0 0.45rem 1.25rem hsl(var(--always-black) / 0.12);
  transform: translateY(-1px);
}

.pricing-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pricing-card__icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  color: hsl(var(--text-000));
}

.pricing-card__head .pricing-card__icon {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.pricing-card__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: none;
}

.pricing-card__icon .fill-pictogram-highlight-default {
  fill: hsl(var(--pictogram-100));
}

.pricing-card h3 {
  margin: 0 0 0.25rem;
  color: hsl(var(--text-100));
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.pricing-card p {
  margin: 0;
}

.pricing-card__summary {
  min-height: 5.25rem;
}

.pricing-card__summary--compact {
  min-height: 0;
  margin-bottom: 1.5rem;
}

.pricing-card__summary p,
.pricing-card__price span,
.pricing-card__note,
.pricing-footnote,
.pricing-faq p {
  color: hsl(var(--text-400));
}

.pricing-card__summary p {
  color: hsl(var(--text-100));
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 500;
  line-height: 1.45;
}

.pricing-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  border-radius: 999px;
  background: hsl(var(--border-300) / 0.08);
  color: hsl(var(--text-300));
  padding: 0 0.625rem;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1;
}

.pricing-card__price {
  display: flex;
  flex-direction: column;
  min-height: 5.55rem;
  gap: 0.35rem;
  justify-content: flex-start;
}

.pricing-card__price strong {
  color: hsl(var(--text-100));
  font-size: 1.5rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
}

.pricing-card__price span {
  max-width: 24rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.42;
}

.pricing-seat-box {
  display: grid;
  gap: 1rem;
  border-radius: 0.75rem;
  background: hsl(var(--bg-100));
  margin-bottom: 1.5rem;
  padding: 1rem;
}

.pricing-seat-box p {
  color: hsl(var(--text-400));
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
}

.pricing-seat-box a {
  display: inline;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor, transparent 60%);
  text-underline-offset: 3px;
}

.pricing-seat-box a:hover {
  text-decoration-color: currentColor;
}

.pricing-seat {
  display: grid;
  gap: 0.25rem;
}

.pricing-seat__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pricing-seat__label,
.pricing-seat-box__lead {
  color: hsl(var(--text-200));
  font-weight: 650;
}

.pricing-seat-box__lead {
  color: hsl(var(--text-100));
}

.pricing-seat__price {
  color: hsl(var(--text-100));
  white-space: nowrap;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}

.pricing-seat__price span {
  color: hsl(var(--text-400));
  font-size: 0.875rem;
}

.pricing-seat-box__divider {
  height: 0.5px;
  background: hsl(var(--border-300) / 0.18);
}

.pricing-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  margin: 1rem 0 1.5rem;
  border: 0;
  border-radius: 0.6rem;
  background: hsl(60 14% 92%);
  color: hsl(var(--bg-400));
  box-shadow: inset 0 0 0 1px hsl(var(--always-black) / 0.04);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0;
  transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.pricing-card__cta:hover {
  background: hsl(60 14% 97%);
  box-shadow: inset 0 0 0 1px hsl(var(--always-black) / 0.05), 0 0.5rem 1rem hsl(var(--always-black) / 0.12);
  transform: scale(1.006, 1.015);
}

.pricing-card__note {
  min-height: 1.125rem;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
}

.pricing-card__divider {
  width: 100%;
  height: 1px;
  margin-bottom: 1.5rem;
  background: hsl(var(--border-300) / 0.18);
}

.pricing-card__spacer {
  flex: 1 1 auto;
  min-height: 1.5rem;
}

.pricing-card__includes {
  margin-bottom: 0.5rem;
  color: hsl(var(--text-100));
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.4;
}

.pricing-features {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.75rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-features li {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  align-items: start;
  min-height: 1.25rem;
  color: hsl(var(--text-200));
  font-size: clamp(0.875rem, 1.04vw, 1rem);
  font-weight: 500;
  line-height: 1.625;
}

.pricing-features li::before {
  display: block;
  width: 0.45rem;
  height: 0.75rem;
  margin: 0.18rem 0 0 0.42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: hsl(var(--text-100));
  content: "";
  transform: rotate(45deg);
}

.pricing-features--organization li {
  font-size: clamp(0.875rem, 1vw, 1rem);
  line-height: 1.5;
}

.pricing-footnote {
  max-width: 70rem;
  margin: 2.5rem auto 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
}

.pricing-footnote a {
  display: inline;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor, transparent 60%);
  text-underline-offset: 3px;
}

.pricing-footnote a:hover {
  text-decoration-color: currentColor;
}

.pricing-faq {
  display: grid;
  width: min(100%, 48rem);
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: clamp(6rem, 8vw, 9rem) auto 0;
}

.pricing-faq h3 {
  margin: 0 0 1.75rem;
  color: hsl(var(--text-100));
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
}

.pricing-faq details {
  border-bottom: 1px solid hsl(var(--border) / 0.1);
  padding: 0.75rem 0 1rem;
}

.pricing-faq summary {
  color: hsl(var(--text-200));
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
}

.pricing-faq p {
  max-width: 42rem;
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.55;
}

.welcome {
  display: flex;
  width: min(100%, 80rem);
  min-height: 100dvh;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-inline: auto;
  padding: 20vh 3.5rem 3rem;
}

.welcome__greeting {
  width: 100%;
  transition: opacity 300ms ease;
}

.welcome__greeting-inner {
  display: flex;
  width: 100%;
  max-width: 42rem;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  margin-inline: auto;
}

.welcome__plan-pill {
  width: 0;
  height: 2rem;
  opacity: 0;
}

.welcome__title-row {
  display: flex;
  width: 100%;
  justify-content: center;
}

.welcome h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: min(100%, 42rem);
  margin: 0 0 0.125rem;
  color: hsl(var(--text-200));
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 1.2rem + 2vw, 2.5rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
}

.welcome h1 > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.welcome.is-thread-active {
  width: 100%;
  height: 100dvh;
  min-height: 0;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.welcome.is-thread-active > h1,
.welcome.is-thread-active > .welcome__greeting,
.welcome.is-thread-active .prompt-categories {
  display: none;
}

.conversation {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: hidden;
}

.conversation__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  flex: 0 0 auto;
  padding: 0.5rem 1.375rem;
}

.conversation-title-button,
.conversation-share {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-100));
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
}

.conversation-title-button {
  gap: 0.25rem;
  min-width: 0;
  max-width: min(26rem, 70vw);
  padding: 0.5rem 0.625rem;
}

.conversation-title-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-title-button svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: currentColor;
  stroke: none;
  opacity: 0.75;
}

.conversation-share {
  min-height: 2rem;
  padding: 0 0.75rem;
}

.conversation-title-button:hover,
.conversation-title-button:focus-visible,
.conversation-share:hover,
.conversation-share:focus-visible {
  background: hsl(var(--text-100) / 0.08);
}

.conversation__scroll {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 2.25rem 2rem 2rem;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--border) / 0.24) transparent;
}

.message-list {
  display: flex;
  width: min(100%, var(--chat-content-width));
  flex-direction: column;
  gap: 0;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.message {
  width: 100%;
}

.message--user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 1rem 0;
}

.chat-user-message {
  width: 100%;
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}

.chat-user-message__group {
  margin: 0.375rem 0 0.125rem;
}

.chat-user-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.125rem;
}

.chat-user-bubble {
  display: inline-flex;
  max-width: min(85%, 75ch);
  flex-direction: column;
  gap: 0.5rem;
  overflow-wrap: anywhere;
  border-radius: 0.75rem;
  background: hsl(var(--bg-300));
  color: hsl(var(--text-100));
  padding: 0.625rem 1rem;
  transition: background-color 150ms ease;
}

.chat-user-bubble__row {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.chat-user-bubble__content {
  min-width: 0;
  flex: 1;
}

.chat-user-text {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  padding-block: 0.125rem;
  color: hsl(var(--text-000));
  font-family: var(--font-user-message);
  font-size: 0.9375rem;
  font-weight: 520;
  line-height: 1.5rem;
}

.chat-user-text p,
.chat-user-bubble p {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.chat-user-actions {
  display: flex;
  min-height: 1.75rem;
  align-items: center;
  justify-content: flex-end;
  gap: 0.125rem;
  color: hsl(var(--text-500));
  font-family: var(--font-ui);
  font-size: 0.75rem;
  line-height: 1rem;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.chat-user-message__group:hover .chat-user-actions,
.chat-user-message__group:focus-within .chat-user-actions,
.message--user:hover .chat-user-actions,
.message--user:focus-within .chat-user-actions {
  opacity: 1;
  transform: translateY(0);
}

.chat-user-actions > span {
  padding-inline: 0.25rem;
  white-space: nowrap;
}

.chat-user-actions button {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--text-500));
  cursor: pointer;
  padding: 0;
  transition: background-color 150ms ease, color 150ms ease;
}

.chat-user-actions button:hover,
.chat-user-actions button:focus-visible {
  background: hsl(var(--bg-300));
  color: hsl(var(--text-100));
  outline: none;
}

.chat-user-actions button:disabled {
  cursor: default;
  opacity: 0.45;
}

.chat-user-actions svg {
  width: 1.25rem;
  height: 1.25rem;
}

.chat-user-message--editing {
  display: flex;
  justify-content: flex-end;
}

.chat-user-edit-form {
  width: min(100%, 40rem);
  padding-bottom: 1.5rem;
}

.chat-user-edit-bubble {
  width: 100%;
  border-radius: 0.75rem;
  background: hsl(var(--bg-300));
  color: hsl(var(--text-100));
  padding: 0.625rem 0.75rem 0.75rem;
  box-shadow: 0 1px 0 hsl(var(--always-black) / 0.28);
}

.chat-user-edit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
}

.chat-user-edit-input {
  width: 100%;
  min-height: 2.375rem;
  max-height: 16.25rem;
  resize: none;
  border: 1px solid hsl(var(--focus));
  border-radius: 0.5rem;
  background: hsl(var(--bg-200));
  color: hsl(var(--text-000));
  padding: 0.375rem 0.75rem;
  font-family: var(--font-user-message);
  font-size: 0.9375rem;
  font-weight: 520;
  line-height: 1.5rem;
  outline: none;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--border) / 0.25) transparent;
  box-shadow: 0 0 0 1px hsl(var(--focus) / 0.42);
}

.chat-user-edit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.chat-user-edit-note {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: flex-start;
  gap: 0.5rem;
  color: hsl(var(--text-300));
  font-family: var(--font-ui);
  font-size: 0.75rem;
  line-height: 1.15rem;
}

.chat-user-edit-note svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-top: 0.0625rem;
}

.chat-user-edit-buttons {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
}

.chat-user-edit-button {
  display: inline-flex;
  min-width: 3.5rem;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.375rem 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.25rem;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, opacity 120ms ease;
}

.chat-user-edit-button[data-variant="secondary"] {
  background: hsl(var(--text-100) / 0.08);
  color: hsl(var(--text-000));
}

.chat-user-edit-button[data-variant="primary"] {
  background: hsl(var(--text-200));
  color: hsl(var(--bg-300));
}

.chat-user-edit-button:hover:not(:disabled),
.chat-user-edit-button:focus-visible:not(:disabled) {
  opacity: 0.86;
}

.chat-user-edit-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

@media (max-width: 640px) {
  .chat-user-bubble {
    max-width: min(92%, 75ch);
  }

  .chat-user-edit-form {
    width: 100%;
  }

  .chat-user-edit-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .chat-user-edit-buttons {
    justify-content: flex-end;
  }
}

.message--assistant {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1rem 0;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-marker__logo {
  display: inline-grid;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border: 1px solid hsl(var(--border) / 0.12);
  border-radius: 0.5rem;
  background: hsl(var(--bg-100));
  color: hsl(var(--brand-clay));
  box-shadow: 0 0.25rem 0.75rem hsl(var(--always-black) / 0.12);
}

.timeline-marker__flower {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  stroke: none;
}

.timeline-marker__spark.claude-spark {
  width: 1rem;
  height: 1rem;
  cursor: default;
  pointer-events: none;
}

.agent-timeline-root {
  --timeline-rail-width: 2.25rem;
  --timeline-header-row-height: 2.25rem;
  --timeline-step-header-height: 2rem;
  --timeline-step-top-padding: 0.25rem;
  --timeline-icon-size: 0.75rem;
  --timeline-branch-icon-wrapper-size: 1.25rem;
  --timeline-step-header-right-section-width: 2.125rem;
  --timeline-header-padding-left: 0.5rem;
  --timeline-header-padding-right: 0.25rem;
  --timeline-header-text-padding-x: 0.375rem;
  --timeline-header-text-padding-y: 0.125rem;
  --timeline-agent-message-padding-left: 0.12rem;
  --timeline-common-text-padding: 0.12rem;
  display: flex;
  flex-direction: column;
  padding-left: var(--timeline-agent-message-padding-left);
}

.agent-timeline-header-row {
  display: flex;
  width: 100%;
  height: var(--timeline-header-row-height);
}

.agent-timeline-header-rail {
  display: flex;
  width: var(--timeline-rail-width);
  height: var(--timeline-header-row-height);
  flex: 0 0 var(--timeline-rail-width);
  align-items: center;
  justify-content: center;
}

.agent-timeline-header {
  min-width: 0;
  flex: 1 1 auto;
  height: 100%;
}

.agent-timeline-header-surface {
  display: flex;
  height: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.75rem;
  padding: 0.25rem var(--timeline-header-padding-right) 0.25rem var(--timeline-header-padding-left);
  transition: background-color 200ms ease;
}

.agent-timeline-header-surface--tint {
  background: hsl(var(--text-100) / 0.045);
}

.agent-timeline-header-surface--error {
  background: hsl(6 70% 25% / 0.12);
}

.agent-timeline-header-text {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--text-300));
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1;
  padding: var(--timeline-header-text-padding-y) var(--timeline-header-text-padding-x);
}

.agent-timeline-header-text--pending span:last-child {
  animation: timeline-shimmer 1s ease-out infinite;
  background-image: linear-gradient(
    90deg,
    var(--shimmer-base) 35%,
    var(--shimmer-highlight) 50%,
    var(--shimmer-base) 65%
  );
  background-size: 300% 100%;
  background-clip: text;
  color: transparent;
}

.agent-timeline-step {
  display: flex;
  width: 100%;
}

.agent-timeline-icon-column {
  display: flex;
  width: var(--timeline-rail-width);
  flex: 0 0 var(--timeline-rail-width);
  flex-direction: column;
  align-items: center;
}

.agent-timeline-icon-row {
  display: flex;
  width: 100%;
  height: var(--timeline-step-header-height);
  flex-direction: column;
  align-items: center;
}

.agent-timeline-connector {
  width: 1px;
  flex: 1 1 auto;
  background: hsl(var(--border) / 0.1);
}

.agent-timeline-connector--top {
  height: calc(var(--timeline-step-top-padding) * 2);
  flex: 0 0 calc(var(--timeline-step-top-padding) * 2);
}

.agent-timeline-step-icon {
  display: inline-flex;
  width: var(--timeline-branch-icon-wrapper-size);
  height: var(--timeline-branch-icon-wrapper-size);
  flex: 0 0 var(--timeline-branch-icon-wrapper-size);
  align-items: center;
  justify-content: center;
  color: hsl(var(--text-300));
}

.agent-timeline-step-icon svg {
  width: var(--timeline-icon-size);
  height: var(--timeline-icon-size);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.agent-timeline-step-content {
  min-width: 0;
  flex: 1 1 auto;
}

.agent-timeline-surface {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-radius: 0 0 0.75rem 0.75rem;
  background: hsl(var(--text-100) / 0.045);
  padding: 0 0.25rem 0.25rem;
}

.agent-timeline-surface--error {
  background: hsl(6 70% 25% / 0.12);
}

.agent-timeline-step-header {
  min-height: var(--timeline-step-header-height);
  color: hsl(var(--text-400));
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: var(--timeline-step-header-height);
  padding-left: calc(0.25rem + var(--timeline-common-text-padding));
  padding-right: var(--timeline-step-header-right-section-width);
}

.agent-timeline-step-body {
  min-width: 0;
  padding: 0 0.25rem 0.25rem;
}

.agent-answer {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.625rem;
  padding: 0 0.75rem;
}

.assistant-stream-footer-item {
  width: 100%;
  list-style: none;
}

.assistant-stream-footer {
  display: flex;
  align-items: center;
  margin-left: 0.25rem;
  transition: transform 300ms ease-out;
}

.assistant-stream-footer--streaming {
  margin-top: 0.5rem;
  transform: translateY(-0.625rem);
}

.assistant-stream-footer--idle {
  margin-top: 1.5rem;
}

.assistant-stream-footer__mark {
  padding: 0.25rem;
  transform: translateX(-1px);
}

.assistant-stream-footer__mark--hidden {
  visibility: hidden;
}

.assistant-stream-footer__flower.spark-flower {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--brand-clay));
}

.cowork-timeline {
  min-width: 0;
  width: min(100%, 45rem);
  color: hsl(var(--text-300));
  font-family: var(--font-ui);
  margin: 0 auto;
  padding: 0.125rem 0.25rem 0.375rem;
}

.cowork-status-pill {
  min-width: 0;
  padding-block: 0.125rem 0.25rem;
}

.cowork-status-pill__button {
  display: inline-flex;
  max-width: 100%;
  min-height: 2rem;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-400));
  cursor: pointer;
  padding: 0.125rem 0.375rem 0.125rem 0;
  text-align: left;
  transition: color 150ms ease, background-color 150ms ease;
}

.cowork-status-pill__button:hover,
.cowork-status-pill__button:focus-visible {
  color: hsl(var(--text-200));
}

.cowork-status-pill__button:focus-visible {
  outline: 2px solid hsl(var(--focus) / 0.82);
  outline-offset: 2px;
}

.cowork-status-pill__flower {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 1.5rem;
  align-items: center;
  justify-content: center;
}

.spark-flower {
  position: relative;
  display: inline-flex;
  width: 1.375rem;
  height: 1.375rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: hsl(var(--brand-clay));
  cursor: pointer;
  line-height: 1;
  outline: none;
  overflow: visible;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.spark-flower svg {
  fill: currentColor;
  stroke: none;
}

.spark-flower__stage {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.spark-flower__sprite,
.spark-flower__sprite > svg,
.spark-flower__static {
  display: block;
  width: 100%;
  height: auto;
}

.spark-flower__sprite {
  transform: translateY(0);
  will-change: transform;
}

.spark-flower__bubble {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: calc(100% + 0.375rem);
  width: max-content;
  max-width: min(22rem, calc(100vw - 7rem));
  border: 1px solid hsl(var(--border) / 0.14);
  border-radius: 999px;
  background: hsl(var(--bg-100));
  box-shadow: 0 0.5rem 1.5rem hsl(var(--always-black) / 0.28);
  color: hsl(var(--text-100));
  font-size: 0.75rem;
  font-style: italic;
  font-weight: 750;
  line-height: 1;
  opacity: 0;
  padding: 0.375rem 0.5rem;
  pointer-events: none;
  transform: translate(-0.25rem, -50%) scale(0.98);
  transform-origin: left center;
  transition: opacity 120ms ease, transform 120ms ease;
  white-space: nowrap;
}

.spark-flower:hover .spark-flower__bubble,
.spark-flower:focus-visible .spark-flower__bubble {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}

.cowork-status-pill__text {
  min-width: 0;
  overflow: hidden;
  color: currentColor;
  font-size: 0.875rem;
  font-weight: 560;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cowork-status-pill__chevron {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.cowork-status-pill__chevron--expanded {
  transform: rotate(180deg);
}

.cowork-live-timeline {
  display: grid;
  gap: 0.125rem;
  max-width: min(32rem, 100%);
  padding: 0.125rem 0 0 2rem;
}

.cowork-live-timeline__row {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--text-500));
  font-size: 0.8125rem;
  line-height: 1.4;
  animation: cowork-timeline-row-in 180ms ease-out both;
}

.cowork-live-timeline__icon {
  display: inline-grid;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  place-items: center;
  color: hsl(var(--text-500));
}

.cowork-live-timeline__icon svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cowork-live-timeline__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cowork-live-timeline__meta {
  flex: 0 0 auto;
  color: hsl(var(--text-500));
  font-size: 0.75rem;
}

.cowork-timeline__body {
  display: grid;
  transition: grid-template-rows 260ms ease;
}

.cowork-timeline__body-inner {
  min-width: 0;
  overflow: hidden;
}

.cowork-timeline-feed {
  display: grid;
  min-width: 0;
  padding-left: 0.375rem;
}

.cowork-timeline-group {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  min-width: 0;
  animation: cowork-timeline-row-in 180ms ease-out both;
}

.cowork-timeline-group__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cowork-timeline-group__connector {
  width: 1px;
  min-height: 0.5rem;
  flex: 1 1 auto;
  background: hsl(var(--border) / 0.12);
}

.cowork-timeline-group__connector--top {
  min-height: 0.375rem;
  flex: 0 0 0.375rem;
}

.cowork-timeline-group__icon {
  display: inline-grid;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  place-items: center;
  border-radius: 999px;
  color: hsl(var(--text-500));
}

.cowork-timeline-group[data-status="running"] .cowork-timeline-group__icon {
  color: hsl(var(--brand-clay));
}

.cowork-timeline-group[data-status="error"] .cowork-timeline-group__icon {
  color: hsl(8 80% 70%);
}

.cowork-timeline-group__icon svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cowork-timeline-group__content {
  min-width: 0;
  padding-bottom: 0.25rem;
}

.cowork-timeline-group__summary {
  display: flex;
  width: 100%;
  min-height: 1.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: hsl(var(--text-100) / 0.045);
  color: hsl(var(--text-300));
  padding: 0.25rem 0.625rem;
  text-align: left;
}

.cowork-timeline-group__summary span {
  min-width: 0;
  overflow: hidden;
  font-size: 0.8125rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cowork-timeline-group__summary small {
  flex: 0 0 auto;
  color: hsl(var(--text-500));
  font-size: 0.6875rem;
  font-weight: 700;
}

.cowork-timeline-items {
  display: grid;
  min-width: 0;
  padding: 0.25rem 0 0.125rem;
}

.cowork-timeline-item {
  display: grid;
  grid-template-columns: 1.625rem minmax(0, 1fr);
  min-width: 0;
  animation: cowork-timeline-row-in 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cowork-timeline-item__rail {
  display: flex;
  min-height: 2.25rem;
  flex-direction: column;
  align-items: center;
}

.cowork-timeline-item__line {
  width: 1px;
  flex: 1 1 auto;
  background: hsl(var(--border) / 0.18);
}

.cowork-timeline-item__line--hidden {
  opacity: 0;
}

.cowork-timeline-item__dot {
  display: inline-grid;
  width: 0.3125rem;
  height: 0.3125rem;
  flex: 0 0 0.3125rem;
  place-items: center;
  border-radius: 999px;
  background: hsl(var(--text-500));
}

.cowork-timeline-item__dot--icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-basis: 1.125rem;
  background: transparent;
  color: hsl(var(--text-500));
}

.cowork-timeline-item__dot--icon svg {
  width: 0.875rem;
  height: 0.875rem;
}

.cowork-timeline-item__dot--icon .cowork-timeline-item__tool-icon {
  fill: currentColor;
  stroke: none;
}

.cowork-timeline-item__spark.spark-flower {
  width: 1.125rem;
  height: 1.125rem;
  color: hsl(var(--brand-clay));
  pointer-events: none;
}

.cowork-timeline-item__spark .spark-flower__bubble {
  display: none;
}

.cowork-timeline-item[data-status="running"] .cowork-timeline-item__dot {
  background: hsl(var(--brand-clay));
  box-shadow: 0 0 0 0.25rem hsl(var(--brand-clay) / 0.12);
}

.cowork-timeline-item[data-status="running"] .cowork-timeline-item__dot--icon {
  background: transparent;
  box-shadow: none;
  color: hsl(var(--brand-clay));
}

.cowork-timeline-item[data-status="error"] .cowork-timeline-item__dot {
  background: hsl(8 80% 70%);
}

.cowork-timeline-item__copy {
  display: grid;
  min-width: 0;
  gap: 0.35rem;
  padding: 0.25rem 0.625rem 0.625rem 0;
}

.cowork-timeline-item__title {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: hsl(var(--text-400));
  font-size: 0.875rem;
  font-weight: 480;
  line-height: 1.35;
}

.cowork-timeline-item__title > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cowork-timeline-item__title small {
  flex: 0 0 auto;
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  font-weight: 520;
}

.cowork-timeline-item__secondary,
.cowork-timeline-item__body {
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  line-height: 1.4;
}

.cowork-timeline-item__body {
  display: -webkit-box;
  max-height: 4.2em;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.chat-web-search-result-shell {
  display: grid;
  grid-template-rows: 1fr;
  min-width: 0;
  overflow: hidden;
  padding-top: 0.125rem;
}

.chat-web-search-result-list {
  max-height: 9.5rem;
  min-width: 0;
  overflow-y: auto;
  border: 1px solid hsl(var(--border) / 0.22);
  border-radius: 0.5rem;
  background: hsl(var(--bg-000) / 0.34);
  box-shadow: inset 0 0 0 0.5px hsl(var(--border) / 0.08), 0 0.75rem 1.5rem hsl(var(--always-black) / 0.06);
  padding: 0.375rem 0.5rem;
  scrollbar-color: hsl(var(--text-500) / 0.42) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  transform-origin: top left;
  animation: chat-web-search-list-in 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.chat-web-search-result-list::-webkit-scrollbar {
  width: 8px;
}

.chat-web-search-result-list::-webkit-scrollbar-track {
  background: transparent;
}

.chat-web-search-result-list::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
  background-color: hsl(var(--text-500) / 0.42);
}

.chat-web-search-result-list::-webkit-scrollbar-thumb:hover {
  background-color: hsl(var(--text-400) / 0.58);
}

.chat-web-search-result-list__inner {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.125rem;
}

.chat-web-search-result-row {
  display: grid;
  min-width: 0;
  grid-template-columns: 0.875rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.625rem;
  border-radius: 0.375rem;
  color: hsl(var(--text-300));
  font-size: 0.8125rem;
  line-height: 1.25;
  padding: 0.42rem 0.25rem;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
  animation: chat-web-search-row-in 300ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.chat-web-search-result-row:hover,
.chat-web-search-result-row:focus-visible {
  background: hsl(var(--text-100) / 0.06);
  color: hsl(var(--text-200));
}

.chat-web-search-result-row:focus-visible {
  outline: 2px solid hsl(var(--focus) / 0.7);
  outline-offset: 1px;
}

.chat-web-search-result-row__favicon {
  display: inline-grid;
  width: 0.875rem;
  height: 0.875rem;
  place-items: center;
  color: hsl(var(--text-500));
}

.chat-web-search-result-row__favicon img,
.chat-web-search-result-row__favicon svg {
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  object-fit: contain;
}

.chat-web-search-result-row__favicon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.chat-web-search-result-row__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-web-search-result-row__domain {
  max-width: 10rem;
  overflow: hidden;
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-streaming-text {
  animation: timeline-shimmer 1s ease-out infinite;
  background-image: linear-gradient(
    90deg,
    hsl(var(--text-500)) 35%,
    hsl(var(--text-200)) 50%,
    hsl(var(--text-500)) 65%
  );
  background-size: 300% 100%;
  background-clip: text;
  color: transparent;
}

.message-bubble {
  max-width: min(36rem, 80%);
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  white-space: pre-wrap;
}

.message-bubble--user {
  border-top-right-radius: 0.375rem;
  background: hsl(var(--always-black) / 0.36);
  color: hsl(var(--text-000));
  padding: 0.875rem 1rem;
}

.message-attachments {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.375rem;
  max-width: min(36rem, 78%);
  margin-top: 0.5rem;
}

.message-body {
  display: flex;
  max-width: 100%;
  flex-direction: column;
  gap: 0.625rem;
  color: hsl(var(--text-200));
  font-family: var(--font-claude-response);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65rem;
  position: relative;
}

[data-theme="claude"][data-mode="dark"] .message-body {
  font-weight: 360;
}

.message-body p,
.message-body ul,
.message-body ol,
.message-body pre,
.message-body blockquote,
.message-body h1,
.message-body h2,
.message-body h3,
.message-body h4 {
  margin: 0;
}

.message-text__paragraph {
  overflow-wrap: break-word;
  white-space: normal;
}

.message-body.standard-markdown :is(p, blockquote, h1, h2, h3, h4, h5, h6) {
  padding-left: 0.5rem;
}

.message-body.standard-markdown :is(p, blockquote, ul, ol, h1, h2, h3, h4, h5, h6) {
  padding-right: 2rem;
}

.message-text__heading {
  color: hsl(var(--text-000));
  font-size: 1.125rem;
  font-weight: 530;
  line-height: 1.4;
  padding-top: 0.25rem;
}

.message-text__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1.5rem;
}

.message-body ul {
  list-style: disc;
}

.message-body ol {
  list-style: decimal;
}

.message-body li {
  padding-left: 0.125rem;
}

.message-body hr {
  width: 100%;
  height: 0;
  border: 0;
  border-top: 1px solid hsl(var(--border) / 0.24);
  margin: 0.875rem 0;
}

.message-body.standard-markdown hr + :is(h1, h2, h3, h4) {
  margin-top: 0 !important;
}

.message-body.standard-markdown .message-table-scroll:has(> table) + hr {
  display: none;
}

.message-body blockquote {
  border-left: 3px solid hsl(var(--border) / 0.18);
  color: hsl(var(--text-300));
  padding: 0.125rem 0 0.125rem 1rem;
}

.message-body blockquote .message-text__paragraph {
  color: inherit;
}

.message-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}

.message-table {
  width: 100%;
  min-width: min(36rem, 100%);
  border-collapse: collapse;
  color: hsl(var(--text-200));
  font-family: var(--font-claude-response);
  font-size: 0.96875rem;
  line-height: 1.5rem;
}

.message-table th,
.message-table td {
  border-bottom: 1px solid hsl(var(--border) / 0.24);
  padding: 0.55rem 0.75rem 0.55rem 0;
  text-align: left;
  vertical-align: top;
}

.message-table th:not(:first-child),
.message-table td:not(:first-child) {
  padding-left: 2rem;
}

.message-table th {
  color: hsl(var(--text-200));
  font-weight: 530;
}

.message-body strong {
  color: hsl(var(--text-000));
  font-weight: 530;
}

.message-body a {
  color: hsl(var(--accent-000));
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.message-body code {
  border: 1px solid hsl(var(--border) / 0.14);
  border-radius: 0.375rem;
  background: hsl(var(--text-100) / 0.065);
  color: hsl(15 86% 78%);
  font-family: var(--font-mono);
  font-size: 0.875em;
  line-height: 1.2;
  padding: 0.1rem 0.32rem;
}

.message-body pre {
  overflow-x: auto;
  border: 1px solid hsl(var(--border) / 0.12);
  border-radius: 0.5rem;
  background: hsl(var(--bg-000) / 0.5);
  padding: 0.875rem;
}

.message-body pre code {
  border: 0;
  background: transparent;
  color: hsl(var(--text-200));
  padding: 0;
  white-space: pre;
}

.timeline-tool-group {
  overflow: hidden;
  border: 1px solid hsl(var(--border) / 0.1);
  border-radius: 0.5rem;
  background: hsl(var(--bg-100) / 0.56);
}

.timeline-tool-group__summary {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  color: hsl(var(--text-400));
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.2;
  list-style: none;
  transition: background-color 150ms ease, color 150ms ease;
}

.timeline-tool-group__summary::-webkit-details-marker {
  display: none;
}

.timeline-tool-group__summary:hover,
.timeline-tool-group__summary:focus-visible {
  background: hsl(var(--text-100) / 0.08);
  color: hsl(var(--text-200));
  outline: none;
}

.timeline-tool-group__status,
.timeline-tool-group__chevron,
.timeline-tool-item__icon,
.timeline-error__icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.timeline-tool-group__status svg,
.timeline-tool-group__chevron svg,
.timeline-tool-item__icon svg,
.timeline-error__icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.timeline-tool-group__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline-tool-group__count {
  margin-left: auto;
  border: 1px solid hsl(var(--border) / 0.12);
  border-radius: 999px;
  background: hsl(var(--text-100) / 0.06);
  color: hsl(var(--text-400));
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.125rem 0.45rem;
  white-space: nowrap;
}

.timeline-tool-group__chevron {
  transition: transform 150ms ease;
}

.timeline-tool-group[open] .timeline-tool-group__chevron {
  transform: rotate(180deg);
}

.timeline-tool-group__items {
  display: flex;
  flex-direction: column;
  border-top: 1px solid hsl(var(--border) / 0.1);
}

.timeline-tool-item {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
}

.timeline-tool-item + .timeline-tool-item {
  border-top: 1px solid hsl(var(--border) / 0.1);
}

.timeline-tool-item__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.125rem;
  color: hsl(var(--text-400));
  font-size: 0.75rem;
  line-height: 1.35;
}

.timeline-tool-item__copy strong {
  color: hsl(var(--text-200));
  font-size: 0.8125rem;
  font-weight: 700;
}

.timeline-error {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border: 1px solid hsl(6 70% 60% / 0.26);
  border-radius: 0.5rem;
  background: hsl(6 70% 25% / 0.12);
  color: hsl(8 80% 76%);
  font-size: 0.875rem;
  line-height: 1.45;
  padding: 0.625rem 0.75rem;
}

.timeline-error__copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.timeline-thinking__pulse {
  position: relative;
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.timeline-thinking__pulse::before,
.timeline-thinking__pulse::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.timeline-thinking__pulse::before {
  width: 0.875rem;
  height: 0.875rem;
  background: hsl(var(--brand-clay) / 0.24);
  animation: timeline-thinking-ping 1.25s ease-out infinite;
}

.timeline-thinking__pulse::after {
  width: 0.375rem;
  height: 0.375rem;
  background: hsl(var(--brand-clay));
}

.message-actions {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: flex-start;
  margin-top: 0.125rem;
  color: hsl(var(--text-300));
}

.message-action-button {
  display: inline-flex;
  position: relative;
  isolation: isolate;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--cds-h-control, 2rem);
  height: var(--cds-h-control, 2rem);
  padding: 0;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  color: hsl(var(--text-500));
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 510;
  line-height: 1.5;
  outline: none;
  transition: box-shadow 150ms ease, color 150ms ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.message-action-button__bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: transparent;
  transition: background-color 150ms ease;
}

.message-action-button__content {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.message-action-button:hover,
.message-action-button:focus-visible,
.message-action-button[aria-pressed="true"] {
  color: hsl(var(--text-100));
}

.message-action-button:hover .message-action-button__bg,
.message-action-button:focus-visible .message-action-button__bg {
  background: hsl(var(--text-100) / 0.08);
}

.message-action-button:focus-visible {
  box-shadow: inset 0 0 0 1px hsl(var(--bg-100)), 0 0 0 2px hsl(var(--accent-000) / 0.38);
}

.message-action-button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.message-action-icon {
  --cds-opsz: 20;
  --cds-wght: 433.3;
  font-size: 1.25rem;
  font-weight: 433.3;
}

.message-action-icon-stack {
  position: relative;
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
}

.message-action-icon-stack .message-action-icon {
  position: absolute;
  inset: 0;
  transition: opacity 150ms ease, transform 150ms ease;
}

.message-action-icon--copy {
  opacity: 1;
  transform: scale(1);
}

.message-action-icon--copied {
  opacity: 0;
  transform: scale(0.5);
}

.message-action-button.is-copied .message-action-icon--copy {
  opacity: 0;
  transform: scale(0.5);
}

.message-action-button.is-copied .message-action-icon--copied {
  opacity: 1;
  transform: scale(1);
}

.conversation-thinking {
  display: flex;
  width: min(100%, var(--chat-content-width));
  flex-direction: column;
  gap: 0.625rem;
  margin: 0 auto;
  padding: 1rem 0;
}

@keyframes timeline-thinking-ping {
  0% {
    opacity: 0.55;
    transform: scale(0.7);
  }

  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

@keyframes timeline-shimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: 0 0;
  }
}

@keyframes cowork-timeline-row-in {
  from {
    opacity: 0;
    transform: translate3d(0, 5px, 0) scale(0.992);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes chat-web-search-list-in {
  from {
    opacity: 0;
    transform: translate3d(0, -4px, 0) scale(0.996);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes chat-web-search-row-in {
  from {
    opacity: 0;
    transform: translate3d(0, 4px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .agent-timeline-header-text--pending span:last-child,
  .timeline-thinking__pulse::before,
  .cowork-live-timeline__row,
  .cowork-timeline-group,
  .cowork-timeline-item,
  .chat-web-search-result-list,
  .chat-web-search-result-row {
    animation: none;
  }
}

.welcome.is-thread-active .composer-stage,
.welcome:has(.conversation:not([hidden])) .composer-stage {
  width: min(calc(100% - 4rem), var(--chat-content-width));
  flex: 0 0 auto;
  margin: 0 auto;
  top: 0;
  max-width: var(--chat-content-width);
}

.composer-disclaimer {
  width: min(100%, var(--chat-content-width));
  flex: 0 0 auto;
  margin: 0 auto;
  padding: 0.45rem 0 0.5rem;
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  line-height: 1.25;
  text-align: center;
}

.composer-disclaimer a {
  transition: color 150ms ease;
}

.composer-disclaimer a:hover {
  color: hsl(var(--text-300));
}

.claude-spark {
  position: relative;
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: hsl(var(--brand-clay));
  cursor: pointer;
  padding: 0;
  line-height: 1;
  outline: none;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
}

.claude-flower-mount {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
}

.claude-spark svg {
  fill: currentColor;
}

.claude-spark__stage {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  color: inherit;
}

.claude-spark__stage > svg,
.claude-spark__sprite > svg {
  display: block;
  width: 100%;
  height: auto;
  stroke: none;
}

.claude-spark__sprite {
  display: block;
  width: 100%;
  transform: translateY(0);
  will-change: transform;
}

.claude-spark__bubble {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: calc(100% + 0.375rem);
  display: block;
  width: max-content;
  max-width: min(22rem, calc(100vw - 7rem));
  border: 1px solid hsl(var(--border) / 0.12);
  border-radius: 999px;
  background: hsl(var(--bg-100));
  box-shadow: 0 0.5rem 1.5rem hsl(var(--always-black) / 0.28);
  color: hsl(var(--text-100));
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-style: italic;
  font-weight: 750;
  line-height: 1;
  opacity: 0;
  padding: 0.375rem 0.5rem;
  pointer-events: none;
  text-align: left;
  transform: translate(-0.25rem, -50%) scale(0.98);
  transform-origin: left center;
  transition: opacity 120ms ease, transform 120ms ease;
  white-space: nowrap;
}

.claude-spark:hover .claude-spark__bubble,
.claude-spark:focus-visible .claude-spark__bubble {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}

.claude-spark:focus-visible {
  border-radius: 999px;
  box-shadow: 0 0 0 2px hsl(var(--focus));
}

@media (max-width: 520px) {
  .claude-spark__bubble {
    top: calc(100% + 0.375rem);
    left: 0;
    width: max-content;
    max-width: calc(100vw - 5rem);
    line-height: 1.15;
    text-align: left;
    transform: translate(0, -0.25rem) scale(0.98);
    transform-origin: top left;
    white-space: normal;
  }

  .claude-spark:hover .claude-spark__bubble,
  .claude-spark:focus-visible .claude-spark__bubble {
    transform: translate(0, 0) scale(1);
  }
}

@media (max-resolution: 1.99dppx) {
  .claude-spark.is-tickling .claude-spark__stage {
    clip-path: inset(1px 0);
  }
}

.composer-stage {
  position: relative;
  top: 1.25rem;
  z-index: 10;
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
}

.composer-stage__anchor {
  position: relative;
}

.composer-stage__anchor::before {
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  width: 0;
  height: 0;
  content: "";
}

.composer-stage__content {
  margin-inline: auto;
}

.composer-fieldset {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  border: 0;
  margin: 0;
  padding: 0;
}

.composer-file-input {
  position: absolute;
  z-index: -10;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  user-select: none;
}

.composer-frame {
  position: relative;
}

.voice-audio-visualizer {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 150%;
  aspect-ratio: 4 / 1;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 500ms ease;
}

.composer {
  display: flex;
  position: relative;
  width: auto;
  flex-direction: column;
  align-items: stretch;
  box-sizing: content-box;
  margin-inline: 0;
  border: 1px solid transparent;
  border-radius: 20px;
  background: hsl(var(--bg-000));
  cursor: text;
  box-shadow:
    0 0.25rem 1.25rem hsl(var(--always-black) / 0.035),
    0 0 0 0.5px hsl(var(--border-300, var(--border)) / 0.15);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  z-index: 10;
}

@media (max-width: 767px) {
  .composer {
    margin-inline: 0.5rem;
  }
}

.composer:hover {
  box-shadow:
    0 0.25rem 1.25rem hsl(var(--always-black) / 0.035),
    0 0 0 0.5px hsl(var(--border-200, var(--border)) / 0.3);
}

.composer:focus-within,
.composer:hover:focus-within {
  box-shadow:
    0 0.25rem 1.25rem hsl(var(--always-black) / 0.075),
    0 0 0 0.5px hsl(var(--border-200, var(--border)) / 0.3);
}

.composer.is-dragging {
  border-color: hsl(var(--accent-000) / 0.55);
  box-shadow:
    0 0.25rem 1.25rem hsl(var(--always-black) / 0.075),
    0 0 0 0.5px hsl(var(--accent-000) / 0.55);
}

.composer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.875rem;
}

.composer-status {
  margin: 0;
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  line-height: 1.35;
}

.composer-chip-strip {
  display: flex;
  gap: 0.375rem;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.composer-chip-strip::-webkit-scrollbar {
  display: none;
}

.composer-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  max-width: min(18rem, 70%);
  min-height: 1.75rem;
  flex: 0 0 auto;
  border: 1px solid hsl(var(--border) / 0.12);
  border-radius: 999px;
  background: hsl(var(--text-100) / 0.06);
  color: hsl(var(--text-300));
  padding: 0.25rem 0.35rem 0.25rem 0.625rem;
  font-size: 0.75rem;
  line-height: 1;
}

.composer-chip--tool,
.composer-chip--mode {
  background: hsl(var(--text-100) / 0.1);
  color: hsl(var(--text-100));
}

.composer-chip--live {
  background: hsl(var(--text-100) / 0.1);
}

.composer-chip--queue {
  background: hsl(var(--text-100) / 0.06);
}

.composer-chip__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.composer-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: hsl(var(--text-100) / 0.1);
  color: currentColor;
  cursor: pointer;
  font-size: 0.75rem;
  line-height: 1;
}

.composer-chip__remove:hover {
  background: hsl(var(--text-100) / 0.16);
}

.composer__editor-shell {
  position: relative;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.5;
}

.composer__input-scroll {
  width: 100%;
  min-height: 3rem;
  max-height: 24rem;
  overflow-y: auto;
  overflow-wrap: anywhere;
  padding-left: 6px;
  padding-top: 6px;
  transition: opacity 200ms ease;
}

.composer__editor-shell.is-empty .composer__input-scroll {
  height: 3rem;
  max-height: 3rem;
  overflow: hidden;
}

.composer .ProseMirror {
  min-height: 3rem;
  max-height: 24rem;
  outline: none;
  color: hsl(var(--text-100));
  font-size: inherit;
  line-height: inherit;
  white-space: pre-wrap;
  word-break: break-word;
}

.composer__editor-shell.is-empty .ProseMirror {
  height: 3rem;
  max-height: 3rem;
}

.welcome.is-thread-active .composer__inner {
  gap: 0.75rem;
  margin: 0.875rem;
}

.welcome.is-thread-active .composer__input-scroll {
  min-height: 1.5rem;
  max-height: 24rem;
  padding-top: 6px;
}

.welcome.is-thread-active .composer .ProseMirror {
  min-height: 1.5rem;
  max-height: 24rem;
}

.welcome.is-thread-active .composer__editor-shell.is-empty .composer__input-scroll,
.welcome.is-thread-active .composer__editor-shell.is-empty .ProseMirror {
  height: 1.5rem;
  max-height: 1.5rem;
}

.composer.composer--compact .composer__editor-shell,
.welcome.is-thread-active .composer__editor-shell,
.welcome:has(.conversation:not([hidden])) .composer__editor-shell {
  --composer-input-height: 1.5rem;
}

.composer.composer--compact .composer__input-scroll,
.welcome.is-thread-active .composer__input-scroll,
.welcome:has(.conversation:not([hidden])) .composer__input-scroll,
.composer.composer--compact .ProseMirror,
.welcome.is-thread-active .composer .ProseMirror,
.welcome:has(.conversation:not([hidden])) .composer .ProseMirror {
  height: var(--composer-input-height, 1.5rem) !important;
  min-height: var(--composer-input-height, 1.5rem) !important;
  max-height: 24rem !important;
}

.composer.composer--compact .composer__input-scroll,
.welcome.is-thread-active .composer__input-scroll,
.welcome:has(.conversation:not([hidden])) .composer__input-scroll {
  overflow-y: hidden !important;
}

.composer.composer--compact .composer__editor-shell.is-scrollable .composer__input-scroll,
.welcome.is-thread-active .composer__editor-shell.is-scrollable .composer__input-scroll,
.welcome:has(.conversation:not([hidden])) .composer__editor-shell.is-scrollable .composer__input-scroll {
  overflow-y: auto !important;
}

.composer .ProseMirror p {
  margin: 0;
}

.composer .ProseMirror .is-editor-empty::before {
  content: attr(data-placeholder);
  color: hsl(var(--text-500));
  pointer-events: none;
  white-space: nowrap;
}

.composer__editor-shell .ProseMirror .is-editor-empty::before {
  content: "";
}

.composer textarea {
  display: block;
  width: 100%;
  min-height: 3rem;
  max-height: 24rem;
  resize: none;
  border: 0;
  background: transparent;
  color: hsl(var(--text-100));
  padding: 0;
  font-size: 1rem;
  line-height: 1.5;
  outline: none;
  overflow: hidden;
}

.composer textarea::placeholder {
  color: hsl(var(--text-500));
  opacity: 1;
}

.composer__placeholder-mirror {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding-left: 6px;
  padding-top: 5px;
  pointer-events: none;
}

.composer__placeholder-mirror span {
  display: block;
  color: hsl(var(--text-500));
  font-size: inherit;
  line-height: inherit;
  opacity: 0;
  transition: opacity 120ms ease;
  white-space: nowrap;
}

.composer__editor-shell.is-empty .composer__placeholder-mirror span {
  opacity: 1;
}

.composer__toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2rem;
  position: relative;
}

.composer-live-region {
  padding-inline: 0.75rem;
}

@media (min-width: 768px) {
  .composer-live-region {
    padding-inline: 0.5rem;
  }
}

.composer__left-controls,
.composer__right-controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}

.composer__left-controls {
  position: relative;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.composer__right-controls {
  flex: 0 0 auto;
}

.composer__spacer {
  min-width: 0;
  flex: 1;
}

#deepResearchToggle,
#readTabToggle,
.composer-menu-anchor--agent {
  position: absolute;
  width: 0;
  height: 0;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
}

#deepResearchToggle,
#readTabToggle,
#agentSelectorButton {
  width: 0;
  min-width: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.tool-button,
.voice-button,
.composer-pill,
.send-button,
.agent-selector,
.model-selector,
.chat-input-icon-button,
.chat-input-mic-button,
.chat-input-voice-mode-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-500));
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, opacity 150ms ease, transform 150ms ease;
}

.chat-input-icon-button,
.chat-input-mic-button,
.chat-input-voice-mode-button {
  outline: none;
}

.tool-button,
.voice-button {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
}

.chat-input-mic-group {
  display: flex;
  align-items: center;
  border-radius: 0.625rem;
  transition: background-color 150ms ease;
}

.chat-input-mic-group--active {
  background: hsl(var(--bg-200));
}

.chat-input-mic-settings-slot {
  width: 0;
  overflow: hidden;
  transition: width 150ms ease-out;
}

.chat-input-mic-group--active .chat-input-mic-settings-slot:not([hidden]) {
  width: 1.75rem;
}

.chat-input-mic-settings-shell {
  position: relative;
  width: 1.75rem;
  height: 1.75rem;
}

.chat-input-icon-button {
  flex: 0 0 auto;
  border-radius: 0.625rem;
  color: hsl(var(--text-400));
}

.chat-input-icon-button--small {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
}

.chat-input-icon-button__inner {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.chat-input-icon-button:hover,
.chat-input-icon-button:focus-visible,
.chat-input-icon-button--active {
  background: hsl(var(--bg-300));
  color: hsl(var(--text-100));
}

.chat-input-mic-button {
  min-width: 1.75rem;
  height: 1.75rem;
  gap: 0.25rem;
  overflow: hidden;
  border-radius: 0.5rem;
}

.chat-input-mic-button--idle {
  background: transparent;
  color: hsl(var(--text-300));
  padding: 0 0.375rem;
}

.chat-input-mic-button--active {
  background: hsl(var(--accent-000));
  color: hsl(var(--bg-400));
  padding: 0 0 0 0.5rem;
}

.chat-input-mic-button:hover,
.chat-input-mic-button:focus-visible,
.chat-input-voice-mode-button:hover,
.chat-input-voice-mode-button:focus-visible {
  background: hsl(var(--bg-300));
  color: hsl(var(--text-100));
}

.chat-input-mic-button--active:hover,
.chat-input-mic-button--active:focus-visible {
  background: hsl(var(--accent-000));
  color: hsl(var(--bg-400));
}

.chat-input-mic-button:disabled {
  cursor: default;
  opacity: 0.54;
}

.chat-input-mic-icon,
.chat-input-mic-waveform {
  display: flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  transition: color 200ms ease;
}

.chat-input-mic-waveform {
  position: relative;
  display: none;
}

.chat-input-mic-button--active .chat-input-mic-waveform {
  display: flex;
}

.chat-input-mic-icon svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.chat-input-mic-button--active .voice-waveform rect {
  animation: voice-bars 780ms ease-in-out infinite;
  fill: currentColor;
  transform-box: fill-box;
  transform-origin: center;
}

.chat-input-mic-button--active .voice-waveform rect:nth-child(1) {
  animation-delay: 0ms;
}

.chat-input-mic-button--active .voice-waveform rect:nth-child(2) {
  animation-delay: 70ms;
}

.chat-input-mic-button--active .voice-waveform rect:nth-child(3) {
  animation-delay: 140ms;
}

.chat-input-mic-button--active .voice-waveform rect:nth-child(4) {
  animation-delay: 210ms;
}

.chat-input-mic-button--active .voice-waveform rect:nth-child(5) {
  animation-delay: 280ms;
}

.chat-input-mic-button--active .voice-waveform rect:nth-child(6) {
  animation-delay: 350ms;
}

.dictation-device-menu {
  position: fixed;
  z-index: 120;
  width: 312px;
  overflow: hidden;
  border-radius: 0.75rem;
  background: hsl(var(--bg-000));
  color: hsl(var(--text-200));
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding-block: 0.25rem;
  box-shadow:
    0 0 0 0.5px hsl(var(--border-300) / 0.55),
    0 16px 44px hsl(var(--always-black) / 0.28);
  transform: translateY(-100%);
}

.dictation-device-menu__preview {
  padding: 0.5rem 1rem 0.5rem 0.5rem;
}

.dictation-device-menu__preview-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dictation-device-menu__preview-icon {
  display: flex;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: hsl(var(--text-300));
}

.dictation-device-menu__preview-icon svg {
  width: 1rem;
  height: 1rem;
}

.dictation-device-menu__meter {
  height: 0.375rem;
  flex: 1;
  overflow: hidden;
  border-radius: 999px;
  background: hsl(var(--bg-200));
}

.dictation-device-menu__meter-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: hsl(var(--accent-000));
  transition: width 75ms ease-out;
}

.dictation-device-menu__devices {
  max-height: min(15rem, 45vh);
  overflow: auto;
}

.dictation-device-menu__device,
.dictation-device-menu__hold {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background-color 150ms ease, color 150ms ease;
}

.dictation-device-menu__device {
  padding: 0.5rem 1rem 0.5rem 0.5rem;
}

.dictation-device-menu__device:hover,
.dictation-device-menu__device:focus-visible,
.dictation-device-menu__hold:hover,
.dictation-device-menu__hold:focus-visible {
  background: hsl(var(--bg-200));
  color: hsl(var(--text-100));
  outline: none;
}

.dictation-device-menu__check {
  display: flex;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: hsl(var(--accent-000));
}

.dictation-device-menu__device-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dictation-device-menu__divider {
  height: 1px;
  margin: 0.25rem 0.75rem;
  background: hsl(var(--border-300) / 0.5);
}

.dictation-device-menu__hold {
  padding: 0.5rem 1rem 0.5rem 0.5rem;
}

.dictation-device-menu__hold-icon {
  display: flex;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: hsl(var(--text-300));
}

.dictation-device-menu__hold-label {
  flex: 1;
  min-width: 0;
}

.dictation-device-menu__switch {
  position: relative;
  width: 1.75rem;
  height: 1rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: hsl(var(--bg-400));
  transition: background-color 150ms ease;
}

.dictation-device-menu__switch-thumb {
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: hsl(var(--bg-000));
  transition: transform 150ms ease;
}

.dictation-device-menu__hold[aria-checked="true"] .dictation-device-menu__switch {
  background: hsl(var(--accent-000));
}

.dictation-device-menu__hold[aria-checked="true"] .dictation-device-menu__switch-thumb {
  transform: translateX(0.75rem);
}

.tool-button svg,
.composer-pill svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.tool-button:hover,
.tool-button:focus-visible,
.voice-button:hover,
.voice-button:focus-visible,
.agent-selector:hover,
.agent-selector:focus-visible,
.model-selector:hover,
.model-selector:focus-visible,
.composer-pill:hover,
.composer-pill:focus-visible {
  background: hsl(var(--text-100) / 0.08);
  color: hsl(var(--text-100));
}

.tool-button--add svg,
.tool-button--attach svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.tool-button--add,
.tool-button--attach {
  color: hsl(var(--text-400));
}

.composer-pill {
  gap: 0.375rem;
  height: 2rem;
  max-width: 9.5rem;
  flex: 0 1 auto;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  line-height: 1;
  white-space: nowrap;
}

.composer-pill span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.composer-pill.is-active {
  background: hsl(var(--text-100) / 0.1);
  color: hsl(var(--text-100));
}

.composer-menu-anchor {
  position: relative;
  display: inline-flex;
}

.composer-popover {
  position: absolute;
  z-index: 30;
  bottom: calc(100% + 0.5rem);
  left: 0;
  width: min(25rem, calc(100vw - 2rem));
  max-height: min(30rem, calc(100dvh - 8rem));
  overflow: auto;
  border: 1px solid hsl(var(--border) / 0.12);
  border-radius: 0.875rem;
  background: hsl(var(--bg-100));
  box-shadow:
    0 1rem 2.5rem hsl(var(--always-black) / 0.28),
    inset 0 1px 0 hsl(var(--text-100) / 0.04);
  padding: 0.5rem;
}

.composer-popover__header {
  display: grid;
  gap: 0.1875rem;
  padding: 0.5rem 0.5rem 0.625rem;
}

.composer-popover__header strong {
  color: hsl(var(--text-100));
  font-size: 0.875rem;
  line-height: 1.2;
}

.composer-popover__header span {
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  line-height: 1.25;
}

.composer-menu-anchor--actions .composer-actions-menu {
  position: absolute;
  z-index: 50;
  top: auto;
  bottom: calc(100% + 0.5rem);
  left: -0.625rem;
  width: 20rem;
  max-width: calc(100vw - 1rem);
  max-height: min(24rem, calc(100dvh - 8rem));
  overflow-x: hidden;
  overflow-y: auto;
}

.chat-composer-menu-surface {
  border: 0.5px solid hsl(var(--border-300) / 0.08);
  border-radius: 12px;
  background: hsl(var(--bg-000));
  color: hsl(var(--text-100));
  box-shadow: 0 8px 24px hsl(var(--always-black) / 0.32), 0 2px 6px hsl(var(--always-black) / 0.2);
  padding: 4px;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 20px;
  outline: none;
  scrollbar-color: hsl(var(--border-300) / 0.28) transparent;
  scrollbar-width: thin;
  text-rendering: optimizeLegibility;
}

.chat-composer-menu-list {
  display: grid;
  gap: 0;
}

.chat-composer-menu-item {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: hsl(var(--text-100));
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  outline: none;
  padding: 6px 8px;
  text-align: left;
  user-select: none;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease;
}

.chat-composer-menu-item:hover,
.chat-composer-menu-item:focus-visible,
.chat-composer-menu-item[data-popup-open] {
  background: hsl(var(--always-white) / 0.05);
  color: hsl(var(--text-100));
}

.chat-composer-menu-item--disabled {
  cursor: not-allowed;
  opacity: 0.52;
  pointer-events: none;
}

.chat-composer-menu-content-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.chat-composer-menu-icon {
  display: flex;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.chat-composer-menu-icon svg,
.chat-composer-menu-chevron svg,
.chat-composer-menu-check svg {
  color: currentColor;
  fill: currentColor;
  flex-shrink: 0;
  max-width: none;
}

.chat-composer-menu-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.chat-composer-menu-label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-composer-menu-subtitle {
  display: block;
  overflow: hidden;
  color: hsl(var(--text-500));
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-composer-menu-trailing {
  display: flex;
  min-width: 0;
  flex-shrink: 0;
  align-items: center;
}

.chat-composer-menu-shortcut {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: hsl(var(--text-500));
  flex-shrink: 1;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-composer-menu-chevron {
  display: flex;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-right: -2px;
  color: hsl(var(--text-500));
}

.chat-composer-menu-check {
  display: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  color: hsl(var(--accent-000));
}

.chat-composer-menu-item[data-checked] .chat-composer-menu-check {
  display: flex;
}

.chat-composer-menu-separator {
  height: 1px;
  margin: 4px 8px;
  background: hsl(var(--border-300) / 0.12);
}

.composer-menu-anchor--model .composer-popover {
  right: 0;
  bottom: calc(100% + 0.5rem);
  left: auto;
  width: min(17rem, calc(100vw - 2rem));
}

.composer-menu-anchor--agent .composer-popover {
  right: 0;
  left: auto;
  width: min(16rem, calc(100vw - 2rem));
}

.composer-agent-menu {
  display: grid;
  gap: 0.125rem;
}

.composer-agent-list {
  display: grid;
  gap: 0.125rem;
}

.composer-model-menu {
  overflow: hidden;
  border-color: hsl(var(--border) / 0.14);
  border-radius: 0.75rem;
  background: hsl(var(--bg-000));
  box-shadow: 0 1.25rem 2.25rem hsl(var(--always-black) / 0.36), 0 0 0 0.5px hsl(var(--always-black) / 0.35);
  color: hsl(var(--text-100));
  padding: 0;
}

.composer-model-menu__scroll {
  display: grid;
  gap: 0;
  max-height: inherit;
  overflow-y: auto;
  padding: 0.25rem;
}

.composer-model-list {
  display: grid;
  gap: 0;
}

.composer-menu-divider {
  height: 1px;
  margin: 0.25rem 0.375rem;
  background: hsl(var(--border) / 0.12);
}

.composer-agent-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.25rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-300));
  cursor: pointer;
  padding: 0 0.625rem;
  font-size: 0.875rem;
}

.composer-model-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  color: hsl(var(--text-100));
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.2;
  outline: none;
  text-align: left;
  transition: background-color 150ms ease, color 150ms ease, opacity 150ms ease;
}

.composer-model-row:hover,
.composer-model-row:focus-visible,
.composer-model-row[aria-expanded="true"] {
  background: hsl(var(--text-100) / 0.07);
}

.composer-model-row:disabled,
.composer-model-row[aria-disabled="true"] {
  cursor: default;
  opacity: 0.55;
}

.composer-model-option {
  min-height: 3.125rem;
  padding: 0.375rem 0.5rem 0.4375rem 0.625rem;
}

.composer-model-option__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.125rem;
}

.composer-model-option__title-line {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
}

.composer-model-option__title,
.composer-model-option__description {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.composer-model-option__title {
  color: hsl(var(--text-000));
  font-weight: 650;
}

.composer-model-option__description {
  color: hsl(var(--text-500));
  font-size: 0.8125rem;
  font-weight: 450;
}

.composer-model-badge {
  display: inline-flex;
  max-width: 9.5rem;
  height: 1rem;
  flex: 0 1 auto;
  align-items: center;
  gap: 0.25rem;
  overflow: hidden;
  border-radius: 999px;
  background: hsl(var(--text-100) / 0.09);
  color: hsl(var(--text-300));
  padding: 0 0.375rem;
  font-size: 0.6875rem;
  font-weight: 650;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.composer-model-option__indicator {
  display: flex;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: hsl(var(--accent-000));
}

.composer-model-option__check {
  --cds-opsz: 20;
  --cds-wght: 566.7;
  font-size: 1.25rem;
  opacity: 0;
}

.composer-model-option[aria-checked="true"] .composer-model-option__check {
  opacity: 1;
}

.composer-model-control {
  min-height: 2rem;
  justify-content: space-between;
  padding: 0 0.5rem 0 0.625rem;
}

.composer-model-control__label {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: hsl(var(--text-000));
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.composer-model-control__value {
  flex: 0 0 auto;
  color: hsl(var(--text-500));
  font-size: 0.8125rem;
}

.composer-model-control__chevron {
  flex: 0 0 auto;
  color: hsl(var(--text-500));
}

.agent-selector {
  gap: 0.375rem;
  height: 2rem;
  max-width: 9rem;
  flex: 0 1 auto;
  min-width: 0;
  padding: 0 0.5rem;
  color: hsl(var(--text-500));
  font-size: 0.8125rem;
  line-height: 1;
}

.agent-selector span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-selector svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  opacity: 0.78;
}

.composer-agent-menu button:hover,
.composer-agent-menu button:focus-visible,
.composer-agent-menu button[aria-checked="true"] {
  background: hsl(var(--text-100) / 0.08);
}

.composer-agent-menu button[aria-checked="true"]::after {
  color: hsl(var(--accent-000));
  content: "Selected";
  font-size: 0.6875rem;
}

.model-selector {
  gap: 0.25rem;
  height: 2rem;
  flex: 0 1 auto;
  min-width: 4rem;
  max-width: 12rem;
  padding: 0 0.5rem 0 0.625rem;
  color: hsl(var(--text-500));
  font-size: 0.875rem;
  line-height: 1;
}

.model-selector__label {
  display: inline-flex;
  min-width: 0;
  height: 0.875rem;
  align-items: baseline;
  overflow: hidden;
  line-height: 1;
}

.model-selector__name,
.model-selector__effort {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-selector__name {
  color: hsl(var(--text-100));
}

.model-selector__effort {
  flex: 0 0 auto;
  margin-left: 0.25rem;
  color: hsl(var(--text-500));
}

.model-selector__chevron {
  flex: 0 0 auto;
  color: hsl(var(--text-500));
  opacity: 0.75;
}

.send-button {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: 0.5rem;
  background: hsl(var(--text-100));
  color: hsl(var(--bg-300));
}

.send-button:hover,
.send-button:focus-visible {
  transform: translateY(-1px);
}

.send-button:disabled {
  display: none;
  cursor: default;
  background: hsl(var(--text-100) / 0.12);
  color: hsl(var(--text-500));
  transform: none;
}

.send-button svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.send-button__stop {
  display: none;
}

.send-button__stop rect {
  fill: currentColor;
  stroke: none;
}

.send-button.is-running .send-button__send {
  display: none;
}

.send-button.is-running .send-button__stop {
  display: block;
}

.voice-button {
  padding-inline: 0.375rem;
}

.chat-input-voice-mode-button {
  height: 2rem;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 0.625rem;
  background: transparent;
  color: hsl(var(--text-300));
  font-weight: 700;
  padding: 0 0.375rem;
}

.chat-input-voice-mode-button__bars {
  position: relative;
  display: flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
}

.voice-waveform,
.chat-input-voice-mode-button__bars svg {
  display: block;
  width: 20px;
  height: 20px;
  overflow: visible;
}

.voice-waveform rect,
.chat-input-voice-mode-button__bars rect {
  fill: currentColor;
}

.voice-icon {
  width: 1.25rem;
  height: 1.25rem;
  overflow: visible;
  fill: none;
  stroke: none;
}

.provider-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.provider-modal__backdrop {
  position: absolute;
  inset: 0;
  background: hsl(var(--always-black) / 0.58);
  backdrop-filter: blur(0.35rem);
}

.provider-modal__panel {
  position: relative;
  width: min(46rem, 100%);
  max-height: min(44rem, calc(100dvh - 2rem));
  overflow: auto;
  border: 1px solid hsl(var(--border) / 0.14);
  border-radius: 0.875rem;
  background: hsl(var(--bg-100));
  box-shadow:
    0 1.5rem 4rem hsl(var(--always-black) / 0.36),
    inset 0 1px 0 hsl(var(--text-100) / 0.04);
}

.provider-form {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.provider-form__header,
.provider-form__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.provider-form__header h2,
.provider-form__header p {
  margin: 0;
}

.provider-form__header h2 {
  color: hsl(var(--text-100));
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
}

.provider-form__header p {
  margin-top: 0.25rem;
  color: hsl(var(--text-400));
  font-size: 0.8125rem;
  line-height: 1.35;
}

.provider-form__icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-300));
  cursor: pointer;
}

.provider-form__icon-button:hover {
  background: hsl(var(--text-100) / 0.08);
  color: hsl(var(--text-100));
}

.provider-form__icon-button svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.provider-form__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
}

.provider-field {
  display: grid;
  align-content: start;
  gap: 0.375rem;
  min-width: 0;
}

.provider-field--wide {
  grid-column: 1 / -1;
}

.provider-field__label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.375rem;
  color: hsl(var(--text-100));
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.2;
}

.provider-field__label small {
  color: hsl(var(--text-500));
  font-size: 0.6875rem;
  font-weight: 500;
}

.provider-field__hint {
  min-height: 1.875em;
  color: hsl(var(--text-400));
  font-size: 0.75rem;
  line-height: 1.25;
}

.provider-field input,
.provider-field select,
.provider-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid hsl(var(--border) / 0.12);
  border-radius: 0.5rem;
  background: hsl(var(--bg-200) / 0.72);
  color: hsl(var(--text-100));
  font-size: 0.875rem;
  line-height: 1.35;
}

.provider-field input,
.provider-field select {
  height: 2.5rem;
  padding: 0 0.75rem;
}

.provider-field textarea {
  min-height: 6.25rem;
  resize: vertical;
  padding: 0.625rem 0.75rem;
}

.provider-field input::placeholder,
.provider-field textarea::placeholder {
  color: hsl(var(--text-500));
  opacity: 1;
}

.provider-form__status {
  margin: 0;
  border: 1px solid hsl(var(--border) / 0.12);
  border-radius: 0.5rem;
  background: hsl(var(--text-100) / 0.06);
  color: hsl(var(--text-200));
  padding: 0.625rem 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.provider-form__status[data-tone="success"] {
  border-color: hsl(142 48% 50% / 0.3);
  background: hsl(142 48% 28% / 0.18);
  color: hsl(142 56% 76%);
}

.provider-form__status[data-tone="error"] {
  border-color: hsl(8 70% 58% / 0.32);
  background: hsl(8 70% 34% / 0.18);
  color: hsl(8 78% 78%);
}

.provider-form__footer {
  align-items: center;
}

.provider-form__footer-actions {
  display: flex;
  gap: 0.5rem;
}

.provider-form__primary,
.provider-form__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  padding: 0 0.875rem;
  font-size: 0.875rem;
  font-weight: 650;
}

.provider-form__primary {
  border: 0;
  background: hsl(var(--text-100));
  color: hsl(var(--bg-300));
}

.provider-form__secondary {
  border: 1px solid hsl(var(--border) / 0.14);
  background: transparent;
  color: hsl(var(--text-200));
}

.provider-form__primary:hover,
.provider-form__secondary:hover {
  transform: translateY(-1px);
}

.provider-form__secondary:hover {
  background: hsl(var(--text-100) / 0.07);
  color: hsl(var(--text-100));
}


.prompt-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 1rem 0 0;
  list-style: none;
}

.prompt-categories button {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2rem;
  min-width: max-content;
  border: 0;
  border-radius: 0.5rem;
  background: hsl(var(--text-100) / 0.09);
  color: hsl(var(--text-100));
  box-shadow:
    0 1px 0 hsl(var(--always-black) / 0.18),
    0 0 0 0.5px hsl(var(--border) / 0.08);
  cursor: pointer;
  padding: 0 0.75rem 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  transition: background-color 150ms ease, color 150ms ease;
  white-space: nowrap;
}

.prompt-categories button:hover {
  background: hsl(var(--text-100) / 0.12);
}

.prompt-categories svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--text-500));
}

.chat-list-view {
  min-height: 100dvh;
  padding-bottom: 4rem;
  color: hsl(var(--text-100));
}

.chat-list-sticky {
  position: sticky;
  z-index: 3;
  top: 0;
  background: hsl(var(--bg-100));
}

.chat-list-header,
.chat-list-search-wrap,
.chat-list-main {
  width: min(100%, 56rem);
  margin-inline: auto;
}

.chat-list-header {
  display: flex;
  height: 6rem;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 2rem 0.5rem;
}

.chat-list-header h1,
.chat-list-title-mobile {
  margin: 0;
  color: hsl(var(--text-000));
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0;
}

.chat-list-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-action {
  position: relative;
  display: inline-flex;
  min-width: 0;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  transition: background-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
  white-space: nowrap;
}

.chat-action--secondary {
  background: hsl(var(--text-100) / 0.09);
  box-shadow: 0 0 0 0.5px hsl(var(--border) / 0.06);
  color: hsl(var(--text-000));
}

.chat-action--secondary:hover,
.chat-action--secondary[aria-pressed="true"] {
  background: hsl(var(--text-100) / 0.14);
}

.chat-action--primary {
  background: hsl(var(--text-000));
  color: hsl(var(--bg-300));
}

.chat-action--primary:hover {
  background: hsl(var(--text-200));
}

.chat-list-search-wrap {
  position: relative;
  padding: 1.5rem 2rem 0.5rem;
}

.chat-list-title-mobile {
  display: none;
  margin-bottom: 1rem;
  color: hsl(var(--text-300));
}

.chat-search {
  display: flex;
  width: 100%;
  height: 2.5rem;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
  background: hsl(var(--text-100) / 0.09);
  box-shadow: 0 0 0 0.5px hsl(var(--border) / 0.04);
  color: hsl(var(--text-500));
  padding: 0 0.875rem;
  transition: background-color 120ms ease, box-shadow 120ms ease;
}

.chat-search:hover,
.chat-search:focus-within {
  background: hsl(var(--text-100) / 0.12);
  box-shadow: 0 0 0 2px hsl(var(--focus) / 0.55);
}

.chat-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: hsl(var(--text-100));
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  outline: none;
  padding: 0;
}

.chat-search input::placeholder {
  color: hsl(var(--text-500));
  opacity: 1;
}

.chat-list-main {
  margin-top: 0.5rem;
  padding-inline: 2rem;
}

.chat-table-frame {
  overflow-x: auto;
  margin: -0.5rem;
  padding: 0.5rem;
}

.chat-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.chat-row {
  position: relative;
  height: 3.05rem;
  color: hsl(var(--text-100));
  cursor: pointer;
}

.chat-cell {
  border-bottom: 1px solid hsl(var(--text-100) / 0.055);
  padding: 0.45rem 0.75rem;
  transition: background-color 120ms ease, border-color 120ms ease;
  vertical-align: middle;
}

.chat-cell--select {
  width: 0;
  padding: 0;
  overflow: hidden;
}

.chat-cell--content {
  border-radius: 0.5rem;
}

.chat-cell--menu {
  position: relative;
  width: 0;
  overflow: visible;
  border-bottom-color: transparent;
  background: transparent;
  padding: 0;
}

.chat-row:hover .chat-cell,
.chat-row:focus-within .chat-cell,
.chat-row.is-menu-open .chat-cell {
  border-bottom-color: transparent;
}

.chat-row:hover .chat-cell--content,
.chat-row:focus-within .chat-cell--content,
.chat-row.is-menu-open .chat-cell--content,
.chat-row.is-active .chat-cell--content {
  background: hsl(var(--text-100) / 0.055);
}

.chat-row-link {
  display: flex;
  min-height: 2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  outline: none;
}

.chat-row-title {
  min-width: 0;
  overflow: hidden;
  color: hsl(var(--text-000));
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-row-date {
  flex: 0 0 auto;
  color: hsl(var(--text-500));
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  transition: opacity 120ms ease;
}

.chat-row:hover .chat-row-date,
.chat-row:focus-within .chat-row-date,
.chat-row.is-menu-open .chat-row-date {
  opacity: 0;
}

.chat-row-menu {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-000));
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: background-color 120ms ease, opacity 120ms ease;
}

.chat-row:hover .chat-row-menu,
.chat-row:focus-within .chat-row-menu,
.chat-row.is-menu-open .chat-row-menu {
  opacity: 1;
  pointer-events: auto;
}

.chat-row-menu:hover,
.chat-row-menu[aria-expanded="true"] {
  background: hsl(var(--text-100) / 0.08);
}

.chat-checkbox {
  display: none;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.chat-checkbox input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.chat-checkbox__box {
  display: grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border: 1px solid hsl(var(--text-500));
  border-radius: 0.25rem;
  color: hsl(var(--bg-300));
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.chat-checkbox__box .anthropicon {
  opacity: 0;
}

.chat-checkbox input:checked + .chat-checkbox__box {
  border-color: hsl(var(--brand-clay));
  background: hsl(var(--brand-clay));
  color: hsl(var(--text-000));
}

.chat-checkbox input:checked + .chat-checkbox__box .anthropicon {
  opacity: 1;
}

.chat-list-view.is-selection-mode .chat-cell--select {
  width: 2.5rem;
  padding-left: 0.75rem;
}

.chat-list-view.is-selection-mode .chat-checkbox {
  display: inline-flex;
}

.chat-list-view.is-selection-mode .chat-row-date {
  opacity: 1;
}

.project-list-view {
  min-height: 100dvh;
  padding-bottom: 4rem;
  background: hsl(var(--bg-100));
  color: hsl(var(--text-100));
}

.project-list-sticky {
  position: sticky;
  z-index: 3;
  top: 0;
  background: hsl(var(--bg-100));
}

.project-list-header,
.project-list-search-wrap,
.project-list-main {
  width: min(100%, 56rem);
  margin-inline: auto;
}

.project-list-header {
  display: flex;
  height: 6rem;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 2rem 0.5rem;
}

.project-list-header h1,
.project-list-title-mobile {
  margin: 0;
  color: hsl(var(--text-000));
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0;
}

.project-list-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.project-sort-control {
  position: relative;
}

.project-action {
  position: relative;
  display: inline-flex;
  min-width: 0;
  height: 2rem;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  transition: background-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
  white-space: nowrap;
}

.project-action--secondary {
  background: hsl(var(--text-100) / 0.09);
  box-shadow: 0 0 0 0.5px hsl(var(--border) / 0.06);
  color: hsl(var(--text-000));
}

.project-action--secondary:hover,
.project-action--secondary[aria-expanded="true"],
.project-action--secondary[aria-pressed="true"] {
  background: hsl(var(--text-100) / 0.14);
}

.project-action--primary {
  background: hsl(var(--text-000));
  color: hsl(var(--bg-300));
}

.project-action--primary:hover {
  background: hsl(var(--text-200));
}

.project-sort-muted {
  color: hsl(var(--text-500));
  font-weight: 650;
}

.project-sort-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 5;
  display: grid;
  min-width: 12rem;
  gap: 0.125rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background: hsl(var(--bg-000));
  box-shadow:
    0 0.625rem 2rem hsl(var(--always-black) / 0.26),
    0 0 0 0.5px hsl(var(--border-300) / 0.18);
  padding: 0.25rem;
}

.project-sort-menu button {
  display: flex;
  width: 100%;
  height: 2rem;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--text-300));
  cursor: pointer;
  padding: 0 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
}

.project-sort-menu button:hover,
.project-sort-menu button[aria-checked="true"] {
  background: hsl(var(--text-100) / 0.07);
  color: hsl(var(--text-000));
}

.project-list-search-wrap {
  position: relative;
  padding: 1.5rem 2rem 0.5rem;
}

.project-list-title-mobile {
  display: none;
  margin-bottom: 1rem;
  color: hsl(var(--text-300));
}

.project-search {
  display: flex;
  width: 100%;
  height: 2.5rem;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
  background: hsl(var(--text-100) / 0.09);
  box-shadow: 0 0 0 0.5px hsl(var(--border) / 0.04);
  color: hsl(var(--text-500));
  padding: 0 0.875rem;
  transition: background-color 120ms ease, box-shadow 120ms ease;
}

.project-search:hover,
.project-search:focus-within {
  background: hsl(var(--text-100) / 0.12);
  box-shadow: 0 0 0 2px hsl(var(--focus) / 0.55);
}

.project-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: hsl(var(--text-100));
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  outline: none;
  padding: 0;
}

.project-search input::placeholder {
  color: hsl(var(--text-500));
  opacity: 1;
}

.project-list-main {
  min-height: calc(100dvh - 10rem);
  padding-inline: 2rem;
}

.artifact-list-view,
.artifact-create-view {
  min-height: 100dvh;
  background: hsl(var(--bg-100));
  color: hsl(var(--text-100));
}

.artifact-list-view {
  padding-bottom: 4rem;
}

.artifact-list-sticky {
  position: sticky;
  z-index: 3;
  top: 0;
  background: hsl(var(--bg-100));
}

.artifact-list-header,
.artifact-list-search-wrap,
.artifact-list-main {
  width: min(100%, 56rem);
  margin-inline: auto;
}

.artifact-list-header {
  display: flex;
  height: 6rem;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 2rem 0.5rem;
}

.artifact-list-header h1,
.artifact-list-title-mobile {
  margin: 0;
  color: hsl(var(--text-000));
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0;
}

.artifact-list-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.artifact-primary-button,
.artifact-secondary-button {
  position: relative;
  display: inline-flex;
  min-width: 0;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  outline: none;
  padding-inline: 1rem;
  transition: background-color 120ms ease, color 120ms ease, opacity 120ms ease, box-shadow 120ms ease, transform 120ms ease;
  white-space: nowrap;
}

.artifact-primary-button--compact,
.artifact-secondary-button {
  height: 2rem;
  padding-inline: 0.75rem;
  font-size: 0.8125rem;
}

.artifact-primary-button {
  background: hsl(var(--text-000));
  color: hsl(var(--bg-300));
}

.artifact-primary-button:hover {
  background: hsl(var(--text-200));
}

.artifact-secondary-button {
  background: hsl(var(--text-100) / 0.09);
  box-shadow: inset 0 0 0 0.5px hsl(var(--border-300) / 0.3);
  color: hsl(var(--text-100));
}

.artifact-secondary-button:hover {
  background: hsl(var(--text-100) / 0.14);
}

.artifact-primary-button:focus-visible,
.artifact-secondary-button:focus-visible,
.artifact-icon-button:focus-visible,
.artifact-create-option:focus-visible,
.artifact-message-action-button:focus-visible {
  box-shadow: 0 0 0 2px hsl(var(--focus) / 0.65);
}

.artifact-list-search-wrap {
  position: relative;
  padding: 1.5rem 2rem 0.5rem;
}

.artifact-list-title-mobile {
  display: none;
  margin-bottom: 1rem;
  color: hsl(var(--text-300));
}

.artifact-search {
  display: flex;
  width: 100%;
  height: 2.25rem;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  background: hsl(var(--bg-200));
  box-shadow: inset 0 0 0 0.5px hsl(var(--border-300) / 0.28);
  color: hsl(var(--text-500));
  cursor: text;
  padding: 0 0.75rem;
  transition: background-color 120ms ease, box-shadow 120ms ease;
}

.artifact-search:hover {
  box-shadow: inset 0 0 0 0.5px hsl(var(--border-300) / 0.42);
}

.artifact-search:focus-within {
  background: hsl(var(--bg-000));
  box-shadow: 0 0 0 2px hsl(var(--focus) / 0.45);
}

.artifact-search input {
  min-width: 0;
  height: 100%;
  flex: 1;
  border: 0;
  background: transparent;
  color: hsl(var(--text-100));
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  outline: none;
  padding: 0;
}

.artifact-search input::placeholder {
  color: hsl(var(--text-500));
  opacity: 1;
}

.artifact-search-input::-webkit-search-cancel-button,
.artifact-search input::-webkit-search-cancel-button {
  display: none;
}

.artifact-search-clear {
  width: 1.5rem;
  height: 1.5rem;
}

.artifact-list-search-space {
  height: 0.75rem;
}

.artifact-list-fade {
  position: absolute;
  inset-inline: 0;
  bottom: -2rem;
  height: 2rem;
  background: linear-gradient(to bottom, hsl(var(--bg-100)), hsl(var(--bg-100) / 0));
  pointer-events: none;
}

.artifact-list-main {
  min-height: calc(100dvh - 10rem);
  padding: 0.5rem 2rem 4rem;
}

.artifact-empty-state {
  display: flex;
  max-width: 36rem;
  min-height: 22rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-inline: auto;
  padding: 3rem 1rem;
  text-align: center;
}

.artifact-empty-state h3,
.artifact-empty-state p {
  margin: 0;
}

.artifact-empty-state h3 {
  color: hsl(var(--text-300));
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.35;
}

.artifact-empty-state p {
  max-width: 24rem;
  color: hsl(var(--text-500));
  font-size: 0.8125rem;
  line-height: 1.5;
}

.official-empty-pictogram {
  --cds-pictogram-highlight-default: #454442;
  display: inline-flex;
  width: 6rem;
  height: 6rem;
  color: hsl(var(--text-300));
}

.official-empty-pictogram svg,
.official-empty-pictogram .artifacts-empty-illustration {
  display: block;
  width: 6rem;
  height: 6rem;
  color: hsl(var(--text-300));
}

.official-empty-pictogram .fill-pictogram-highlight-default {
  fill: var(--cds-pictogram-highlight-default);
}

.artifact-grid {
  display: grid;
  gap: 0.75rem;
  padding-bottom: 2rem;
}

.artifact-record-card {
  border-radius: 0.5rem;
  background: hsl(var(--bg-000));
  box-shadow:
    inset 0 0 0 0.5px hsl(var(--border-300) / 0.24),
    0 1px 2px hsl(var(--always-black) / 0.06);
  padding: 1rem;
  text-align: left;
  transition: background-color 120ms ease;
}

.artifact-record-card:hover,
.artifact-record-card:focus-within {
  background: hsl(var(--bg-200) / 0.7);
}

.artifact-record-card__row {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 0.75rem;
}

.artifact-kind-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: hsl(var(--bg-200));
  box-shadow: inset 0 0 0 0.5px hsl(var(--border-300) / 0.18);
  color: hsl(var(--text-300));
}

.artifact-record-card__content {
  min-width: 0;
  flex: 1;
}

.artifact-record-card__title-row {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.artifact-record-card__title-row h2 {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: hsl(var(--text-100));
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artifact-kind-badge,
.artifact-status-badge {
  display: inline-flex;
  height: 1.25rem;
  flex: 0 0 auto;
  align-items: center;
  border-radius: 0.375rem;
  padding-inline: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 650;
  line-height: 1;
}

.artifact-kind-badge {
  background: hsl(var(--bg-200));
  box-shadow: inset 0 0 0 0.5px hsl(var(--border-300) / 0.16);
  color: hsl(var(--text-400));
}

.artifact-status-badge {
  background: hsl(var(--brand-clay) / 0.12);
  color: hsl(var(--brand-clay));
}

.artifact-record-card__content p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0.25rem 0 0;
  color: hsl(var(--text-400));
  font-size: 0.8125rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.artifact-record-card__meta {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
  margin-top: 0.75rem;
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  line-height: 1.35;
}

.artifact-record-card__meta span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artifact-record-card__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.25rem;
  opacity: 0;
  transition: opacity 120ms ease;
}

.artifact-record-card:hover .artifact-record-card__actions,
.artifact-record-card:focus-within .artifact-record-card__actions {
  opacity: 1;
}

.artifact-icon-button {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-400));
  cursor: pointer;
  outline: none;
  transition: background-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.artifact-icon-button:hover {
  background: hsl(var(--bg-200));
  color: hsl(var(--text-100));
}

.artifact-create-view {
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 3.5rem;
  scrollbar-gutter: stable;
}

.artifact-create-shell {
  position: relative;
  display: flex;
  min-height: 100%;
  width: 100%;
  flex-direction: column;
}

.artifact-create-inner {
  display: flex;
  width: min(100%, 50.5rem);
  min-height: calc(100dvh - 3.5rem);
  flex: 1;
  flex-direction: column;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.artifact-create-message {
  display: flex;
  width: min(100%, 48rem);
  flex: 1;
  flex-direction: column;
  margin-inline: auto;
  padding-inline: 1rem;
  padding-top: 0.25rem;
}

.artifact-create-prompt {
  margin: 0.25rem 0 1rem;
  color: hsl(var(--text-100));
  font-family: var(--font-claude-response);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25rem;
}

.artifact-create-options {
  display: grid;
  width: min(100%, 36rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.artifact-create-option {
  position: relative;
  display: block;
  width: 100%;
  min-height: 3.5rem;
  height: 100%;
  border: 0.5px solid hsl(var(--border-300) / 0.18);
  border-radius: 0.5rem;
  background: hsl(var(--bg-000));
  box-shadow: 0 1px 2px 0 hsl(var(--always-black) / 0.05);
  color: hsl(var(--text-300));
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  outline: none;
  padding: 0.75rem;
  text-align: left;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.artifact-create-option:hover,
.artifact-create-option:focus-visible {
  border-color: hsl(var(--text-200) / 0.28);
  background: hsl(var(--bg-000));
  color: hsl(var(--text-100));
}

.artifact-create-option:disabled {
  cursor: default;
}

.artifact-create-option[data-selected] {
  border-color: hsl(var(--border-300) / 0.18);
  background: hsl(var(--bg-000));
  box-shadow: 0 1px 2px 0 hsl(var(--always-black) / 0.05);
  color: hsl(var(--text-100));
}

.artifact-create-option[data-disabled] {
  border-color: hsl(var(--border-300) / 0.18);
  background: hsl(var(--bg-000) / 0.5);
  box-shadow: none;
  color: hsl(var(--text-500));
}

.artifact-create-option__inner {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.artifact-create-option svg {
  flex: 0 0 auto;
  transition: transform 300ms ease-out;
}

.artifact-create-option:hover svg,
.artifact-create-option:focus-visible svg {
  transform: rotate(-2deg) scale(1.05);
}

.artifact-create-option[data-disabled]:hover svg,
.artifact-create-option[data-selected]:hover svg {
  transform: none;
}

.artifact-create-progress {
  padding-bottom: 2rem;
}

.artifact-create-user-message {
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
}

.artifact-create-user-message-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.artifact-user-message-bubble {
  display: inline-flex;
  max-width: 85%;
  flex-direction: column;
  gap: 0.5rem;
  border-radius: 0.75rem;
  background: hsl(var(--bg-300));
  color: hsl(var(--text-100));
  padding: 0.625rem 1rem;
  transition: all 150ms ease;
  word-break: break-word;
}

.artifact-user-message-bubble p {
  margin: 0;
  white-space: pre-wrap;
}

.artifact-user-message-actions {
  display: flex;
  min-height: 1.75rem;
  align-items: center;
  color: hsl(var(--text-500));
  padding-right: 0.125rem;
}

.artifact-user-message-actions > span {
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
  font-size: 0.75rem;
}

.artifact-message-action-button {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--text-500));
  cursor: pointer;
  outline: none;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.artifact-message-action-button:hover {
  background: hsl(var(--bg-300));
  color: hsl(var(--text-100));
}

.artifact-message-action-button svg {
  width: 1.25rem;
  height: 1.25rem;
}

.artifact-create-thinking {
  margin-top: 1.5rem;
  margin-left: 0.25rem;
}

.artifact-thinking-mark {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  color: hsl(var(--brand-clay));
  padding: 0.25rem;
}

.artifact-thinking-mark svg {
  width: 2rem;
  height: 2rem;
  animation: artifact-thinking-spin 1.05s linear infinite;
  fill: currentColor;
  transform-origin: 50% 50%;
}

.artifact-create-spacer {
  height: 3rem;
}

.artifact-create-composer {
  position: sticky;
  z-index: 5;
  bottom: 0;
  width: min(100%, 48rem);
  margin-inline: auto;
  padding-top: 1.5rem;
}

.artifact-chat-input-shell {
  width: auto;
}

.artifact-chat-editor-shell {
  position: relative;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.5;
}

.artifact-chat-editor-scroll {
  width: 100%;
  min-height: 1.5rem;
  max-height: 24rem;
  overflow-y: auto;
  overflow-wrap: anywhere;
  padding-left: 6px;
  padding-top: 3px;
  transition: opacity 200ms ease;
}

.artifact-chat-editor {
  min-height: 1.5rem;
  outline: none;
  color: hsl(var(--text-100));
  white-space: pre-wrap;
  word-break: break-word;
}

.artifact-chat-placeholder {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding-left: 6px;
  padding-top: 2px;
  pointer-events: none;
}

.artifact-chat-placeholder span {
  display: block;
  color: hsl(var(--text-500));
  font-size: inherit;
  line-height: inherit;
  opacity: 0;
  transition: opacity 120ms ease;
  white-space: nowrap;
}

.artifact-chat-editor-shell.is-empty .artifact-chat-placeholder span {
  opacity: 1;
}

.artifact-add-file-button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.artifact-create-view .chat-input-primary-action {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.625rem;
  background: hsl(var(--text-100));
  color: hsl(var(--bg-300));
  cursor: pointer;
  outline: none;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.artifact-create-view .chat-input-primary-action:hover,
.artifact-create-view .chat-input-primary-action:focus-visible {
  transform: translateY(-1px);
}

.artifact-create-view .chat-input-primary-action:disabled {
  cursor: default;
  opacity: 0.54;
  transform: none;
}

.artifact-send-button svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.customize-view {
  min-height: 100dvh;
  background: hsl(var(--bg-100));
  color: hsl(var(--text-100));
  overflow: hidden;
}

.customize-shell {
  --customize-header-divider: hsl(var(--border-300) / 0.3);
  --customize-sidebar-divider: hsl(var(--border-300) / 0.32);
  --customize-card-border: hsl(var(--border-300) / 0.22);
  --customize-card-bg: hsl(var(--bg-000) / 0.52);
  --customize-card-hover-bg: hsl(var(--bg-000) / 0.72);
  --customize-control-bg: hsl(var(--bg-300));
  display: flex;
  min-height: 100dvh;
  min-width: 0;
  flex-direction: column;
  background: hsl(var(--bg-100));
}

.customize-header {
  display: flex;
  height: 3rem;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.25rem;
  border-bottom: 0.5px solid var(--customize-header-divider);
  background: hsl(var(--bg-100));
  color: hsl(var(--text-300));
  padding: 0 1rem 0 1rem;
}

.customize-header-button {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--text-300));
  cursor: pointer;
  outline: none;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.customize-header-button:hover,
.customize-header-button:focus-visible {
  background: hsl(var(--bg-300));
  color: hsl(var(--text-100));
}

.customize-header > span {
  color: hsl(var(--text-100));
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
}

.customize-header-actions {
  min-width: 0;
  flex: 1;
}

.customize-layout {
  display: flex;
  min-height: 0;
  flex: 1;
}

.customize-sidebar {
  display: flex;
  width: 16rem;
  min-width: 16rem;
  flex-direction: column;
  border-right: 0.5px solid var(--customize-sidebar-divider);
  background: hsl(var(--bg-100));
  overflow: hidden;
}

.customize-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 1.125rem 1rem 0.625rem;
}

.customize-sidebar-link {
  display: flex;
  min-height: 2.25rem;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-100));
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.25;
  outline: none;
  padding: 0.375rem 0.625rem;
  text-align: left;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.customize-sidebar-link:hover,
.customize-sidebar-link:focus-visible {
  background: hsl(var(--always-white) / 0.05);
}

.customize-sidebar-link__icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  align-items: center;
  justify-content: center;
  color: hsl(var(--text-100));
}

.customize-sidebar-link__icon svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.customize-sidebar-rule {
  width: calc(100% - 2rem);
  border: 0;
  border-top: 0.5px solid var(--customize-sidebar-divider);
  margin: 0.375rem auto 0.875rem;
}

.customize-plugin-section {
  min-width: 0;
  padding: 0 1rem;
}

.customize-plugin-section__head {
  display: flex;
  min-height: 1.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-inline: 0.125rem;
}

.customize-plugin-section__head h2 {
  margin: 0;
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25;
}

.customize-icon-button {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--text-300));
  cursor: pointer;
  outline: none;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.customize-icon-button:hover,
.customize-icon-button:focus-visible {
  background: hsl(var(--bg-300));
  color: hsl(var(--text-100));
}

.customize-plugin-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-inline: 0.75rem;
  text-align: center;
}

.customize-plugin-empty p {
  max-width: 12.25rem;
  margin: 0;
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  line-height: 1.35;
}

.customize-control-button {
  display: inline-flex;
  min-height: 1.75rem;
  align-items: center;
  justify-content: center;
  border: 0.5px solid hsl(var(--border-300) / 0.1);
  border-radius: 0.375rem;
  background: hsl(var(--bg-000));
  color: hsl(var(--text-100));
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  outline: none;
  padding: 0.375rem 0.625rem;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.customize-control-button:hover,
.customize-control-button:focus-visible {
  background: hsl(var(--bg-300));
}

.customize-main {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  background: hsl(var(--bg-100));
}

.customize-home {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: calc(100dvh - 3rem);
  align-items: center;
  justify-content: center;
  padding: 3.5rem 2rem;
}

.customize-home-inner {
  display: flex;
  width: min(100%, 33.125rem);
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.customize-home-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.customize-home-hero-icon {
  display: block;
  width: 6rem;
  height: 6rem;
  color: hsl(var(--text-100));
}

.customize-home-heading h1,
.customize-home-heading p {
  margin: 0;
}

.customize-home-heading h1 {
  color: hsl(var(--text-000));
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.customize-home-heading p {
  color: hsl(var(--text-300));
  font-size: 0.875rem;
  line-height: 1.5;
}

.customize-home-actions {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0.75rem;
}

.customize-home-card {
  display: flex;
  width: 100%;
  min-height: 5.25rem;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--customize-card-border);
  border-radius: 1.5rem;
  background: var(--customize-card-bg);
  box-shadow: 0 1px 2px hsl(var(--always-black) / 0.06), 0 10px 28px hsl(var(--always-black) / 0.16);
  color: hsl(var(--text-100));
  cursor: pointer;
  outline: none;
  padding: 1.25rem;
  text-align: left;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.customize-home-card:hover,
.customize-home-card:focus-visible {
  border-color: hsl(var(--border-300) / 0.34);
  background: var(--customize-card-hover-bg);
  transform: translateY(-1px);
}

.customize-home-card__icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: hsl(var(--always-black) / 0.24);
  color: hsl(var(--text-100));
}

.customize-home-card__icon svg,
.customize-home-card__icon .anthropicon {
  width: 1.25rem;
  height: 1.25rem;
}

.customize-home-card__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.35rem;
}

.customize-home-card__copy strong {
  color: hsl(var(--text-100));
  font-size: 0.9375rem;
  font-weight: 750;
  line-height: 1.25;
}

.customize-home-card__copy span {
  color: hsl(var(--text-300));
  font-size: 0.875rem;
  line-height: 1.35;
}

.customize-directory-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--always-black) / 0.55);
  padding: 1.5rem;
}

.customize-directory-modal {
  display: flex;
  width: calc(100vw - 2rem);
  max-width: 64rem;
  height: calc(100vh - 5rem);
  max-height: min(56rem, calc(100vh - 5rem));
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0.5rem;
  background: hsl(var(--bg-100));
  box-shadow: 0 18px 52px hsl(var(--always-black) / 0.36), 0 0 0 0.5px hsl(var(--border-300) / 0.08);
  color: hsl(var(--text-100));
}

.customize-directory-inner {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  padding: 1.5rem;
}

.customize-directory-header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.customize-directory-title-wrap {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: -0.25rem;
}

.customize-directory-title {
  margin: 0;
  color: hsl(var(--text-100));
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 550;
  line-height: 2rem;
  overflow-wrap: break-word;
}

.customize-directory-close {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--text-300));
  cursor: pointer;
  outline: none;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.customize-directory-close:hover,
.customize-directory-close:focus-visible {
  background: hsl(var(--bg-300));
  color: hsl(var(--text-100));
}

.customize-directory-body {
  display: flex;
  min-height: 0;
  flex: 1;
  gap: 2rem;
}

.customize-directory-sidebar {
  width: 12.5rem;
  flex: 0 0 12.5rem;
  padding-top: 0.75rem;
}

.customize-directory-section-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.customize-directory-section-button {
  display: flex;
  width: 100%;
  min-height: 2rem;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-100));
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  outline: none;
  padding: 0.375rem 1rem;
  text-align: left;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.customize-directory-section-button:hover,
.customize-directory-section-button[aria-current="true"] {
  background: hsl(var(--bg-300));
}

.customize-directory-section-button[aria-current="true"] {
  font-weight: 540;
}

.customize-directory-section-button:focus-visible {
  box-shadow: var(--customize-focus-shadow, 0 0 0 2px hsl(var(--focus) / 0.72));
}

.customize-directory-section-icon,
.customize-directory-section-icon-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.customize-directory-section-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
}

.customize-directory-section-icon-frame {
  width: 1rem;
  height: 1rem;
}

.customize-directory-section-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  max-width: none;
}

.customize-directory-content {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.625rem;
}

.customize-directory-search {
  display: flex;
  height: var(--cds-h-control, 2rem);
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.25rem;
  background: hsl(var(--bg-000));
  box-shadow: inset 0 0 0 0.5px hsl(var(--border-300) / 0.18);
  color: hsl(var(--text-100));
  padding: 0 0.625rem;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.customize-directory-search:hover {
  box-shadow: inset 0 0 0 0.5px hsl(var(--border-300) / 0.28);
}

.customize-directory-search:focus-within {
  background: hsl(var(--bg-100));
  box-shadow: var(--customize-focus-shadow, 0 0 0 2px hsl(var(--focus) / 0.72));
}

.customize-directory-search-icon {
  display: inline-flex;
  flex: 0 0 auto;
  color: hsl(var(--text-500));
}

.customize-directory-search-input {
  min-width: 0;
  height: 100%;
  flex: 1;
  border: 0;
  background: transparent;
  color: hsl(var(--text-100));
  font-size: 0.875rem;
  outline: none;
  padding: 0;
}

.customize-directory-search-input::placeholder {
  color: hsl(var(--text-500));
}

.customize-directory-content-scroll {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
}

.customize-directory-browse {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.customize-directory-toolbar {
  display: flex;
  min-height: var(--cds-h-control, 2rem);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.customize-directory-tabs {
  display: flex;
  min-width: 0;
  gap: 0.125rem;
  margin: -0.25rem;
  overflow-x: auto;
  padding: 0.25rem;
}

.customize-directory-tab {
  display: inline-flex;
  height: var(--cds-h-control, 2rem);
  max-width: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: hsl(var(--text-100) / 0.07);
  color: hsl(var(--text-100));
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  outline: none;
  padding: 0 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-directory-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 0.75rem;
}

.customize-directory-menu {
  position: relative;
}

.customize-directory-menu-trigger {
  display: inline-flex;
  min-width: 7.5rem;
  height: 2rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.375rem;
  border: 1px solid hsl(var(--border-300) / 0.13);
  border-radius: 0.5rem;
  background: hsl(var(--bg-000));
  color: hsl(var(--text-500));
  cursor: pointer;
  font-size: 0.875rem;
  outline: none;
  padding: 0 0.75rem;
  transition: background-color 150ms ease, box-shadow 150ms ease;
  white-space: nowrap;
}

.customize-directory-menu-trigger svg {
  flex: 0 0 auto;
}

.customize-directory-menu-trigger:hover,
.customize-directory-menu-trigger[aria-expanded="true"] {
  background: hsl(var(--bg-200));
}

.customize-directory-menu-trigger:focus-visible {
  box-shadow: var(--customize-focus-shadow, 0 0 0 2px hsl(var(--focus) / 0.72));
}

.customize-directory-menu-content {
  position: absolute;
  top: calc(100% + 0.375rem);
  right: 0;
  z-index: 20;
  min-width: 15rem;
  border: 0.5px solid hsl(var(--border-300) / 0.1);
  border-radius: 0.75rem;
  background: hsl(60 2% 21%);
  box-shadow: 0 8px 20px hsl(var(--always-black) / 0.28), 0 0 0 0.5px hsl(var(--border-300) / 0.1);
  padding: 0.25rem;
}

.customize-directory-menu-item {
  display: flex;
  width: 100%;
  min-height: 2rem;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-200));
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.25rem;
  outline: none;
  padding: 0.375rem 0.5rem;
  text-align: left;
}

.customize-directory-menu-item:hover,
.customize-directory-menu-item[aria-checked="true"] {
  background: hsl(var(--border-300) / 0.08);
  color: hsl(var(--text-100));
}

.customize-directory-grid {
  display: grid;
  min-height: 0;
  flex: 1;
  align-content: start;
  grid-auto-rows: min-content;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  overflow-y: auto;
  padding-bottom: 1rem;
}

.customize-directory-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 0.75rem;
  border: 0.5px solid hsl(var(--border-300) / 0.13);
  border-radius: 1rem;
  background: hsl(var(--bg-000));
  box-shadow: 0 1px 2px hsl(var(--always-black) / 0.08);
  color: hsl(var(--text-100));
  cursor: pointer;
  outline: none;
  padding: 1rem;
  text-align: left;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.customize-directory-card:hover,
.customize-directory-card:focus-visible {
  border-color: hsl(var(--border-200) / 0.22);
  box-shadow: 0 4px 20px 0 hsl(var(--always-black) / 0.04);
}

.customize-directory-card:focus-visible {
  box-shadow: var(--customize-focus-shadow, 0 0 0 2px hsl(var(--focus) / 0.72)), 0 4px 20px 0 hsl(var(--always-black) / 0.04);
}

.customize-directory-card-top {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 0.75rem;
}

.customize-directory-card-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  align-items: center;
  justify-content: center;
}

.customize-directory-plugin-tile,
.customize-directory-connector-tile {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 0.5px solid hsl(var(--border-300) / 0.16);
  border-radius: 0.5rem;
  background: hsl(var(--bg-100));
  color: hsl(var(--text-300));
}

.customize-directory-connector-tile {
  width: 2.25rem;
  height: 2.25rem;
  border-color: hsl(var(--border-300) / 0.24);
  border-radius: 9.72px;
  background: hsl(var(--bg-000));
  box-shadow: 0 1px 2px hsl(var(--always-black) / 0.08);
}

.customize-directory-connector-tile > span {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  align-items: center;
  justify-content: center;
  border-radius: 4.8px;
  background: hsl(var(--bg-000));
  font-size: 0.65rem;
  font-weight: 560;
  line-height: 1;
}

.customize-directory-card-icon-image {
  display: block;
  width: 1.3125rem;
  height: 1.3125rem;
  max-width: 1.3125rem;
  max-height: 1.3125rem;
  object-fit: contain;
}

.customize-directory-plugin-mark {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  max-width: none;
  flex: 0 0 auto;
}

.customize-directory-card-title-group {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.125rem;
}

.customize-directory-card-title-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.375rem;
}

.customize-directory-card-title {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: hsl(var(--text-100));
  font-size: 0.875rem;
  font-weight: 510;
  line-height: 1.25rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-directory-card-badge,
.customize-directory-card-hint {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.125rem;
  line-height: 1rem;
  white-space: nowrap;
}

.customize-directory-card-badge {
  height: 1rem;
  border-radius: 999px;
  background: hsl(var(--accent-000) / 0.08);
  color: hsl(var(--accent-000));
  font-size: 0.5625rem;
  font-weight: 600;
  padding: 0 0.5rem;
  text-transform: uppercase;
}

.customize-directory-card-hint {
  color: hsl(var(--text-500));
  font-size: 0.625rem;
}

.customize-directory-card-hint--new {
  color: hsl(var(--accent-000));
}

.customize-directory-card-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.375rem;
  overflow: hidden;
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  line-height: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-directory-card-meta:empty {
  display: none;
}

.customize-directory-card-download-count,
.customize-directory-card-download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.customize-directory-card-download-count {
  gap: 0.125rem;
}

.customize-directory-card-download-icon {
  width: 0.75rem;
  height: 0.75rem;
}

.customize-directory-card-action-wrap {
  flex: 0 0 auto;
}

.customize-directory-card-action {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--text-300));
  cursor: pointer;
  outline: none;
  padding: 0;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.customize-directory-card-action:hover,
.customize-directory-card-action:focus-visible {
  background: hsl(var(--text-100) / 0.06);
  color: hsl(var(--text-100));
}

.customize-directory-card-action-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  align-items: center;
  justify-content: center;
}

.customize-directory-card-action-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  max-width: none;
  flex: 0 0 auto;
}

.customize-directory-card-copy {
  display: -webkit-box;
  margin: auto 0 0;
  overflow: hidden;
  color: hsl(var(--text-400));
  font-size: 0.75rem;
  line-height: 1rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.customize-directory-empty {
  display: flex;
  min-height: 18rem;
  align-items: center;
  justify-content: center;
  color: hsl(var(--text-300));
  font-size: 0.875rem;
}

.customize-directory-detail {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1rem;
}

.customize-directory-detail-back {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.375rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--text-300));
  cursor: pointer;
  font-size: 0.875rem;
  outline: none;
  padding: 0.25rem 0.375rem;
}

.customize-directory-detail-back:hover,
.customize-directory-detail-back:focus-visible {
  background: hsl(var(--bg-300));
  color: hsl(var(--text-100));
}

.customize-directory-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.customize-directory-detail-title-block {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1rem;
}

.customize-directory-detail-icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  align-items: center;
  justify-content: center;
}

.customize-directory-detail-title-copy {
  min-width: 0;
}

.customize-directory-detail-title-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
}

.customize-directory-detail-title {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: hsl(var(--text-100));
  font-size: 1.25rem;
  font-weight: 620;
  line-height: 1.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-directory-detail-subtitle {
  margin-top: 0.125rem;
  color: hsl(var(--text-500));
  font-size: 0.8125rem;
}

.customize-directory-detail-action {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: hsl(var(--text-100));
  color: hsl(var(--bg-000));
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 650;
  outline: none;
  padding: 0 0.875rem;
}

.customize-directory-detail-copy,
.customize-directory-detail-note {
  margin: 0;
  color: hsl(var(--text-400));
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.customize-directory-detail-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0.5px solid hsl(var(--border-300) / 0.13);
  border-radius: 0.75rem;
  background: hsl(var(--bg-000));
  padding: 0.75rem;
}

.customize-directory-detail-panel-title {
  margin: 0 0 0.5rem;
  color: hsl(var(--text-100));
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.25rem;
}

.customize-directory-detail-row {
  display: flex;
  min-height: 2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 0.5px solid hsl(var(--border-300) / 0.12);
  color: hsl(var(--text-500));
  font-size: 0.8125rem;
}

.customize-directory-detail-row:first-of-type {
  border-top: 0;
}

.customize-directory-detail-row strong,
.customize-directory-detail-row a {
  min-width: 0;
  overflow: hidden;
  color: hsl(var(--text-100));
  font-weight: 520;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-directory-detail-row a {
  color: hsl(var(--accent-000));
}

.customize-directory-tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.customize-directory-tool-chip,
.customize-directory-tool-more {
  display: inline-flex;
  min-height: 1.5rem;
  align-items: center;
  border-radius: 999px;
  background: hsl(var(--border-300) / 0.08);
  color: hsl(var(--text-300));
  font-size: 0.75rem;
  padding: 0 0.5rem;
}

.customize-directory-detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.customize-directory-detail-links a {
  color: hsl(var(--accent-000));
  font-size: 0.875rem;
}

.customize-shell .fill-pictogram-100 {
  fill: hsl(var(--pictogram-100));
}

.customize-shell {
  --customize-plugin-mark-cover: hsl(60 2% 19%);
  --customize-plugin-mark-border: hsl(60 2% 39%);
  --customize-plugin-mark-line: hsl(48 33.3% 87%);
  --customize-focus-shadow: inset 0 0 0 1px hsl(var(--bg-100)), 0 0 0 1px hsl(var(--accent-000)), 0 0 6px 1px hsl(var(--accent-000) / 0.6);
  --customize-section-divider: hsl(var(--border-300) / 0.28);
  --customize-layout-line: hsl(var(--border-300) / 0.22);
  --customize-border-card: hsl(var(--border-300) / 0.16);
  --customize-border-control: hsl(var(--border-300) / 0.1);
  --customize-muted-chip: hsl(var(--always-white) / 0.07);
  --customize-segment-track: hsl(var(--bg-300));
  --customize-segment-thumb: hsl(var(--bg-000));
  --customize-segment-item-size: 26px;
  --customize-card-shadow: 0 1px 2px 0 hsl(var(--always-black) / 0.06), 0 2px 8px 0 hsl(var(--always-black) / 0.24);
}

.customize-workspace-row {
  padding: 0.75rem 0.75rem 0.5rem;
}

.customize-workspace-button {
  display: flex;
  width: 100%;
  height: 2.25rem;
  min-width: 0;
  align-items: center;
  gap: 0.375rem;
  border: 0.5px solid hsl(var(--border-300) / 0.3);
  border-radius: 0.375rem;
  background: hsl(var(--bg-100));
  color: hsl(var(--text-300));
  cursor: pointer;
  font-size: 0.75rem;
  line-height: 1rem;
  outline: none;
  padding: 0 0.625rem;
  text-align: left;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.customize-workspace-button:hover,
.customize-workspace-button:focus-visible {
  background: hsl(var(--bg-300));
  color: hsl(var(--text-100));
}

.customize-workspace-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-sidebar-nav {
  padding-top: 0;
}

.customize-sidebar-link {
  min-height: 2rem;
  font-weight: 520;
  padding-inline: 1rem;
}

.customize-sidebar-link.is-active,
.customize-sidebar-link[aria-current] {
  background: hsl(var(--bg-300));
  color: hsl(var(--text-000));
}

.customize-plugin-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 0.25rem;
}

.customize-plugin-nav-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.customize-plugin-nav-button {
  display: flex;
  min-height: 2rem;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-100));
  cursor: pointer;
  font-size: 0.875rem;
  outline: none;
  padding: 0.375rem 0.75rem;
  text-align: left;
  transition: background-color 150ms ease, color 150ms ease;
}

.customize-plugin-nav-button:hover,
.customize-plugin-nav-button.is-active {
  background: hsl(var(--bg-300));
}

.customize-plugin-nav-button.is-disabled {
  color: hsl(var(--text-500));
}

.customize-plugin-nav-button.is-active .customize-plugin-nav-name,
.customize-plugin-nav-name.is-active {
  color: hsl(var(--text-100));
  font-weight: 650;
}

.customize-plugin-nav-icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  align-items: center;
  justify-content: center;
  opacity: 0.58;
}

.customize-plugin-nav-name {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-badge-disabled {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--customize-muted-chip);
  color: hsl(var(--text-300));
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1rem;
  padding: 0.125rem 0.375rem;
}

.customize-plugin-subnav {
  display: flex;
  max-height: 0;
  flex-direction: column;
  gap: 1px;
  margin-left: 1.25rem;
  overflow: hidden;
  opacity: 0;
  transition: max-height 200ms ease, opacity 200ms ease, margin-top 200ms ease;
}

.customize-plugin-nav-item.is-active .customize-plugin-subnav {
  max-height: 12rem;
  margin-top: 0.25rem;
  opacity: 1;
}

.customize-plugin-subnav button {
  display: flex;
  min-height: 2rem;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-100));
  cursor: pointer;
  font-size: 0.875rem;
  outline: none;
  padding: 0.375rem 0.75rem 0.375rem 1.75rem;
  text-align: left;
}

.customize-plugin-subnav button:hover,
.customize-plugin-subnav button:focus-visible,
.customize-plugin-subnav button.is-selected {
  background: hsl(var(--bg-300));
}

.customize-plugin-subnav button.is-selected {
  color: hsl(var(--text-100));
  font-weight: 650;
}

.customize-section-view[hidden] {
  display: none !important;
}

.customize-page-surface,
.customize-split-view {
  height: 100%;
  min-height: 0;
}

.customize-page-surface {
  background: hsl(var(--bg-100));
}

.customize-split-view {
  display: flex;
  color: hsl(var(--text-100));
}

.customize-section-sidebar {
  display: flex;
  width: 22.5rem;
  min-width: 22.5rem;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-right: 0.5px solid var(--customize-section-divider);
  background: hsl(var(--bg-100));
}

.customize-section-list-header {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem 0.75rem 1.5rem;
}

.customize-section-list-header h2 {
  min-width: 0;
  flex: 1;
  margin: 0;
  overflow: hidden;
  color: hsl(var(--text-100));
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-section-header-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.25rem;
}

.customize-section-search-field {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: hsl(var(--text-100));
  font-size: 1rem;
  font-weight: 520;
  line-height: 1.5rem;
  outline: none;
  padding: 0;
}

.customize-section-search-field::placeholder {
  color: hsl(var(--text-500));
}

.customize-section-list-scroll {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding: 0 1rem 1rem;
}

.customize-cds-icon-button {
  position: relative;
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--text-100));
  cursor: pointer;
  outline: none;
  padding: 0;
  transition: color 150ms ease, box-shadow 150ms ease;
}

.customize-cds-icon-button::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: transparent;
  content: "";
  transition: background-color 150ms ease;
}

.customize-cds-icon-button > * {
  position: relative;
  z-index: 1;
}

.customize-cds-icon-button:hover::before,
.customize-cds-icon-button[aria-pressed="true"]::before,
.customize-cds-icon-button:focus-visible::before {
  background: hsl(var(--border-300) / 0.08);
}

.customize-cds-icon-button:focus-visible {
  box-shadow: var(--customize-focus-shadow);
}

.customize-list-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.25rem;
}

.customize-list-group-header,
.customize-connectors-group-header {
  display: inline-flex;
  width: fit-content;
  min-height: 1.5rem;
  align-items: center;
  gap: 0.375rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--text-500));
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 520;
  line-height: 1rem;
  outline: none;
  padding: 0 0.25rem 0.5rem 0.5rem;
  text-align: left;
}

.customize-list-group-chevron,
.customize-connectors-group-chevron,
.customize-connectors-permission-group-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
}

.customize-list-group-items,
.customize-connectors-group-items {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.customize-skill-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.5rem;
  color: hsl(var(--text-100));
  padding-right: 0.25rem;
  transition: background-color 150ms ease, color 150ms ease;
}

.customize-skill-row:hover,
.customize-skill-row--selected {
  background: hsl(var(--bg-300));
}

.customize-skill-button {
  display: flex;
  min-width: 0;
  min-height: 2rem;
  flex: 1;
  align-items: center;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.875rem;
  outline: none;
  padding: 0.375rem 0.75rem;
  text-align: left;
}

.customize-skill-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-skill-row--selected .customize-skill-button {
  font-weight: 650;
}

.customize-skill-file-toggle {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: hsl(var(--bg-000));
  color: hsl(var(--text-300));
  cursor: pointer;
}

.customize-skill-file-tree {
  margin-left: 1rem;
  overflow: hidden;
}

.customize-skill-file-button {
  display: inline-flex;
  width: 100%;
  min-height: 1.75rem;
  align-items: center;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-300));
  cursor: pointer;
  font-size: 0.875rem;
  outline: none;
  padding: 0.25rem 0.75rem;
  text-align: left;
}

.customize-skill-file-button[aria-current="true"],
.customize-skill-file-button:hover {
  background: hsl(var(--bg-300));
  color: hsl(var(--text-100));
}

.customize-detail-pane,
.customize-connectors-detail-shell {
  min-width: 0;
  flex: 1;
  overflow-y: auto;
  background: hsl(var(--bg-100));
}

.customize-skill-detail {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem 1.5rem;
}

.customize-skill-detail-header,
.customize-plugin-header {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.customize-skill-detail-header h2,
.customize-plugin-header h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: hsl(var(--text-100));
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.5rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-detail-actions,
.customize-plugin-header-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
}

.customize-switch {
  position: relative;
  display: inline-flex;
  width: 2.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  align-items: center;
  border: 0;
  border-radius: 999px;
  background: hsl(var(--bg-400));
  cursor: pointer;
  outline: none;
  padding: 0.125rem;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.customize-switch--checked,
.customize-switch[aria-pressed="true"] {
  background: hsl(var(--brand-clay));
}

.customize-switch-thumb {
  display: block;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: hsl(var(--text-100));
  box-shadow: var(--customize-card-shadow);
  transform: translateX(0);
  transition: transform 180ms cubic-bezier(0.165, 0.85, 0.45, 1);
}

.customize-switch--checked .customize-switch-thumb,
.customize-switch[aria-pressed="true"] .customize-switch-thumb {
  transform: translateX(1rem);
}

.customize-metadata-row {
  display: flex;
  gap: 2rem;
}

.customize-metadata-row div,
.customize-plugin-metadata div {
  display: flex;
  min-width: 6.75rem;
  flex-direction: column;
  gap: 0.25rem;
}

.customize-metadata-row span,
.customize-plugin-metadata span,
.customize-description-block > span {
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
}

.customize-metadata-row strong,
.customize-plugin-metadata strong,
.customize-plugin-metadata button {
  color: hsl(var(--text-100));
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
}

.customize-plugin-metadata button {
  border: 0;
  background: transparent;
  color: hsl(var(--accent-000));
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.customize-dotted {
  cursor: help;
  text-decoration: underline dotted hsl(var(--border-300) / 0.55);
  text-underline-offset: 4px;
}

.customize-info-dot {
  display: inline-flex;
  width: 0.875rem;
  height: 0.875rem;
  align-items: center;
  justify-content: center;
  border: 0.5px solid hsl(var(--text-500));
  border-radius: 999px;
  font-size: 0.625rem;
}

.customize-description-block {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.customize-description-block p {
  max-width: 52rem;
  margin: 0;
  color: hsl(var(--text-300));
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.customize-detail-divider {
  width: 100%;
  border: 0;
  border-top: 0.5px solid var(--customize-layout-line);
  margin: 0.5rem 0;
}

.customize-preview-panel {
  position: relative;
  min-height: 26rem;
  flex: 1;
  overflow: auto;
  border: 1px solid hsl(var(--border-300) / 0.28);
  border-radius: 0.75rem;
  background: hsl(var(--bg-000));
  padding: 3.75rem 1.25rem 1.25rem;
}

.customize-preview-toolbar {
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  display: flex;
  gap: 0.25rem;
}

.customize-preview-tool {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 0.5px solid hsl(var(--border-300) / 0.2);
  border-radius: 0.375rem;
  background: hsl(var(--bg-100));
  color: hsl(var(--text-300));
}

.customize-file-preview-panel.customize-panel {
  display: flex;
  min-height: 26.25rem;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  border: 0.5px solid hsl(var(--border-300) / 0.28);
  border-radius: 0.75rem;
  background: hsl(var(--bg-000));
  padding: 1.25rem;
}

.customize-file-preview-header {
  display: flex;
  min-height: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
}

.customize-file-preview-header--compact {
  justify-content: flex-end;
}

.customize-file-preview-label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1rem;
}

.customize-file-preview-label .truncate {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-file-preview-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.25rem;
}

.customize-file-preview-body {
  min-height: 0;
  flex: 1;
  overflow: auto;
}

.customize-file-preview-iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 20rem;
  border: 0;
  border-radius: 0.5rem;
  background: hsl(var(--bg-000));
}

.customize-file-view-toggle {
  position: relative;
  display: inline-flex;
  width: fit-content;
  height: var(--cds-h-control, 2rem);
  align-items: stretch;
  border-radius: 0.25rem;
  background: var(--customize-segment-track);
  font-family: var(--font-ui);
  padding: 1px;
}

.customize-file-view-toggle__thumb {
  position: absolute;
  top: 1px;
  bottom: 1px;
  width: var(--customize-segment-item-size);
  border-radius: calc(0.25rem - 1px);
  background: var(--customize-segment-thumb);
  box-shadow: inset 0 0 0 1px currentColor, 0 1px 2px hsl(var(--always-black) / 0.05);
  color: var(--customize-border-control);
  pointer-events: none;
  transition: left 200ms cubic-bezier(0.165, 0.85, 0.45, 1), width 200ms cubic-bezier(0.165, 0.85, 0.45, 1);
}

.customize-file-view-toggle__button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: var(--customize-segment-item-size);
  height: 100%;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: calc(0.25rem - 2px);
  background: transparent;
  color: hsl(var(--text-500));
  cursor: pointer;
  outline: none;
  padding: 0;
  transition: color 150ms ease, box-shadow 150ms ease;
}

.customize-file-view-toggle__button:hover,
.customize-file-view-toggle__button[data-checked="true"] {
  color: hsl(var(--text-100));
}

.customize-file-view-toggle__button:focus-visible {
  box-shadow: var(--customize-focus-shadow);
}

.customize-file-copy-button {
  display: inline-flex;
  width: var(--cds-h-control, 2rem);
  height: var(--cds-h-control, 2rem);
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--text-300));
  cursor: pointer;
  padding: 0;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.customize-file-copy-button:hover {
  background: hsl(var(--bg-300) / 0.75);
  color: hsl(var(--text-100));
}

.customize-file-copy-button:focus-visible {
  outline: none;
  box-shadow: var(--customize-focus-shadow);
}

.customize-code-content {
  min-height: 100%;
  overflow: auto;
  color: hsl(var(--text-300));
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.25rem;
}

.customize-code-content__pre {
  min-width: max-content;
  margin: 0;
  padding: 0.25rem 0;
}

.customize-code-content__row {
  display: grid;
  min-height: 1.35rem;
  grid-template-columns: 3rem 1fr;
}

.customize-code-content__line {
  user-select: none;
  padding-right: 1rem;
  color: hsl(var(--text-500));
  text-align: right;
}

.customize-code-content code {
  padding-right: 1.25rem;
  background: transparent;
  color: hsl(var(--text-200));
  font-family: var(--font-mono);
  white-space: pre;
}

.customize-markdown-document {
  display: grid;
  min-width: 0;
  padding-bottom: 1rem;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  color: hsl(var(--text-100));
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}

.customize-markdown-document > * {
  min-width: 0;
}

.customize-markdown-document__description {
  margin-bottom: 1.5rem;
}

.customize-markdown-document__description h3 {
  margin: 0 0 0.75rem;
  color: hsl(var(--text-500));
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1rem;
}

.customize-markdown-document__fields {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.75rem 2rem;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.customize-markdown-document__fields dt {
  color: hsl(var(--text-500));
  font-weight: 650;
}

.customize-markdown-document__fields dd {
  min-width: 0;
  margin: 0;
  color: hsl(var(--text-100));
  overflow-wrap: break-word;
}

.customize-markdown-preview {
  max-width: 45rem;
  color: hsl(var(--text-100));
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5;
}

.customize-markdown-preview h2,
.customize-markdown-preview h3,
.customize-markdown-preview h4 {
  margin: 1.5rem 0 0.75rem;
  color: hsl(var(--text-100));
  font-weight: 750;
  line-height: 1.25;
}

.customize-markdown-preview h2 {
  font-size: 1.25rem;
}

.customize-markdown-preview h3 {
  font-size: 1.125rem;
}

.customize-markdown-preview p,
.customize-markdown-preview li {
  color: hsl(var(--text-100));
}

.customize-markdown-preview ul,
.customize-markdown-preview ol {
  padding-left: 1.5rem;
}

.customize-markdown-preview hr {
  border: 0;
  border-top: 1px solid hsl(var(--border-300) / 0.24);
  margin: 1.25rem 0;
}

.customize-empty-pane,
.customize-section-empty {
  display: flex;
  min-height: 18rem;
  align-items: center;
  justify-content: center;
  color: hsl(var(--text-300));
  font-size: 0.875rem;
}

.customize-connectors-list-divider {
  height: 1px;
  margin: 0.75rem;
  background: var(--customize-section-divider);
}

.customize-connectors-row {
  display: flex;
  width: 100%;
  min-height: 2.25rem;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-500));
  cursor: pointer;
  outline: none;
  padding: 0.375rem 0.75rem;
  text-align: left;
  transition: background-color 150ms ease, color 150ms ease;
}

.customize-connectors-row:hover,
.customize-connectors-row--selected {
  background: hsl(var(--bg-300));
  color: hsl(var(--text-100));
}

.customize-connectors-row--selected .customize-connectors-row-title {
  font-weight: 650;
}

.customize-connectors-row--muted .customize-connectors-avatar {
  opacity: 0.56;
}

.customize-connectors-row-copy,
.customize-connectors-row-title {
  min-width: 0;
}

.customize-connectors-row-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.customize-connectors-row-title {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.customize-connectors-row-title .truncate {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-connectors-avatar {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0.5px solid hsl(var(--border-300) / 0.28);
  border-radius: 6.48px;
  background: hsl(var(--bg-000));
  box-shadow: 0 1px 2px hsl(var(--always-black) / 0.08);
  color: hsl(var(--text-300));
}

.customize-connectors-avatar span {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  align-items: center;
  justify-content: center;
  border-radius: 4.8px;
  background: hsl(var(--bg-000));
  font-size: 0.65rem;
  font-weight: 560;
  line-height: 1;
}

.customize-connectors-avatar img {
  display: block;
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

.customize-connectors-badge,
.customize-connectors-count-badge {
  display: inline-flex;
  height: 1.25rem;
  flex-shrink: 0;
  align-items: center;
  border-radius: 999px;
  background: var(--customize-muted-chip);
  color: hsl(var(--text-300));
  font-size: 0.625rem;
  font-weight: 650;
  line-height: 1;
  padding: 0 0.5rem;
  white-space: nowrap;
}

.customize-connectors-count-badge {
  min-width: 1.375rem;
  height: 1.375rem;
  justify-content: center;
  font-size: 0.6875rem;
}

.customize-connectors-detail-shell {
  position: relative;
  display: flex;
  flex-direction: column;
}

.customize-connectors-detail-content {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: 0 1.5rem 1.5rem;
}

.customize-connectors-detail-header {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 0;
}

.customize-connectors-detail-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}

.customize-connectors-detail-title h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: hsl(var(--text-100));
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.5rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-connectors-toast {
  position: sticky;
  top: 1rem;
  z-index: 4;
  display: flex;
  max-width: min(28rem, calc(100% - 2rem));
  min-height: 2.5rem;
  align-items: center;
  align-self: flex-end;
  gap: 0.625rem;
  margin: 1rem 1rem 0 0;
  border: 0.5px solid hsl(38 78% 52% / 0.4);
  border-radius: 0.5rem;
  background: hsl(38 38% 18%);
  box-shadow: 0 8px 26px hsl(var(--always-black) / 0.22), 0 0 0 0.5px hsl(38 72% 52% / 0.2);
  color: hsl(42 88% 87%);
  padding: 0.5rem 0.625rem;
}

.customize-connectors-toast-icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: hsl(38 72% 52% / 0.18);
  font-size: 0.75rem;
  font-weight: 700;
}

.customize-connectors-toast-copy {
  min-width: 0;
  flex: 1;
  color: hsl(42 88% 87%);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.customize-connectors-toast-close {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  color: hsl(42 88% 87%);
  cursor: pointer;
  opacity: 0.78;
}

.customize-connectors-permissions {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.customize-connectors-permissions-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.customize-connectors-permissions-heading legend {
  color: hsl(var(--text-100));
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.375rem;
}

.customize-connectors-permissions-heading p {
  margin: 0;
  color: hsl(var(--text-500));
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.customize-connectors-permission-group {
  display: flex;
  width: 100%;
  flex-direction: column;
  border-bottom: 0.5px solid var(--customize-section-divider);
}

.customize-connectors-permission-group-head {
  display: flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0;
}

.customize-connectors-permission-group-title {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 0.625rem;
  border: 0;
  background: transparent;
  color: hsl(var(--text-100));
  font-size: 0.875rem;
  outline: none;
  padding: 0;
  text-align: left;
}

.customize-connectors-group-permission-button {
  display: inline-flex;
  height: 2rem;
  flex-shrink: 0;
  align-items: center;
  gap: 0.375rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--text-300));
  cursor: pointer;
  font-size: 0.875rem;
  outline: none;
  padding: 0 0.625rem;
}

.customize-connectors-group-permission-button svg {
  transform: rotate(90deg);
}

.customize-connectors-tool-row {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  gap: 1rem;
  border-bottom: 0.5px solid var(--customize-section-divider);
  padding: 0.5rem 0 0.5rem 1.5rem;
}

.customize-connectors-tool-row:last-child {
  border-bottom: 0;
}

.customize-connectors-tool-name {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: hsl(var(--text-300));
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-connectors-permission-control {
  position: relative;
  display: inline-flex;
  width: 92px;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 0.375rem;
  background: var(--customize-segment-track);
  padding: 1px;
}

.customize-connectors-permission-thumb {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 1px;
  width: 30px;
  border: 0.5px solid hsl(var(--border-300) / 0.24);
  border-radius: 0.3125rem;
  background: var(--customize-segment-thumb);
  box-shadow: 0 1px 2px hsl(var(--always-black) / 0.08);
  transition: transform 180ms cubic-bezier(0.165, 0.85, 0.45, 1);
}

.customize-connectors-permission-option {
  position: relative;
  z-index: 1;
  display: inline-flex;
  height: 100%;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  color: hsl(var(--text-500));
  cursor: pointer;
  outline: none;
  padding: 0;
  transition: color 150ms ease;
}

.customize-connectors-permission-option:hover,
.customize-connectors-permission-option[data-checked="true"] {
  color: hsl(var(--text-100));
}

.customize-plugin-detail-shell {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow-y: auto;
  padding: 0 1.5rem 1.5rem;
}

.customize-plugin-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 3.75rem;
  padding: 0.75rem 0 1.25rem;
}

.customize-plugin-description {
  padding-bottom: 1rem;
}

.customize-plugin-tabs {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0 1rem;
}

.customize-plugin-tabs button {
  min-height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: hsl(var(--text-500));
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 650;
  outline: none;
  padding: 0 1rem;
}

.customize-plugin-tabs button:hover,
.customize-plugin-tabs button.is-active {
  background: hsl(var(--bg-400));
  color: hsl(var(--text-000));
}

.customize-plugin-action {
  display: inline-flex;
  height: 2rem;
  min-width: 4.25rem;
  align-items: center;
  justify-content: center;
  border: 0.5px solid var(--customize-border-control);
  border-radius: 0.375rem;
  background: hsl(var(--bg-100));
  color: hsl(var(--text-100));
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 650;
  outline: none;
  padding: 0 0.75rem;
}

.customize-plugin-action:disabled {
  color: hsl(var(--text-500));
  cursor: default;
  opacity: 0.55;
}

.customize-plugin-preview-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.customize-plugin-preview-head {
  display: flex;
  min-height: 2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.customize-plugin-preview-head p {
  margin: 0;
  color: hsl(var(--text-500));
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.customize-plugin-preview-head button {
  border: 0;
  background: transparent;
  color: hsl(var(--text-300));
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 650;
}

.customize-plugin-card-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.customize-plugin-card {
  display: flex;
  min-height: 6.45rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0.5px solid hsl(var(--border-300) / 0.2);
  border-radius: 0.5rem;
  background: hsl(var(--bg-000));
  color: hsl(var(--text-100));
  cursor: pointer;
  outline: none;
  padding: 1rem;
  text-align: left;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.customize-plugin-card:hover,
.customize-plugin-card:focus-visible {
  border-color: hsl(var(--border-300) / 0.28);
  background: hsl(var(--bg-300));
}

.customize-plugin-card-description {
  display: -webkit-box;
  overflow: hidden;
  color: hsl(var(--text-300));
  font-size: 0.875rem;
  line-height: 1.35rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.customize-plugin-card-title {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: hsl(var(--text-500));
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-plugin-route {
  display: flex;
  height: 100%;
  min-height: 0;
  color: hsl(var(--text-100));
}

.customize-route-sidebar {
  display: flex;
  width: 22.5rem;
  min-width: 22.5rem;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-right: 0.5px solid var(--customize-section-divider);
  background: hsl(var(--bg-100));
}

.customize-route-sidebar-header {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  padding: 0.75rem 1.5rem;
}

.customize-route-sidebar-header h2 {
  margin: 0;
  color: hsl(var(--text-100));
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.5rem;
}

.customize-route-list {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  overflow-y: auto;
  padding: 0.5rem 1rem 1rem;
}

.customize-route-list-item {
  display: flex;
  width: 100%;
  min-height: 2.5rem;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-100));
  cursor: pointer;
  font-size: 0.875rem;
  outline: none;
  padding: 0.375rem 0.75rem;
  text-align: left;
  transition: background-color 150ms ease, color 150ms ease;
}

.customize-route-list-item:hover,
.customize-route-list-item.is-selected {
  background: hsl(var(--bg-300));
}

.customize-route-list-item.is-selected .customize-route-list-item__copy > span {
  font-weight: 650;
}

.customize-route-list-item__icon,
.customize-route-row-chevron {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: hsl(var(--text-300));
}

.customize-route-list-item__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.customize-route-list-item__copy > span,
.customize-route-list-item__copy small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-route-list-item__copy small {
  color: hsl(var(--text-400));
  font-size: 0.75rem;
  line-height: 1rem;
}

.customize-plugin-route-detail {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  background: hsl(var(--bg-100));
}

.customize-plugin-subdetail {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  padding: 1rem 1.5rem 1.5rem;
}

.customize-plugin-skill-preview,
.customize-agent-prompt-panel {
  min-height: 0;
}

.customize-agent-metadata-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.customize-agent-metadata-grid h3 {
  margin: 0 0 0.5rem;
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  font-weight: 650;
}

.customize-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.customize-chip-list span {
  display: inline-flex;
  max-width: 100%;
  min-height: 1.75rem;
  align-items: center;
  overflow: hidden;
  border-radius: 0.5rem;
  background: hsl(var(--bg-300));
  color: hsl(var(--text-300));
  font-size: 0.75rem;
  padding: 0 0.5rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-hook-command-list {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
}

.customize-hook-command-card {
  display: flex;
  max-height: 24rem;
  min-height: 8rem;
  flex-direction: column;
  overflow: hidden;
  border: 0.5px solid hsl(var(--border-300) / 0.28);
  border-radius: 0.75rem;
  background: hsl(var(--bg-000));
  padding: 1.25rem;
}

.customize-hook-command-card__head {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.customize-hook-command-card__head h3 {
  margin: 0;
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  font-weight: 650;
}

.customize-hook-command-card pre {
  min-height: 0;
  flex: 1;
  overflow: auto;
  margin: 0;
  color: rgb(234 236 240);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.625;
  white-space: pre-wrap;
}

.customize-hook-command-card code {
  background: transparent;
  color: inherit;
  font-family: inherit;
}

.customize-plugin-info-card {
  display: flex;
  max-width: 42rem;
  gap: 0.75rem;
  border: 0.5px solid hsl(var(--border-300) / 0.18);
  border-radius: 0.5rem;
  background: hsl(var(--bg-000));
  padding: 1rem;
}

.customize-plugin-info-card > span {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: hsl(var(--text-300));
}

.customize-plugin-info-card strong {
  color: hsl(var(--text-100));
  font-size: 0.875rem;
}

.customize-plugin-info-card p {
  margin: 0.25rem 0 0;
  color: hsl(var(--text-300));
  font-size: 0.875rem;
  line-height: 1.5rem;
}

@media (min-width: 901px) {
  body.customize-active .customize-view {
    height: 100dvh;
    min-height: 100dvh;
  }

  body.customize-active .customize-shell {
    height: 100dvh;
    min-height: 0;
  }

  body.customize-active .customize-layout {
    height: calc(100dvh - 3rem);
    min-height: 0;
  }

  body.customize-active .customize-sidebar {
    width: 13.25rem;
    min-width: 13.25rem;
  }

  body.customize-active .customize-workspace-row {
    display: none;
  }

  body.customize-active .customize-sidebar-nav {
    padding: 0.875rem 0.75rem 0.625rem;
  }

  body.customize-active .customize-sidebar-link {
    min-height: 2rem;
    padding-inline: 0.875rem;
  }

  body.customize-active .customize-plugin-section {
    min-height: 0;
    overflow-y: auto;
    padding-inline: 0.75rem;
  }

  body.customize-active .customize-split-view,
  body.customize-active .customize-plugin-route {
    min-width: 0;
    overflow: hidden;
  }

  body.customize-active .customize-section-sidebar,
  body.customize-active .customize-route-sidebar {
    width: 18.625rem;
    min-width: 18.625rem;
  }

  body.customize-active .customize-section-list-header,
  body.customize-active .customize-route-sidebar-header {
    padding-left: 1.125rem;
    padding-right: 0.75rem;
  }

  body.customize-active .customize-section-list-scroll,
  body.customize-active .customize-route-list {
    padding-inline: 0.875rem;
  }

  body.customize-active .customize-connectors-detail-shell {
    overflow-y: auto;
  }

  body.customize-active .customize-connectors-detail-content {
    flex: 1 1 auto;
    width: 100%;
    padding: 3.5rem 1.5rem 2rem;
  }

  body.customize-active .customize-connectors-detail-header {
    min-height: 2rem;
    margin-bottom: 1.75rem;
    padding: 0;
  }

  body.customize-active .customize-connectors-permissions {
    max-width: none;
  }

  body.customize-active .customize-connectors-permission-group-head {
    min-height: 3rem;
  }

  body.customize-active .customize-connectors-tool-row {
    min-height: 2.875rem;
    padding-left: 1.25rem;
  }

  body.customize-active .customize-connectors-toast {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    margin: 0;
  }
}

.artifact-create-disclaimer {
  background: hsl(var(--bg-100));
  color: hsl(var(--text-500));
  padding-block: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.35;
}

.artifact-create-disclaimer a:hover {
  color: hsl(var(--text-300));
}

@keyframes artifact-thinking-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .artifact-thinking-mark svg {
    animation: none;
  }
}

.project-empty-state {
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--cds-spacing-md);
  padding-block: 3rem;
  padding-inline: var(--cds-spacing-md);
  text-align: center;
}

.project-empty-state svg[data-cds="Pictogram"] {
  width: 6rem;
  height: 6rem;
  flex-shrink: 0;
  color: var(--cds-text-primary);
}

.project-empty-state .fill-pictogram-highlight-default {
  fill: hsl(var(--pictogram-100));
}

.project-empty-state h3 {
  max-width: 20rem;
  margin: 0;
  color: var(--cds-text-secondary);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.35;
}

.project-empty-state p {
  max-width: 20rem;
  margin: 0;
  color: var(--cds-text-secondary);
  font-size: var(--cds-text-footnote);
  font-weight: 500;
  line-height: 1.25;
}

.project-empty-state [data-cds="Button"] {
  min-width: 0;
  height: var(--cds-h-control, 2rem);
  border-radius: 0.5rem;
  color: var(--cds-text-primary);
  cursor: var(--cds-cursor-interactive, pointer);
  font-family: var(--cds-font-sans, var(--font-ui));
  font-size: var(--cds-text-body);
  font-weight: 650;
  line-height: 1;
  padding-inline: var(--cds-spacing-md);
  transition: box-shadow 120ms ease;
}

.project-empty-state [data-cds="Button"] .bg-fill-secondary {
  background: hsl(var(--text-100) / 0.09);
}

.project-empty-state [data-cds="Button"]:hover .group-hover\/btn\:bg-fill-secondary-hover,
.project-empty-state [data-cds="Button"][aria-expanded="true"] .group-aria-expanded\/btn\:bg-fill-secondary-hover {
  background: hsl(var(--text-100) / 0.14);
}

.project-empty-state [data-cds="Button"] .shadow-field {
  box-shadow: 0 0 0 0.5px hsl(var(--border) / 0.06);
}

.project-empty-state [data-cds="Button"]:focus-visible {
  box-shadow: 0 0 0 2px hsl(var(--focus) / 0.65);
}

.project-list-bottom-space {
  height: 1.5rem;
}

.project-grid {
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.project-card {
  position: relative;
  min-height: 7rem;
}

.project-card__button {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 7rem;
  flex-direction: column;
  overflow: hidden;
  border: 0.5px solid hsl(var(--border-300) / 0.3);
  border-radius: 0.75rem;
  background:
    linear-gradient(to bottom, hsl(var(--bg-100)), hsl(var(--bg-100) / 0.3));
  color: hsl(var(--text-100));
  cursor: pointer;
  padding: 1rem;
  text-align: left;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease, transform 120ms ease;
}

.project-card__button:hover,
.project-card__button:focus-visible {
  border-color: hsl(var(--border-200) / 0.5);
  background:
    linear-gradient(to bottom, hsl(var(--bg-000)), hsl(var(--bg-000) / 0.8));
  box-shadow: 0 0.375rem 1.25rem hsl(var(--always-black) / 0.08);
}

.project-card__button:active {
  transform: scale(0.98);
}

.project-card__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.375rem;
  padding-right: 2.25rem;
}

.project-card__title {
  overflow: hidden;
  color: hsl(var(--text-100));
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-card__description {
  display: -webkit-box;
  overflow: hidden;
  color: hsl(var(--text-400));
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-card__meta {
  margin-top: auto;
  padding-top: 0.5rem;
  color: hsl(var(--text-500));
  font-size: 0.8125rem;
  font-weight: 500;
}

.project-card__menu {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-200));
  cursor: pointer;
  opacity: 0;
  transition: background-color 120ms ease, opacity 120ms ease;
}

.project-card:hover .project-card__menu,
.project-card:focus-within .project-card__menu,
.project-card__menu[aria-expanded="true"] {
  opacity: 1;
}

.project-card__menu:hover,
.project-card__menu[aria-expanded="true"] {
  background: hsl(var(--text-100) / 0.08);
}

.project-list-status {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem 1rem;
  text-align: center;
}

.project-list-status h3,
.project-list-status p {
  margin: 0;
}

.project-list-status h3 {
  color: hsl(var(--text-300));
  font-size: 0.9375rem;
  font-weight: 650;
}

.project-list-status p {
  max-width: 28rem;
  color: hsl(var(--text-500));
  font-size: 0.8125rem;
  line-height: 1.5;
}

.project-create-view,
.project-detail-view {
  min-height: 100dvh;
  overflow-x: clip;
  overflow-y: auto;
  background: hsl(var(--bg-100));
  color: hsl(var(--text-100));
}

.project-create-shell {
  width: min(100%, 32rem);
  min-height: 100%;
  margin-inline: auto;
  padding: 6rem 1rem 2rem;
}

.project-create-shell h1 {
  margin: 0 0 1rem;
  color: hsl(var(--text-200));
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0;
}

.project-create-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-create-help {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-radius: 0.75rem;
  background: hsl(var(--bg-000));
  box-shadow:
    inset 0 0 0 1px hsl(var(--border-300) / 0.12),
    0 0.25rem 1.5rem hsl(var(--always-black) / 0.08);
  padding: 1.5rem;
  color: hsl(var(--text-300));
  font-size: 0.875rem;
  line-height: 1.55;
}

.project-create-help h2,
.project-create-help p {
  margin: 0;
}

.project-create-help h2 {
  color: hsl(var(--text-100));
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.35;
}

.project-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-form-field > span {
  color: hsl(var(--text-300));
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.3;
}

.project-form-field input,
.project-form-field textarea {
  width: 100%;
  border: 0;
  border-radius: 0.5rem;
  background: hsl(var(--bg-200));
  box-shadow: inset 0 0 0 0.5px hsl(var(--border-300) / 0.3);
  color: hsl(var(--text-100));
  font-family: var(--font-ui);
  font-size: 0.875rem;
  line-height: 1.45;
  outline: none;
  transition: background-color 120ms ease, box-shadow 120ms ease;
}

.project-form-field input {
  height: 2rem;
  padding-inline: 0.75rem;
}

.project-form-field textarea {
  min-height: 5.25rem;
  resize: vertical;
  padding: 0.5rem 0.75rem;
}

.project-form-field input::placeholder,
.project-form-field textarea::placeholder {
  color: hsl(var(--text-500));
  opacity: 1;
}

.project-form-field input:focus-visible,
.project-form-field textarea:focus-visible {
  background: hsl(var(--bg-000));
  box-shadow: 0 0 0 2px hsl(var(--focus) / 0.65);
}

.project-create-actions {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.75rem;
}

.project-form-button {
  display: inline-flex;
  height: 2rem;
  min-width: 5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
  padding-inline: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  transition: background-color 120ms ease, color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.project-form-button--primary {
  background: hsl(var(--text-100));
  color: hsl(var(--bg-100));
}

.project-form-button--primary:hover {
  transform: scale(1.01);
}

.project-form-button--primary:disabled {
  pointer-events: none;
  background: hsl(var(--text-500));
  color: hsl(var(--bg-300));
  opacity: 0.7;
}

.project-form-button--secondary {
  background: hsl(var(--text-100) / 0.09);
  box-shadow: 0 0 0 0.5px hsl(var(--border-300) / 0.25);
  color: hsl(var(--text-100));
}

.project-form-button--secondary:hover {
  background: hsl(var(--text-100) / 0.14);
}

.project-detail-header {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  width: min(100%, 80rem);
  height: 6rem;
  align-items: flex-end;
  margin-inline: auto;
  background: hsl(var(--bg-100));
  padding: 0 2rem 1rem;
}

.project-detail-header::after {
  position: absolute;
  inset: auto 0 -1.25rem;
  z-index: -1;
  height: 1.25rem;
  background: linear-gradient(to bottom, hsl(var(--bg-100)), hsl(var(--bg-100) / 0));
  content: "";
  filter: blur(0.25rem);
  pointer-events: none;
}

.project-back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 0;
  background: transparent;
  color: hsl(var(--text-200));
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 650;
  padding: 0;
  transition: color 120ms ease;
}

.project-back-button:hover {
  color: hsl(var(--text-000));
}

.project-detail-main {
  display: grid;
  width: min(100%, 80rem);
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 1rem auto 0;
  padding: 0 2rem 3rem;
}

.project-detail-primary {
  grid-column: span 7;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1rem;
}

.project-side-panel {
  grid-column: span 7;
  margin-top: 1rem;
}

.project-hero {
  margin-bottom: 0.25rem;
}

.project-hero__title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.project-hero h1 {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: hsl(var(--text-200));
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0;
}

.project-hero p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0.5rem 0 0;
  color: hsl(var(--text-300));
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-hero__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.project-icon-button {
  position: relative;
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--text-300));
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}

.project-icon-button:hover,
.project-icon-button[aria-expanded="true"],
.project-icon-button[aria-pressed="true"] {
  background: hsl(var(--text-100) / 0.08);
  color: hsl(var(--text-100));
}

.project-icon-button svg {
  width: 1.25rem;
  height: 1.25rem;
}

.project-detail-menu-wrap {
  position: relative;
}

.project-detail-menu {
  position: absolute;
  z-index: 8;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 8.75rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border-300) / 0.2);
  border-radius: 0.5rem;
  background: hsl(var(--bg-000));
  box-shadow:
    0 0.5rem 1.5rem hsl(var(--always-black) / 0.32),
    0 0.125rem 0.375rem hsl(var(--always-black) / 0.2);
  padding: 0.25rem;
}

.project-detail-menu button {
  display: flex;
  width: 100%;
  height: 2rem;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--text-200));
  cursor: pointer;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
}

.project-detail-menu button:hover {
  background: hsl(var(--text-100) / 0.08);
  color: hsl(var(--text-100));
}

.project-detail-menu button.is-danger {
  color: hsl(var(--danger-000, 10 72% 57%));
}

.project-detail-menu button.is-danger:hover {
  background: hsl(var(--danger-000, 10 72% 57%) / 0.16);
}

.project-detail-menu [role="separator"] {
  height: 1px;
  margin: 0.25rem 0.5rem;
  background: hsl(var(--border-300) / 0.3);
}

.project-composer {
  width: 100%;
}

.project-composer > div {
  width: 100%;
}

.project-composer-fieldset {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  border: 0;
  margin: 0;
  padding: 0;
}

.project-file-input {
  position: absolute;
  z-index: -10;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  user-select: none;
}

.chat-input-shell {
  position: relative;
  z-index: 10;
  display: flex;
  box-sizing: content-box;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0 0.5rem;
  border: 1px solid transparent;
  border-radius: 20px;
  background: hsl(var(--bg-000));
  box-shadow:
    0 0.25rem 1.25rem hsl(var(--always-black) / 0.035),
    0 0 0 0.5px hsl(var(--border-300) / 0.15);
  cursor: text;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}

.chat-input-shell:hover {
  box-shadow:
    0 0.25rem 1.25rem hsl(var(--always-black) / 0.035),
    0 0 0 0.5px hsl(var(--border-200) / 0.3);
}

.chat-input-shell:focus-within {
  box-shadow:
    0 0.25rem 1.25rem hsl(var(--always-black) / 0.075),
    0 0 0 0.5px hsl(var(--border-200) / 0.3);
}

.chat-input-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.875rem;
}

.project-chat-editor-shell {
  position: relative;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.5;
}

.project-chat-editor-scroll {
  width: 100%;
  min-height: 3rem;
  max-height: 24rem;
  overflow-y: auto;
  overflow-wrap: anywhere;
  padding-left: 6px;
  padding-top: 3px;
  transition: opacity 200ms ease;
}

.project-chat-editor {
  min-height: 1.5rem;
  outline: none;
  color: hsl(var(--text-100));
  white-space: pre-wrap;
  word-break: break-word;
}

.project-chat-editor p {
  margin: 0;
}

.project-chat-placeholder {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding-left: 6px;
  padding-top: 2px;
  pointer-events: none;
}

.project-chat-placeholder span {
  display: block;
  color: hsl(var(--text-500));
  font-size: inherit;
  line-height: inherit;
  opacity: 0;
  transition: opacity 120ms ease;
  white-space: nowrap;
}

.project-chat-editor-shell.is-empty .project-chat-placeholder span {
  opacity: 1;
}

.chat-input-toolbar {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.chat-input-context-actions,
.chat-input-submit-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
}

.chat-input-context-actions {
  flex: 1 1 auto;
}

.chat-input-submit-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.project-composer .chat-input-icon-button {
  width: 2rem;
  height: 2rem;
}

.project-composer .chat-input-icon-button:hover,
.project-composer .chat-input-icon-button:focus-visible,
.project-composer .chat-input-icon-button--active {
  background: hsl(var(--bg-200));
  color: hsl(var(--text-100));
}

.project-add-file-button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.project-composer .chat-input-primary-action {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.625rem;
  background: transparent;
  color: hsl(var(--text-100));
  cursor: pointer;
  outline: none;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.project-composer .chat-input-primary-action--send {
  background: hsl(var(--text-100));
  color: hsl(var(--bg-300));
}

.project-composer .chat-input-primary-action:hover,
.project-composer .chat-input-primary-action:focus-visible {
  transform: translateY(-1px);
}

.project-composer .chat-input-primary-action:active {
  transform: scale(0.97);
}

.project-composer .chat-input-primary-action:disabled {
  cursor: default;
  opacity: 0.54;
  transform: none;
}

.project-send-button svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.project-composer-status-wrap {
  padding-inline: 0.75rem;
}

@media (min-width: 768px) {
  .project-composer-status-wrap {
    padding-inline: 0.5rem;
  }
}

.project-cowork-link {
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
}

.project-cowork-link button {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border: 0;
  background: transparent;
  color: hsl(var(--text-300));
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 120ms ease;
}

.project-cowork-link button:hover {
  color: hsl(var(--text-200));
}

.project-cowork-link svg {
  width: 1rem;
  height: 1rem;
}

.project-conversation-empty {
  border: 1px solid hsl(var(--border-400, var(--border)) / 0.3);
  border-radius: 0.75rem;
  background: hsl(var(--bg-100) / 0.2);
  padding: 2rem;
  text-align: center;
}

.project-conversation-empty h3 {
  margin: 0;
  color: hsl(var(--text-500) / 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
}

.project-side-panel {
  position: relative;
}

.project-side-panel::before {
  position: absolute;
  inset: 0;
  border: 1px solid hsl(var(--border-300) / 0.5);
  border-radius: 1rem;
  content: "";
  pointer-events: none;
}

.project-side-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.375rem;
}

.project-side-section + .project-side-section {
  border-top: 1px solid hsl(var(--border-300) / 0.4);
}

.project-side-section__head {
  display: flex;
  min-height: 1.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-side-section h3,
.project-side-section p {
  margin: 0;
}

.project-side-section h3 {
  color: hsl(var(--text-300));
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
}

.project-side-section > p {
  display: -webkit-box;
  overflow: hidden;
  color: hsl(var(--text-500));
  font-size: 0.8125rem;
  line-height: 1.5;
  opacity: 0.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-knowledge-empty {
  display: flex;
  min-height: 10rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 1rem;
  background: hsl(var(--bg-200));
  color: hsl(var(--text-500));
  padding: 1rem;
  text-align: center;
}

.project-knowledge-empty img {
  display: block;
  width: 6.5625rem;
  height: 3.5rem;
}

.project-knowledge-empty p {
  max-width: 14.5rem;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
}

@media (min-width: 768px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .artifact-create-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .artifact-create-option {
    height: 7rem;
    padding: 0.875rem;
  }

  .artifact-create-option__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
  }

  .artifact-create-option svg {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
  }

  .project-create-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}

@media (min-width: 1180px) {
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-detail-main {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .project-detail-primary {
    grid-column: span 7;
  }

  .project-side-panel {
    grid-column: span 5;
    margin-top: 0;
    padding-left: 3rem;
    padding-right: 1rem;
  }

  .project-side-panel::before {
    left: 3rem;
    right: 1rem;
  }
}


[data-tooltip]::after {
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 0.45rem);
  left: 50%;
  max-width: 14rem;
  padding: 0.35rem 0.5rem;
  border-radius: 0.375rem;
  background: hsl(var(--bg-400));
  color: hsl(var(--text-100));
  content: attr(data-tooltip);
  font-size: 0.75rem;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(0.25rem);
  transition: opacity 120ms ease, transform 120ms ease;
  white-space: nowrap;
}

[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.sidebar [data-tooltip]::after {
  top: 50%;
  bottom: auto;
  left: calc(100% + 0.5rem);
  transform: translateY(-50%) translateX(-0.25rem);
}

.sidebar [data-tooltip]:hover::after,
.sidebar [data-tooltip]:focus-visible::after {
  transform: translateY(-50%) translateX(0);
}

.sidebar {
  width: 100%;
  overflow: hidden;
  transition: width 180ms ease, transform 180ms ease;
}

.app-shell {
  transition: grid-template-columns 180ms ease;
}

@media (min-width: 901px) {
  body.sidebar-collapsed {
    --sidebar-width: var(--sidebar-collapsed-width);
  }

  body.sidebar-collapsed .sidebar {
    align-items: center;
    border-right-color: hsl(var(--border) / 0.12);
    background:
      linear-gradient(to top, hsl(var(--bg-200) / 0.05), hsl(var(--bg-200) / 0.3)),
      hsl(var(--bg-100));
  }

  body.sidebar-collapsed .sidebar__top {
    width: var(--sidebar-collapsed-width);
    height: 3rem;
    justify-content: center;
    padding: 0.5rem;
  }

  body.sidebar-collapsed .brand,
  body.sidebar-collapsed .sidebar__actions .icon-button:not(#sidebarToggle) {
    display: none;
    width: 0;
    opacity: 0;
    pointer-events: none;
  }

  body.sidebar-collapsed .sidebar__actions {
    display: grid;
    width: 100%;
    place-items: center;
    gap: 0;
  }

  body.sidebar-collapsed #sidebarToggle {
    color: hsl(var(--text-200));
  }

  body.sidebar-collapsed .sidebar__scroll {
    width: var(--sidebar-collapsed-width);
    overflow: hidden;
    padding-top: 0;
    scrollbar-width: none;
  }

  body.sidebar-collapsed .sidebar__scroll::-webkit-scrollbar {
    display: none;
  }

  body.sidebar-collapsed .nav-group {
    align-items: center;
    gap: 1px;
    padding: 0.75rem 0.5rem 0.25rem;
  }

  body.sidebar-collapsed .nav-item,
  body.sidebar-collapsed .sidebar-download {
    width: 2rem;
    min-width: 2rem;
    min-height: 2rem;
    justify-content: center;
    gap: 0;
    padding: 0;
    border-radius: 0.5625rem;
  }

  body.sidebar-collapsed .nav-item > span:not(.nav-icon):not(.nav-extra),
  body.sidebar-collapsed .nav-extra,
  body.sidebar-collapsed .sidebar-download__label {
    width: 0;
    min-width: 0;
    flex: 0 0 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }

  body.sidebar-collapsed .nav-extra {
    display: none;
  }

  body.sidebar-collapsed .nav-icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  body.sidebar-collapsed .nav-icon--round {
    width: 1.4rem;
    height: 1.4rem;
    margin: 0;
  }

  body.sidebar-collapsed .nav-section {
    width: var(--sidebar-collapsed-width);
    margin-top: 1rem;
    padding-inline: 0.5rem;
  }

  body.sidebar-collapsed .nav-section .nav-group {
    padding-top: 0.25rem;
  }

  body.sidebar-collapsed .nav-section--recents {
    display: none;
  }

  body.sidebar-collapsed .section-head,
  body.sidebar-collapsed .section-title {
    height: 1.375rem;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }

  body.sidebar-collapsed .account {
    display: flex;
    width: var(--sidebar-collapsed-width);
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    border-top-color: transparent;
    padding-bottom: 0.875rem;
  }

  body.sidebar-collapsed .account__surface {
    width: var(--sidebar-collapsed-width);
    min-height: 3rem;
    justify-content: center;
    padding: 0.375rem 0;
  }

  body.sidebar-collapsed .sidebar-download {
    display: grid;
    place-items: center;
    margin: 0;
    color: hsl(var(--text-200));
  }

  body.sidebar-collapsed .account__button {
    display: inline-grid;
    width: 2.25rem;
    min-height: 2.25rem;
    flex: 0 0 auto;
    place-items: center;
    gap: 0;
    padding: 0.375rem 0;
    border-radius: 0;
  }

  body.sidebar-collapsed .account__button:hover {
    background: transparent;
  }

  body.sidebar-collapsed .account__copy,
  body.sidebar-collapsed .account__download,
  body.sidebar-collapsed .account__chevrons {
    display: none;
    width: 0;
    opacity: 0;
    pointer-events: none;
  }

  body.sidebar-collapsed .avatar {
    width: 2.25rem;
    height: 2.25rem;
  }
}

@media (min-width: 1104px) {
  .login-nav__inner {
    height: 5.25rem;
  }

  .login-hero-shell {
    min-height: calc(100dvh - 5.25rem);
  }
}

@media (max-width: 1103px) and (min-width: 901px) {
  .login-mega {
    display: none;
  }

  .login-nav__links {
    display: none;
  }

  .login-nav__menu {
    display: grid;
  }

  .login-nav__drawer {
    display: flex;
  }

  .login-hero-shell {
    min-height: calc(91dvh - 4.5rem);
    grid-template-columns: minmax(0, 30rem);
    gap: 0;
    padding: 2.75rem 1.5rem 3.5rem;
  }

  .login-preview {
    display: none;
  }
}

@media (max-width: 900px) {
  .login-mega {
    display: none;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(18rem, calc(100vw - 3.25rem));
    box-shadow: 0.5rem 0 2rem hsl(var(--always-black) / 0.35);
    transform: translateX(-105%);
  }

  body.sidebar-open .sidebar {
    transform: translateX(0);
  }

  body.sidebar-open::before {
    position: fixed;
    z-index: 4;
    inset: 0;
    background: hsl(var(--always-black) / 0.48);
    content: "";
  }

  .mobile-sidebar-button {
    display: inline-grid;
  }

  .chat-list-header {
    height: 3.25rem;
    justify-content: flex-end;
    padding: 0.625rem 1rem 0.625rem 3.75rem;
  }

  .project-list-header {
    height: 3.25rem;
    justify-content: flex-end;
    padding: 0.625rem 1rem 0.625rem 3.75rem;
  }

  .artifact-list-header {
    height: 3.25rem;
    justify-content: flex-end;
    padding: 0.625rem 1rem 0.625rem 3.75rem;
  }

  .chat-list-header h1 {
    display: none;
  }

  .project-list-header h1 {
    display: none;
  }

  .artifact-list-header h1 {
    display: none;
  }

  .chat-list-title-mobile {
    display: flex;
    align-items: center;
  }

  .project-list-title-mobile {
    display: flex;
    align-items: center;
  }

  .artifact-list-title-mobile {
    display: flex;
    align-items: center;
  }

  .chat-list-search-wrap,
  .chat-list-main,
  .project-list-search-wrap,
  .project-list-main,
  .artifact-list-search-wrap,
  .artifact-list-main {
    padding-inline: 1rem;
  }

  .chat-list-search-wrap,
  .project-list-search-wrap,
  .artifact-list-search-wrap {
    padding-top: 0.75rem;
  }

  .project-list-actions,
  .artifact-list-actions {
    gap: 0.5rem;
  }

  .project-action,
  .artifact-primary-button,
  .artifact-secondary-button {
    padding-inline: 0.625rem;
  }

  .project-sort-muted {
    display: none;
  }

  .project-empty-state {
    min-height: 20rem;
    padding-top: 2rem;
  }

  .artifact-empty-state {
    min-height: 20rem;
    padding-top: 2rem;
  }

  .artifact-record-card__actions {
    opacity: 1;
  }

  .artifact-create-view {
    padding-top: 1.25rem;
  }

  .artifact-create-inner,
  .artifact-create-message {
    padding-inline: 1rem;
  }

  .customize-view {
    overflow-y: auto;
  }

  .customize-shell {
    min-height: auto;
  }

  .customize-layout {
    min-height: calc(100dvh - 3rem);
    flex-direction: column;
  }

  .customize-sidebar {
    width: 100%;
    min-width: 0;
    border-right: 0;
    border-bottom: 0.5px solid var(--customize-sidebar-divider);
  }

  .customize-sidebar-nav {
    flex-direction: row;
    padding: 0.75rem 1rem 0.5rem;
  }

  .customize-sidebar-link {
    flex: 1;
    justify-content: center;
    padding-inline: 0.5rem;
  }

  .customize-sidebar-rule,
  .customize-plugin-section {
    display: none;
  }

  .customize-home {
    min-height: auto;
    align-items: flex-start;
    padding: 3rem 1rem;
  }

  .customize-home-inner {
    gap: 2rem;
  }

  .customize-home-card {
    min-height: 4.75rem;
    border-radius: 1rem;
    padding: 1rem;
  }

  .chat-row-title {
    font-size: 0.875rem;
  }

  .chat-row-date {
    font-size: 0.8125rem;
  }

  .welcome {
    padding: 10vh 1.25rem 2rem;
  }

  .login-nav__links {
    display: none;
  }

  .login-nav__menu {
    display: grid;
  }

  .login-nav__drawer {
    display: flex;
  }

  .login-hero-shell {
    min-height: calc(91dvh - 4.5rem);
    grid-template-columns: minmax(0, 30rem);
    gap: 0;
    padding: 2.75rem 1.5rem 3.5rem;
  }

  .login-preview {
    display: none;
  }

  .pricing-header {
    align-items: center;
    flex-direction: column;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid--organization {
    grid-template-columns: minmax(0, 30rem);
  }

  .pricing-faq {
    grid-template-columns: 1fr;
  }

  .pricing-faq details {
    grid-column: auto;
  }
}

@media (min-width: 640px) and (max-width: 1103px) {
  .login-nav__backdrop {
    display: block;
  }

  .login-nav__drawer {
    width: 30rem;
    min-width: 30rem;
  }

  .login-nav__drawer-header {
    justify-content: flex-end;
  }

  .login-nav__drawer-brand {
    display: none;
  }
}

@media (max-width: 639px) {
  .login-nav__actions {
    display: none;
  }

  .login-nav__drawer {
    border-left: 0;
    box-shadow: none;
  }
}

body.login-drawer-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .login-nav__drawer,
  .login-nav__backdrop,
  .login-nav__drawer-panel,
  .login-nav__drawer-panel-inner {
    transition: none;
  }
}

@media (min-width: 1000px) {
  .pricing-grid--organization {
    gap: 2rem;
  }
}

@media (max-width: 620px) {
  body {
    overflow: auto;
  }
  .main {
    overflow: visible;
  }

  .login-nav__inner {
    width: min(calc(100% - 2rem), 90rem);
    height: 4rem;
  }

  .login-hero-shell {
    min-height: calc(91dvh - 4rem);
    padding: 2.25rem 1rem 3rem;
  }

  .login-brand__spark {
    width: 1.375rem;
    height: 1.375rem;
  }

  .login-brand__word {
    font-size: 1.35rem;
  }

  .login-screen__content {
    gap: 0;
  }

  .login-hero {
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .login-hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
  }

  .login-hero p {
    font-size: 1.125rem;
  }

  .login-card {
    border-radius: 2rem;
    padding: 1.75rem;
  }

  .login-action,
  .download-app,
  .login-email {
    font-size: 1rem;
  }

  .download-app {
    width: auto;
    min-width: 15.75rem;
  }

  .pricing-section {
    width: min(calc(100% - 2rem), 90rem);
    padding: 2.5rem 0 5rem;
  }

  .pricing-tabs {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    border-radius: 1rem;
  }

  .pricing-tab {
    border-radius: 0.75rem;
    padding-inline: 1rem;
  }

  .pricing-card {
    border-radius: 1.125rem;
    padding: 2rem 1.25rem;
  }

  .pricing-card__head,
  .pricing-seat__row {
    gap: 0.75rem;
  }

  .pricing-card__badge {
    padding-inline: 0.5rem;
    font-size: 0.6875rem;
  }

  .pricing-card h3 {
    font-size: 1.75rem;
  }

  .pricing-card__price strong {
    font-size: 2rem;
  }

  .pricing-seat__price {
    font-size: 1.0625rem;
  }

  .welcome {
    justify-content: flex-start;
    min-height: 100dvh;
    padding: 10vh 0.25rem 3rem;
  }

  .welcome.is-thread-active {
    padding: 0;
  }

  .welcome__greeting-inner {
    gap: 1.75rem;
    padding-top: 1rem;
  }

  .conversation__header {
    min-height: 3.25rem;
    padding: 0.625rem 0.75rem;
  }

  .conversation-title-button {
    max-width: calc(100vw - 7rem);
    padding-inline: 0.5rem;
  }

  .conversation-share {
    padding-inline: 0.625rem;
  }

  .conversation__scroll {
    padding: 1.75rem 1rem 1.5rem;
  }

  .message-list,
  .conversation-thinking {
    width: 100%;
  }

  .message-list {
    gap: 0;
  }

  .agent-timeline-root {
    --timeline-rail-width: 1.875rem;
    --timeline-header-row-height: 2rem;
    --timeline-step-header-right-section-width: 1.5rem;
  }

  .message-bubble {
    max-width: 88%;
    font-size: 0.875rem;
  }

  .timeline-marker__logo {
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 0.45rem;
  }

  .timeline-marker__flower {
    width: 0.9375rem;
    height: 0.9375rem;
  }

  .timeline-tool-group__summary {
    padding-inline: 0.625rem;
  }

  .timeline-tool-item {
    grid-template-columns: 1rem minmax(0, 1fr);
    padding-inline: 0.625rem;
  }

  .welcome.is-thread-active .composer-stage,
  .composer-disclaimer {
    width: calc(100% - 1rem);
  }

  .welcome h1 {
    gap: 0.5rem;
    font-size: 1.875rem;
    line-height: 1.25;
  }

  .claude-spark {
    width: 1.75rem;
    height: 1.75rem;
  }

  .composer {
    border-radius: 18px;
  }

  .composer-chip-strip {
    padding-inline: 0.75rem;
  }

  .composer-chip {
    max-width: 82vw;
  }

  .composer .ProseMirror,
  .composer textarea {
    min-height: 3rem;
  }

  .composer__toolbar {
    gap: 0.25rem;
  }

  .composer__left-controls,
  .composer__right-controls {
    max-width: 100%;
  }

  .composer-pill {
    max-width: 7.25rem;
    padding-inline: 0.5rem;
    font-size: 0.75rem;
  }

  .composer-popover {
    width: min(22rem, calc(100vw - 2rem));
  }

  .composer-menu-anchor--model .composer-popover {
    width: min(16rem, calc(100vw - 2rem));
  }

  .composer-menu-anchor--agent .composer-popover {
    width: min(15rem, calc(100vw - 2rem));
  }

  .agent-selector {
    max-width: 8rem;
    padding-inline: 0.5rem;
    font-size: 0.75rem;
  }

  .model-selector {
    max-width: 10rem;
    padding-inline: 0.5rem;
    font-size: 0.8125rem;
  }

  .provider-modal {
    align-items: end;
    padding: 0.75rem;
  }

  .provider-modal__panel {
    width: 100%;
    max-height: calc(100dvh - 1.5rem);
  }

  .provider-form {
    gap: 0.875rem;
    padding: 0.875rem;
  }

  .provider-form__body {
    grid-template-columns: 1fr;
  }

  .provider-field--wide {
    grid-column: auto;
  }

  .provider-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .provider-form__footer-actions {
    width: 100%;
  }

  .provider-form__primary,
  .provider-form__secondary {
    flex: 1;
  }

  .prompt-categories {
    justify-content: center;
    overflow-x: visible;
    flex-wrap: wrap;
    width: 100%;
    margin-inline: 0;
    padding: 1rem 0.5rem 0;
    scrollbar-width: none;
  }

  .prompt-categories::-webkit-scrollbar {
    display: none;
  }

  .prompt-categories button {
    flex: 0 0 auto;
  }

  [data-tooltip]::after {
    display: none;
  }
}

@media (max-width: 499px) {
  .login-hero h1 {
    font-size: 3.2rem;
  }
}

@media (max-width: 349px) {
  .login-hero h1 {
    font-size: 2.375rem;
  }
}

@media (min-width: 1600px) {
  .welcome {
    padding-top: 20vh;
  }
}

.artifact-card-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-block: 0.25rem;
}

.artifact-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 0.5px solid hsl(var(--border-300, var(--border)) / 0.15);
  border-radius: 8px;
  background: transparent;
  color: hsl(var(--text-100));
  font-family: var(--font-ui);
  text-align: left;
  transition: background-color 300ms ease, border-color 300ms ease;
}

.artifact-card:hover,
.artifact-card:focus-within {
  border-color: hsl(var(--border-200, var(--border)) / 0.38);
  background: hsl(var(--bg-000) / 0.5);
}

.artifact-card__hit-area {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}

.artifact-card__hit-area:focus-visible {
  outline: 2px solid hsl(var(--accent-200));
  outline-offset: -2px;
}

.artifact-card__cell {
  display: flex;
  width: 100%;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: 1rem;
}

.artifact-card__main {
  display: flex;
  min-width: 0;
  flex: 1;
  gap: 0.5rem;
}

.artifact-card__preview-rail {
  position: relative;
  display: flex;
  width: 68px;
  flex: 0 0 68px;
  align-items: flex-end;
  pointer-events: none;
}

.artifact-card__preview {
  position: absolute;
  right: 0.5rem;
  bottom: -0.875rem;
  display: flex;
  width: 52px;
  height: 71px;
  overflow: hidden;
  align-items: flex-start;
  justify-content: center;
  border: 0.5px solid hsl(var(--border-200, var(--border)) / 0.36);
  border-bottom: 0;
  border-radius: 0.5rem 0.5rem 0 0;
  color: hsl(var(--text-500));
  font-family: var(--font-mono);
  font-size: 0.44rem;
  line-height: 0.62rem;
  transform: translateY(19%) rotate(0.1rad) scale(1);
  transform-origin: bottom center;
  transition: transform 300ms ease-out;
  user-select: none;
  white-space: pre-wrap;
  will-change: transform;
}

.artifact-card:hover .artifact-card__preview,
.artifact-card:focus-within .artifact-card__preview {
  transform: translateY(19%) rotate(0.065rad) scale(1.035);
  transition-duration: 400ms;
  transition-timing-function: cubic-bezier(0, 0.9, 0.5, 1.35);
}

.artifact-card__preview--app,
.artifact-card__preview--code {
  align-items: flex-start;
  justify-content: flex-start;
  background: hsl(var(--always-black));
  color: hsl(var(--always-white) / 0.8);
  padding: 0.5rem;
}

.artifact-card__preview--doc,
.artifact-card__preview--unknown {
  align-items: flex-start;
  justify-content: flex-start;
  background: hsl(var(--bg-000));
  color: hsl(var(--text-500) / 0.75);
  font-size: 0.38rem;
  line-height: 0.55rem;
  padding: 0.5rem;
}

.artifact-card__preview--image,
.artifact-card__preview--diagram,
.artifact-card__preview--preso,
.artifact-card__preview--spreadsheet,
.artifact-card__preview--table {
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(to bottom, hsl(var(--bg-000)), hsl(var(--bg-000) / 0));
  padding-top: 1rem;
}

.artifact-card__preview svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.artifact-card__preview .artifact-card__category-icon {
  fill: currentColor;
  stroke: none;
}

.artifact-card__svg-text {
  color: hsl(var(--text-400));
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0;
}

.artifact-card__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 1rem;
}

.artifact-card__title {
  min-width: 0;
  overflow: hidden;
  color: hsl(var(--text-100));
  font-size: 0.875rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artifact-card__meta {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.25rem;
  color: hsl(var(--text-500));
  font-size: 0.75rem;
  line-height: 1.2;
}

.artifact-card__dot {
  opacity: 0.5;
}

.artifact-card__actions {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  pointer-events: none;
}

.chat-file-open-button {
  position: relative;
  display: inline-flex;
  min-width: 5rem;
  height: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  overflow: hidden;
  border: 0.5px solid hsl(var(--border-300, var(--border)) / 0.15);
  border-radius: 0.5rem;
  background: hsl(var(--bg-000) / 0.5);
  color: hsl(var(--text-100));
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.375rem;
  padding: 0.5rem 0.75rem;
  pointer-events: auto;
  transition: background-color 100ms ease, border-color 100ms ease;
  user-select: none;
  white-space: nowrap;
}

.chat-file-open-button--wps {
  min-width: 11rem;
}

.chat-file-open-button__wps-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
}

.chat-file-open-button:hover,
.chat-file-open-button:focus-visible {
  border-color: hsl(var(--border-200, var(--border)) / 0.28);
  background: hsl(var(--bg-000) / 0.75);
  outline: none;
}

@media (max-width: 520px) {
  .artifact-card__cell {
    gap: 0.5rem;
    padding-inline: 0.75rem;
  }

  .chat-file-open-button {
    min-width: 0;
    max-width: 8.5rem;
    padding-inline: 0.625rem;
    text-overflow: ellipsis;
  }

  .chat-file-open-button--wps {
    min-width: 0;
  }
}

body[data-chat-island="react"] #conversationThinking {
  display: none !important;
}

:root[data-launch-drawer-open] {
  --launch-drawer-width: clamp(28rem, 49vw, 52rem);
}

@media (min-width: 980px) {
  .welcome.has-artifact-preview .conversation {
    padding-right: calc(var(--launch-drawer-width, 0px) + 0.5rem);
  }

  .welcome.has-artifact-preview .conversation__header {
    padding-right: 1rem;
  }

  .welcome.has-artifact-preview .composer-stage {
    width: min(calc(100% - var(--launch-drawer-width, 0px) - 4rem), var(--chat-content-width));
    margin-left: auto;
    margin-right: calc(var(--launch-drawer-width, 0px) + 1.5rem);
  }
}

.artifact-launch-drawer {
  position: fixed;
  z-index: 18;
  top: 0.125rem;
  right: 0.125rem;
  bottom: 0.5rem;
  display: flex;
  width: calc(var(--launch-drawer-width, min(52rem, 50vw)) - 0.25rem);
  max-width: calc(100vw - var(--sidebar-collapsed-width));
  min-width: 26rem;
  flex-direction: column;
  overflow: hidden;
  border: 0.5px solid hsl(var(--border-300, var(--border)) / 0.18);
  border-radius: 0.5rem;
  background: hsl(var(--bg-000));
  color: hsl(var(--text-100));
  font-family: var(--font-ui);
  outline: none;
  box-shadow: var(--df-shadow-card, -1rem 0 2rem hsl(var(--always-black) / 0.12));
}

.artifact-launch-drawer__header {
  display: flex;
  min-height: 3rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: hsl(var(--bg-000));
  padding: 0.5rem 0.5rem;
  user-select: none;
}

.artifact-launch-drawer__left,
.artifact-launch-drawer__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
}

.artifact-launch-drawer__left {
  flex: 1 1 auto;
  overflow: hidden;
  padding-left: 0.75rem;
}

.artifact-launch-drawer__actions {
  flex: 0 0 auto;
  gap: 0.25rem;
}

.artifact-view-toggle {
  position: relative;
  display: inline-flex;
  width: fit-content;
  height: 1.75rem;
  align-items: center;
  align-self: stretch;
  border-radius: var(--cds-radius, 0.375rem);
  background: var(--cds-segmented-control-track, hsl(var(--bg-200)));
  font-family: var(--font-sans, var(--font-ui));
  padding: 1px;
}

.artifact-view-toggle::before {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 1px;
  width: 1.625rem;
  border-radius: calc(var(--cds-radius, 0.375rem) - 1px);
  background: var(--cds-segmented-control-thumb, hsl(var(--bg-300)));
  box-shadow: inset 0 0 0 1px var(--cds-border, hsl(var(--border-300) / 0.24)), 0 1px 2px 0 rgb(0 0 0 / 0.05);
  content: "";
  transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.artifact-view-toggle[data-mode="raw"]::before {
  transform: translateX(1.625rem);
}

.artifact-launch-drawer__title {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  overflow: hidden;
  margin: 0;
  color: hsl(var(--text-200));
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
}

.artifact-launch-drawer__title > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artifact-launch-drawer__title-separator {
  flex: 0 0 auto;
  color: hsl(var(--text-400));
  opacity: 0.5;
}

.artifact-launch-drawer__title-extension {
  flex: 0 0 auto;
  color: hsl(var(--text-400));
}

.artifact-launch-drawer__icon-button {
  position: relative;
  display: inline-grid;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 1.75rem;
  place-items: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--text-500));
  cursor: pointer;
  padding: 0;
  transition: background-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
  z-index: 1;
}

.artifact-launch-drawer__icon-button:hover,
.artifact-launch-drawer__icon-button:focus-visible,
.artifact-launch-drawer__icon-button[data-active="true"] {
  background: hsl(var(--fill-ghost-hover, var(--text-100)) / 0.08);
  color: hsl(var(--text-100));
  outline: none;
}

.artifact-view-toggle .artifact-launch-drawer__icon-button {
  width: 1.625rem;
  height: 1.625rem;
  flex-basis: 1.625rem;
  border-radius: calc(var(--cds-radius, 0.375rem) - 2px);
  background: transparent;
}

.artifact-view-toggle .artifact-launch-drawer__icon-button:hover,
.artifact-view-toggle .artifact-launch-drawer__icon-button:focus-visible,
.artifact-view-toggle .artifact-launch-drawer__icon-button[data-active="true"] {
  background: transparent;
}

.artifact-launch-drawer__icon-button:focus-visible {
  box-shadow: 0 0 0 2px hsl(var(--focus) / 0.65);
}

.artifact-launch-drawer__icon-button svg {
  width: 1.125rem;
  height: 1.125rem;
}

.artifact-copy-split {
  position: relative;
  display: inline-flex;
  width: fit-content;
  flex-shrink: 0;
  align-items: center;
  overflow: hidden;
  border-radius: 0.375rem;
  box-shadow: var(--cds-shadow-field-drop, 0 1px 2px rgb(0 0 0 / 0.08));
}

.artifact-copy-split::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--cds-fill-secondary-ring, hsl(var(--border-300) / 0.18));
  content: "";
  pointer-events: none;
}

.artifact-copy-split__primary,
.artifact-copy-split__menu {
  position: relative;
  display: inline-flex;
  height: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--cds-fill-secondary, hsl(var(--bg-300)));
  color: hsl(var(--text-100));
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  outline: none;
  padding-inline: 0.75rem;
  transition: background-color 120ms ease, box-shadow 120ms ease;
  white-space: nowrap;
}

.artifact-copy-split__menu {
  width: 1.75rem;
  padding-inline: 0.25rem;
}

.artifact-copy-split__primary:hover,
.artifact-copy-split__primary:focus-visible,
.artifact-copy-split__menu:hover,
.artifact-copy-split__menu:focus-visible {
  background: var(--cds-fill-secondary-hover, hsl(var(--bg-400, var(--bg-300))));
  outline: none;
}

.artifact-copy-split__primary:focus-visible,
.artifact-copy-split__menu:focus-visible {
  box-shadow: 0 0 0 2px hsl(var(--focus) / 0.65);
}

.artifact-copy-split__divider {
  position: relative;
  width: 1px;
  align-self: stretch;
  background: var(--cds-border, hsl(var(--border) / 0.2));
  z-index: 1;
}

.artifact-launch-drawer__content {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  background: hsl(var(--bg-000));
  overflow: auto;
  scrollbar-color: hsl(var(--text-500) / 0.42) transparent;
  scrollbar-width: thin;
}

.artifact-file-viewer {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
}

.artifact-file-viewer__body {
  min-height: 0;
  flex: 1 1 auto;
}

.artifact-rich-sandbox {
  display: block;
  width: 100%;
  height: 100%;
  min-height: calc(100dvh - 3.25rem);
  flex: 1 1 auto;
  border: 0;
  background: hsl(var(--bg-100));
}

.artifact-rich-sandbox--image {
  background: hsl(var(--bg-000));
}

.artifact-markdown-panel {
  outline: none;
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  color: hsl(var(--text-200));
  line-height: 1.65rem;
  padding: 1rem 4rem 4rem 1.5rem;
}

.artifact-markdown-document {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  min-width: 0;
  color: hsl(var(--text-100));
}

.artifact-markdown-document > * {
  min-width: 0;
}

.artifact-markdown-document :is(p, blockquote, ul, ol, h1, h2, h3, h4, h5, h6) {
  margin: 0;
}

.artifact-markdown-document .message-text__heading {
  color: hsl(var(--text-000));
  font-family: var(--font-claude-response);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0.75rem;
  margin-bottom: -0.25rem;
}

.artifact-markdown-document .message-text__heading--level-1 {
  font-size: 1.375rem;
}

.artifact-markdown-document .message-text__heading--level-2 {
  font-size: 1.125rem;
}

.artifact-markdown-document .message-text__paragraph,
.artifact-markdown-document li {
  color: hsl(var(--text-100));
  font-family: var(--font-claude-response, var(--font-ui-serif));
  font-size: 1rem;
  line-height: 1.65rem;
}

.artifact-markdown-document .message-text__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  list-style: disc;
  margin-bottom: 0.75rem;
  padding-left: 2rem;
}

.artifact-markdown-document li {
  padding-left: 0.5rem;
}

.artifact-markdown-document hr {
  width: calc(100% - 0.75rem);
  height: 0;
  border: 0;
  border-top: 0.5px solid hsl(var(--border-200, var(--border)) / 0.65);
  margin: 0.75rem 0 0.75rem 0.375rem;
}

.artifact-markdown-document strong {
  color: hsl(var(--text-000));
  font-weight: 700;
}

.artifact-markdown-document em {
  font-style: italic;
}

.artifact-code-panel {
  position: relative;
  min-height: 100%;
  flex: 1 1 auto;
  background: hsl(var(--bg-100));
}

.artifact-code-panel__pre {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: auto;
  color: hsl(var(--text-200));
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  padding: 1.25rem;
  white-space: pre;
}

.artifact-code-panel__pre code {
  font: inherit;
}

.artifact-table-panel {
  min-height: 100%;
  overflow: auto;
  padding: 1.5rem;
}

.artifact-table-panel__table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  color: hsl(var(--text-200));
  font-family: var(--font-ui);
  font-size: 0.875rem;
  line-height: 1.45;
}

.artifact-table-panel__table td {
  max-width: 24rem;
  border: 1px solid hsl(var(--border) / 0.12);
  padding: 0.5rem 0.625rem;
  vertical-align: top;
}

@media (max-width: 979px) {
  :root[data-launch-drawer-open] {
    --launch-drawer-width: 100vw;
  }

  .artifact-launch-drawer {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    max-width: none;
    min-width: 0;
    border-radius: 0;
  }

  .artifact-launch-drawer__header {
    padding-inline: 0.625rem;
  }

  .artifact-launch-drawer__left {
    padding-left: 0;
  }

  .artifact-copy-split__primary {
    padding-inline: 0.625rem;
  }

  .artifact-markdown-panel {
    padding: 1rem 1.25rem 4rem;
  }
}

.welcome.is-thread-active .composer__editor-shell,
.welcome:has(.conversation:not([hidden])) .composer__editor-shell {
  --composer-input-height: 1.5rem;
}

.welcome.is-thread-active .composer__input-scroll,
.welcome:has(.conversation:not([hidden])) .composer__input-scroll,
.welcome.is-thread-active .composer .ProseMirror,
.welcome:has(.conversation:not([hidden])) .composer .ProseMirror {
  height: var(--composer-input-height, 1.5rem) !important;
  min-height: var(--composer-input-height, 1.5rem) !important;
  max-height: 24rem !important;
}

.welcome.is-thread-active .composer__input-scroll,
.welcome:has(.conversation:not([hidden])) .composer__input-scroll {
  overflow-y: hidden !important;
}

.welcome.is-thread-active .composer__editor-shell.is-scrollable .composer__input-scroll,
.welcome:has(.conversation:not([hidden])) .composer__editor-shell.is-scrollable .composer__input-scroll {
  overflow-y: auto !important;
}

.welcome.is-thread-active .composer {
  border-radius: 18px;
}

.composer.composer--compact .composer__inner,
.welcome.is-thread-active .composer__inner {
  gap: 0.75rem;
  margin: 0.875rem;
}

.composer.composer--compact .composer__input-scroll,
.welcome.is-thread-active .composer__input-scroll {
  min-height: 1.5rem;
  max-height: 24rem;
  overflow: hidden;
  padding-top: 6px;
}

.composer.composer--compact .ProseMirror,
.welcome.is-thread-active .composer .ProseMirror {
  min-height: 1.5rem;
  max-height: 24rem;
}

.composer.composer--compact .composer__editor-shell.is-empty .composer__input-scroll,
.composer.composer--compact .composer__editor-shell.is-empty .ProseMirror,
.welcome.is-thread-active .composer__editor-shell.is-empty .composer__input-scroll,
.welcome.is-thread-active .composer__editor-shell.is-empty .ProseMirror {
  height: 1.5rem;
  max-height: 1.5rem;
}
