:root {
  --vf-ink: #0e1116;
  --vf-carbon: #2a2e37;
  --vf-slate: #5b6068;
  --vf-paper: #ffffff;
  --vf-gallery: #f7f7f2;
  --vf-porcelain: #fbfbf8;
  --vf-hairline: rgba(14, 17, 22, 0.11);
  --vf-go: #0f8f72;
  --vf-go-deep: #0a6b55;
  --vf-go-wash: #e7f6f1;
  --vf-focus: #3446eb;
  --vf-caution: #b86b16;
  --vf-stop: #c8394a;
  --vf-radius-card: 8px;
  --vf-radius-pill: 999px;
  --vf-control-height: 36px;
  --vf-control-radius: 10px;
  --vf-control-weight: 560;
  --vf-weight-heading: 640;
  --vf-control-letter-spacing: 0;
  --vf-shadow-lift: 0 24px 80px rgba(14, 17, 22, 0.12), 0 2px 6px rgba(14, 17, 22, 0.06);
  --vf-shadow-soft: 0 12px 28px rgba(14, 17, 22, 0.08), 0 1px 2px rgba(14, 17, 22, 0.04);
  color: var(--vf-ink);
  background: var(--vf-gallery);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--vf-gallery);
  color: var(--vf-ink);
  line-height: 1.5;
}

a {
  color: var(--vf-go-deep);
}

.vf-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--vf-paper);
}

.vf-workspace-shell {
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: 1fr;
  background: var(--vf-paper);
}

.vf-sidebar {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  width: 58px;
  padding: 14px 10px;
  background: #111419;
  color: var(--vf-paper);
  overflow: hidden;
  transition: width 180ms ease, box-shadow 180ms ease;
  z-index: 5;
}

.vf-sidebar .vf-brand-subtitle,
.vf-sidebar .vf-status,
.vf-sidebar .vf-muted {
  color: rgba(255, 255, 255, 0.64);
}

.vf-sidebar.is-expanded,
.vf-sidebar:hover,
.vf-sidebar:focus-within {
  width: 260px;
  box-shadow: 18px 0 40px rgba(14, 17, 22, 0.12);
}

.vf-brand-copy,
.vf-nav-label,
.vf-sidebar-popover {
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.vf-sidebar.is-expanded .vf-nav-label,
.vf-sidebar:hover .vf-nav-label,
.vf-sidebar:focus-within .vf-nav-label,
.vf-sidebar.is-expanded .vf-sidebar-popover,
.vf-sidebar:hover .vf-sidebar-popover,
.vf-sidebar:focus-within .vf-sidebar-popover {
  opacity: 1;
  pointer-events: auto;
}

.vf-workspace-switcher {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
}

.vf-workspace-switcher .vf-svg-icon {
  width: 16px;
  height: 16px;
}

.vf-firm-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
}

.vf-sidebar.is-expanded .vf-firm-name,
.vf-sidebar:hover .vf-firm-name,
.vf-sidebar:focus-within .vf-firm-name {
  opacity: 1;
}

.vf-nav {
  display: grid;
  gap: 4px;
  align-content: start;
}

.vf-nav-item {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
  border-color: transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
  padding: 8px;
}

.vf-nav-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.88);
}

.vf-nav-icon .vf-svg-icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.vf-nav-item.active,
.vf-nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--vf-paper);
}

.vf-sidebar-popover {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--vf-radius-card);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.vf-sidebar-popover[hidden] {
  display: none;
}

.vf-sidebar-popover strong {
  color: var(--vf-paper);
}

.vf-workspace-main {
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.vf-landing-workspace {
  background: var(--vf-paper);
}

.vf-page-title {
  display: block;
  color: var(--vf-ink);
  font-size: 22px;
}

.vf-content-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 16px;
  padding: 22px;
}

.vf-content-grid:has(.vf-artifact-pane[hidden]) {
  grid-template-columns: minmax(0, 1fr);
}

.vf-content-grid:has(.vf-artifact-pane.is-collapsed:not([hidden])) {
  grid-template-columns: minmax(0, 1fr);
}

.vf-chat-pane {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid var(--vf-hairline);
  border-radius: var(--vf-radius-card);
  overflow: hidden;
  background: var(--vf-paper);
}

.vf-landing-chat-pane {
  border: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.vf-artifact-pane {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid var(--vf-hairline);
  border-radius: var(--vf-radius-card);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--vf-shadow-soft);
  overflow: hidden;
}

@media (min-width: 981px) {
  .vf-artifact-pane {
    position: sticky;
    top: 86px;
    height: calc(100dvh - 110px);
    align-self: start;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 36px rgba(14, 17, 22, 0.1), 0 1px 2px rgba(14, 17, 22, 0.04);
  }
}

.vf-artifact-pane[hidden] {
  display: none;
}

.vf-landing-canvas[hidden] {
  display: none;
}

.vf-artifact-pane.is-empty {
  opacity: 0.74;
}

.vf-artifact-pane.is-collapsed {
  display: none;
}

.vf-artifact-header {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--vf-hairline);
}

.vf-artifact-surface {
  min-height: 0;
  overflow-y: auto;
  padding: 14px;
}

.vf-artifact-empty {
  min-height: 220px;
  display: grid;
  align-content: center;
  gap: 8px;
  color: var(--vf-slate);
}

.vf-artifact-empty strong,
.vf-artifact-title {
  color: var(--vf-ink);
}

.vf-artifacts-panel {
  display: grid;
  gap: 12px;
}

.vf-artifact-list {
  display: grid;
  gap: 8px;
}

.vf-artifact-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  min-height: 66px;
  padding: 10px;
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
}

.vf-artifact-item .vf-muted {
  grid-column: 2;
}

.vf-artifact-thumb {
  grid-row: span 2;
  width: 38px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--vf-hairline);
  border-radius: 8px;
  color: var(--vf-slate);
  font-size: 10px;
  font-weight: var(--vf-control-weight);
}

.vf-artifact-preview {
  display: grid;
  gap: 12px;
}

.vf-review-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px 16px 124px;
  background:
    linear-gradient(180deg, rgba(15, 143, 114, 0.08), transparent 240px),
    var(--vf-gallery);
}

.vf-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--vf-hairline);
}

.vf-landing-header {
  background: rgba(251, 251, 248, 0.86);
  backdrop-filter: blur(16px);
}

.vf-landing-workspace.is-chatting .vf-landing-header {
  min-height: 50px;
  padding: 8px 18px;
}

.vf-landing-workspace.is-chatting .vf-landing-header > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.vf-landing-workspace.is-chatting .vf-page-title {
  font-size: 16px;
  line-height: 1;
}

.vf-landing-workspace.is-chatting .vf-brand-subtitle {
  overflow: hidden;
  color: var(--vf-slate);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vf-landing-workspace.is-chatting .vf-breadcrumb {
  display: none;
}

.vf-landing-workspace.is-chatting .vf-top-action {
  min-height: 32px;
  max-width: 168px;
  overflow: hidden;
  padding: 6px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vf-top-action {
  min-height: var(--vf-control-height);
  border-radius: var(--vf-radius-pill);
  padding: 7px 12px;
  background: var(--vf-paper);
  color: var(--vf-carbon);
  font-size: 13px;
  font-weight: var(--vf-control-weight);
}

.vf-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.vf-glyph {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--vf-ink);
  color: var(--vf-paper);
  display: grid;
  place-items: center;
  font-weight: var(--vf-weight-heading);
  flex: none;
}

.vf-brand-title,
.vf-card-title {
  color: var(--vf-ink);
  font-weight: var(--vf-weight-heading);
}

.vf-brand-subtitle,
.vf-status,
.vf-muted,
.vf-trust,
.vf-trust-line {
  color: var(--vf-slate);
}

.vf-brand-subtitle,
.vf-status,
.vf-muted {
  font-size: 13px;
}

.vf-breadcrumb {
  display: block;
  margin-top: 2px;
  color: var(--vf-slate);
  font-size: 12px;
  font-weight: 450;
}

.vf-sidebar .vf-memory-panel {
  border-color: rgba(255, 255, 255, 0.12);
}

.vf-sidebar .vf-meta-row {
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 7px 0;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.1);
}

.vf-sidebar .vf-meta-row dt,
.vf-sidebar .vf-meta-row dd {
  color: rgba(255, 255, 255, 0.72);
}

.vf-thread {
  padding: 18px 16px 128px;
  display: grid;
  gap: 12px;
  align-content: start;
  overflow-y: auto;
}

.vf-workspace-shell .vf-thread {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 6px 0 18px;
}

.vf-landing-canvas {
  width: min(860px, 100%);
  min-height: clamp(420px, 58vh, 620px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  margin: 0 auto;
  padding: 48px 18px 34px;
}

.vf-landing-workspace.is-landing .vf-thread {
  display: none;
}

.vf-landing-workspace.is-chatting .vf-landing-canvas {
  display: none;
}

.vf-landing-workspace.is-chatting .vf-chat-pane {
  grid-template-rows: minmax(0, 1fr) auto;
}

.vf-landing-canvas h1 {
  margin: 0;
  color: var(--vf-ink);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
  text-align: center;
  font-weight: var(--vf-weight-heading);
}

.vf-landing-subcopy {
  max-width: 640px;
  margin: 0;
  color: var(--vf-slate);
  font-size: 16px;
  text-align: center;
}

.vf-landing-composer {
  width: min(860px, 100%);
  display: grid;
  gap: 0;
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid rgba(14, 17, 22, 0.1);
  border-radius: 999px;
  background: var(--vf-paper);
  color: var(--vf-ink);
  box-shadow: 0 18px 52px rgba(14, 17, 22, 0.1), 0 1px 2px rgba(14, 17, 22, 0.04);
}

.vf-voice-composer {
  background: var(--vf-paper);
}

.vf-voice-input-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 42px 46px;
  gap: 8px;
  align-items: center;
}

.vf-landing-label {
  gap: 8px;
  font-size: 0;
}

.vf-landing-composer .vf-landing-input {
  min-height: 48px;
  max-height: 100px;
  border: 0;
  border-radius: 0;
  padding: 11px 4px;
  background: transparent;
  color: var(--vf-ink);
  font-size: 18px;
  font-weight: 520;
  resize: none;
  overflow: hidden;
}

.vf-landing-composer .vf-landing-input::placeholder,
.vf-chat-composer .vf-chat-input::placeholder {
  color: rgba(42, 46, 55, 0.62);
}

.vf-landing-composer .vf-landing-input:focus {
  outline: 0;
  border-color: transparent;
}

.vf-landing-actions {
  justify-content: space-between;
  padding: 0 4px 2px;
}

.vf-landing-actions .vf-btn {
  min-width: 86px;
}

.vf-icon-button {
  width: 42px;
  height: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: var(--vf-carbon);
}

.vf-icon-button:hover,
.vf-icon-button:focus-visible {
  background: var(--vf-gallery);
}

.vf-attachment-button,
.vf-mic-button {
  color: var(--vf-slate);
  background: transparent;
  border-color: transparent;
}

.vf-attachment-button:hover,
.vf-attachment-button:focus-visible,
.vf-mic-button:hover,
.vf-mic-button:focus-visible {
  color: var(--vf-ink);
  background: var(--vf-gallery);
  border-color: transparent;
}

.vf-mobile-menu-button,
.vf-mobile-menu-close {
  display: none;
}

.vf-send-icon {
  width: 46px;
  height: 46px;
  min-height: 46px;
  background: var(--vf-go);
  color: var(--vf-paper);
}

.vf-send-icon:hover,
.vf-send-icon:focus-visible,
.vf-mic-button.is-listening {
  background: var(--vf-go-deep);
  color: var(--vf-paper);
}

.vf-svg-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vf-landing-chips {
  max-width: 760px;
  justify-content: center;
  flex-wrap: wrap;
  overflow: visible;
}

.vf-vertical-suggestions {
  margin-top: -8px;
  padding: 8px 12px 4px;
}

.vf-landing-chips .vf-chip {
  min-height: 34px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--vf-carbon);
  font-size: 13px;
}

.vf-quiet-prompts {
  opacity: 0.86;
}

.vf-voice-status,
.vf-transcript {
  max-width: 720px;
  margin: 0;
  color: var(--vf-slate);
  font-size: 13px;
  text-align: center;
}

.vf-recent-chats {
  width: min(760px, 100%);
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.vf-recent-title {
  color: var(--vf-slate);
  font-size: 12px;
  font-weight: var(--vf-control-weight);
}

.vf-recent-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vf-recent-chat {
  display: grid;
  gap: 2px;
  min-height: 54px;
  padding: 10px 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
}

.vf-recent-chat span {
  color: var(--vf-slate);
  font-size: 12px;
}

.vf-experience-preview {
  width: min(760px, 100%);
  box-shadow: none;
}

.vf-artifact-pane .vf-preview-card {
  box-shadow: none;
}

.vf-client-preview {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.vf-client-preview-title {
  color: var(--vf-ink);
}

.vf-magic-link-preview {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(15, 143, 114, 0.18);
  border-radius: var(--vf-radius-card);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
}

.vf-magic-link-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--vf-carbon);
  font-size: 13px;
  font-weight: var(--vf-control-weight);
}

.vf-magic-link-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--vf-go);
  color: var(--vf-paper);
  font-size: 12px;
  font-weight: var(--vf-weight-heading);
  letter-spacing: 0;
}

.vf-magic-link-intro {
  display: grid;
  gap: 6px;
}

.vf-magic-link-intro p {
  margin: 0;
  color: var(--vf-carbon);
}

.vf-magic-link-fields {
  display: grid;
  gap: 10px;
}

.vf-client-form-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  color: var(--vf-carbon);
  font-size: 13px;
}

.vf-client-form-progress-bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(14, 17, 22, 0.09);
}

.vf-client-form-progress-fill {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--vf-go);
}

.vf-client-form-next {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: var(--vf-carbon);
  font-size: 13px;
}

.vf-client-form-next strong {
  color: var(--vf-ink);
}

.vf-client-form-sections {
  display: grid;
  gap: 10px;
}

.vf-client-form-section {
  overflow: hidden;
  border: 1px solid var(--vf-hairline);
  border-radius: 14px;
  background: var(--vf-paper);
}

.vf-client-form-section.is-blocked {
  border-color: rgba(200, 57, 74, 0.24);
  background: #fff0f2;
}

.vf-client-form-section-head {
  min-width: 0;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 13px 14px;
}

.vf-client-form-state {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--vf-hairline);
  border-radius: 50%;
  color: var(--vf-slate);
  font-size: 13px;
  font-weight: var(--vf-weight-heading);
}

.vf-client-form-section.is-complete .vf-client-form-state {
  background: var(--vf-go-deep);
  border-color: var(--vf-go-deep);
  color: var(--vf-paper);
}

.vf-client-form-section.is-active .vf-client-form-state {
  background: var(--vf-ink);
  border-color: var(--vf-ink);
}

.vf-client-form-section.is-blocked .vf-client-form-state {
  background: var(--vf-stop);
  border-color: var(--vf-stop);
  color: var(--vf-paper);
}

.vf-client-form-section-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.vf-client-form-section-copy strong {
  color: var(--vf-ink);
  font-size: 14px;
}

.vf-client-form-section-copy span {
  color: var(--vf-slate);
  font-size: 12px;
}

.vf-client-form-chevron {
  color: var(--vf-slate);
  font-weight: var(--vf-control-weight);
}

.vf-client-form-section-body {
  display: grid;
  gap: 11px;
  padding: 0 14px 14px;
}

.vf-magic-field {
  display: grid;
  gap: 5px;
  color: var(--vf-carbon);
  font-size: 12px;
  font-weight: var(--vf-control-weight);
}

.vf-magic-field .vf-input {
  min-height: 40px;
  max-height: none;
  resize: none;
  border-radius: 12px;
  padding: 9px 10px;
  background: var(--vf-paper);
  font-size: 14px;
  font-weight: 450;
}

.vf-magic-field .vf-input[readonly] {
  cursor: default;
  color: var(--vf-carbon);
  background: rgba(255, 255, 255, 0.78);
}

.vf-magic-upload {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px dashed rgba(15, 143, 114, 0.3);
  border-radius: var(--vf-radius-card);
  background: rgba(15, 143, 114, 0.055);
}

.vf-magic-upload span:last-child,
.vf-magic-checklist {
  color: var(--vf-slate);
  font-size: 13px;
}

.vf-client-form-save,
.vf-client-form-submit {
  min-height: 44px;
  border: 0;
  border-radius: 11px;
  font: inherit;
  font-weight: var(--vf-control-weight);
}

.vf-client-form-save {
  background: var(--vf-go-wash);
  color: var(--vf-go-deep);
}

.vf-client-form-submit {
  background: var(--vf-go);
  color: var(--vf-paper);
}

.vf-client-form-save.is-readonly,
.vf-client-form-submit.is-readonly,
.vf-client-form-save[disabled],
.vf-client-form-submit[disabled] {
  cursor: default;
  opacity: 0.72;
  box-shadow: none;
}

.vf-client-form-submit.is-readonly,
.vf-client-form-submit[disabled] {
  background: rgba(14, 17, 22, 0.08);
  color: var(--vf-carbon);
}

.vf-transcript {
  color: var(--vf-carbon);
}

.vf-message {
  width: min(860px, 100%);
  display: flex;
  margin: 0 auto;
  color: var(--vf-ink);
  font-size: 16px;
  line-height: 1.55;
}

.vf-message-user {
  justify-content: flex-end;
}

.vf-message-user .vf-message-copy {
  max-width: min(680px, 82%);
  padding: 11px 14px;
  border-radius: 18px;
  color: var(--vf-paper);
  background: var(--vf-ink);
  border-bottom-right-radius: 6px;
}

.vf-message-vee {
  justify-content: flex-start;
}

.vf-message-vee .vf-message-copy {
  max-width: min(760px, 100%);
  white-space: pre-wrap;
}

.vf-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--vf-hairline);
  border-radius: var(--vf-radius-card);
  background: rgba(255, 255, 255, 0.96);
  padding: 14px;
  box-shadow: var(--vf-shadow-soft);
}

.vf-workflow-command-card {
  border-color: rgba(15, 143, 114, 0.22);
}

.vf-context-card {
  box-shadow: none;
}

.vf-landing-chat-pane .vf-thread-context {
  display: none;
}

.vf-chat-composer-mount[hidden] {
  display: none;
}

.vf-chat-composer {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(14, 17, 22, 0.1);
  border-radius: 999px;
  background: var(--vf-paper);
  color: var(--vf-ink);
  box-shadow: 0 18px 52px rgba(14, 17, 22, 0.1), 0 1px 2px rgba(14, 17, 22, 0.04);
}

.vf-chat-composer-mount {
  display: grid;
  justify-items: center;
  padding: 0 clamp(14px, 3vw, 28px) 18px;
  background: transparent;
}

.vf-chat-composer .vf-voice-input-row {
  grid-template-columns: 44px minmax(0, 1fr) 42px 46px;
  gap: 8px;
}

.vf-chat-composer .vf-chat-input {
  min-height: 48px;
  max-height: 96px;
  border: 0;
  border-radius: 0;
  padding: 11px 4px;
  resize: none;
  background: transparent;
  color: var(--vf-ink);
  font-size: 18px;
  font-weight: 520;
  line-height: 1.35;
  overflow: hidden;
}

.vf-chat-composer .vf-chat-input:focus {
  outline: 0;
  background: transparent;
  border-color: transparent;
}

.vf-chat-preview-link {
  min-height: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--vf-go-deep);
  font-size: inherit;
  font-weight: var(--vf-control-weight);
  text-align: left;
  text-decoration: none;
}

.vf-chat-preview-link:hover,
.vf-chat-preview-link:focus-visible {
  background: transparent;
  text-decoration: underline;
}

.vf-card-head {
  display: grid;
  gap: 4px;
}

.vf-kicker {
  color: var(--vf-slate);
  font-size: 11px;
  font-weight: var(--vf-control-weight);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vf-trust-line {
  margin: 0;
  font-size: 13px;
}

.vf-meta-grid {
  display: grid;
  gap: 0;
  border: 1px solid var(--vf-hairline);
  border-radius: var(--vf-radius-card);
  overflow: hidden;
}

.vf-meta-row {
  display: grid;
  grid-template-columns: minmax(86px, 0.42fr) 1fr;
  gap: 10px;
  margin: 0;
  padding: 9px 10px;
  background: var(--vf-paper);
  border-bottom: 1px solid var(--vf-hairline);
}

.vf-meta-row:last-child {
  border-bottom: 0;
}

.vf-meta-row dt {
  color: var(--vf-slate);
  font-size: 11px;
  font-weight: var(--vf-control-weight);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vf-meta-row dd {
  margin: 0;
  min-width: 0;
  color: var(--vf-carbon);
  overflow-wrap: anywhere;
}

.vf-list-group {
  display: grid;
  gap: 6px;
}

.vf-list-heading {
  font-size: 13px;
}

.vf-list,
.vf-badge-list {
  margin: 0;
  padding-left: 18px;
}

.vf-card-actions,
.vf-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.vf-btn,
button,
a.vf-btn {
  min-height: var(--vf-control-height);
  border: 1px solid var(--vf-hairline);
  border-radius: var(--vf-control-radius);
  padding: 8px 11px;
  background: var(--vf-paper);
  color: var(--vf-ink);
  font: inherit;
  font-size: 13px;
  font-weight: var(--vf-control-weight);
  letter-spacing: var(--vf-control-letter-spacing);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.vf-btn-go,
button.primary,
.primary {
  background: var(--vf-go);
  border-color: var(--vf-go);
  color: var(--vf-paper);
}

.vf-btn-go:hover,
button.primary:hover,
.primary:hover {
  background: var(--vf-go-deep);
}

.vf-btn-secondary {
  background: var(--vf-gallery);
}

.vf-btn-guarded:disabled {
  color: var(--vf-slate);
  cursor: not-allowed;
  background: #faf7ef;
  border-color: rgba(184, 107, 22, 0.24);
}

.vf-search-panel {
  display: grid;
  gap: 12px;
}

.vf-module-panel {
  display: grid;
  gap: 14px;
}

.vf-module-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vf-search-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--vf-hairline);
  border-radius: var(--vf-control-radius);
  padding: 10px 12px;
  background: var(--vf-paper);
  color: var(--vf-ink);
  font: inherit;
}

.vf-search-results {
  display: grid;
  gap: 8px;
}

.vf-search-result {
  display: grid;
  gap: 3px;
  width: 100%;
  min-height: auto;
  padding: 11px 12px;
  text-align: left;
  background: var(--vf-paper);
}

.vf-chip-row,
.vf-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.vf-chip {
  flex: none;
  min-height: 32px;
  border-radius: var(--vf-radius-pill);
  white-space: nowrap;
}

.vf-chip-primary {
  background: var(--vf-go-wash);
  border-color: rgba(15, 143, 114, 0.24);
  color: var(--vf-go-deep);
}

.vf-composer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 10px;
  padding: 10px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--vf-hairline);
}

.vf-workspace-shell .vf-composer {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
}

.vf-workspace-shell .vf-chat-composer {
  padding: 8px 10px;
}

.vf-label {
  display: grid;
  gap: 6px;
  color: var(--vf-carbon);
  font-weight: var(--vf-control-weight);
}

.vf-input {
  width: 100%;
  min-height: 72px;
  max-height: 160px;
  resize: vertical;
  border: 1px solid var(--vf-hairline);
  border-radius: 16px;
  padding: 12px;
  background: var(--vf-gallery);
  color: var(--vf-ink);
  font: inherit;
}

.vf-input:focus {
  outline: 3px solid var(--vf-go-wash);
  border-color: var(--vf-go);
  background: var(--vf-paper);
}

.vf-trust {
  font-size: 12.5px;
}

.vf-integrations {
  display: none;
}

.vf-memory-panel {
  display: grid;
  border: 1px solid var(--vf-hairline);
  border-radius: var(--vf-radius-card);
  overflow: hidden;
}

.vf-preview-sections[hidden] {
  display: none;
}

.vf-badge {
  margin-bottom: 4px;
}

.vf-review-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--vf-hairline);
}

.vf-review-actions .vf-btn-go {
  grid-column: span 2;
}

.vf-receipt-icon,
.vf-error-icon,
.vf-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: var(--vf-weight-heading);
}

.vf-receipt-icon {
  background: var(--vf-go);
  color: var(--vf-paper);
}

.vf-error-card {
  border-color: rgba(200, 57, 74, 0.28);
  background: #fff7f8;
}

.vf-error-icon {
  background: var(--vf-stop);
  color: var(--vf-paper);
}

.vf-inline-link {
  font-weight: var(--vf-control-weight);
}

@media (min-width: 760px) {
  .vf-shell,
  .vf-review-shell,
  .vf-composer,
  .vf-review-actions {
    max-width: 560px;
    margin: 0 auto;
  }

  .vf-shell,
  .vf-review-shell {
    border-left: 1px solid var(--vf-hairline);
    border-right: 1px solid var(--vf-hairline);
  }
}

@media (min-width: 760px) {
  .vf-workspace-shell,
  .vf-workspace-shell .vf-composer {
    max-width: none;
    margin: 0;
  }

  .vf-workspace-shell {
    border: 0;
  }
}

@media (max-width: 980px) {
  .vf-workspace-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .vf-sidebar {
    width: auto;
    min-height: auto;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    padding: 12px;
  }

  .vf-firm-name,
  .vf-nav-label {
    opacity: 1;
    pointer-events: auto;
  }

  .vf-nav {
    grid-column: 1 / -1;
    display: flex;
    overflow-x: auto;
  }

  .vf-nav-item {
    width: auto;
    flex: none;
    text-align: center;
  }

  .vf-sidebar-popover {
    display: none;
  }

  .vf-content-grid {
    grid-template-columns: 1fr;
    padding: 14px;
  }

}

@media (max-width: 680px) {
  .vf-workspace-shell {
    min-height: 100dvh;
  }

  .vf-sidebar {
    position: fixed;
    inset: 0;
    width: 100vw;
    min-height: 100dvh;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
    align-items: start;
    padding: 16px;
    transform: translateX(-100%);
    transition: transform 180ms ease;
    overflow-y: auto;
    z-index: 30;
  }

  .vf-workspace-shell.is-mobile-menu-open .vf-sidebar {
    transform: translateX(0);
  }

  .vf-sidebar.is-expanded,
  .vf-sidebar:hover,
  .vf-sidebar:focus-within {
    width: 100vw;
  }

  .vf-mobile-menu-button,
  .vf-mobile-menu-close {
    display: grid;
  }

  .vf-mobile-menu-close {
    justify-self: end;
    color: var(--vf-paper);
  }

  .vf-sidebar .vf-firm-name,
  .vf-sidebar .vf-nav-label,
  .vf-sidebar .vf-brand-copy,
  .vf-sidebar .vf-sidebar-popover {
    opacity: 1;
    pointer-events: auto;
  }

  .vf-sidebar .vf-nav {
    grid-column: auto;
    display: grid;
    gap: 6px;
    width: 100%;
    overflow: visible;
  }

  .vf-sidebar .vf-nav-item {
    width: 100%;
    min-height: 46px;
    justify-content: start;
    text-align: left;
  }

  .vf-landing-workspace.is-chatting .vf-landing-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .vf-landing-workspace.is-chatting .vf-landing-header > div {
    min-width: 0;
  }

  .vf-landing-workspace.is-chatting .vf-top-action {
    display: none;
  }

  .vf-content-grid {
    padding: 0 14px 14px;
    gap: 0;
  }

  .vf-chat-pane {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .vf-workspace-shell .vf-thread {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 16px 18px 118px;
  }

  .vf-message {
    width: 100%;
  }

  .vf-message-user .vf-message-copy {
    max-width: min(100%, 680px);
  }

  .vf-artifact-pane {
    position: fixed;
    inset: 0;
    z-index: 28;
    width: 100vw;
    height: 100dvh;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .vf-artifact-pane[hidden] {
    display: none;
  }

  .vf-artifact-surface {
    padding: 14px;
  }

  .vf-landing-canvas {
    min-height: calc(100dvh - 156px);
    padding: 34px 18px 20px;
  }

  .vf-chat-composer-mount {
    padding: 0 18px 18px;
  }

  .vf-landing-composer {
    border-radius: 24px;
    box-shadow: 0 14px 44px rgba(14, 17, 22, 0.12);
  }

  .vf-voice-input-row {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .vf-send-icon {
    width: 38px;
  }

  .vf-landing-chips {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
  }

  .vf-workspace-shell .vf-composer {
    position: sticky;
    bottom: 0;
    z-index: 3;
  }

  .vf-header {
    position: sticky;
    top: 0;
  }
}
