html.xuancai-workbench-embedded aside[aria-label="控制面板"],
html.xuancai-workbench-embedded aside[aria-label="Control panel"],
html.xuancai-workbench-embedded .absolute.top-0:has([data-testid="model-selector-button"]) {
  display: none !important;
}

html.xuancai-workbench-embedded body,
html.xuancai-workbench-embedded #root {
  min-width: 0 !important;
  overflow: hidden !important;
}

html.xuancai-workbench-embedded main {
  min-width: 0 !important;
}

html.xuancai-workbench-embedded [data-testid="model-selector-button"],
html.xuancai-workbench-embedded [data-testid="add-multi-convo-button"],
html.xuancai-workbench-embedded button[aria-label="临时对话"],
html.xuancai-workbench-embedded button[aria-label="Temporary chat"] {
  display: none !important;
}

html.xuancai-workbench-embedded.xuancai-history-open aside[aria-label="控制面板"],
html.xuancai-workbench-embedded.xuancai-history-open aside[aria-label="Control panel"] {
  display: flex !important;
}

@media (max-width: 720px) {
  html.xuancai-workbench-embedded.xuancai-history-open aside[aria-label="控制面板"],
  html.xuancai-workbench-embedded.xuancai-history-open aside[aria-label="Control panel"] {
    width: min(86vw, 320px) !important;
    max-width: min(86vw, 320px) !important;
  }
}
