:root {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  color: #141414;
  background: #fcfcfc;
  font-size: 14px;
  --side: 240px;
  --line: #e6e6e6;
  --green: #26b66b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
html,
.filters,
.category-row {
  scrollbar-width: none;
}
html::-webkit-scrollbar,
.filters::-webkit-scrollbar,
.category-row::-webkit-scrollbar {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  aside {
    transition: none;
  }
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 1px solid var(--green);
}
img {
  display: block;
}
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.shell {
  display: flex;
  min-height: 100dvh;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side);
  padding: 8px;
  background: #f6f6f6;
  display: flex;
  flex-direction: column;
  z-index: 20;
  transition: transform 0.15s;
}
.brandbar {
  height: 40px;
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 8px;
}
.brand {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.5px;
  padding: 3px 10px;
  margin-right: auto;
  white-space: nowrap;
}
.icon-button {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #eaeaea;
}
.icon-button img {
  width: 18px;
  height: 18px;
  opacity: 0.75;
}
.navitem {
  height: 32px;
  width: 100%;
  padding: 0 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-align: left;
  margin-bottom: 2px;
  white-space: nowrap;
}
.navitem img {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}
.navitem:hover {
  background: #ededed;
}
.navitem.selected {
  background: #e6e6e6;
}
.navitem kbd {
  margin-left: auto;
  font-size: 11px;
  color: #999;
  font-family: inherit;
}
.subnav {
  border-left: 1px solid #dedede;
  margin: 0 0 6px 16px;
  padding-left: 6px;
}
.recent-title {
  font-size: 12px;
  color: #777;
  display: flex;
  align-items: center;
  padding: 24px 10px 12px;
  gap: 2px;
}
.recent-title img {
  width: 13px;
  height: 13px;
  opacity: 0.5;
}
.sessions {
  flex: 1;
  min-height: 40px;
  overflow: auto;
}
.sessions button {
  display: block;
  text-align: left;
  font-size: 13px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sessions button:hover,
.sessions button.selected {
  background: #e8e8e8;
}
.empty-side {
  font-size: 12px;
  color: #999;
  text-align: center;
  padding-top: 26px;
}
.account {
  display: flex;
  align-items: center;
  text-align: left;
  padding: 8px 10px;
  gap: 8px;
  margin-top: 8px;
  border-radius: 10px;
}
.account:hover {
  background: #eaeaea;
}
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eeece7;
  border: 1px solid #e0dcd5;
  display: grid;
  place-items: center;
  color: #c99f66;
  font-size: 12px;
}
.account-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  font-size: 13px;
  overflow: hidden;
}
.account-copy span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-copy small {
  font-size: 11px;
  color: #999;
}
.account > img {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}
main {
  margin-left: var(--side);
  width: calc(100% - var(--side));
  min-height: 100dvh;
}
.topbar {
  height: 48px;
  display: flex;
  align-items: center;
  padding: 6px 10px;
  gap: 10px;
}
.topbar #topTitle {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.toolbar input {
  width: 240px;
  height: 32px;
  padding: 5px 12px;
  background: transparent;
}
.usage-button {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 9px;
  color: #777;
  font-size: 12px;
}
.usage-button img {
  width: 16px;
  height: 16px;
  filter: invert(52%) sepia(73%) saturate(543%) hue-rotate(94deg);
}
.primary,
.secondary {
  border-radius: 8px;
  min-height: 32px;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 13px;
}
.primary {
  background: #141414;
  color: #fcfcfc;
  border: 1px solid #141414;
}
.primary img {
  filter: invert(1);
}
.secondary {
  border: 1px solid #ddd;
  background: #fcfcfc;
}
.secondary:hover {
  background: #f1f1f1;
}
.primary:hover {
  background: #323232;
}
.primary img,
.secondary img {
  width: 16px;
  height: 16px;
}
.home-page {
  max-width: 768px;
  margin: 0 auto;
  padding-top: 196px;
  padding-bottom: 32px;
}
.welcome .mascot {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
}
.welcome h1,
.welcome h2 {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Microsoft YaHei",
    sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.5px;
  margin: 0;
}
.welcome {
  margin-bottom: 24px;
}
.composer {
  border: 1px solid #909090;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 28px -16px #0000001c;
  padding: 12px 10px 10px;
  position: relative;
}
.composer textarea {
  width: 100%;
  padding: 3px 6px 8px;
  resize: none;
  min-height: 62px;
  max-height: 200px;
  border: 0;
  background: transparent;
  font-size: 16px;
  line-height: 24px;
  outline: none;
}
.composer textarea::placeholder {
  color: #aaa;
}
.composer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.composer-left,
.composer-right {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.round-button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #eee;
  flex-shrink: 0;
}
.round-button img {
  width: 18px;
  height: 18px;
  opacity: 0.6;
}
.round-button:hover {
  background: #f4f4f4;
}
.round-button.quiet {
  border-color: transparent;
}
.send {
  background: #141414;
  border: 0;
}
.send img {
  filter: invert(1);
  opacity: 1;
}
.send:disabled {
  background: #eee;
  opacity: 1;
}
.send:disabled img {
  filter: none;
  opacity: 0.2;
}
.composer select {
  max-width: 150px;
  border: 0;
  min-height: 28px;
  font-size: 12px;
  background: transparent;
  color: #888;
  padding: 3px;
  cursor: pointer;
  outline: none;
}
.home-recommendations {
  margin-top: 22px;
}
.category-row {
  display: flex;
  gap: 10px;
  overflow: auto;
  scrollbar-width: none;
}
.category {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  white-space: nowrap;
  color: #777;
}
.category img {
  width: 16px;
  height: 16px;
  opacity: 0.65;
}
.category.selected {
  background: #f1f1f1;
  color: #141414;
}
.prompts {
  margin-top: 12px;
}
.prompts button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: #777;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
}
.prompts button:hover {
  background: #f3f3f3;
}
.prompts img {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}
.login-hint {
  font-size: 12px;
  color: #999;
  margin-top: 24px;
  line-height: 1.8;
}
.page {
  max-width: 820px;
  margin: 12px auto 60px;
}
.page.wide {
  max-width: 936px;
  margin-top: 32px;
}
.page h1 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  margin: 0 0 2px;
  letter-spacing: -0.4px;
}
.subtitle {
  color: #777;
  font-size: 13px;
  line-height: 22px;
  margin: 2px 0 28px;
}
.tabs {
  display: flex;
  gap: 24px;
  margin: 30px 0 16px;
  align-items: center;
}
.tabs button {
  padding: 4px 0;
  min-height: 32px;
  color: #999;
  font-size: 16px;
}
.tabs button.selected {
  color: #141414;
  font-weight: 600;
}
.filters {
  display: flex;
  gap: 6px;
  overflow: auto;
  padding-bottom: 20px;
}
.filters button {
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 30px;
  color: #777;
  white-space: nowrap;
  font-size: 13px;
}
.filters button.selected {
  background: #eee;
  color: #141414;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  min-width: 0;
}
.card h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.card p {
  font-size: 12px;
  color: #777;
  line-height: 1.6;
  margin: 6px 0 14px;
  overflow-wrap: anywhere;
}
.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.card-head .icon {
  width: 32px;
  height: 32px;
  padding: 5px;
  background: #f0f7f3;
  border-radius: 8px;
}
.card-head h3 {
  margin: 0;
}
.card small {
  color: #999;
  font-size: 11px;
}
.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.card-actions button {
  min-height: 28px;
  font-size: 12px;
  padding: 3px 8px;
}
.skill-section-label {
  color: #777;
  font-size: 12px;
  line-height: 18px;
  margin: -2px 0 12px;
}
.skill-card {
  position: relative;
  height: 140px;
  padding: 16px;
}
.skill-card .card-head {
  margin-bottom: 10px;
  padding-right: 26px;
}
.skill-card .card-head h3 {
  line-height: 18px;
  font-size: 13px;
}
.skill-card small {
  font-size: 12px;
  color: #777;
}
.skill-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 16px;
  margin: 0;
}
.skill-card .card-actions {
  margin: 0;
}
.skill-card .skill-use {
  position: absolute;
  right: 16px;
  top: 19px;
  width: 28px;
  height: 28px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 5px;
  color: #777;
}
.skill-use .icon {
  width: 16px;
  height: 16px;
  opacity: 0.55;
}
.skill-card .skill-detail {
  position: absolute;
  bottom: 10px;
  left: 16px;
  color: #999;
  min-height: 20px;
  padding: 0;
  border: 0;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 16px;
  gap: 10px;
}
.section-head h2 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}
.page.wide > .section-head {
  margin-top: 40px;
}
.field-row > .field {
  margin-top: 0;
  margin-bottom: 0;
}
.field-row {
  margin: 18px 0;
}
.field textarea {
  border-radius: 24px;
  padding: 14px;
}
.file-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.file-controls select {
  max-width: 160px;
  border: 1px solid #eee;
  background: #fcfcfc;
  border-radius: 8px;
  padding: 7px;
  color: #777;
  font-size: 12px;
}
.file-controls input {
  width: 180px;
}
@media (max-width: 760px) {
  .file-controls {
    flex-wrap: wrap;
  }
  .file-controls input {
    width: 140px;
  }
  .section-head:has(.file-controls) {
    flex-wrap: wrap;
  }
}
.section-head .tabs {
  margin: 0;
}
.schedule-cards {
  margin-bottom: 46px;
}
.schedule-cards .card {
  height: 142px;
  text-align: left;
}
.schedule-cards .card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 12px;
  background: #f2f2f2;
  color: #777;
}
.pill img {
  width: 14px;
  height: 14px;
}
.pill.success {
  color: #229755;
  background: #edf8f1;
}
.pill.warning {
  color: #ad742a;
  background: #fcf5e9;
}
.empty-box {
  min-height: 250px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #999;
  padding: 32px;
}
.empty-box > .icon {
  width: 48px;
  height: 48px;
  opacity: 0.3;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 12px;
}
.empty-box h3 {
  font-size: 14px;
  font-weight: 400;
  margin: 0 0 5px;
}
.empty-box p {
  font-size: 13px;
  margin: 0 0 18px;
}
.storage {
  background: #f3f3f3;
  border-radius: 16px;
  padding: 16px;
  margin: 24px 0 32px;
  font-size: 13px;
}
.storage p {
  margin: 2px 0;
  color: #777;
  font-size: 12px;
}
progress {
  width: 100%;
  height: 6px;
  appearance: none;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 12px;
}
progress::-webkit-progress-bar {
  background: #e0e0e0;
}
progress::-webkit-progress-value {
  background: #39b67d;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th {
  text-align: left;
  font-weight: 400;
  color: #999;
  white-space: nowrap;
  font-size: 12px;
}
th,
td {
  padding: 14px 8px;
  border-bottom: 1px solid #eee;
}
td {
  vertical-align: middle;
  overflow-wrap: anywhere;
}
td small {
  display: block;
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}
td:first-child {
  padding-left: 0;
  max-width: 280px;
}
.row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.name-cell {
  display: flex;
  gap: 10px;
  align-items: center;
}
.name-cell img {
  width: 20px;
  height: 20px;
  opacity: 0.65;
}
.row-actions button,
.row-actions a {
  font-size: 12px;
}
.switch {
  width: 32px;
  height: 19px;
  border-radius: 15px;
  background: #ddd;
  padding: 2px;
  position: relative;
  border: 0;
}
.switch:before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 2px #aaa;
}
.switch[aria-checked="true"] {
  background: #141414;
}
.switch[aria-checked="true"]:before {
  transform: translateX(13px);
}
.notice {
  background: #f4f4f4;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: #777;
  margin: 12px 0;
}
.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chips button {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  max-width: 250px;
  padding: 5px 8px;
  background: #f5f5f5;
  border-radius: 8px;
  margin: 0 0 8px;
}
.chips img {
  width: 13px;
  height: 13px;
}
.conversation {
  padding: 16px 0;
  line-height: 1.9;
  font-size: 15px;
}
.home-page.in-chat {
  padding-top: 0;
  display: flex;
  min-height: calc(100dvh - 48px);
  flex-direction: column;
}
.in-chat .composer {
  position: sticky;
  bottom: 16px;
  margin-top: auto;
}
.question {
  margin: 20px 0 28px auto;
  background: #f1f1f1;
  border-radius: 18px;
  padding: 10px 18px;
  max-width: 85%;
  width: fit-content;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.answer {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 0 4px;
}
.task-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #999;
  font-size: 11px;
  margin: 14px 0 28px;
}
.task-meta button {
  color: #777;
  font-size: 12px;
}
dialog {
  width: 520px;
  max-width: calc(100vw - 32px);
  max-height: 90dvh;
  overflow: auto;
  border: 1px solid #ddd;
  border-radius: 22px;
  background: #fcfcfc;
  padding: 24px;
  box-shadow: 0 6px 20px #0002;
}
dialog::backdrop {
  background: #0000001a;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 6px;
}
.dialog-head h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}
.dialog-head .icon-button {
  margin-top: -8px;
  margin-right: -8px;
  opacity: 0.5;
}
dialog p {
  font-size: 13px;
  line-height: 1.8;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #777;
  font-size: 12px;
  margin: 18px 0;
}
.field input,
.field select,
.field textarea,
input[type="search"] {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
  font-size: 13px;
  color: #141414;
  min-width: 0;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.7;
}
.field input {
  min-height: 34px;
}
.field select {
  min-height: 36px;
}
.field-row {
  display: flex;
  gap: 8px;
}
.field-row > .field {
  flex: 1;
  min-width: 0;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
}
.form-error,
.schedule-notice {
  padding: 12px 14px;
  border: 1px solid #ead7c0;
  background: #fffaf2;
  border-radius: 10px;
  color: #845216;
  font-size: 13px;
  line-height: 1.7;
}
.schedule-notice {
  margin: 20px 0;
}
.schedule-notice p {
  margin: 0 0 10px;
}
.form-error:focus {
  outline: 2px solid #cba871;
  outline-offset: 2px;
}
.skill-market-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 20px;
}
.skill-market-actions button {
  padding: 7px 12px;
  font-size: 13px;
  border-radius: 8px;
}
.skill-market-actions button:last-child {
  margin-left: auto;
}
.skill-status {
  align-self: flex-start;
  font-size: 12px;
  color: #88651e;
  background: #fbf5e8;
  padding: 4px 8px;
  border-radius: 6px;
  margin-top: 8px;
}
#skillForm textarea {
  min-height: 210px;
  font-family: inherit;
  line-height: 1.7;
}
.dialog-actions {
  flex-wrap: wrap;
}
.advanced-fields {
  color: #777;
  font-size: 12px;
  margin-top: 14px;
}
.advanced-fields summary {
  cursor: pointer;
  padding: 4px 0;
}
.advanced-fields[open] {
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}
.dialog-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 50vh;
  overflow: auto;
}
.dialog-list button {
  padding: 12px;
  text-align: left;
  border-radius: 10px;
  border: 1px solid #eee;
}
.dialog-list button:hover {
  background: #eee;
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  font-size: 13px;
}
.checkbox-row input {
  accent-color: #141414;
}
.muted {
  color: #999;
  font-size: 12px;
}
.danger {
  color: #b85454;
}
.split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 18px;
  max-width: 90vw;
  background: #252525;
  color: #fff;
  font-size: 13px;
  border-radius: 12px;
  box-shadow: 0 5px 20px #0002;
  z-index: 1000;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
#openSidebar {
  display: none;
}
.sidebar-collapsed aside {
  transform: translateX(-100%);
}
.sidebar-collapsed main {
  width: 100%;
  margin-left: 0;
}
.sidebar-collapsed #openSidebar {
  display: inline-flex;
}
@media (max-width: 1250px) {
  .home-page {
    margin-left: 40px;
    margin-right: 40px;
    max-width: none;
    padding-top: 160px;
  }
  .page,
  .page.wide {
    margin-left: 32px;
    margin-right: 32px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .schedule-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .toolbar input {
    width: 190px;
  }
}
@media (max-width: 760px) {
  aside {
    transform: translateX(-100%);
    width: 240px;
  }
  .sidebar-open aside {
    transform: translateX(0);
  }
  main {
    margin-left: 0;
    width: 100%;
  }
  #openSidebar {
    display: inline-flex;
  }
  #scrim {
    position: fixed;
    inset: 0;
    background: #0003;
    z-index: 19;
  }
  .home-page {
    margin: 0 16px;
    padding-top: 164px;
  }
  .page,
  .page.wide {
    margin: 16px 50px 40px;
  }
  .cards,
  .schedule-cards {
    grid-template-columns: 1fr;
  }
  .schedule-cards .card {
    height: auto;
  }
  .toolbar input {
    width: 130px;
  }
  .toolbar {
    gap: 5px;
  }
  .topbar {
    gap: 4px;
  }
  .topbar #topTitle {
    display: none;
  }
  .usage-button {
    font-size: 10px;
    padding: 6px;
  }
  .composer select {
    max-width: 108px;
    font-size: 11px;
  }
  .composer-left,
  .composer-right {
    gap: 3px;
  }
  .category {
    padding: 7px 12px;
  }
  .table-wrap {
    margin-right: -10px;
  }
  .row-actions {
    flex-wrap: wrap;
  }
  dialog {
    padding: 20px;
    border-radius: 20px;
  }
  .field-row {
    flex-wrap: wrap;
  }
  .field-row > .field {
    flex-basis: 40%;
  }
  .section-head {
    flex-wrap: wrap;
  }
  .toolbar .secondary {
    display: none;
  }
  .question {
    max-width: 92%;
  }
}
/* Match the captured sidebar rhythm and render model Markdown without raw HTML. */
nav > .navitem:first-child,
#extensionsToggle {
  margin-bottom: 0;
}
.subnav {
  padding-top: 2px;
  margin-bottom: 2px;
}
.answer.markdown {
  white-space: normal;
}
.markdown p {
  margin: 8px 0 16px;
}
.markdown ul,
.markdown ol {
  padding-left: 24px;
}
.markdown h1,
.markdown h2,
.markdown h3 {
  margin: 24px 0 12px;
  line-height: 1.5;
}
.markdown h1 {
  font-size: 24px;
}
.markdown h2 {
  font-size: 21px;
}
.markdown h3 {
  font-size: 18px;
}
.markdown pre {
  overflow: auto;
  background: #f4f4f4;
  border: 1px solid #eee;
  padding: 16px;
  border-radius: 12px;
}
.markdown code {
  font-family: Consolas, monospace;
  font-size: 13px;
}
.markdown table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
.markdown td,
.markdown th {
  min-width: 90px;
}
.markdown a {
  text-decoration: underline;
  color: #318d6b;
}
.markdown blockquote {
  border-left: 3px solid #ddd;
  margin-left: 0;
  padding-left: 18px;
  color: #777;
}

/* Workspace navigation follows the supplied DeepSeek Harness sidebar. */
:root { --side: 280px; }
aside { background:#f8f9fa; border-right:1px solid #d9dce1; }
.workspace-browser { min-height:0; flex:1; display:flex; flex-direction:column; margin-top:12px; }
.workspace-heading { height:34px; flex-shrink:0; display:flex; align-items:center; padding:0 7px; color:#7f8998; }
.workspace-heading-actions { margin-left:auto; display:flex; gap:2px; }
.workspace-heading-actions .icon-button { width:30px; height:30px; color:#6c7480; }
.workspace-heading-actions img { width:16px; height:16px; opacity:.62; }
.workspace-searchbar { display:flex; align-items:center; gap:4px; height:34px; margin:0 5px; }
.workspace-searchbar input { min-width:0; width:100%; border:1px solid #dadde3; border-radius:6px; padding:6px 8px; background:white; font-size:13px; }
.workspace-tree { overflow-y:auto; overflow-x:hidden; flex:1; padding:5px 3px 14px; scrollbar-width:thin; }
.workspace-group-row { height:38px; display:flex; align-items:center; border-radius:6px; position:relative; }
.workspace-group-toggle { display:flex; align-items:center; gap:6px; padding:0 8px; height:100%; flex:1; min-width:0; text-align:left; font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.workspace-group-toggle .icon { width:16px; height:16px; opacity:.56; }
.workspace-group-toggle.expanded .icon { opacity:1; filter:invert(42%) sepia(98%) saturate(2696%) hue-rotate(216deg) brightness(103%) contrast(102%); }
.workspace-session-row { height:34px; border-radius:6px; display:flex; align-items:center; position:relative; }
.workspace-session-row.selected { background:#eceef0; }
.workspace-session-row:hover,.workspace-group-row:hover { background:#eceef0; }
.workspace-session-open { height:100%; display:flex; align-items:center; gap:4px; width:100%; min-width:0; padding:0 8px 0 28px; text-align:left; font-size:13px; }
.workspace-session-open .session-title { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; flex:1; }
.workspace-session-open .session-time { font-size:12px; color:#8290a5; white-space:nowrap; }
.workspace-session-open .icon { height:13px; width:13px; opacity:.65; }
.tree-menu { position:absolute; right:4px; top:4px; width:26px; height:26px; border-radius:4px; padding:5px; background:#eceef0; opacity:0; pointer-events:none; }
.tree-menu .icon { height:16px; width:16px; opacity:.6; }
.workspace-group-row:hover .tree-menu,.workspace-session-row:hover .tree-menu,.workspace-group-row:focus-within .tree-menu,.workspace-session-row:focus-within .tree-menu { opacity:1; pointer-events:auto; }
.workspace-session-row:hover .session-time,.workspace-session-row:focus-within .session-time { visibility:hidden; }
.workspace-group-toggle:focus-visible,.workspace-session-open:focus-visible { outline-offset:-2px; border-radius:6px; }
.tree-more,.tree-empty { display:block; width:100%; text-align:left; padding:8px 28px; font-size:12px; color:#7f8998; border-radius:6px; }
.tree-more:hover,.tree-empty:hover { background:#eceef0; color:#333; }
.tree-search-status,.empty-side { color:#7f8998; font-size:12px; padding:5px 8px; margin:4px 0; }
.workspace-session-row.search-result { height:51px; }
.search-result .workspace-session-open { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:3px 6px; padding:7px 8px; }
.session-search-group { grid-row:2; grid-column:1 / -1; color:#8290a5; font-size:11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.drop-target { outline:1px solid #5b8eff; background:#eaf0ff!important; outline-offset:-1px; }
.inherited-history { margin-bottom:20px; }
.inherited-history summary { color:#7f8998; font-size:13px; cursor:pointer; margin-bottom:20px; }
.inherited-history .question,.inherited-history .answer { opacity:.85; }
[hidden] { display:none!important; }
@media (hover:none) { .tree-menu { opacity:1; pointer-events:auto; } .workspace-session-open { padding-right:34px; } }

.workspace-browser { font-family:Arial,"Microsoft YaHei",sans-serif; }
.workspace-heading { padding-right:1px; }
.workspace-tree { padding:3px 3px 14px 4px; }

.login-dialog { width:384px; padding:20px; max-width:calc(100vw - 20px); }
.qr-login-body { text-align:center; }
.qr-login-instruction { color:#717782; margin:12px 0 0; }
.qr-login-panel { min-height:380px; display:flex; justify-content:center; align-items:center; }
.qr-login-panel iframe { display:block; border:0; max-width:100%; }
.qr-login-status { min-height:24px; color:#777; margin:4px 0 12px; }
.qr-login-status.qr-login-error { color:#a44332; }
.qr-login-body .actions { justify-content:center; flex-wrap:wrap; }
@media(max-width:380px) { .login-dialog { padding:12px; } }

/* ZIP import keeps detected fields editable before publication. */
.package-summary {padding:14px 16px;background:#f6f7fb;border-radius:12px;overflow-wrap:anywhere}
.package-summary p {margin:4px 0 8px}
.package-note {color:#865417;font-size:13px;line-height:1.6}
.package-files {font-size:12px;margin-top:10px}
.package-files ul {padding-left:20px;max-height:140px;overflow:auto}
.skill-package-review textarea {min-height:110px}
.skill-package-review .field:nth-of-type(3) textarea {min-height:72px}
.skill-package-upload {display:grid;gap:12px}
.skill-package-upload input[type=file] {max-width:100%;height:auto;padding:12px}

/* Skills: QwenWork reference geometry, scoped to the requested surface. */
.page.skills-page { max-width:820px; margin:12px auto 60px; }
.skills-page .subtitle { margin-bottom:28px; }
.skill-navigation { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px 24px; margin:30px 0 16px; }
.skills-page .skill-navigation .tabs { gap:24px; margin:0; flex:none; }
.skill-toolbar { gap:8px; min-width:0; }
.skill-toolbar input { width:240px; max-width:100%; min-width:0; }
.skill-toolbar button { flex:none; }
@media(max-width:590px) {
  .skill-toolbar { flex:1 1 100%; margin-left:0; }
  .skill-toolbar input { flex:1; width:0; }
}
.skills-page .tabs button { color:#666; }
.skills-page .tabs button.selected { color:#141414; }
.skills-page .tabs button { line-height:24px; min-height:24px; padding:0; }
.skill-filter-row { display:flex; align-items:flex-start; gap:8px; min-width:0; }
.skills-page .filters { flex:1; min-width:0; padding-bottom:20px; gap:6px; }
.skills-page .filters button { font-size:13px; line-height:18px; padding:6px 14px; }
.skill-category-more { width:32px; height:32px; display:flex; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:50%; flex:none; }
.skill-category-more[hidden] { display:none; }
.skill-section + .skill-section { margin-top:26px; }
.skill-section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 12px; color:#777; font-size:12px; line-height:18px; }
.skill-section-heading h2 { font-size:12px; font-weight:400; line-height:18px; margin:0; }
.skill-section-heading>span { color:#777; }
.skill-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.skill-tile { background:#fff; border:1px solid #e6e6e6; border-radius:18px; padding:8px; min-width:0; min-height:140px; display:flex; flex-direction:column; }
.skill-tile:hover { border-color:#ccc; box-shadow:0 2px 8px #00000005; }
.skill-visibility-control{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:3px 8px 0;padding:9px 0 4px;border-top:1px solid #eee;color:#777;font-size:11px;line-height:19px}.skill-visibility-control .switch{flex-shrink:0}.skill-visibility-control .switch[aria-checked=true]{background:#24a568}.skill-visibility-control .switch:before{transition:transform .15s}.skill-visibility-control .switch:disabled{opacity:.5;cursor:wait}.skill-tile.market-hidden{background:#fafafa;border-style:dashed}.skill-tile.market-hidden .skill-visibility-control{color:#8a6a46}@media(prefers-reduced-motion:reduce){.skill-visibility-control .switch:before{transition:none}}
.skill-tile-head { display:flex; gap:8px; align-items:center; padding:8px; min-height:52px; min-width:0; }
.skill-identity { padding:0; display:flex; align-items:center; gap:8px; text-align:left; min-width:0; flex:1; border:0; background:transparent; }
.skill-avatar { width:36px; height:36px; border-radius:9px; display:flex; align-items:center; justify-content:center; flex:none; background:#f4f0ff; }
.skill-avatar .icon { width:24px; height:24px; }
.skill-avatar.data { background:#edf5ff; }
.skill-avatar.writing { background:#ecf7ff; }
.skill-avatar.development { background:#f4f2fc; }
.skill-avatar.general { background:#eef8f2; }
.skill-avatar.data .icon,.skill-avatar.writing .icon { filter:invert(43%) sepia(93%) saturate(1366%) hue-rotate(180deg) brightness(94%) contrast(95%); }
.skill-avatar.general .icon { filter:invert(49%) sepia(63%) saturate(454%) hue-rotate(99deg) brightness(92%) contrast(91%); }
.skill-avatar.development .icon { filter:invert(37%) sepia(63%) saturate(2035%) hue-rotate(237deg) brightness(91%) contrast(86%); }
.skill-title { display:flex; flex-direction:column; min-width:0; }
.skill-title strong { font-size:14px; font-weight:500; line-height:20px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.skill-title small { font-size:12px; color:#666; line-height:16px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.skill-primary { font-size:12px; line-height:18px; min-height:28px; padding:4px 9px; border:1px solid #e5e5e5; border-radius:8px; flex:none; color:#555; background:#fff; white-space:nowrap; }
.skill-primary:hover:not(:disabled) { background:#f4f4f4; border-color:#bbb; }
.skill-primary.summon { padding-inline:11px; }
.skill-description { padding:2px 8px 0; text-align:left; min-width:0; }
.skill-description p { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:12px; color:#666; line-height:16px; margin:0; min-height:32px; overflow-wrap:anywhere; }
.skill-tile-meta { display:flex; justify-content:space-between; gap:12px; padding:10px 8px 6px; margin-top:auto; color:#777; font-size:11px; line-height:16px; }
.skill-tile-meta>span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.skill-builtin-list { border:1px solid #e6e6e6; border-radius:18px; padding:4px 16px; background:#fff; }
.skill-builtin-row { min-width:0; padding:8px 0; }
.skill-builtin-row + .skill-builtin-row { border-top:1px solid #ebebeb; }
.skill-builtin-row .skill-tile-head { padding:8px 0; gap:18px; }
.skill-builtin-row .skill-title { gap:3px; }
.skill-builtin-row .skill-title strong { font-size:14px; }
.skill-builtin-row .skill-title small { white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.skill-availability { font-size:12px; color:#777; margin:2px 0 4px 44px; line-height:18px; }
dialog.skill-detail-dialog { width:680px; padding:24px; max-height:min(760px,90dvh); overflow:hidden; }
.skill-detail-dialog::backdrop { background:#0000001a; backdrop-filter:blur(4px); }
.skill-detail-dialog .dialog-head { margin:0 0 0 64px; min-height:24px; }
.skill-detail-dialog .dialog-head h2 { font-size:16px; font-weight:600; line-height:24px; overflow-wrap:anywhere; }
.skill-detail-content { display:flex; flex-direction:column; min-height:0; }
.skill-detail-identity { display:flex; align-items:flex-start; min-height:34px; margin:0 0 16px; position:relative; }
.skill-detail-identity .skill-avatar { position:absolute; top:-24px; width:48px; height:48px; border-radius:12px; }
.skill-detail-identity .skill-avatar .icon { width:30px; height:30px; }
.skill-detail-identity p { margin:0 0 0 64px; font-size:12px; line-height:20px; padding-top:2px; }
.skill-detail-scroll { overflow:auto; max-height:calc(min(760px,90dvh) - 190px); min-height:120px; }
.skill-detail-description { margin:0 4px 22px; font-size:14px; }
.skill-detail-scroll .skill-availability { margin:0 4px 16px; }
.skill-document { background:#f4f4f4; border-radius:18px; padding:22px 24px; margin-right:12px; }
.skill-document-caption { color:#777; margin:0 0 16px; padding-bottom:20px; border-bottom:1px solid #ddd; font-size:13px; }
.skill-document-text { color:#222; font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
.skill-document-text p { font-size:14px; line-height:1.7; }
.skill-document-text h1,.skill-document-text h2,.skill-document-text h3,.skill-document-text h4 { line-height:1.5; font-size:16px; font-weight:600; margin:20px 0 10px; }
.skill-document-text table { border-collapse:collapse; font-size:12px; width:100%; }
.skill-document-text th,.skill-document-text td { border:1px solid #ddd; padding:6px; }
.skill-document-text pre { white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; }
.skill-document-text ul,.skill-document-text ol { padding-left:22px; }
.skill-detail-footer { display:flex; justify-content:flex-end; align-items:center; gap:12px; padding-top:20px; min-height:48px; }
.skill-detail-footer>.skill-primary { background:#171717; border-color:#171717; color:#fff; }
.skill-primary.summon,.skill-primary.installed { background:#16834a; border-color:#16834a; color:#fff; }
.skill-primary.summon:hover:not(:disabled),.skill-primary.installed:hover:not(:disabled) { background:#116b3b; border-color:#116b3b; }
.personal-skill-detail .dialog-head h2 { padding-right:86px; }
.personal-skill-detail .skill-detail-footer>.skill-primary { position:absolute; right:62px; top:24px; }
.skill-management { position:relative; margin-right:auto; }
.skill-management summary { cursor:pointer; list-style:none; font-size:12px; padding:5px 10px; }
.skill-management summary::-webkit-details-marker { display:none; }
.skill-management summary:focus-visible { outline:2px solid var(--green); outline-offset:3px; }
.skill-management-items { position:absolute; bottom:36px; left:0; z-index:1; min-width:150px; padding:6px; border:1px solid #e5e5e5; background:white; border-radius:12px; box-shadow:0 4px 20px #0001; display:grid; gap:3px; }
.skill-management-items button,.skill-management-items a { text-align:left; font-size:12px; padding:8px 10px; border:0; background:none; border-radius:7px; white-space:nowrap; }
.skill-management-items button:hover,.skill-management-items a:hover { background:#f4f4f4; }
@media(max-width:1279px) { .page.skills-page { margin-left:50px; margin-right:50px; } .skill-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) { .page.skills-page { margin:16px 20px 40px; } .skill-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:590px) {
  .skill-grid { grid-template-columns:1fr; }
  .skill-builtin-list { padding-inline:12px; }
  .skill-builtin-row .skill-tile-head { gap:8px; }
  .skill-builtin-row .skill-title strong { font-size:13px; }
  dialog.skill-detail-dialog { padding:20px 16px; }
  .skill-document { padding:16px; margin-right:0; }
  .skill-detail-dialog .dialog-head { margin-left:56px; }
  .skill-detail-identity p { margin-left:56px; }
  .skill-primary { min-height:36px; }
  .skill-tile { min-height:148px; }
  .personal-skill-detail .skill-detail-footer>.skill-primary { top:20px; right:50px; }
}

/* Native DSH conversation controls, scoped to the conversation page. */
.home-page .composer{border:1px solid #e5e7eb;border-radius:21px;padding:12px 10px 10px;box-shadow:0 4px 20px #00000007;margin-bottom:36px}
.home-page .composer:focus-within{border-color:#cbd4e8}
.home-page .composer textarea{font-size:14px;line-height:22px;min-height:42px;padding:2px 6px 10px;color:#20242b}
.home-page .composer textarea::placeholder{color:#9ca3b0}
.home-page .composer-bar{gap:6px;min-height:32px}
.home-page .composer-left,.home-page .composer-right{gap:7px}
.home-page .round-button{border:0;background:#f4f5f7;width:30px;height:30px}
.home-page .send{background:#628eeb;width:34px;height:34px}
.home-page .send:disabled{background:#b5cafa}
.home-page .send img,.home-page .send:disabled img{filter:brightness(0) invert(1);opacity:1;width:22px;height:22px}
.home-page .send.stopping{background:#283d65}.home-page .send.stopping img{width:15px;height:15px}
.permission-control{border:0;background:transparent;padding:5px 2px;display:inline-flex;align-items:center;gap:4px;color:#6b707b;white-space:nowrap;font-size:13px}
.mention-chip{display:inline-flex;align-items:center;gap:5px;border-radius:8px;padding:3px 7px;background:#e8f6ed;color:#1f7a45}
.mention-chip.skill-experience-active{background:#fff0df;color:#a45b20}
.mention-chip .mention-name{border:0;background:transparent;color:inherit;padding:0;line-height:20px;font-size:13px}
.mention-chip .mention-remove{display:grid;place-items:center;width:20px;height:20px;padding:0;border:0;background:transparent;color:inherit}
.mention-chip .mention-remove img{width:14px;height:14px}
#skillExperienceButton{margin-left:4px;color:#6b707b;font-size:12px;border:0;background:transparent;padding:5px 3px}
#skillExperienceButton:hover{color:#a45b20;background:#fff5e9;border-radius:6px}
.permission-control img{width:16px;height:16px;opacity:.7}.permission-control img:last-child{width:12px;height:12px}
.home-page .composer select{font-size:12px;color:#626975;max-width:220px;padding:4px 1px;min-width:50px}
.conversation-icon{background:transparent;border:0;padding:5px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;flex-shrink:0}
.conversation-icon:hover,.permission-control:hover{background:#f2f4f7}.conversation-icon.selected{background:#eaf1ff}
.conversation-icon img{width:17px;height:17px;opacity:.65}.conversation-icon.selected img{opacity:1}
.context-meter{border:0;background:#f7f8fa;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;flex-shrink:0;padding:4px}
.context-ring{width:18px;height:18px;border:3px solid #dfe3e8;border-top-color:#888f9a;border-radius:50%;font-size:8px;line-height:12px;text-align:center;color:#5b6678}
.context-ring.measured{width:23px;height:23px;line-height:17px;border-color:#88a9de}.context-ring[data-level=high]{border-color:#e4a065;color:#955522}
/* Reserve the sticky bottom offset so the last turn stays above the composer. */
.home-page.in-chat{--composer-bottom:38px;max-width:1050px;padding-inline:32px;padding-bottom:var(--composer-bottom)}
.conversation-jump{position:fixed;z-index:24;transform:translateX(-50%);width:32px;height:32px;border:1px solid #e7e7e7;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000004;display:grid;place-items:center;padding:0;color:#333;gap:0;line-height:1}.conversation-jump>.jump-dots,.conversation-jump>.jump-arrow{grid-area:1 / 1;margin:0;align-self:center;justify-self:center}
.conversation-jump[hidden]{display:none}.conversation-jump:hover{background:#f8f8f8}.conversation-jump:focus-visible{outline:2px solid #8a8a8a;outline-offset:3px}.conversation-jump .jump-arrow{width:18px;height:18px}.jump-dots{display:none;align-items:center;gap:3px}.jump-dots .icon{width:4px;height:4px;opacity:.4}.conversation-jump.is-running .jump-dots{display:flex}.conversation-jump.is-running .jump-arrow{display:none}.is-running .jump-dots .icon{animation:jump-pulse 1.2s ease-in-out infinite}.is-running .jump-dots .icon:nth-child(2){animation-delay:.15s}.is-running .jump-dots .icon:nth-child(3){animation-delay:.3s}@keyframes jump-pulse{0%,75%,100%{opacity:.3}35%{opacity:1}}@media(prefers-reduced-motion:reduce){.is-running .jump-dots .icon{animation:none;opacity:.65}}
.home-page.in-chat .composer{bottom:var(--composer-bottom);margin-top:auto;margin-bottom:0;z-index:5}
.conversation-metrics{position:absolute;left:0;right:0;top:calc(100% + 8px);display:flex;justify-content:center;flex-wrap:wrap;gap:3px 0;background:#fff;color:#858b96;font-size:11px;line-height:16px;padding:0 4px}
.conversation-metrics span+span:before{content:'|';padding:0 9px;color:#c5c8ce}
.conversation{padding:0 0 30px;font-size:14px;line-height:1.85;min-width:0}.conversation-turn{padding-bottom:22px}
.conversation .question{font-size:14px;background:#f3f4f5;margin:22px 0 36px auto;padding:10px 17px;border-radius:20px;line-height:22px}
.assistant-identity{display:flex;align-items:center;gap:9px;font-size:15px;margin:0 0 10px;color:#282c33}.assistant-identity>img{width:26px;height:26px}.assistant-status{font-size:12px;color:#9097a2;font-weight:400}
.execution-status,.execution-skills{display:flex;gap:6px;align-items:center;color:#89909b;font-size:13px;margin:7px 0}.execution-skills img{width:14px;height:14px;opacity:.5}
.working-dot{width:6px;height:6px;background:#8ba5d4;border-radius:50%;animation:conversationPulse 1.5s ease-in-out infinite}
@keyframes conversationPulse{50%{opacity:.25}}
@media(prefers-reduced-motion:reduce){.working-dot{animation:none}}
.reasoning-panel{margin:10px 0 18px;color:#8a8e97;font-size:13px}.reasoning-panel summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;padding:3px 0;user-select:none}.reasoning-panel summary::-webkit-details-marker{display:none}.reasoning-panel summary img{width:14px;height:14px;opacity:.5;transition:transform .15s}.reasoning-panel[open] summary img{transform:rotate(90deg)}
.reasoning-summary-status{font-size:11px;color:#b2b7bf;margin-left:4px}.reasoning-body{border-left:3px solid #e9ebee;margin:9px 0 0 5px;padding:0 14px;max-height:210px;overflow:auto;scrollbar-width:thin;scrollbar-color:#d4d7db transparent}.reasoning-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:24px}
.tool-event{display:flex;align-items:center;gap:7px;min-height:30px;font-size:12px}.tool-event img{width:14px;height:14px;opacity:.6}.tool-event span:last-child{margin-left:auto;white-space:nowrap;color:#9299a4}
.conversation .answer{padding:0;white-space:normal;color:#262c35;line-height:1.85}.conversation .answer pre{overflow:auto}.conversation .answer table{display:block;max-width:100%;overflow:auto}
.conversation-actions{gap:8px;margin:18px 0 6px;flex-wrap:wrap;font-size:11px;color:#8893a7}.conversation-actions .text-action{font-size:12px;color:#8490a3;background:none;border:0;padding:4px 2px}.meta-metric{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.meta-metric img{width:14px;height:14px;opacity:.55}
.conversation-artifacts{display:flex;align-items:center;gap:7px;margin-top:20px;font-size:12px;color:#9ca3af;flex-wrap:wrap}.artifact-link{display:inline-flex;align-items:center;gap:5px;border-radius:6px;background:#f3f5f8;padding:4px 8px;color:#606d82;text-decoration:none;max-width:100%}.artifact-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.artifact-link img{width:14px;height:14px;opacity:.65}
.composer-popover{position:absolute;bottom:calc(100% + 10px);left:0;min-width:215px;max-width:100%;border:1px solid #eceef1;border-radius:17px;background:#fff;box-shadow:0 4px 18px #00000010;padding:7px;z-index:30;max-height:min(370px,55dvh);overflow-y:auto;scrollbar-width:thin}
.popover-label{font-size:12px;color:#8a909c;padding:5px 7px 8px;margin:0}.permission-option{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:0;background:none;padding:11px 10px;font-size:13px;color:#282d35;border-radius:9px}.permission-option>img{width:17px;height:17px;opacity:.6}.permission-option>img:last-child:not(:first-child){margin-left:auto;opacity:1}.permission-option:hover,.permission-option:focus-visible{background:#f2f3f5}.permission-scope{margin:3px 10px 5px;padding-top:8px;border-top:1px solid #f0f1f3;font-size:11px;color:#a1a7b0}
.commands-popover{width:620px;padding:7px 5px}.command-option{display:flex;gap:9px;align-items:baseline;width:100%;text-align:left;background:none;border:0;padding:11px 10px;border-radius:9px;font-size:13px;color:#23272e}.command-option.active,.command-option:hover{background:#f2f3f5}.command-description{color:#858c98;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.models-popover{left:auto;right:0;min-width:240px}
.composer-badges{display:flex;gap:6px}.composer-badge{border:0;background:#f0f4fc;color:#567198;padding:4px 8px;border-radius:7px;font-size:11px;display:flex;gap:4px;align-items:center;margin-bottom:6px}.composer-badge img{width:13px;height:13px}
.reference-chip,.reference-option{display:flex;align-items:center;gap:6px}.reference-option{width:100%;padding:10px;border:0;border-radius:7px;text-align:left;background:transparent;color:#596475}.reference-option:hover{background:#f0f3f7}.reference-option img{width:16px;height:16px}.reference-list{max-height:340px;overflow:auto}.reference-list h3{font-size:12px;color:#949aa4;margin:12px 8px 3px}
.composer button:focus-visible,.conversation button:focus-visible{outline:2px solid #82a9ec;outline-offset:2px}
@media(max-width:720px){.home-page.in-chat{--composer-bottom:52px;padding-inline:14px}.home-page .composer-left,.home-page .composer-right{gap:4px}.home-page .composer select{max-width:135px}.conversation-metrics{font-size:10px;line-height:15px}.conversation-metrics span+span:before{padding:0 4px}.conversation .question{max-width:93%}.conversation-actions{gap:5px}.permission-control{font-size:12px}}
@media(max-width:420px){.home-page .composer{padding:10px 7px}.home-page .composer select{max-width:112px;font-size:11px}.permission-control{font-size:11px;gap:2px}.home-page #attachFile{padding:4px}.home-page .composer-bar{gap:2px}.context-meter{width:24px;height:24px}.home-page .round-button{width:27px;height:27px}.home-page .send{width:30px;height:30px}}
.session-action-menu{position:fixed;z-index:1100;width:234px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow-y:auto;background:#fff;border:1px solid #e9e9eb;border-radius:10px;box-shadow:0 7px 18px #00000026,0 2px 5px #00000010;padding:7px 0;color:#101318;font-size:13px;line-height:20px}
.session-action-item{display:flex;align-items:center;gap:12px;width:100%;min-height:28px;padding:4px 20px;text-align:left;font-size:13px;font-weight:400;line-height:20px;border:0;background:transparent;border-radius:0}
.session-action-item>.icon{width:14px;height:14px;opacity:1}
.session-action-item>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.session-action-item>.icon:last-child:not(:first-child){margin-left:auto}
.session-action-item:hover,.session-action-item:focus-visible,.session-action-item[aria-expanded=true]{background:#f2f3f5;outline:none}
.session-action-separator{height:1px;background:#d5dff4;margin:8px 0}
.session-action-submenu{width:214px}
.session-delete-item{color:#be3434}
.session-delete-item:hover,.session-delete-item:focus-visible{background:#fff1f1}
.session-trash-list{display:grid;gap:0;max-height:56vh;overflow:auto}
.session-trash-row{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #eee}
.session-trash-info{flex:1;min-width:0;display:grid;gap:5px}
.session-trash-info strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}
.session-trash-info small{font-size:12px}
.session-trash-row .actions{flex-shrink:0}
.session-removal-title{overflow-wrap:anywhere}
@media(max-width:520px){.session-trash-row{align-items:flex-start;flex-direction:column;gap:8px}}
.tree-menu[aria-expanded=true]{opacity:1;pointer-events:auto;background:#e7e9ec}
@media(pointer:coarse){.session-action-item{min-height:36px}}
.conversation-attachments{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:-22px 0 28px auto;max-width:100%}
.conversation-file{display:flex;align-items:center;gap:10px;width:260px;max-width:100%;min-width:0;padding:11px 13px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;text-align:left;line-height:1.45}
a.conversation-file:hover{border-color:#b6d8c8;background:#f9fcfa}
.conversation-file>.icon{width:25px;height:25px;opacity:.65}
.conversation-file-text{display:grid;gap:3px;min-width:0;flex:1}
.conversation-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500}
.conversation-file-detail{font-size:11px;color:#9299a4}
.conversation-file.unavailable{background:#f7f7f8;color:#9299a4}
.attachment-document{display:block;max-width:1000px;margin:32px auto;padding:0 24px;color:#262b32}
.attachment-document h1{font-size:22px;overflow-wrap:anywhere}.attachment-document p{color:#7d8490}.attachment-document a{display:inline-block;padding:8px 13px;border:1px solid #e4e7eb;border-radius:8px;color:#198c50}
.attachment-document pre{margin-top:24px;padding:20px;border:1px solid #e7e9ec;border-radius:12px;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-family:inherit;font-size:14px}
/* Administrator-managed model connections. */
.managed-model-list { display:grid;gap:14px;margin-top:16px; }
.managed-model-card { padding:20px; }
.managed-model-card h3 { margin:0; }
.managed-model-badges { display:flex;gap:8px;flex-wrap:wrap; }
.managed-model-url { overflow-wrap:anywhere;font-size:13px; }
.managed-model-card .actions { flex-wrap:wrap; }

.task-error-note{color:#a64b18;font-size:13px;line-height:1.7;margin:14px 0 8px;background:none;border:0;padding:0}
.delivery-workbook-data{width:100%;overflow:auto}.delivery-preview iframe{width:100%;height:calc(100vh - 170px);min-height:520px;border:0;background:#fff}.delivery-workbook-data .delivery-table-wrap{max-height:calc(100vh - 230px)}
/* 定时任务的选项收纳在可搜索的折叠列表内。 */
.schedule-picker { border: 1px solid var(--border, #e5e7eb); border-radius: 10px; margin: 12px 0; padding: 10px 12px; }
.schedule-picker summary { cursor: pointer; }
.schedule-picker-list { max-height: 220px; overflow-y: auto; }
.schedule-picker .checkbox-row { overflow-wrap: anywhere; }
.schedule-next-run { font-size: 12px; }
.models-popover { left: auto !important; right: 12px; max-width: calc(100% - 24px); }
.model-picker-button { display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 220px; }
.model-picker-button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#modelSelect[hidden] { display: none; }
