.shell.openclaw-theme {
  --revamp-canvas: #f5f7fa;
  --revamp-surface: #ffffff;
  --revamp-surface-soft: #f8fafc;
  --revamp-surface-muted: #f1f5f9;
  --revamp-text: #0f172a;
  --revamp-text-muted: #475569;
  --revamp-text-soft: #64748b;
  --revamp-blue: #2563eb;
  --revamp-blue-strong: #1d4ed8;
  --revamp-blue-soft: #e0edff;
  --revamp-blue-border: rgba(59, 130, 246, 0.48);
  --revamp-violet: #7c3aed;
  --revamp-violet-soft: #ede9fe;
  --revamp-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --revamp-gradient-soft: linear-gradient(135deg, rgba(37, 99, 235, 0.11) 0%, rgba(124, 58, 237, 0.1) 100%);
  --revamp-cyber-blue: #0f6eea;
  --revamp-cyber-cyan: #19b6d9;
  --revamp-cyber-glow: rgba(37, 99, 235, 0.18);
  --revamp-border: rgba(148, 163, 184, 0.24);
  --revamp-border-strong: rgba(148, 163, 184, 0.38);
  --revamp-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  --revamp-shadow-soft: 0 8px 18px rgba(15, 23, 42, 0.04);
  --revamp-shadow-card: 0 22px 54px rgba(37, 99, 235, 0.13);
  min-width: 960px;
  grid-template-columns: clamp(260px, 20vw, 280px) minmax(0, 1fr);
  background: var(--revamp-canvas);
  color: var(--revamp-text);
}

.shell.openclaw-theme button,
.shell.openclaw-theme [role="button"],
.shell.openclaw-theme summary,
.shell.openclaw-theme select {
  cursor: pointer;
}

.shell.openclaw-theme button:disabled,
.shell.openclaw-theme [aria-disabled="true"] {
  cursor: not-allowed;
}

.shell.openclaw-theme button:hover:not(:disabled),
.shell.openclaw-theme .catalog-item:hover,
.shell.openclaw-theme .plugin-flat-card:hover,
.shell.openclaw-theme .settings-section-card:hover,
.shell.openclaw-theme .model-config-card:hover {
  transform: none;
}

.shell.openclaw-theme button:focus-visible,
.shell.openclaw-theme input:focus-visible,
.shell.openclaw-theme textarea:focus-visible,
.shell.openclaw-theme select:focus-visible,
.shell.openclaw-theme a:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.56);
  outline-offset: 2px;
}

.shell.openclaw-theme > .sidebar {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #dbeafe 0%, #c7ddf8 100%);
  border-right: 1px solid rgba(37, 99, 235, 0.34);
  border-bottom: 0;
  box-shadow:
    inset -1px 0 0 rgba(255, 255, 255, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.shell.openclaw-theme > .sidebar::before,
.shell.openclaw-theme > .sidebar::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.shell.openclaw-theme > .sidebar::before {
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0) 32%, rgba(37, 99, 235, 0.12) 100%);
}

.shell.openclaw-theme > .sidebar::after {
  top: -14%;
  left: -18%;
  width: 72%;
  height: 34%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0) 72%);
  opacity: 0.72;
}

.shell.openclaw-theme .conversation-sidebar-layout {
  isolation: isolate;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  padding: 16px 14px;
}

.shell.openclaw-theme .sidebar-top {
  position: relative;
  z-index: 1;
  gap: 10px;
}

.shell.openclaw-theme .nav-list {
  grid-template-columns: 1fr;
  gap: 6px;
}

.shell.openclaw-theme .nav-item {
  position: relative;
  min-height: 42px;
  padding: 0 12px 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  background: rgba(255, 255, 255, 0.36);
  color: #2e516c;
  justify-content: flex-start;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.shell.openclaw-theme .nav-item-icon svg {
  width: 18px;
  height: 18px;
}

.shell.openclaw-theme .nav-item-label {
  letter-spacing: 0;
}

.shell.openclaw-theme .nav-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(96, 165, 250, 0.42);
  color: var(--revamp-blue-strong);
  box-shadow: none;
}

.shell.openclaw-theme .nav-item.active {
  background: #ffffff;
  border-color: var(--revamp-blue-border);
  color: var(--revamp-blue-strong);
  box-shadow:
    inset 4px 0 0 var(--revamp-blue),
    0 8px 18px rgba(37, 99, 235, 0.12);
}

.shell.openclaw-theme .nav-item.active::before {
  content: none;
}

.shell.openclaw-theme .conversation-sidebar-action {
  display: grid;
  flex: 0 0 auto;
}

.shell.openclaw-theme .sidebar-new-session.conversation-new-session {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  padding: 0 16px;
  border-radius: 10px;
  border-color: rgba(29, 78, 216, 0.18);
  background: linear-gradient(135deg, #2563eb, #0f6eea);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.shell.openclaw-theme .sidebar-new-session.conversation-new-session:hover:not(:disabled) {
  background: linear-gradient(135deg, #1d4ed8, #075bd8);
  border-color: rgba(29, 78, 216, 0.32);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.shell.openclaw-theme .conversation-new-session-plus {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.shell.openclaw-theme .conversation-new-session-label {
  letter-spacing: 0;
}

.shell.openclaw-theme .sidebar-bottom {
  position: relative;
  z-index: 1;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 56fr) minmax(150px, 44fr);
  gap: 12px;
  overflow: hidden;
  padding-right: 0;
}

.shell.openclaw-theme .sidebar-experts-entry,
.shell.openclaw-theme .sidebar-session-section,
.shell.openclaw-theme .expert-category-item,
.shell.openclaw-theme .sidebar-session-card {
  border-color: rgba(59, 130, 246, 0.22);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.shell.openclaw-theme .sidebar-experts-entry {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
  overflow: hidden;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(59, 130, 246, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.shell.openclaw-theme .sidebar-session-section {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(59, 130, 246, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.shell.openclaw-theme .sidebar-digital-workers-title {
  min-height: 28px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.16);
  letter-spacing: 0;
}

.shell.openclaw-theme .sidebar-section-title {
  color: #0f2f59;
  font-size: 13px;
  font-weight: 800;
}

.shell.openclaw-theme .sidebar-section-label,
.shell.openclaw-theme .sidebar-session-main span {
  color: #486985;
}

.shell.openclaw-theme .sidebar-section-head-subtle {
  min-height: 28px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.16);
}

.shell.openclaw-theme .sidebar-section-label {
  font-size: 13px;
  font-weight: 800;
  color: #0f2f59;
}

.shell.openclaw-theme .expert-category-item:hover,
.shell.openclaw-theme .expert-category-header:hover,
.shell.openclaw-theme .expert-category-expert-item:hover,
.shell.openclaw-theme .sidebar-session-card:hover,
.shell.openclaw-theme .sidebar-session-main:hover {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(96, 165, 250, 0.34);
  color: var(--revamp-blue-strong);
  box-shadow: none;
}

.shell.openclaw-theme .expert-category-list {
  gap: 7px;
}

.shell.openclaw-theme .sidebar-expert-scroll,
.shell.openclaw-theme .sidebar-session-list {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(94, 164, 216, 0.44) transparent;
}

.shell.openclaw-theme .sidebar-expert-scroll {
  padding-right: 2px;
}

.shell.openclaw-theme .sidebar-session-list {
  display: grid;
  gap: 8px;
  align-content: start;
  padding-right: 2px;
}

.shell.openclaw-theme .sidebar-expert-scroll::-webkit-scrollbar,
.shell.openclaw-theme .sidebar-session-list::-webkit-scrollbar {
  width: 4px;
}

.shell.openclaw-theme .sidebar-expert-scroll::-webkit-scrollbar-track,
.shell.openclaw-theme .sidebar-session-list::-webkit-scrollbar-track {
  background: transparent;
}

.shell.openclaw-theme .sidebar-expert-scroll::-webkit-scrollbar-thumb,
.shell.openclaw-theme .sidebar-session-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(94, 164, 216, 0.44);
}

.shell.openclaw-theme .sidebar-expert-scroll:hover::-webkit-scrollbar-thumb,
.shell.openclaw-theme .sidebar-expert-scroll:focus-within::-webkit-scrollbar-thumb,
.shell.openclaw-theme .sidebar-session-list:hover::-webkit-scrollbar-thumb,
.shell.openclaw-theme .sidebar-session-list:focus-within::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.42);
}

.shell.openclaw-theme .expert-category-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border-color: rgba(59, 130, 246, 0.2);
  background: #ffffff;
  box-shadow: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.shell.openclaw-theme .expert-category-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--revamp-cyber-cyan), var(--revamp-cyber-blue));
  opacity: 0;
  transition: opacity 180ms ease;
}

.shell.openclaw-theme .expert-category-item:hover {
  border-color: rgba(37, 99, 235, 0.44);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.08);
}

.shell.openclaw-theme .expert-category-item:hover::before {
  opacity: 1;
}

.shell.openclaw-theme .expert-category-item.expanded {
  border-color: rgba(37, 99, 235, 0.52);
  background: #f8fbff;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.08);
}

.shell.openclaw-theme .expert-category-item.expanded::before {
  opacity: 1;
}

.shell.openclaw-theme .expert-category-header {
  min-height: 40px;
  padding: 0 10px 0 12px;
  transition: background 180ms ease, color 180ms ease;
}

.shell.openclaw-theme .expert-category-item.expanded .expert-category-header {
  background: #eaf2ff;
}

.shell.openclaw-theme .expert-category-icon,
.shell.openclaw-theme .expert-category-toggle {
  color: var(--revamp-cyber-blue);
}

.shell.openclaw-theme .expert-category-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.1);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.14);
}

.shell.openclaw-theme .expert-category-name {
  color: #183b66;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.shell.openclaw-theme .expert-category-toggle {
  transition: transform 180ms ease, color 180ms ease;
}

.shell.openclaw-theme .expert-category-content {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(59, 130, 246, 0.16);
  border-radius: 0;
  background: rgba(241, 247, 255, 0.78);
  box-shadow: none;
  transform-origin: top center;
  animation: expertPanelReveal 220ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

.shell.openclaw-theme .expert-category-experts {
  gap: 5px;
  padding: 7px 7px 8px 10px;
}

.shell.openclaw-theme .expert-category-expert-item {
  min-height: 34px;
  padding: 6px 9px 6px 12px;
  border-radius: 8px;
  border-color: rgba(59, 130, 246, 0.14);
  background: rgba(255, 255, 255, 0.74);
  color: #31516f;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.shell.openclaw-theme .expert-category-expert-item:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(37, 99, 235, 0.34);
  color: #104eae;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.1);
}

.shell.openclaw-theme .expert-category-expert-item.active,
.shell.openclaw-theme .sidebar-session-card.active {
  background: #ffffff;
  border-color: var(--revamp-blue-border);
  color: var(--revamp-blue-strong);
  box-shadow:
    inset 4px 0 0 rgba(37, 99, 235, 0.86),
    0 10px 20px rgba(37, 99, 235, 0.1);
}

.shell.openclaw-theme .expert-category-expert-item.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(224, 237, 255, 0.92));
  box-shadow:
    inset 3px 0 0 var(--revamp-cyber-blue),
    0 10px 20px rgba(37, 99, 235, 0.12);
}

.shell.openclaw-theme .sidebar-session-card {
  height: 50px;
  min-height: 50px;
  padding: 3px;
  border-radius: 10px;
  border-color: rgba(59, 130, 246, 0.2);
  background: #ffffff;
  box-shadow: none;
}

.shell.openclaw-theme .sidebar-session-card:hover {
  border-color: rgba(37, 99, 235, 0.42);
  background: #f8fbff;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.08);
}

.shell.openclaw-theme .sidebar-session-card.active {
  border-color: rgba(37, 99, 235, 0.58);
  background: #ffffff;
  box-shadow:
    inset 4px 0 0 var(--revamp-blue),
    0 10px 18px rgba(37, 99, 235, 0.1);
}

.shell.openclaw-theme .sidebar-session-main {
  min-height: 42px;
  padding: 0 8px 0 14px;
  border-radius: 8px;
}

.shell.openclaw-theme .sidebar-session-main strong {
  color: #12355f;
  font-size: 13px;
  line-height: 1.35;
}

.shell.openclaw-theme .sidebar-session-close {
  width: 24px;
  height: 24px;
  color: #64748b;
  opacity: 0.72;
  background: #f1f5f9;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.26);
}

.shell.openclaw-theme .expert-category-expert-icon {
  color: currentColor;
}

.shell.openclaw-theme .expert-category-expert-name {
  color: currentColor;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
}

@keyframes expertPanelReveal {
  from {
    opacity: 0;
    transform: translateY(-5px) scaleY(0.96);
    filter: saturate(0.92);
  }

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

.shell.openclaw-theme .main-shell {
  min-width: 0;
  height: 100vh;
  background: var(--revamp-canvas);
}

.shell.openclaw-theme .content-area {
  min-height: 0;
  background: transparent;
}

.shell.openclaw-theme .plugin-page-topbar,
.shell.openclaw-theme .settings-page-topbar {
  border-color: var(--revamp-border);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.shell.openclaw-theme .panel,
.shell.openclaw-theme .plugin-flat-card,
.shell.openclaw-theme .settings-section-card,
.shell.openclaw-theme .model-config-card,
.shell.openclaw-theme .settings-panel,
.shell.openclaw-theme .bind-entry,
.shell.openclaw-theme .scroll-panel {
  border-color: var(--revamp-border);
  background: var(--revamp-surface);
  box-shadow: var(--revamp-shadow-soft);
}

.shell.openclaw-theme .bind-entry {
  position: relative;
  overflow: hidden;
  gap: 18px;
  padding: 30px;
  border: 1px solid rgba(147, 197, 253, 0.42);
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.88), rgba(245, 243, 255, 0.62) 42%, rgba(255, 255, 255, 0.92) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.94));
  box-shadow: var(--revamp-shadow-card);
}

.shell.openclaw-theme .bind-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.shell.openclaw-theme .bind-entry-copy,
.shell.openclaw-theme .bind-entry-benefits,
.shell.openclaw-theme .bind-row {
  position: relative;
  z-index: 1;
}

.shell.openclaw-theme .bind-entry-copy strong {
  color: #0f2f59;
  font-size: 26px;
  font-weight: 800;
}

.shell.openclaw-theme .bind-entry-copy p {
  max-width: 560px;
  color: #536b88;
}

.shell.openclaw-theme .bind-entry-kicker {
  border-color: rgba(37, 99, 235, 0.24);
  background: rgba(255, 255, 255, 0.72);
  color: var(--revamp-blue-strong);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.56);
}

.shell.openclaw-theme .bind-entry-benefit {
  border-color: rgba(147, 197, 253, 0.38);
  background: rgba(255, 255, 255, 0.72);
  color: #23466d;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.06);
}

.shell.openclaw-theme .bind-entry-benefit-index {
  background: var(--revamp-gradient);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.22);
}

.shell.openclaw-theme .bind-row {
  align-items: stretch;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(147, 197, 253, 0.42);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.shell.openclaw-theme .bind-row input {
  min-height: 46px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.shell.openclaw-theme .bind-row input:focus {
  box-shadow: none;
}

.shell.openclaw-theme .bind-row button {
  min-height: 46px;
  border-radius: 12px;
  background: var(--revamp-gradient);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
}

.shell.openclaw-theme .status-chip {
  border-color: var(--revamp-border);
  padding: 3px 9px;
  background: rgba(248, 250, 252, 0.72);
  color: var(--revamp-text-muted);
  font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(203, 213, 225, 0.7);
}

.conversation-shell .conversation-panel-actions {
  gap: 6px;
}

.conversation-shell .conversation-panel-actions .status-chip {
  min-height: 24px;
  opacity: 0.82;
}

.conversation-shell .conversation-panel-actions .status-chip.warning {
  color: #9a5f08;
  background: rgba(255, 251, 235, 0.76);
  box-shadow: inset 0 0 0 1px rgba(253, 230, 138, 0.68);
}

.conversation-shell .conversation-panel-kicker {
  border-color: var(--revamp-border);
  background: rgba(255, 255, 255, 0.82);
  color: var(--revamp-text-muted);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.conversation-shell .conversation-workspace {
  padding: 18px 20px 20px;
  border-radius: 24px;
  border: 1px solid rgba(147, 197, 253, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 251, 255, 0.74)),
    var(--revamp-gradient-soft);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 18px 44px rgba(37, 99, 235, 0.08);
}

.conversation-shell .message-list {
  min-height: 0;
  height: 100%;
  overflow: auto;
  gap: 22px;
  padding: 10px 6px 20px 0;
  align-content: start;
  background: transparent;
  scrollbar-color: rgba(148, 163, 184, 0.52) transparent;
}

.conversation-shell .message-list-home:has(.home-empty-state) {
  align-content: center;
}

.conversation-shell .message-list-xiaohongshu-empty:has(.expert-empty-state-xiaohongshu) {
  align-content: center;
  justify-items: center;
}

.conversation-shell .home-empty-state {
  width: min(100%, 760px);
  justify-self: center;
  align-self: center;
  display: grid;
  justify-items: center;
  gap: 26px;
  padding: 16px 4px;
  border: 0;
  background: transparent;
}

.conversation-shell .home-empty-copy {
  display: grid;
  justify-items: center;
  gap: 9px;
  width: min(100%, 620px);
  text-align: center;
}

.conversation-shell .home-empty-title {
  color: #3b82f6;
  font-size: 24px;
  line-height: 1.28;
  letter-spacing: 0;
  background: linear-gradient(92deg, #60a5fa 0%, #7dd3fc 28%, #bfdbfe 52%, #3b82f6 76%, #60a5fa 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: home-title-flow 5.6s ease-in-out infinite;
  text-shadow: 0 10px 24px rgba(59, 130, 246, 0.1);
}

.conversation-shell .home-empty-state .starter-prompt-list {
  width: min(100%, 680px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.conversation-shell .home-empty-state .starter-prompt {
  min-height: 90px;
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 15px 16px 14px;
  border-radius: 18px;
  border-color: rgba(191, 219, 254, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.9)),
    radial-gradient(circle at 16px 0, rgba(59, 130, 246, 0.1), transparent 42%);
  color: var(--revamp-text);
  line-height: 1.5;
  overflow: hidden;
  box-shadow:
    0 10px 24px rgba(35, 52, 82, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.conversation-shell .home-empty-state .starter-prompt::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.88), rgba(56, 189, 248, 0.42));
  opacity: 0.72;
}

.conversation-shell .home-empty-state .starter-prompt::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(147, 197, 253, 0), rgba(147, 197, 253, 0.72), rgba(147, 197, 253, 0));
  opacity: 0.68;
}

.conversation-shell .home-empty-state .starter-prompt:hover {
  border-color: rgba(96, 165, 250, 0.88);
  background:
    linear-gradient(180deg, #ffffff, rgba(248, 251, 255, 0.96)),
    radial-gradient(circle at 18px 0, rgba(59, 130, 246, 0.14), transparent 44%);
  box-shadow:
    0 14px 28px rgba(37, 99, 235, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.conversation-shell .home-empty-state .starter-prompt:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.62);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(147, 197, 253, 0.28);
}

.conversation-shell.conversation-shell-experts .expert-empty-state-xiaohongshu {
  width: min(100%, 760px);
  justify-self: center;
  align-self: center;
  justify-items: center;
  align-content: center;
  gap: 24px;
  padding: 16px 4px;
  border: 0;
  background: transparent;
}

.conversation-shell .xiaohongshu-empty-copy {
  display: grid;
  justify-items: center;
  gap: 9px;
  width: min(100%, 620px);
  text-align: center;
}

.conversation-shell .xiaohongshu-empty-title {
  color: #be123c;
  font-size: 24px;
  line-height: 1.28;
  letter-spacing: 0;
  background: linear-gradient(92deg, #e11d48 0%, #fb7185 30%, #60a5fa 72%, #e11d48 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 24px rgba(225, 29, 72, 0.08);
}

.conversation-shell .xiaohongshu-empty-copy p {
  width: min(100%, 580px);
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}

.conversation-shell .expert-empty-state-xiaohongshu .starter-prompt-list {
  width: min(100%, 680px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.conversation-shell .expert-empty-state-xiaohongshu .starter-prompt {
  min-height: 92px;
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 15px 16px 14px;
  border-radius: 18px;
  border-color: rgba(251, 113, 133, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 247, 250, 0.9)),
    radial-gradient(circle at 16px 0, rgba(244, 63, 94, 0.09), transparent 42%);
  color: var(--revamp-text);
  line-height: 1.5;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    0 10px 24px rgba(136, 40, 64, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.conversation-shell .expert-empty-state-xiaohongshu .starter-prompt::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.84), rgba(96, 165, 250, 0.36));
  opacity: 0.72;
}

.conversation-shell .expert-empty-state-xiaohongshu .starter-prompt::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(251, 113, 133, 0), rgba(251, 113, 133, 0.58), rgba(96, 165, 250, 0));
  opacity: 0.68;
}

.conversation-shell .expert-empty-state-xiaohongshu .starter-prompt:hover {
  border-color: rgba(244, 63, 94, 0.68);
  background:
    linear-gradient(180deg, #ffffff, rgba(255, 247, 250, 0.96)),
    radial-gradient(circle at 18px 0, rgba(244, 63, 94, 0.13), transparent 44%);
  box-shadow:
    0 14px 28px rgba(225, 29, 72, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.conversation-shell .expert-empty-state-xiaohongshu .starter-prompt:focus-visible {
  outline: 2px solid rgba(225, 29, 72, 0.56);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(251, 113, 133, 0.18);
}

.conversation-shell .expert-empty-state-xiaohongshu .starter-prompt-title {
  color: #881337;
}

.conversation-shell .expert-empty-state-xiaohongshu .starter-prompt-desc {
  color: #64748b;
}

.conversation-shell .starter-prompt-title,
.conversation-shell .starter-prompt-desc {
  display: block;
  position: relative;
  min-width: 0;
}

.conversation-shell .starter-prompt-title {
  color: #172554;
  font-size: 14px;
  font-weight: 700;
}

.conversation-shell .starter-prompt-desc {
  color: #64748b;
  font-size: 12px;
  line-height: 1.56;
}

@keyframes home-title-flow {
  0% {
    background-position: 0% 50%;
  }

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

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

@media (max-width: 720px) {
  .conversation-shell .home-empty-state {
    width: min(100%, 620px);
  }

  .conversation-shell .home-empty-state .starter-prompt-list,
  .conversation-shell .expert-empty-state-xiaohongshu .starter-prompt-list {
    grid-template-columns: 1fr;
    width: min(100%, 520px);
  }
}

@media (max-height: 820px) {
  .conversation-shell .home-empty-state {
    gap: 20px;
    padding-block: 10px;
  }

  .conversation-shell .home-empty-copy {
    gap: 7px;
  }

  .conversation-shell .home-empty-title {
    font-size: 22px;
  }

  .conversation-shell .home-empty-state .starter-prompt {
    min-height: 82px;
    padding: 12px 14px;
  }

  .conversation-shell.conversation-shell-experts .expert-empty-state-xiaohongshu {
    gap: 20px;
    padding-block: 10px;
  }

  .conversation-shell .xiaohongshu-empty-title {
    font-size: 22px;
  }

  .conversation-shell .expert-empty-state-xiaohongshu .starter-prompt {
    min-height: 84px;
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .conversation-shell .home-empty-title {
    animation: none;
    background-position: 50% 50%;
  }
}

.conversation-shell .message-card {
  position: relative;
  width: 100%;
  display: flex;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding-bottom: 16px;
}

.conversation-shell .message-card.user {
  width: 100%;
  justify-content: flex-end;
}

.conversation-shell .message-card.assistant {
  justify-content: flex-start;
}

.conversation-shell .message-bubble {
  width: auto;
  display: grid;
  gap: var(--space-3);
  max-width: min(72%, 760px);
  padding: var(--space-4) var(--space-5);
  border-radius: 18px;
  border-color: rgba(147, 197, 253, 0.28);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 26px rgba(15, 23, 42, 0.06);
}

.conversation-shell .message-bubble-user {
  margin-left: auto;
  border-color: rgba(96, 165, 250, 0.42);
  background: linear-gradient(135deg, #eaf3ff 0%, #f2f7ff 100%);
  color: var(--revamp-text);
}

.conversation-shell .message-bubble-assistant {
  width: auto;
  max-width: min(100%, 880px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.conversation-shell .message-card.assistant .markdown-body {
  padding: var(--space-5) var(--space-6);
  border-radius: 18px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 12px 28px rgba(15, 23, 42, 0.055);
}

.conversation-shell .message-card.user .message-plain-text,
.conversation-shell .message-card.user p {
  margin: 0;
  white-space: pre-wrap;
  color: var(--color-text-primary);
  font-size: 15px;
  line-height: 1.82;
}

.conversation-shell .message-card.assistant .generation-status-card,
.conversation-shell .message-card.assistant .message-trace {
  max-width: min(100%, 880px);
}

.conversation-shell .message-card.assistant .generation-status-card {
  border-radius: 18px;
  border-color: rgba(37, 99, 235, 0.24);
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.94));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.08);
}

.conversation-shell .message-card.assistant .message-trace.streaming {
  margin-bottom: 12px;
}

.conversation-shell .message-card.assistant .reasoning-strip.waiting {
  min-height: 36px;
}

.conversation-shell .message-card.assistant .reasoning-strip {
  border: 1px solid rgba(203, 213, 225, 0.62);
  background: rgba(248, 250, 252, 0.88);
}

.conversation-shell .message-card.assistant .reasoning-strip.streaming .reasoning-strip-action {
  color: #64748b;
}

.conversation-shell .message-timestamp {
  position: absolute;
  bottom: 0;
  left: 4px;
  z-index: 1;
  color: #7c8da3;
  font-size: 11px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.conversation-shell .message-card.user .message-timestamp {
  left: auto;
  right: 4px;
}

.conversation-shell .message-card:hover .message-timestamp,
.conversation-shell .message-card:focus-within .message-timestamp {
  opacity: 1;
}

.conversation-shell .message-card-actions {
  margin-top: 8px;
}

.conversation-shell .composer-shell {
  --composer-textarea-height: 96px;
  --composer-textarea-min-height: 48px;
  --composer-textarea-max-height: 188px;
  position: relative;
  gap: 0;
  padding: 13px 4px 0;
  margin-top: auto;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0), rgba(248, 251, 255, 0.92) 24px);
  box-shadow: none;
  border-top: 1px solid rgba(147, 197, 253, 0.22);
}

.conversation-shell .composer-shell.resizing,
.conversation-shell .composer-shell.resizing * {
  cursor: ns-resize;
}

.conversation-shell .composer-resize-handle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: ns-resize;
  touch-action: none;
  user-select: none;
  z-index: 2;
}

.conversation-shell .composer-resize-handle span {
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.82);
  opacity: 0.72;
  transition: background 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.conversation-shell .composer-resize-handle:hover span,
.conversation-shell .composer-resize-handle:focus-visible span,
.conversation-shell .composer-shell.resizing .composer-resize-handle span {
  background: rgba(37, 99, 235, 0.38);
  opacity: 1;
  transform: scaleX(1.12);
}

.conversation-shell .composer-resize-handle:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.32);
  outline-offset: 2px;
}

.conversation-shell .composer-surface {
  display: grid;
  gap: 10px;
  padding: 12px 14px 11px;
  border-radius: 20px;
  border: 1px solid rgba(147, 197, 253, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 38px rgba(37, 99, 235, 0.1);
}

.conversation-shell .composer-surface:focus-within {
  border-color: rgba(37, 99, 235, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 3px rgba(37, 99, 235, 0.08),
    0 20px 42px rgba(37, 99, 235, 0.12);
}

.conversation-shell .composer-field textarea,
.conversation-shell .composer-textarea {
  height: var(--composer-textarea-height);
  min-height: var(--composer-textarea-min-height);
  max-height: var(--composer-textarea-max-height);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  resize: none;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.55;
  outline: none;
  box-shadow: none;
}

.conversation-shell .composer-field {
  gap: 0;
}

.conversation-shell .composer-field textarea::placeholder,
.conversation-shell .composer-textarea::placeholder {
  color: #8f9fbe;
}

.conversation-shell .composer-attachment-strip {
  padding-top: 2px;
}

.conversation-shell .composer-field textarea:focus,
.conversation-shell .composer-field textarea:focus-visible,
.conversation-shell .composer-textarea:focus,
.conversation-shell .composer-textarea:focus-visible {
  outline: none;
  border-color: transparent;
  box-shadow: none;
}

.conversation-shell .attachment-trigger.icon-only,
.conversation-shell .skill-trigger,
.conversation-shell .skill-chip,
.conversation-shell .composer-attachment-chip {
  border-color: rgba(147, 197, 253, 0.34);
  background: rgba(239, 246, 255, 0.78);
  color: var(--revamp-blue);
  box-shadow: none;
}

.conversation-shell .attachment-trigger.icon-only,
.conversation-shell .skill-trigger,
.conversation-shell .skill-chip {
  min-height: 32px;
  border-radius: 10px;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.conversation-shell .attachment-trigger.icon-only,
.conversation-shell .skill-trigger {
  width: 32px;
  min-width: 32px;
}

.conversation-shell .skill-chip {
  padding: 0 11px;
}

.conversation-shell .composer-attachment-chip {
  min-height: 27px;
}

.conversation-shell .composer-attachment-remove {
  background: rgba(255, 255, 255, 0.92);
  color: #63728d;
}

.conversation-shell .composer-footer {
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: none;
}

.conversation-shell .composer-left-tools {
  flex: 1 1 auto;
  flex-wrap: wrap;
  min-width: 0;
  gap: 6px;
}

.conversation-shell .attachment-trigger.icon-only:hover:not(:disabled),
.conversation-shell .skill-trigger:hover:not(:disabled),
.conversation-shell .skill-chip:hover:not(:disabled),
.conversation-shell .composer-attachment-remove:hover:not(:disabled) {
  background: var(--revamp-blue-soft);
  color: var(--revamp-blue-strong);
  box-shadow: none;
}

.conversation-shell .composer-submit {
  width: 35px;
  min-width: 35px;
  height: 35px;
  padding: 0;
  border-radius: 999px;
  flex: 0 0 auto;
  background: var(--revamp-gradient);
  color: #ffffff;
  font-size: 0;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.22);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.conversation-shell .composer-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.26);
}

.conversation-shell .composer-submit:disabled {
  background: #dbe4ec;
  color: #64748b;
}

.conversation-shell .composer-submit svg {
  width: 16px;
  height: 16px;
}

.conversation-shell .composer-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #8392af;
}

@media (prefers-reduced-motion: reduce) {
  .shell.openclaw-theme *,
  .shell.openclaw-theme *::before,
  .shell.openclaw-theme *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* home expert switch suggestion */
.conversation-shell .home-intent-suggestion {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.42);
  background: linear-gradient(180deg, #e8f1ff 0%, #dbeafe 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 26px rgba(37, 99, 235, 0.12);
}

.conversation-shell .home-intent-suggestion-leading {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: grid;
  place-items: center;
}

.conversation-shell .home-intent-suggestion-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.28);
  background: rgba(255, 255, 255, 0.72);
  color: var(--revamp-blue);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.12);
}

.conversation-shell .home-intent-suggestion-icon svg {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  display: block;
}

.conversation-shell .home-intent-suggestion-icon-xiaohongshu,
.conversation-shell .home-intent-suggestion-icon-xhs,
.conversation-shell .home-intent-suggestion-icon-rednote {
  border-color: rgba(248, 113, 113, 0.34);
  background: #fff1f2;
  color: #dc2626;
}

.conversation-shell .home-intent-suggestion-icon-douyin {
  border-color: rgba(56, 189, 248, 0.42);
  background: #ecfeff;
  color: #0891b2;
}

.conversation-shell .home-intent-suggestion-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.conversation-shell .home-intent-suggestion-copy strong {
  color: #0f2f63;
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 700;
}

.conversation-shell .home-intent-suggestion-copy p,
.conversation-shell .home-intent-suggestion-copy span {
  color: #294b78;
  font-size: 12px;
  line-height: 1.55;
}

.conversation-shell .home-intent-suggestion-copy span {
  color: var(--revamp-text-soft);
}

.conversation-shell .home-intent-suggestion-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.conversation-shell .home-intent-suggestion-actions button {
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.conversation-shell .home-intent-suggestion-actions .secondary {
  border: 1px solid rgba(37, 99, 235, 0.32);
  background: rgba(255, 255, 255, 0.82);
  color: #1e40af;
}

.conversation-shell .home-intent-suggestion-actions .secondary:hover:not(:disabled) {
  border-color: rgba(37, 99, 235, 0.48);
  background: #ffffff;
  color: #1d4ed8;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.12);
}

.conversation-shell .home-intent-suggestion-actions button:not(.secondary) {
  border: 1px solid rgba(29, 78, 216, 0.78);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.22);
}

.conversation-shell .home-intent-suggestion-actions button:not(.secondary):hover:not(:disabled) {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.26);
}

@media (max-width: 820px) {
  .conversation-shell .home-intent-suggestion {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .conversation-shell .home-intent-suggestion-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .conversation-shell .home-intent-suggestion {
    align-items: start;
    padding: 12px;
  }

  .conversation-shell .home-intent-suggestion-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .conversation-shell .home-intent-suggestion-actions button {
    width: 100%;
    white-space: normal;
  }
}

/* UI Component Styles */
