:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #1d1d1f;
  background: #f5f5f7;
  font-synthesis: none;
  --blue: #0066cc;
  --blue-deep: #0056b3;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e8e8ed;
  --canvas: #f5f5f7;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; }
button, textarea, select, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, .attach-button:focus-visible, textarea:focus-visible, select:focus-visible, input:focus-visible, a:focus-visible {
  outline: 3px solid #72b4ff;
  outline-offset: 3px;
}
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-shell { display: flex; height: 100vh; height: 100dvh; overflow: hidden; }
.sidebar { width: 268px; flex: none; display: flex; flex-direction: column; padding: 27px 15px 22px; background: #fff; border-right: 1px solid var(--line); }
.sidebar-top { display: grid; gap: 35px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 9px; min-width: 0; }
.brand-mark { width: 45px; height: 45px; flex: none; display: block; object-fit: contain; }
.brand-name { display: grid; gap: 1px; color: var(--ink); font-size: 16px; font-weight: 670; letter-spacing: -.03em; line-height: 1.17; white-space: nowrap; }
.brand-name small { color: var(--muted); font-size: 12px; font-weight: 470; letter-spacing: .03em; }
.new-chat { width: 100%; min-height: 46px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 12px; padding: 0 15px; background: var(--blue); color: #fff; text-align: left; font-size: 14px; font-weight: 600; transition: background .16s, transform .16s; }
.new-chat:hover { background: var(--blue-deep); transform: translateY(-1px); }
.new-chat span { font-size: 23px; line-height: 1; font-weight: 350; }
.sidebar-section { flex: none; padding-top: 30px; }
.sidebar-label { margin: 0 13px 13px; color: #86868b; font-size: 11px; font-weight: 650; letter-spacing: .08em; }
.nav-question { display: block; width: 100%; min-height: 43px; border: 0; border-radius: 10px; background: transparent; padding: 11px 13px; color: #45454a; text-align: left; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .15s, color .15s; }
.nav-question:hover { background: #f4f7fb; color: var(--blue); }
.conversation-section { flex: 1; min-height: 0; display: flex; flex-direction: column; padding-top: 26px; }
.conversation-list { min-height: 0; overflow-y: auto; scrollbar-color: #d2d2d7 transparent; scrollbar-width: thin; }
.conversation-row { display: grid; grid-template-columns: minmax(0, 1fr) 42px 42px; align-items: center; min-height: 44px; border-radius: 10px; padding: 2px 3px 2px 5px; }
.conversation-row:hover { background: #f4f7fb; }
.conversation-row.active { background: #eaf3ff; }
.conversation-title { min-width: 0; width: 100%; height: 38px; overflow: hidden; border: 0; border-radius: 8px; padding: 0 7px; background: transparent; color: #4b4b53; text-align: left; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.conversation-row.active .conversation-title { color: #135eac; font-weight: 650; }
.conversation-action { width: 42px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #777780; font-size: 11px; }
.conversation-action:hover { background: #e4ebf5; color: var(--blue); }
.conversation-action.pin[aria-pressed="true"] { color: var(--blue); }
.conversation-action.delete { color: #ae534b; }
.conversation-action.delete:hover { background: #fff0ee; color: #bc453a; }
.conversation-action:disabled { opacity: .55; cursor: wait; }
.conversation-empty { margin: 0 12px; color: #a0a0a7; font-size: 11px; line-height: 1.6; }
.conversation-local { margin: auto 12px 11px; padding-top: 12px; color: #a0a0a7; font-size: 10px; }
.sidebar-foot { display: flex; align-items: flex-start; gap: 10px; border-top: 1px solid var(--line); padding: 17px 9px 0; color: #5e5e64; font-size: 11px; line-height: 1.7; }
.sidebar-foot small { color: #929298; font-size: 10px; }
.foot-dot { flex: none; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: #55c987; box-shadow: 0 0 0 3px #e7f9ed; }
.main-panel { position: relative; min-width: 0; flex: 1; display: flex; flex-direction: column; background: var(--canvas); }
.topbar { height: 75px; flex: none; display: flex; align-items: center; gap: 14px; padding: 0 clamp(22px, 4vw, 56px); border-bottom: 1px solid #ededf0; background: #ffffffd9; backdrop-filter: saturate(180%) blur(16px); }
.topbar-title { display: grid; gap: 3px; }
.topbar-title strong { font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.topbar-title small { color: #86868b; font-size: 11px; font-weight: 450; }
.topbar-right { display: flex; align-items: center; gap: 12px; margin-left: auto; color: var(--muted); font-size: 12px; }
.conversation-toolbar { min-height: 55px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 7px clamp(22px, 4vw, 56px); border-bottom: 1px solid var(--line); background: #fff; }
.current-chat-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #65656d; font-size: 12px; }
.conversation-toolbar-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.conversation-toolbar-actions button { min-height: 36px; border-radius: 9px; padding: 0 12px; font-size: 12px; font-weight: 600; }
.current-pin { border: 1px solid #d8e6f7; background: #f5f9ff; color: var(--blue); }
.current-pin:hover { background: #eaf3ff; }
.current-delete { border: 1px solid #f0d3d0; background: #fff7f6; color: #ab4238; }
.current-delete:hover { background: #ffece9; }
.conversation-toolbar-actions button:disabled { opacity: .55; cursor: wait; }
.account-button { min-height: 36px; border: 1px solid #c9def6; border-radius: 999px; padding: 0 17px; background: #f1f7ff; color: var(--blue); font-size: 12px; font-weight: 650; }
.account-button:hover { background: #e6f1ff; }
.account-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--blue); font-weight: 600; }
.logout-button { min-height: 36px; border: 0; border-radius: 999px; padding: 0 9px; background: transparent; color: #77777d; font-size: 12px; }
.logout-button:hover { color: var(--blue); background: #edf4fd; }
.mobile-menu { display: none !important; }
.messages { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 30px max(28px, calc((100% - 780px) / 2)) 32px; display: flex; flex-direction: column; gap: 30px; scrollbar-color: #d2d2d7 transparent; scrollbar-width: thin; }
.welcome { width: 100%; max-width: 780px; margin: auto; padding: 10px 0 16px; }
.welcome-eyebrow { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #dce9f8; border-radius: 999px; padding: 7px 12px; background: #fff; color: #326497; font-size: 11px; font-weight: 600; letter-spacing: .03em; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #47b97c; }
.welcome-symbol { width: 62px; height: 62px; display: block; margin: 17px 0 0; object-fit: contain; }
.welcome h1 { margin: 14px 0 12px; font-size: clamp(32px, 4vw, 46px); font-weight: 680; line-height: 1.18; letter-spacing: -.055em; }
.welcome p { max-width: 590px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.prompt-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 24px 1px 12px; color: #5c5c62; font-size: 12px; font-weight: 650; }
.prompt-heading span:last-child { color: #a2a2a8; font-size: 11px; font-weight: 400; }
.prompt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.prompt-grid button { position: relative; min-height: 115px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #ebebef; border-radius: 18px; padding: 13px 18px; background: #fff; text-align: left; transition: border-color .16s, transform .16s, box-shadow .16s; }
.prompt-grid button:hover { border-color: #a9cfff; box-shadow: 0 10px 28px #005fc00e; transform: translateY(-2px); }
.prompt-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: #edf5ff; color: #0873e5; font-size: 18px; font-weight: 650; line-height: 1; }
.prompt-grid button:nth-child(2) .prompt-icon { background: #eaf9f1; color: #18a668; }
.prompt-grid button:nth-child(3) .prompt-icon { background: #f3efff; color: #8064d9; }
.prompt-grid button:nth-child(4) .prompt-icon { background: #fff3e9; color: #e2863e; }
.prompt-label { margin-top: 7px; color: #77777e; font-size: 11px; }
.prompt-grid strong { margin-top: 2px; color: #29292d; font-size: 14px; font-weight: 580; line-height: 1.45; }
.prompt-grid .prompt-arrow { position: absolute; right: 19px; top: 18px; color: #b4b4bc; font-size: 17px; }
.message { width: 100%; max-width: 780px; flex: none; display: flex; align-items: flex-start; gap: 14px; margin-inline: auto; }
.message.assistant { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 9px; }
.message.user { justify-content: flex-end; }
.avatar { grid-column: 1; grid-row: 1; width: 36px; height: 36px; display: block; object-fit: contain; }
.assistant-content { grid-column: 2; grid-row: 1; min-width: 0; width: 100%; }
.message.user .bubble { max-width: min(85%, 650px); padding: 12px 17px; border-radius: 18px 18px 5px 18px; background: #e8f2ff; color: #173b63; overflow-wrap: anywhere; line-height: 1.7; font-size: 14px; white-space: pre-wrap; }
.user-images { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; margin-bottom: 8px; }
.user-images img { width: 95px; height: 95px; object-fit: contain; border-radius: 13px; border: 1px solid #e4e4e9; background: #fff; }
.user-content { display: flex; flex-direction: column; align-items: flex-end; max-width: 100%; }
.answer { color: #303036; font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.answer p { margin: 0 0 13px; }
.answer p:last-child { margin-bottom: 0; }
.answer h2, .answer h3 { margin: 16px 0 8px; font-size: 15px; font-weight: 700; }
.answer ul, .answer ol { margin: 0 0 12px; padding-left: 24px; }
.answer li { margin: 3px 0; }
.answer code { border-radius: 5px; background: #e9e9ed; padding: 2px 5px; font-size: .92em; }
.answer pre { overflow: auto; border-radius: 12px; background: #eaeaef; padding: 13px; font-size: 12px; line-height: 1.6; }
.answer pre code { padding: 0; background: transparent; }
.answer strong { font-weight: 700; }
.pending .answer { color: #85858d; }
.pending .avatar { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; } }
.composer-dock { flex: none; padding: 13px 24px max(14px, env(safe-area-inset-bottom)); background: linear-gradient(0deg, #f5f5f7 88%, #f5f5f700); }
.composer-area { max-width: 780px; margin: auto; }
.composer { border: 1px solid #dcdce2; border-radius: 22px; background: #fff; padding: 13px 15px 12px; box-shadow: 0 7px 30px #1d1d1f0c; transition: border-color .15s, box-shadow .15s; }
.composer:focus-within { border-color: #85b9f1; box-shadow: 0 7px 30px #0066cc16; }
.model-choice { display: flex; align-items: center; gap: 9px; padding: 0 2px 10px; color: #77777e; font-size: 11px; }
.model-choice label { font-weight: 650; }
.model-choice select { max-width: 230px; min-height: 31px; border: 1px solid #e2e7ef; border-radius: 9px; padding: 3px 10px; background: #f6f9fd; color: #27619d; font-size: 12px; }
.model-choice span { color: #9999a0; }
.composer textarea { display: block; width: 100%; min-height: 39px; max-height: 180px; resize: none; padding: 7px 2px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; line-height: 1.6; overflow-y: auto; }
.composer textarea::placeholder { color: #a2a2a9; }
.composer-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; }
.tools { display: flex; align-items: center; gap: 8px; }
.icon-button { width: 42px; height: 42px; flex: none; display: inline-grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: #67676e; }
.icon-button:hover { background: #f1f5fb; color: var(--blue); }
.attach-button { cursor: pointer; }
#image { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.image-hint { color: #85858d; font-size: 11px; }
.send-button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 13px; background: var(--blue); color: #fff; transition: background .15s, transform .15s; }
.send-button:hover:not(:disabled) { background: var(--blue-deep); transform: translateY(-1px); }
.send-button:disabled { background: #d7d7dd; color: #fff; cursor: default; }
.send-button svg { width: 19px; height: 19px; stroke-width: 2.1; }
.composer-note { margin: 11px 4px 0; text-align: center; color: #93939b; font-size: 10px; line-height: 1.5; }
.note-divider { padding: 0 7px; color: #bdbdc5; }
.attachment-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 1px 10px; }
.attachment-item { position: relative; width: 76px; height: 76px; }
.attachment-item img { width: 100%; height: 100%; object-fit: contain; background: #fff; border: 1px solid #dedee4; border-radius: 11px; }
.attachment-item button { position: absolute; right: -7px; top: -7px; width: 25px; height: 25px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; background: #45454d; color: white; font-size: 15px; line-height: 1; }
.drop-overlay { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 20px; background: #f5f8ffed; pointer-events: none; }
.drop-card { width: min(100%, 520px); min-height: 290px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 2px dashed #80b5f2; border-radius: 24px; background: #ffffffde; color: #245e9d; }
.drop-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: #e9f3ff; font-size: 30px; line-height: 1; }
.drop-card strong { font-size: 19px; }
.drop-card > span:last-child { color: #828e9a; font-size: 12px; }
.auth-backdrop { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 18px; background: #12182680; backdrop-filter: blur(5px); }
.auth-card { position: relative; width: min(100%, 400px); border: 1px solid #ececf1; border-radius: 22px; padding: 30px; background: #fff; box-shadow: 0 24px 70px #1218262e; }
.auth-close { position: absolute; right: 16px; top: 13px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #82828b; font-size: 26px; line-height: 1; }
.auth-close:hover { background: #f1f1f4; }
.auth-logo { display: block; width: 51px; height: 51px; }
.auth-card h2 { margin: 20px 0 8px; font-size: 22px; letter-spacing: -.03em; }
.auth-card > p { margin: 0 0 22px; color: #777780; font-size: 12px; line-height: 1.7; }
.auth-card form { display: grid; gap: 8px; }
.auth-card label { margin-top: 4px; color: #4f4f56; font-size: 12px; font-weight: 600; }
.auth-card input { width: 100%; height: 45px; border: 1px solid #dddde5; border-radius: 10px; padding: 0 13px; background: #fff; color: #25252b; font-size: 14px; }
.auth-card input:focus { border-color: #80b6ef; outline: 2px solid #80b6ef50; }
.auth-error { margin: 4px 0 0; color: #b54235; font-size: 11px; line-height: 1.5; }
.auth-submit { min-height: 45px; margin-top: 9px; border: 0; border-radius: 10px; background: var(--blue); color: white; font-size: 13px; font-weight: 650; }
.auth-submit:hover { background: var(--blue-deep); }
.auth-submit:disabled { opacity: .6; cursor: wait; }
.auth-card > a { display: inline-block; margin-top: 18px; color: var(--blue); font-size: 11px; text-decoration: none; }
.auth-card > a:hover { text-decoration: underline; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 130px; transform: translateX(-50%); max-width: min(90vw, 500px); padding: 12px 17px; border-radius: 12px; background: #292931; box-shadow: 0 6px 24px #14142030; color: white; font-size: 12px; text-align: center; }
.sidebar-scrim { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  .sidebar { width: 238px; }
  .messages { padding-inline: 26px; }
}
@media (max-width: 680px) {
  .sidebar { position: fixed; z-index: 11; top: 0; bottom: 0; left: 0; width: min(290px, 84vw); transform: translateX(-100%); transition: transform .22s ease; box-shadow: 10px 0 30px #17221b14; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-scrim:not([hidden]) { position: fixed; z-index: 10; inset: 0; display: block; background: #12182678; }
  .mobile-menu { display: inline-grid !important; margin-left: -8px; }
  .topbar { height: 63px; padding: 0 15px; gap: 8px; }
  .topbar-title strong { font-size: 14px; }
  .topbar-title small { display: none; }
  .topbar-right { gap: 5px; }
  .conversation-toolbar { min-height: 51px; padding: 7px 14px; gap: 8px; }
  .conversation-toolbar-actions { gap: 6px; }
  .conversation-toolbar-actions button { min-height: 36px; padding: 0 9px; font-size: 11px; }
  .messages { padding: 18px 20px 22px; gap: 25px; }
  .welcome { margin: 0 auto; padding: 24px 0 22px; }
  .welcome-symbol { width: 57px; height: 57px; margin-top: 23px; }
  .welcome h1 { font-size: clamp(31px, 8vw, 38px); }
  .welcome p { font-size: 13px; }
  .prompt-heading { margin-top: 31px; }
  .prompt-grid { gap: 9px; }
  .prompt-grid button { min-height: 126px; padding: 14px; border-radius: 15px; }
  .prompt-grid strong { font-size: 12px; }
  .prompt-grid .prompt-arrow { right: 12px; top: 11px; }
  .composer-dock { padding: 8px 12px max(9px, env(safe-area-inset-bottom)); }
  .composer { border-radius: 18px; padding: 9px 11px 8px; }
  .composer-note { font-size: 9px; margin-top: 7px; }
  .message.user .bubble { max-width: 95%; }
  .user-images img { width: 75px; height: 75px; }
}
@media (max-width: 480px) {
  .prompt-grid { grid-template-columns: 1fr; }
  .prompt-grid button { min-height: 78px; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; align-content: center; }
  .prompt-icon { grid-column: 1; grid-row: 1 / 3; align-self: center; }
  .prompt-label { grid-column: 2; grid-row: 1; margin-top: 0; }
  .prompt-grid strong { grid-column: 2; grid-row: 2; padding-right: 16px; }
  .prompt-grid .prompt-arrow { right: 14px; top: 26px; }
  .model-choice { gap: 6px; flex-wrap: wrap; }
  .model-choice select { max-width: min(62vw, 230px); }
  .model-choice span { display: none; }
  .composer-note { max-width: 320px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Answer headings and self-hosted KaTeX formulas. */
.answer h1,.answer h2,.answer h3,.answer h4,.answer h5,.answer h6{line-height:1.5;margin:1.1em 0 .5em;color:var(--text,#202527)}
.answer h1{font-size:23px}.answer h2{font-size:21px}.answer h3{font-size:19px}.answer h4{font-size:17px}.answer h5,.answer h6{font-size:16px}
.answer p{white-space:normal}.answer .katex{font-size:1.08em}.answer .katex-display{max-width:100%;overflow-x:auto;overflow-y:hidden;margin:.8em 0;padding:.35em 0}.answer .katex-display>.katex{white-space:nowrap}.assistant-content{min-width:0}

.knowledge-link{margin:4px 9px 16px;color:var(--green);font-size:13px;text-decoration:none}.knowledge-page{height:auto;overflow:auto;background:#f5f5f7}.knowledge-page main{max-width:1120px;margin:auto;padding:36px 24px 64px}.knowledge-back{color:#204a3d;text-decoration:none;font-size:14px}.knowledge-page h1{margin:24px 0 12px;font-size:32px}.knowledge-intro{color:#626268;line-height:1.8}.knowledge-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:28px 0}.knowledge-summary article{padding:24px;background:white;border:1px solid #e3e3e8;border-radius:18px;display:flex;flex-direction:column;gap:10px}.knowledge-summary strong{font-size:30px;color:#204a3d}.knowledge-summary small{line-height:1.6;color:#727278}.knowledge-page section{margin-top:28px;padding:24px;background:white;border:1px solid #e3e3e8;border-radius:18px}.knowledge-page section h2{font-size:19px;margin:0 0 12px}.knowledge-page section p{font-size:14px;line-height:1.9;color:#53535a}.knowledge-table{overflow-x:auto}.knowledge-table table{border-collapse:collapse;width:100%;min-width:700px}.knowledge-table th,.knowledge-table td{text-align:left;padding:13px 10px;border-bottom:1px solid #ececf0;font-size:13px;line-height:1.6}.knowledge-table th{color:#74747c}.knowledge-table a{color:#204a3d}.knowledge-date{color:#777781;font-size:12px;line-height:1.8;margin-top:24px}@media(max-width:680px){.knowledge-page main{padding:24px 16px 40px}.knowledge-summary{grid-template-columns:1fr}.knowledge-page section{padding:20px}.knowledge-page h1{font-size:28px}}



.answer-incomplete{color:#8b5d20;font-size:13px;border-left:3px solid #d6ad69;padding-left:12px}.continue-answer{border:1px solid #c9d8d3;border-radius:9px;background:#fff;color:#204a3d;padding:7px 13px;font-size:13px;cursor:pointer;margin-top:12px}.continue-answer:hover{background:#edf4f1}

/* CommonMark/GFM content. Wide tables, code and equations scroll within the answer. */
.answer > :first-child { margin-top: 0; }
.answer > :last-child { margin-bottom: 0; }
.answer ul { list-style-type: disc; }
.answer ul ul { list-style-type: circle; }
.answer ul ul ul { list-style-type: square; }
.answer li > ul, .answer li > ol { margin: .35em 0; }
.answer li > p { margin: .35em 0; }
.answer blockquote { margin: 1em 0; padding: .3em 1em; border-left: 3px solid #a7bdb5; color: #53645d; background: #f2f6f4; }
.answer hr { border: 0; border-top: 1px solid #dce3df; margin: 1.2em 0; }
.answer a { color: #286a55; text-decoration: underline; text-underline-offset: 3px; }
.answer pre { max-width: 100%; white-space: pre; overflow-wrap: normal; }
.answer pre code { white-space: pre; }
.answer-table-scroll { max-width: 100%; overflow-x: auto; margin: .8em 0 1em; border: 1px solid #d7dfdb; border-radius: 9px; overscroll-behavior-x: contain; }
.answer-table-scroll:focus-visible { outline: 2px solid #43866f; outline-offset: 2px; }
.answer table { width: max-content; min-width: 100%; border-collapse: collapse; font-size: .94em; line-height: 1.65; }
.answer th, .answer td { min-width: 5em; max-width: 24em; padding: 9px 12px; border-right: 1px solid #d7dfdb; border-bottom: 1px solid #d7dfdb; vertical-align: top; overflow-wrap: normal; }
.answer th { font-weight: 650; background: #edf3ef; }
.answer th:last-child, .answer td:last-child { border-right: 0; }
.answer tbody tr:last-child td { border-bottom: 0; }
.answer tbody tr:nth-child(even) { background: #f8faf9; }
.answer .task-list-item { list-style-type: none; }
.answer .task-list-item-checkbox { margin: 0 .45em 0 -1.25em; accent-color: #39795f; vertical-align: middle; }
.answer .footnotes { font-size: .9em; color: #64716a; }
.answer .footnote-ref { line-height: 0; }
.answer .footnote-backref { text-decoration: none; }
.answer .katex-error { white-space: pre-wrap; overflow-wrap: anywhere; }
.answer-plain-fallback { white-space: pre-wrap; }

/* Keep the original visual system; shorten repeated status copy only. */
.composer-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.model-choice #model-note:not([hidden]) { display: inline; }
