.kc {
    --kc-line: var(--platform-border, #dfe4df);
    --kc-soft: var(--platform-surface-soft, #f3f7f4);
    --kc-muted: var(--platform-muted, #66706d);
    --kc-accent: var(--platform-accent, #0a7a43);
    color: var(--platform-text, #17211f);
    font: 14px/1.6 system-ui, -apple-system, "Microsoft YaHei", sans-serif;
    min-width: 0;
    container-type: inline-size;
}
.kc *, .kc *::before, .kc *::after { box-sizing: border-box; }
.kc [hidden] { display: none !important; }
.kc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
.kc h1 { font-size: 23px; font-weight: 650; margin: 0; }
.kc h2 { font-size: 16px; font-weight: 650; margin: 0; }
.kc-subtle { color: var(--kc-muted); font-size: 12px; }
.kc-head p { margin: 2px 0 0; }
.kc-badge { font-size: 12px; border: 1px solid var(--kc-line); border-radius: 4px; padding: 3px 8px; background: var(--kc-soft); white-space: nowrap; }
.kc-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--kc-line); margin-bottom: 14px; }
.kc-tab { padding: 9px 17px; background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--kc-muted); cursor: pointer; font: inherit; }
.kc-tab[aria-selected="true"] { color: var(--kc-accent); border-bottom-color: var(--kc-accent); font-weight: 650; }
.kc button:focus-visible, .kc input:focus-visible, .kc select:focus-visible, .kc textarea:focus-visible, .kc-drawer button:focus-visible { outline: 2px solid var(--kc-accent); outline-offset: 2px; }
.kc-button { font: inherit; font-size: 13px; min-height: 34px; padding: 5px 12px; border: 1px solid var(--kc-line); border-radius: 5px; background: #fff; color: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.kc-button:hover { background: var(--kc-soft); }
.kc-button.kc-primary { background: var(--kc-accent); color: #fff; border-color: var(--kc-accent); }
.kc-button:disabled { cursor: not-allowed; opacity: .55; }
.kc-input { font: inherit; color: inherit; min-height: 34px; padding: 5px 9px; background: #fff; border: 1px solid var(--kc-line); border-radius: 5px; min-width: 0; }
.kc-panel { background: var(--platform-surface, #fff); border: 1px solid var(--kc-line); border-radius: 7px; overflow: hidden; min-width: 0; }
.kc-notice { border: 1px solid #d7e5df; background: var(--kc-soft); padding: 9px 12px; border-radius: 5px; font-size: 12px; margin-bottom: 12px; }
.kc-notice.is-error { border-color: #efc9c9; color: #8d2929; background: #fff6f6; }
.kc-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; border-bottom: 1px solid var(--kc-line); }
.kc-toolbar .kc-input[type="search"] { width: min(350px, 100%); }
.kc-toolbar .kc-spacer { flex: 1; }
.kc-empty { text-align: center; color: var(--kc-muted); padding: 46px 20px; font-size: 13px; }
.kc-table-wrap { overflow-x: auto; }
.kc-pagination { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; padding: 10px 12px; border-top: 1px solid var(--kc-line); }
.kc-pagination-count { margin-right: auto; }
.kc-pagination .kc-button, .kc-pagination .kc-subtle { white-space: nowrap; }
.kc-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.kc-table th { font-size: 12px; font-weight: 550; color: var(--kc-muted); background: var(--kc-soft); white-space: nowrap; }
.kc-table td, .kc-table th { padding: 10px 12px; border-bottom: 1px solid var(--kc-line); vertical-align: top; }
.kc-table tr:last-child td { border-bottom: 0; }
.kc-table td:first-child { min-width: 220px; }
.kc-title-link { border: 0; padding: 0; color: var(--platform-primary, #0b332f); background: none; text-align: left; font: inherit; font-weight: 550; cursor: pointer; }
.kc-title-link:hover { text-decoration: underline; }
.kc-id { color: var(--kc-muted); font-size: 11px; overflow-wrap: anywhere; }
.kc-row-actions { display: flex; gap: 6px; white-space: nowrap; }
.kc-state { font-size: 12px; white-space: nowrap; }
.kc-state.is-warning { color: #92611c; }
.kc-chat-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); height: min(680px, calc(100dvh - 245px)); min-height: 420px; }
.kc-chat-layout.history-hidden { grid-template-columns: minmax(0, 1fr); }
.kc-history { padding: 10px; border-right: 1px solid var(--kc-line); overflow-y: auto; background: var(--kc-soft); }
.kc-history-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 10px; }
.kc-history-item { display: block; width: 100%; padding: 8px; margin-bottom: 4px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: inherit; text-align: left; font: inherit; font-size: 12px; cursor: pointer; overflow-wrap: anywhere; }
.kc-history-item:hover, .kc-history-item[aria-current="true"] { background: #fff; border-color: var(--kc-line); }
.kc-chat { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.kc-chat-bar { padding: 9px 12px; border-bottom: 1px solid var(--kc-line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kc-messages { flex: 1; overflow-y: auto; padding: 18px; }
.kc-message { margin: 0 0 18px; }
.kc-message-label { font-size: 11px; color: var(--kc-muted); margin-bottom: 4px; }
.kc-message-content { font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; }
.kc-message.is-user .kc-message-content { background: var(--kc-soft); padding: 10px 12px; border-radius: 5px; }
.kc-citations { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.kc-citations .kc-button { min-height: 28px; font-size: 12px; text-align: left; }
.kc-compose { border-top: 1px solid var(--kc-line); background: #fff; padding: 12px; }
.kc-compose textarea { display: block; width: 100%; min-height: 68px; max-height: 180px; resize: vertical; }
.kc-compose-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.kc-mode { max-width: 230px; }
.kc-admin-summary { padding: 12px; border-bottom: 1px solid var(--kc-line); color: var(--kc-muted); font-size: 12px; }
.kc-sync { margin: 12px; border: 1px solid var(--kc-line); border-radius: 6px; background: #fff; }
.kc-sync > summary { cursor: pointer; padding: 11px 12px; font-size: 14px; font-weight: 650; }
.kc-sync[open] > summary { border-bottom: 1px solid var(--kc-line); }
.kc-sync-body { padding: 12px; }
.kc-sync-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.kc-sync-bar > .kc-subtle { flex: 1; min-width: 160px; }
.kc-sync-feedback { white-space: pre-wrap; overflow-wrap: anywhere; }
.kc-sync-summary { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; color: var(--kc-muted); padding: 8px 0; }
.kc-sync-candidates { border-top: 1px solid var(--kc-line); }
.kc-candidate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, .55fr) auto; align-items: start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--kc-line); font-size: 13px; }
.kc-candidate h3 { margin: 0 0 3px; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.kc-candidate p { margin: 3px 0 0; }
.kc-candidate .kc-state { white-space: normal; overflow-wrap: anywhere; }
.kc-candidate-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.kc-candidate.is-blocked { color: var(--kc-muted); }
.kc-confirmed { color: var(--kc-accent); font-size: 12px; font-weight: 600; }
.kc-batch-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding-top: 12px; }
.kc-batch-bar > span { flex: 1; min-width: 130px; }
.kc-sync-jobs { margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--kc-line); }
.kc-sync-jobs h3 { margin: 0; font-size: 13px; font-weight: 650; }
.kc-job { padding: 10px 0; border-bottom: 1px solid var(--kc-line); }
.kc-job:last-child { border-bottom: 0; }
.kc-job-heading { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; font-size: 12px; }
.kc-job-progress { width: 100%; height: 6px; margin-top: 8px; accent-color: var(--kc-accent); }
.kc-job-items { margin: 5px 0 0; padding-left: 18px; font-size: 12px; color: var(--kc-muted); }
.kc-review-metadata { margin-bottom: 12px; font-size: 12px; overflow-wrap: anywhere; }
.kc-review-metadata p { margin: 4px 0; }
.kc-review-body { margin: 12px 0; }
.kc-review-body > summary { font-size: 13px; font-weight: 600; cursor: pointer; }
.kc-review-body pre { max-height: 310px; overflow-y: auto; background: var(--platform-surface-soft, #f3f7f4); padding: 12px; border-radius: 4px; font-size: 12px; line-height: 1.7; }
.kc-review-basis { width: 100%; min-height: 90px; resize: vertical; font: inherit; padding: 8px; box-sizing: border-box; border: 1px solid var(--platform-border, #dfe4df); border-radius: 4px; }
.kc-batch-entry { padding: 10px 0; border-bottom: 1px solid var(--platform-border, #dfe4df); font-size: 12px; overflow-wrap: anywhere; }
.kc-batch-entry strong { display: block; font-size: 13px; }
.kc-overlay { position: fixed; inset: 0; z-index: 130; background: rgba(8, 27, 24, .27); }
.kc-drawer { --kc-line: var(--platform-border, #dfe4df); --kc-soft: var(--platform-surface-soft, #f3f7f4); --kc-muted: var(--platform-muted, #66706d); --kc-accent: var(--platform-accent, #0a7a43); position: fixed; top: 0; bottom: 0; right: 0; width: min(640px, 95vw); z-index: 131; padding: 0; display: flex; flex-direction: column; background: #fff; color: var(--platform-text, #17211f); box-shadow: -5px 0 30px #0002; font: 14px/1.65 system-ui, "Microsoft YaHei", sans-serif; }
.kc-drawer-head { padding: 16px 20px; border-bottom: 1px solid var(--platform-border, #dfe4df); display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.kc-drawer-head h2 { font-size: 17px; margin: 0 0 4px; }
.kc-drawer-content { flex: 1; padding: 18px 20px; overflow-y: auto; }
.kc-document-body { white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.85 system-ui, "Microsoft YaHei", sans-serif; margin: 0; }
.kc-excerpt { border-left: 3px solid var(--platform-accent, #0a7a43); padding: 8px 12px; margin-bottom: 18px; background: var(--platform-surface-soft, #f3f7f4); white-space: pre-wrap; overflow-wrap: anywhere; }
.kc-form-label { display: block; margin: 0 0 16px; font-size: 13px; }
.kc-form-label > span { display: block; font-weight: 600; margin-bottom: 5px; }
.kc-form-label select { width: 100%; }
.kc-principals { display: grid; gap: 5px; border: 1px solid var(--platform-border, #dfe4df); border-radius: 5px; padding: 8px; max-height: 220px; overflow-y: auto; }
.kc-check { display: flex; gap: 8px; align-items: flex-start; margin: 9px 0; font-size: 13px; }
.kc-check input { margin-top: 4px; accent-color: var(--platform-accent, #0a7a43); }
.kc-drawer-foot { padding: 12px 20px; border-top: 1px solid var(--platform-border, #dfe4df); display: flex; justify-content: flex-end; gap: 8px; }
@media (max-width: 850px) {
    .kc-chat-layout { grid-template-columns: 170px minmax(0, 1fr); }
    .kc-table .kc-secondary-col { display: none; }
}
@media (max-width: 600px) {
    .kc-sync { margin: 9px; }
    .kc-sync-body { padding: 9px; }
    .kc-candidate { grid-template-columns: minmax(0, 1fr); gap: 5px; }
    .kc-candidate-actions { justify-content: flex-start; }
    .kc-head { align-items: flex-start; gap: 8px; }
    .kc h1 { font-size: 21px; }
    .kc-head .kc-badge { font-size: 11px; }
    .kc-tab { flex: 1; padding: 8px; }
    .kc-chat-layout { display: block; height: calc(100dvh - 242px); min-height: 420px; position: relative; }
    .kc-history { position: absolute; z-index: 2; inset: 43px auto 0 0; width: 220px; box-shadow: 4px 0 15px #0001; }
    .kc-chat { height: 100%; }
    .kc-messages { padding: 12px; }
    .kc-compose { padding: 9px; }
    .kc-compose-actions { align-items: flex-start; }
    .kc-compose-actions .kc-subtle { max-width: 185px; font-size: 11px; }
    .kc-toolbar .kc-input[type="search"] { flex: 1; width: auto; }
    .kc-table td, .kc-table th { padding: 9px; }
    .kc-table td:first-child { min-width: 170px; }
    .kc-drawer-content, .kc-drawer-head { padding: 14px; }
}
/* The platform sidebar also reduces available width on desktop; respond to the module, not only the viewport. */
@container (max-width: 850px) {
    .kc-chat-layout { grid-template-columns: 170px minmax(0, 1fr); }
    .kc-table .kc-secondary-col { display: none; }
}
@container (max-width: 600px) {
    .kc-sync { margin: 9px; }
    .kc-sync-body { padding: 9px; }
    .kc-candidate { grid-template-columns: minmax(0, 1fr); gap: 5px; }
    .kc-candidate-actions { justify-content: flex-start; }
    .kc-head { align-items: flex-start; gap: 8px; }
    .kc h1 { font-size: 21px; }
    .kc-head .kc-badge { font-size: 11px; }
    .kc-tab { flex: 1; padding: 8px; }
    .kc-chat-layout { display: block; height: calc(100dvh - 242px); min-height: 420px; position: relative; }
    .kc-history { position: absolute; z-index: 2; inset: 43px auto 0 0; width: 220px; box-shadow: 4px 0 15px #0001; }
    .kc-chat { height: 100%; }
    .kc-messages { padding: 12px; }
    .kc-compose { padding: 9px; }
    .kc-compose-actions { align-items: flex-start; }
    .kc-compose-actions .kc-subtle { max-width: 185px; font-size: 11px; }
    .kc-toolbar .kc-input[type="search"] { flex: 1; width: auto; }
    .kc-table td, .kc-table th { padding: 9px; }
    .kc-table td:first-child { min-width: 170px; }
}

/* Knowledge workbench: quiet jade, editorial hierarchy, no external fonts/assets. */
.kc {
    --kc-accent: var(--platform-primary, #174e43);
    --kc-soft: #f3f6f3;
    --kc-line: #dce4dd;
    --kc-muted: #69776f;
    color: #233c34;
    font-size: 14px;
}
.kc-head { margin-bottom: 17px; }
.kc h1 { font-size: 25px; letter-spacing: -.7px; font-weight: 650; }
.kc-head p { margin-top: 4px; font-size: 12px; }
.kc-badge { background: #f9faf7; border-radius: 20px; padding: 5px 11px; color: #53685d; }
.kc-tabs { gap: 24px; margin-bottom: 16px; }
.kc-tab { padding: 9px 2px 11px; font-size: 13px; }
.kc-tab:hover { color: var(--kc-accent); }
.kc-panel { border-radius: 12px; box-shadow: 0 4px 22px #183b3205; }
.kc-button, .kc-input { border-radius: 7px; }
.kc-button { transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease; }
.kc-button.kc-primary { background: #215a49; border-color: #215a49; padding-inline: 19px; }
.kc-button.kc-primary:hover:not(:disabled) { background: #163f34; border-color: #163f34; box-shadow: 0 3px 9px #163f341a; }
.kc-icon { display: inline-block; width: 18px; height: 18px; flex: 0 0 18px; vertical-align: middle; }
.kc-chat-layout { grid-template-columns: 222px minmax(0, 1fr); height: min(790px, calc(100dvh - 277px)); min-height: 440px; }
.kc-history { padding: 18px 13px; background: #f4f6f2; display: flex; flex-direction: column; }
.kc-history-head { margin: 0 3px 17px; flex-wrap: wrap; gap: 5px; }
.kc-history-title { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.kc-history-title .kc-icon { width: 16px; height: 16px; flex-basis: 16px; color: #657b6d; }
.kc-history-private { color: #718074; font-size: 10px; }
.kc-new-question { width: 100%; justify-content: flex-start; min-height: 36px; margin-bottom: 18px; padding-left: 11px; background: #fff; color: #215a49; border-color: #cbdacf; font-weight: 600; }
.kc-history-item { padding: 10px; font-size: 12px; line-height: 1.65; border-radius: 7px; margin: 0 0 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kc-history-item:hover { background: #e9eee7; border-color: transparent; }
.kc-history-item[aria-current="true"] { color: #174e43; background: #fff; border-color: #d1ddd1; box-shadow: 0 2px 5px #183b3205; }
.kc-chat { background: #fff; min-height: 0; }
.kc-chat-bar { min-height: 47px; padding: 8px 20px; border-color: #edf0eb; }
.kc-chat-bar .kc-button { min-height: 28px; font-size: 11px; padding: 3px 7px; border-color: transparent; color: #63766b; }
.kc-chat-boundary { display: flex; align-items: center; gap: 5px; color: #5c7566; font-size: 11px; white-space: nowrap; }
.kc-chat-boundary .kc-icon { width: 13px; height: 13px; flex-basis: 13px; }
.kc-feedback { display: none; }
.kc-messages { padding: 13px clamp(18px, 4cqi, 58px); display: flex; flex-direction: column; overscroll-behavior: contain; min-height: 0; }
.kc-welcome { flex: 0 0 auto; width: min(100%, 680px); margin: auto; padding: 0; text-align: left; }
.kc-welcome-eyebrow { display: flex; align-items: center; gap: 8px; color: #4c725e; font-size: 11px; letter-spacing: 1px; margin-bottom: 9px; }
.kc-welcome h2 { font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif; font-size: clamp(24px, 2.7cqi, 33px); font-weight: 500; color: #204b3b; letter-spacing: -.4px; line-height: 1.5; text-wrap: balance; }
.kc-welcome-description { font-size: 12px; color: #6b7a70; line-height: 1.9; margin: 8px 0 16px; max-width: 600px; }
.kc-suggestions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kc-suggestion { border-color: #e1e7dc; background: #fafbf7; padding: 10px 13px; justify-content: space-between; text-align: left; min-height: 68px; align-items: center; gap: 12px; }
.kc-suggestion:hover { background: #f1f5ed; border-color: #bccdbb; }
.kc-suggestion .kc-icon { width: 17px; height: 17px; flex-basis: 17px; color: #5d7e61; transition: transform 150ms ease; }
.kc-suggestion:hover .kc-icon { transform: translateX(3px); }
.kc-suggestion-text { display: grid; gap: 5px; min-width: 0; }
.kc-suggestion-category { font-size: 10px; color: #72876f; letter-spacing: .6px; }
.kc-suggestion-question { font-size: 12px; line-height: 1.65; color: #344d3c; }
.kc-browse-link { border: 0; background: transparent; padding: 0; min-height: 24px; font-size: 11px; color: #6b7a70; margin-top: 8px; gap: 7px; }
.kc-browse-link:hover { background: transparent; color: #215a49; }
.kc-browse-link .kc-icon { width: 13px; height: 13px; flex-basis: 13px; }
.kc-message { max-width: 760px; width: 100%; margin: 0 auto 25px; animation: kc-appear 180ms ease-out; }
.kc-message-label { display: flex; align-items: center; gap: 7px; color: #61746a; font-size: 11px; margin-bottom: 9px; }
.kc-message:not(.is-user) .kc-message-label::before { content: "知"; display: grid; place-items: center; width: 21px; height: 21px; background: #285844; color: #fff; border-radius: 5px; font-size: 11px; }
.kc-message-content { font-size: 14px; line-height: 1.95; color: #2c4036; }
.kc-message.is-user { padding-left: 24px; }
.kc-message.is-user .kc-message-label { justify-content: flex-end; }
.kc-message.is-user .kc-message-content { background: #f1f5ee; border: 1px solid #e4ebdf; border-radius: 10px 2px 10px 10px; padding: 11px 15px; }
.kc-citations { border-top: 1px solid #e7ece3; margin-top: 17px; padding-top: 12px; gap: 7px; }
.kc-citations-title { flex: 0 0 100%; font-size: 10px; letter-spacing: .3px; color: #728071; }
.kc-citations .kc-button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; justify-content: flex-start; color: #3d6350; border-color: #d8e3d3; background: #f8faf5; border-radius: 6px; font-size: 11px; }
.kc-compose { border: 0; background: #fff; padding: 9px clamp(18px, 3cqi, 40px) 15px; }
.kc-compose-box { border: 1px solid #cfdbcc; background: #fff; border-radius: 11px; box-shadow: 0 3px 14px #244d3810; transition: border-color 150ms ease, box-shadow 150ms ease; }
.kc-compose-box:focus-within { border-color: #739979; box-shadow: 0 0 0 3px #41744a0c; }
.kc-compose textarea { border: 0; outline: none; box-shadow: none; border-radius: 11px; min-height: 62px; max-height: 144px; padding: 12px 14px 5px; resize: vertical; font-size: 13px; line-height: 1.7; background: transparent; }
.kc-compose textarea:focus-visible { outline: none; }
.kc-compose textarea::placeholder { color: #829084; }
.kc-compose-actions { padding: 3px 8px 8px; margin-top: 0; gap: 8px; }
.kc-mode { max-width: 200px; min-height: 30px; background: #f4f7f1; border-color: transparent; font-size: 11px; padding: 3px 8px; }
.kc-compose-actions .kc-primary { min-height: 31px; font-size: 12px; }
.kc-compose-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin: 8px 2px 0; }
.kc-compose-foot .kc-subtle, .kc-shortcut { font-size: 10px; color: #748274; line-height: 1.7; }
.kc-shortcut { white-space: nowrap; }
.kc-working { margin: 0 24px 6px; color: #58715e; font-size: 11px; }
.kc-working::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #54845a; animation: kc-pulse 1.2s ease-in-out infinite; }
@keyframes kc-appear { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes kc-pulse { 50% { opacity: .3; } }
@container (max-width: 850px) {
    .kc-chat-layout { grid-template-columns: 186px minmax(0, 1fr); }
    .kc-history { padding: 15px 10px; }
    .kc-history-private { display: none; }
    .kc-messages { padding: 19px 22px; }
    .kc-welcome h2 { font-size: 26px; }
    .kc-welcome-description { margin-bottom: 17px; }
}
@container (max-width: 600px) {
    .kc-head { margin-bottom: 12px; flex-wrap: wrap; }
    .kc h1 { font-size: 22px; }
    .kc-badge { white-space: normal; font-size: 10px; padding: 3px 8px; }
    .kc-tabs { gap: 23px; margin-bottom: 12px; }
    .kc-tab { flex: 0 1 auto; padding: 8px 0; font-size: 12px; }
    .kc-chat-layout { display: block; height: max(550px, calc(100dvh - 225px)); min-height: 500px; }
    .kc-history { top: 47px; width: min(250px, 85%); background: #f4f6f2; box-shadow: 8px 4px 24px #183b3220; }
    .kc-chat-bar { padding: 8px 12px; }
    .kc-messages { padding: 20px 17px; }
    .kc-welcome h2 { font-size: 27px; }
    .kc-welcome-description { font-size: 12px; margin: 10px 0 19px; }
    .kc-suggestions { grid-template-columns: 1fr; gap: 8px; }
    .kc-suggestion { min-height: 66px; padding: 10px 12px; }
    .kc-suggestion-text { gap: 3px; }
    .kc-compose { padding: 8px 12px 12px; }
    .kc-compose-actions { align-items: center; }
    .kc-compose-foot .kc-subtle { max-width: none; font-size: 10px; }
    .kc-shortcut { display: none; }
    .kc-message.is-user { padding-left: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .kc *, .kc *::before, .kc *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 600px) {
    /* The toolbar delegates to the original report action; never cover the composer. */
    #app:has(#knowledgeCenterPage:not(.hidden)) .platform-report-button {
        display: none !important;
    }
    .kc-feedback { display: inline-flex; }
}
