:root {
  --xt-ink: #102a2c;
  --xt-muted: #667977;
  --xt-teal: #0d766e;
  --xt-teal-dark: #0b4d4b;
  --xt-teal-soft: #e8f5f2;
  --xt-sand: #f7f4eb;
  --xt-amber: #d97706;
  --xt-blue: #2563eb;
  --xt-line: #dfeae7;
  --xt-shadow: 0 24px 70px rgba(19, 47, 45, .2);
}

.xiaot-top-entry,
.xiaot-context-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  color: var(--xt-teal-dark);
  background: linear-gradient(120deg, #eefaf7, #f8f4e9);
  border: 1px solid #b8d8d2;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 650;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.xiaot-top-entry:hover,
.xiaot-context-btn:hover {
  transform: translateY(-1px);
  border-color: #77b9ad;
  box-shadow: 0 7px 18px rgba(13, 118, 110, .13);
}

.xiaot-top-entry svg,
.xiaot-context-btn svg {
  width: 16px;
  height: 16px;
}

.xiaot-context-btn {
  margin-left: auto;
}

.execution-toolbar .xiaot-context-btn {
  margin-left: auto;
}

.xiaot-fab {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 124px;
  height: 48px;
  padding: 0 18px 0 10px;
  color: #fff;
  background: linear-gradient(135deg, #0b4d4b 0%, #0d766e 58%, #d08a24 160%);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(10, 76, 72, .32);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.xiaot-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(10, 76, 72, .38);
}

.xiaot-fab-mark,
.xiaot-avatar-mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: var(--xt-teal-dark);
  background: #ecfbf8;
  border-radius: 10px;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 800;
}

.xiaot-fab-mark {
  box-shadow: inset 0 0 0 1px rgba(7, 75, 72, .12);
}

.xiaot-overlay {
  position: fixed;
  inset: 0;
  z-index: 89;
  visibility: hidden;
  background: rgba(17, 34, 37, .2);
  opacity: 0;
  backdrop-filter: blur(1px);
  transition: opacity .24s ease, visibility .24s ease;
}

.xiaot-overlay.open {
  visibility: visible;
  opacity: 1;
}

.xiaot-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  display: block;
  width: min(1480px, calc(100vw - 48px));
  height: 100vh;
  color: var(--xt-ink);
  background: #1f232b;
  border-left: 1px solid rgba(16, 84, 79, .16);
  box-shadow: var(--xt-shadow);
  transform: translateX(105%);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), width .28s ease;
}

.xiaot-drawer.open {
  transform: translateX(0);
}

.xiaot-drawer.maximized {
  width: 100vw;
}

.xiaot-workspace {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  height: 100%;
}

.xiaot-sidepane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #eef3f8;
  background: #20242d;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.xiaot-side-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.xiaot-side-copy strong,
.xiaot-side-copy span {
  display: block;
}

.xiaot-side-copy strong {
  color: #fff;
  font-size: 16px;
}

.xiaot-side-copy span {
  margin-top: 2px;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
}

.xiaot-side-actions {
  padding: 16px;
}

.xiaot-mainpane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #1f232b;
}

.xiaot-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 24px;
  color: #f7fafc;
}

.xiaot-main-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.xiaot-main-title strong,
.xiaot-main-title span {
  display: block;
}

.xiaot-main-title strong {
  font-size: 17px;
}

.xiaot-main-title span {
  margin-top: 2px;
  color: rgba(255, 255, 255, .56);
  font-size: 12px;
}

.xiaot-main-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: linear-gradient(135deg, #1b8ef2, #10a3ff);
  border-radius: 50%;
  font-weight: 800;
  font-size: 13px;
}

.xiaot-avatar-mark {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(135deg, #1b8ef2, #10a3ff);
  border-radius: 12px;
}

.xiaot-head-actions {
  display: flex;
  gap: 5px;
}

.xiaot-icon-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: rgba(255, 255, 255, .72);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  cursor: pointer;
}

.xiaot-icon-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, .16);
}

.xiaot-icon-btn svg {
  width: 17px;
  height: 17px;
}

.xiaot-context-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 24px 10px;
  color: #c9d0da;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: 12px;
}

.xiaot-context-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  color: #dbe8e6;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
}

.xiaot-context-chip::before {
  width: 6px;
  height: 6px;
  background: #38a390;
  border-radius: 50%;
  content: "";
}

.xiaot-mode-badge {
  margin-left: auto;
  padding: 4px 7px;
  color: #c9d0da;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
}

.xiaot-session-bar {
  display: none;
}

.xiaot-session-new,
.xiaot-session-link,
.xiaot-session-tool {
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .04);
  color: #dbe8e6;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.xiaot-session-new {
  width: 100%;
  padding: 12px 16px;
  color: #fff;
  background: linear-gradient(135deg, #1b8ef2, #1597f4);
  border: 0;
  font-size: 14px;
}

.xiaot-session-link {
  padding: 6px 10px;
}

.xiaot-session-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 16px 16px;
  background: transparent;
  border-bottom: 0;
}

.xiaot-session-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
  padding: 14px 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
}

.xiaot-session-item.active {
  background: rgba(255, 255, 255, .03);
  border-color: rgba(27, 142, 242, .38);
  box-shadow: none;
}

.xiaot-session-main {
  flex: 1;
  min-width: 0;
  padding: 0;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.xiaot-session-main strong,
.xiaot-session-main span {
  display: block;
}

.xiaot-session-main strong {
  color: #f5f7fb;
  font-size: 13px;
}

.xiaot-session-main span {
  margin-top: 2px;
  color: rgba(255, 255, 255, .48);
  font-size: 11px;
}

.xiaot-session-tools {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.xiaot-session-tool {
  padding: 5px 8px;
  font-size: 12px;
}

.xiaot-view {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.xiaot-scroll {
  flex: 1;
  min-height: 0;
  padding: 20px 24px 10px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.xiaot-scroll::-webkit-scrollbar {
  width: 7px;
}

.xiaot-scroll::-webkit-scrollbar-thumb {
  background: #c7d9d5;
  border-radius: 99px;
}

.xiaot-hero {
  position: relative;
  padding: 0 0 12px;
  overflow: hidden;
  color: #f5fffd;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.xiaot-hero::after { content: none; }

.xiaot-hero-label {
  display: none;
}

.xiaot-hero h2 {
  max-width: 880px;
  margin: 0 0 8px;
  color: #f4f7fb;
  font-size: 18px;
  line-height: 1.45;
}

.xiaot-hero p {
  max-width: 860px;
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
  line-height: 1.7;
}

.xiaot-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 1px 11px;
}

.xiaot-section-title strong {
  color: #f0f4f9;
  font-size: 14px;
}

.xiaot-section-title span {
  color: rgba(255, 255, 255, .42);
  font-size: 11px;
}

.xiaot-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  gap: 16px;
}

.xiaot-capability {
  position: relative;
  min-height: 146px;
  padding: 18px 16px;
  text-align: left;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 13px;
  cursor: pointer;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.xiaot-capability:hover {
  transform: translateY(-2px);
  border-color: rgba(27, 142, 242, .34);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
}

.xiaot-capability-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  margin-bottom: 11px;
  color: #fff;
  background: var(--cap-color, var(--xt-teal));
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
}

.xiaot-capability strong,
.xiaot-capability span {
  display: block;
}

.xiaot-capability strong {
  margin-bottom: 4px;
  color: #f2f5fa;
  font-size: 15px;
}

.xiaot-capability span {
  color: rgba(255, 255, 255, .44);
  font-size: 12px;
  line-height: 1.45;
}

.xiaot-prompts {
  display: none;
}

.xiaot-prompt {
  padding: 8px 11px;
  color: #315e5a;
  background: #fff;
  border: 1px solid #cde0dc;
  border-radius: 9px;
  cursor: pointer;
  font-size: 12px;
}

.xiaot-prompt:hover {
  color: var(--xt-teal-dark);
  border-color: #83bdb3;
  background: #f5fbf9;
}

.xiaot-conversation {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 24px;
}

.xiaot-message {
  animation: xiaot-rise .3s ease both;
}

@keyframes xiaot-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.xiaot-message.user {
  align-self: flex-end;
  max-width: 72%;
  padding: 11px 13px;
  color: #fff;
  background: #165f5b;
  border-radius: 14px 14px 3px 14px;
  line-height: 1.6;
}

.xiaot-message.assistant {
  max-width: 100%;
}

.xiaot-assistant-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 7px 2px;
  color: #6c7e7b;
  font-size: 11px;
}

.xiaot-agent-pill {
  padding: 4px 8px;
  color: #fff;
  background: var(--agent-color, var(--xt-teal));
  border-radius: 999px;
  font-weight: 650;
}

.xiaot-model-pill {
  padding: 3px 7px;
  color: #7a5812;
  background: #fff6dc;
  border-radius: 999px;
}

.xiaot-answer {
  margin-bottom: 9px;
  padding: 13px 14px;
  color: #e8eef8;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 4px 13px 13px 13px;
  line-height: 1.72;
}

.xiaot-thinking {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #70827f;
}

.xiaot-thinking i {
  width: 5px;
  height: 5px;
  background: #6da99f;
  border-radius: 50%;
  animation: xiaot-pulse 1s infinite alternate;
}

.xiaot-thinking i:nth-child(2) { animation-delay: .2s; }
.xiaot-thinking i:nth-child(3) { animation-delay: .4s; }

@keyframes xiaot-pulse {
  to { opacity: .25; transform: translateY(-3px); }
}

.xiaot-trace {
  margin: 7px 0 9px;
  color: #b7c1cf;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
  font-size: 11px;
}

.xiaot-trace summary {
  padding: 8px 11px;
  cursor: pointer;
  font-weight: 650;
}

.xiaot-trace-list {
  display: grid;
  gap: 6px;
  padding: 0 11px 10px;
}

.xiaot-trace-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.xiaot-trace-dot {
  width: 7px;
  height: 7px;
  background: #3c9b8d;
  border-radius: 50%;
}

.xiaot-trace-dot.warning {
  background: #db8b19;
}

.xiaot-component {
  padding: 15px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 13px;
  box-shadow: none;
}

.xiaot-card-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 13px;
}

.xiaot-card-head strong {
  color: #f2f5fa;
  font-size: 14px;
  line-height: 1.45;
}

.xiaot-demo-badge {
  display: none;
}

.xiaot-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 12px 0;
}

.xiaot-metric {
  min-width: 0;
  padding: 10px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 9px;
}

.xiaot-metric span,
.xiaot-metric strong,
.xiaot-metric small {
  display: block;
}

.xiaot-metric span {
  overflow: hidden;
  color: rgba(255, 255, 255, .48);
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.xiaot-metric strong {
  margin: 5px 0 2px;
  color: #f3f6fb;
  font-size: 17px;
}

.xiaot-metric small {
  color: #b9c5d4;
  font-size: 9px;
}

.xiaot-trend {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 82px;
  margin: 12px 0 15px;
  padding: 9px 7px 0;
  background: linear-gradient(rgba(255,255,255,.03), rgba(255,255,255,.01));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.xiaot-trend i {
  flex: 1;
  min-height: 7px;
  background: linear-gradient(#50aea2, #1f7770);
  border-radius: 4px 4px 0 0;
}

.xiaot-list {
  display: grid;
  gap: 8px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

.xiaot-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, .03);
  border-radius: 8px;
  line-height: 1.5;
  font-size: 11px;
}

.xiaot-list-index {
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: #fff;
  background: #458d84;
  border-radius: 6px;
  font-size: 10px;
}

.xiaot-list-copy strong,
.xiaot-list-copy span {
  display: block;
}

.xiaot-list-copy span {
  color: rgba(255, 255, 255, .52);
  margin-top: 2px;
}

.xiaot-saving {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 10px 0 13px;
  padding: 13px;
  color: #fff;
  background: linear-gradient(110deg, #9a5b08, #d18b22);
  border-radius: 10px;
}

.xiaot-saving strong {
  font-size: 23px;
}

.xiaot-saving span {
  font-size: 11px;
  line-height: 1.5;
}

.xiaot-note {
  margin-top: 10px;
  padding: 9px 10px;
  color: #d7c8a3;
  background: rgba(216, 165, 76, .08);
  border-left: 3px solid #d8a54c;
  font-size: 10px;
  line-height: 1.55;
}

.xiaot-param-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin: 11px 0;
}

.xiaot-param {
  padding: 9px;
  background: rgba(255, 255, 255, .03);
  border-radius: 7px;
}

.xiaot-param span,
.xiaot-param strong {
  display: block;
}

.xiaot-param span {
  color: rgba(255, 255, 255, .48);
  font-size: 10px;
}

.xiaot-param strong {
  margin-top: 4px;
  color: #f0f5fa;
  font-size: 12px;
}

.xiaot-warning-box {
  margin-top: 10px;
  padding: 10px;
  color: #dfc184;
  background: rgba(240, 221, 169, .08);
  border: 1px solid rgba(240, 221, 169, .18);
  border-radius: 8px;
  font-size: 11px;
}

.xiaot-warning-box strong {
  display: block;
  margin-bottom: 6px;
}

.xiaot-warning-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}

.xiaot-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.xiaot-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  color: #dce8e6;
  text-decoration: none;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 7px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
}

.xiaot-card-btn.primary {
  color: #fff;
  background: var(--xt-teal);
  border-color: var(--xt-teal);
}

.xiaot-card-btn.danger {
  color: #a13d32;
  border-color: #e5b4ae;
}

.xiaot-card-btn:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.xiaot-citations {
  display: grid;
  gap: 7px;
}

.xiaot-citation {
  padding: 9px 10px;
  color: #d4dde8;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  font-size: 10px;
}

.xiaot-citation strong {
  display: block;
  margin-bottom: 3px;
  color: #f0f5fa;
}

.xiaot-error {
  padding: 11px 12px;
  color: #923c31;
  background: #fff1ef;
  border: 1px solid #efc2bd;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.55;
}

.xiaot-composer {
  flex: 0 0 auto;
  padding: 16px 24px 18px;
  background: #1f232b;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.xiaot-composer-box {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 8px 8px 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  box-shadow: none;
}

.xiaot-input {
  flex: 1;
  min-height: 38px;
  max-height: 112px;
  padding: 8px 0;
  resize: none;
  color: #eff4fb;
  background: transparent;
  border: 0;
  outline: 0;
  line-height: 1.55;
}

.xiaot-input::placeholder {
  color: rgba(255, 255, 255, .34);
}

.xiaot-send {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--xt-teal);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.xiaot-send:disabled {
  background: #aac6c1;
  cursor: wait;
}

.xiaot-send svg {
  width: 17px;
  height: 17px;
}

.xiaot-composer-tip {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: rgba(255, 255, 255, .34);
  font-size: 10px;
}

.xiaot-knowledge-view {
  display: none;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.xiaot-knowledge-view.active {
  display: flex;
}

.xiaot-chat-view.hidden {
  display: none;
}

.xiaot-knowledge-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  color: #f2f6fb;
  background: #1f232b;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.xiaot-back {
  width: 30px;
  height: 30px;
  padding: 0;
  color: #dbe6e8;
  background: rgba(255, 255, 255, .05);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.xiaot-knowledge-body {
  flex: 1;
  min-height: 0;
  padding: 18px 24px;
  color: #f0f5fa;
  overflow-y: auto;
}

.xiaot-upload-zone {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 18px;
  text-align: center;
  background: rgba(255, 255, 255, .03);
  border: 1px dashed rgba(255, 255, 255, .18);
  border-radius: 13px;
}

.xiaot-upload-zone strong,
.xiaot-upload-zone span {
  display: block;
}

.xiaot-upload-zone span {
  margin: 6px 0 12px;
  color: rgba(255, 255, 255, .48);
  font-size: 11px;
}

.xiaot-upload-label {
  padding: 8px 13px;
  color: #fff;
  background: var(--xt-teal);
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
}

.xiaot-upload-label input {
  display: none;
}

.xiaot-documents {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.xiaot-document {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
}

.xiaot-doc-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #1a6b64;
  background: #e9f6f3;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
}

.xiaot-doc-copy {
  min-width: 0;
}

.xiaot-doc-copy strong,
.xiaot-doc-copy span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.xiaot-doc-copy strong {
  font-size: 11px;
}

.xiaot-doc-copy span {
  margin-top: 4px;
  color: rgba(255, 255, 255, .46);
  font-size: 10px;
}

.xiaot-doc-delete {
  padding: 6px 8px;
  color: #a14b40;
  background: #fff;
  border: 1px solid #e7c2bd;
  border-radius: 6px;
  cursor: pointer;
  font-size: 10px;
}

.xiaot-empty {
  padding: 24px;
  color: rgba(255, 255, 255, .42);
  text-align: center;
  font-size: 11px;
}

.xiaot-toast {
  position: fixed;
  right: 28px;
  bottom: 88px;
  z-index: 120;
  max-width: 340px;
  padding: 11px 14px;
  color: #fff;
  background: #173e3c;
  border-radius: 9px;
  box-shadow: 0 14px 30px rgba(13, 54, 51, .28);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.xiaot-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.xiaot-drawer.maximized .xiaot-capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.xiaot-drawer.maximized .xiaot-conversation {
  width: min(720px, 100%);
  margin: 0 auto;
}

@media (max-width: 1260px) {
  .xiaot-drawer {
    width: 440px;
  }
}

@media (max-width: 760px) {
  .xiaot-drawer,
  .xiaot-drawer.maximized {
    width: 100vw;
  }

  .xiaot-fab {
    right: 14px;
    bottom: 14px;
  }

  .xiaot-capability-grid,
  .xiaot-drawer.maximized .xiaot-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
