.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-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);
  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.35);
  outline-offset: 2px;
}

.shell.openclaw-theme > .sidebar {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 24px 84px, rgba(25, 182, 217, 0.2), transparent 36%),
    linear-gradient(180deg, #d8eaff 0%, #c8dfff 48%, #bed8f8 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: 14px;
  padding: 18px 16px;
}

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

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

.shell.openclaw-theme .nav-item {
  position: relative;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(242, 250, 255, 0.82), rgba(212, 236, 251, 0.74));
  color: #2e516c;
  justify-content: flex-start;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 10px 22px rgba(63, 128, 173, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  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: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(228, 244, 255, 0.78));
  border-color: rgba(96, 165, 250, 0.34);
  color: var(--revamp-blue-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 24px rgba(89, 150, 194, 0.12);
}

.shell.openclaw-theme .nav-item.active {
  background: linear-gradient(135deg, rgba(248, 253, 255, 0.96), rgba(219, 234, 254, 0.88));
  border-color: var(--revamp-blue-border);
  color: var(--revamp-blue-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 16px 30px rgba(37, 99, 235, 0.14);
}

.shell.openclaw-theme .nav-item.active::before {
  content: "";
  position: absolute;
  inset: 7px auto 7px 0;
  width: 3px;
  border-radius: 999px;
  background: var(--revamp-blue);
}

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

.shell.openclaw-theme .conversation-sidebar-action .conversation-new-session {
  width: 100%;
  min-height: 46px;
  justify-content: flex-start;
  padding: 0 16px;
  border-radius: 16px;
  border-color: rgba(96, 165, 250, 0.34);
  background: linear-gradient(135deg, rgba(245, 252, 255, 0.92), rgba(219, 234, 254, 0.88));
  color: var(--revamp-blue-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 16px 28px rgba(37, 99, 235, 0.12);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.shell.openclaw-theme .conversation-new-session:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(224, 237, 255, 0.92));
  border-color: rgba(96, 165, 250, 0.48);
  color: var(--revamp-blue-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 18px 30px rgba(37, 99, 235, 0.14);
}

.shell.openclaw-theme .conversation-new-session-plus {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(219, 234, 254, 0.9));
  color: var(--revamp-cyber-blue);
  font-size: 18px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 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, 55fr) minmax(120px, 45fr);
  gap: 14px;
  overflow: hidden;
  padding-right: 0;
}

.shell.openclaw-theme .conversation-new-session,
.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: var(--revamp-border);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.shell.openclaw-theme .sidebar-experts-entry {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  overflow: hidden;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(231, 242, 255, 0.5)),
    radial-gradient(circle at 88% 0%, rgba(25, 182, 217, 0.16), transparent 42%);
  border-color: rgba(59, 130, 246, 0.26);
}

.shell.openclaw-theme .sidebar-session-section {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  padding: 14px;
}

.shell.openclaw-theme .sidebar-digital-workers-title {
  min-height: 34px;
  align-items: center;
  letter-spacing: 0;
}

.shell.openclaw-theme .sidebar-section-title {
  color: #14345f;
  font-size: 13px;
  font-weight: 700;
}

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

.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: 8px;
}

.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: 10px;
  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 .expert-category-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  border-color: rgba(59, 130, 246, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(222, 239, 255, 0.58)),
    radial-gradient(circle at 100% 0%, rgba(25, 182, 217, 0.14), transparent 46%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 22px rgba(37, 99, 235, 0.07);
  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:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 14px 26px rgba(37, 99, 235, 0.12),
    0 0 0 1px rgba(25, 182, 217, 0.08);
}

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

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

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

.shell.openclaw-theme .expert-category-icon {
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.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 7px 7px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(226, 242, 255, 0.54)),
    radial-gradient(circle at 10% 0%, rgba(25, 182, 217, 0.1), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 12px 24px rgba(15, 111, 234, 0.08);
  transform-origin: top center;
  animation: expertPanelReveal 220ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

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

.shell.openclaw-theme .expert-category-expert-item {
  min-height: 36px;
  padding: 7px 10px 7px 12px;
  border-radius: 11px;
  border-color: rgba(59, 130, 246, 0.16);
  background: rgba(255, 255, 255, 0.68);
  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 3px 0 0 rgba(37, 99, 235, 0.78);
}

.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 .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 .status-chip {
  border-color: var(--revamp-border);
  background: var(--revamp-surface-soft);
  color: var(--revamp-text-muted);
}

.conversation-shell .conversation-panel-kicker {
  border-color: var(--revamp-border);
  background: var(--revamp-surface);
  color: var(--revamp-text-muted);
}

.conversation-shell .conversation-workspace {
  padding: 18px 22px 20px;
  border-radius: 22px;
  border: 1px solid var(--revamp-border);
  background: var(--revamp-surface);
  box-shadow: var(--revamp-shadow);
}

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

.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: var(--radius-lg);
  border-color: var(--revamp-border);
  background: var(--revamp-surface);
  box-shadow: var(--revamp-shadow-soft);
}

.conversation-shell .message-bubble-user {
  margin-left: auto;
  border-color: rgba(147, 197, 253, 0.7);
  background: #eff6ff;
  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: var(--radius-lg);
  border-color: var(--revamp-border);
  background: var(--revamp-surface);
  box-shadow: var(--revamp-shadow-soft);
}

.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 .thinking-indicator,
.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: 22px;
}

.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-top: 11px;
  margin-top: auto;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(248, 250, 252, 0) 18px);
  box-shadow: none;
  border-top: 1px solid var(--revamp-border);
}

.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.22);
  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: 9px;
  padding: 11px 13px 10px;
  border-radius: 18px;
  border-color: rgba(37, 99, 235, 0.38);
  background: #ffffff;
  box-shadow: var(--revamp-shadow-soft);
}

.conversation-shell .composer-surface:focus-within {
  border-color: rgba(37, 99, 235, 0.52);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.08),
    var(--revamp-shadow-soft);
}

.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: var(--revamp-border);
  background: var(--revamp-surface-soft);
  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-blue);
  color: #ffffff;
  font-size: 0;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.conversation-shell .composer-submit:hover:not(:disabled) {
  background: var(--revamp-blue-strong);
  box-shadow: 0 9px 20px rgba(37, 99, 235, 0.2);
}

.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 */
