/* 各部门共用同一工作区，额外业务工具不增加一层页面标题。 */
.employee-workspace:has(.employee-ai-view:not([hidden])) {gap:8px!important;height:calc(100dvh - 96px);}
.employee-workspace:has(.employee-ai-view:not([hidden])) > div:first-child {min-height:32px;gap:16px!important;}
.employee-workspace:has(.employee-ai-view:not([hidden])) > div:first-child > div > .ant-typography:last-child:not(h3) {display:none;}
.employee-workspace > div:first-child h3 {font-size:20px;margin:0!important;line-height:32px;}
.employee-workspace [aria-label="工作方式"] {min-height:32px;}
.assistant-header > div:first-child > .ant-typography:last-child:not(h5) {display:none;}
.assistant-main,.assistant-main:has(.assistant-empty) {grid-template-rows:44px minmax(0,1fr) auto;}
.assistant-header {padding:6px 24px;min-height:44px;}
.assistant-header h5 {margin:0;}
.assistant-sidebar {width:232px;min-width:0;padding:12px;}
.assistant-page {grid-template-columns:232px minmax(0,1fr);}
.assistant-resource-menu {margin:8px 0 0;}
.assistant-resource-menu > summary {cursor:pointer;list-style:none;padding:8px 10px;border-radius:6px;color:#595959;}
.assistant-resource-menu > summary::after {content:'⌄';float:right;}
.assistant-resource-menu > summary:hover {background:#edf2fa;}
.assistant-resource-menu[open] > summary {background:#edf2fa;color:#1677ff;}
.assistant-resource-menu .assistant-shortcuts {display:grid;grid-template-columns:1fr;gap:2px;margin-top:4px;}
.assistant-resource-menu .assistant-shortcuts .ant-btn {justify-content:flex-start;text-align:left;}
.assistant-sidebar .ant-divider {margin:12px 0;}
.assistant-main .assistant-messages {padding-top:16px;padding-bottom:16px;}
.message-author {font-size:12px;color:#8c8c8c;}
.message-row {margin-bottom:24px;}
.message-actions {display:flex;gap:8px;margin-top:6px;align-items:flex-start;}
.message-more {position:relative;}
.message-more > summary {cursor:pointer;color:#8c8c8c;font-size:12px;list-style:none;padding:3px 8px;}
.message-more[open] {border:1px solid #f0f0f0;border-radius:6px;padding-bottom:4px;background:#fafafa;}
.message-more[open] > .ant-btn {display:block;}
.workplace-result-scroll {overflow-x:auto;margin:12px 0;}
.workplace-result-table {border-collapse:collapse;width:100%;font-size:13px;white-space:normal;}
.workplace-result-table caption {text-align:left;color:#595959;font-size:12px;padding:0 0 8px;}
.workplace-result-table th,.workplace-result-table td {padding:10px 12px;border-bottom:1px solid #f0f0f0;text-align:left;vertical-align:top;min-width:110px;}
.workplace-result-table th {background:#fafafa;font-weight:500;}
.workplace-result-table td:first-child {font-variant-numeric:tabular-nums;white-space:nowrap;}
.workplace-result-table tbody tr:hover {background:#f7faff;}
.assistant-composer-wrap {padding-bottom:10px!important;}
@media (prefers-reduced-motion:no-preference) {.assistant-resource-menu summary,.workplace-result-table tr {transition:background-color .15s ease;}}
