/* 问数准备与运营使用浅灰白底和淡紫强调色，所有授权状态都是前端演示。 */
.nav-item[hidden] { display: none; }
.account.active { background: #ece9f7; }
.profile-navigation { display: flex; flex-wrap: wrap; align-items: stretch; gap: 30px; min-height: 58px; margin-bottom: 20px; border-bottom: 1px solid #dedff7; }
.profile-navigation button { display: flex; align-items: center; padding: 0 2px; border: 0; border-bottom: 3px solid transparent; background: none; color: #647294; font: inherit; font-size: 12px; }
.profile-navigation button:hover { color: #6245ed; }
.profile-navigation button.active { border-bottom-color: #6245ed; color: #6245ed; font-weight: 700; }
.profile-shortcuts { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.profile-shortcuts button { min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 20px; text-align: left; border: 1px solid var(--theme-border); border-radius: 11px; background: var(--theme-surface); color: var(--theme-blue); }
.profile-shortcuts button:hover { border-color: #b6add8; background: #faf9fd; }
.profile-shortcuts button > svg:first-child { grid-column: 1 / -1; width: 23px; height: 23px; }
.profile-shortcuts strong { color: var(--theme-ink); font-size: 14px; }
.profile-shortcuts small { grid-column: 1 / -1; grid-row: 3; color: var(--theme-muted); font-size: 11px; line-height: 1.6; }
.profile-shortcuts button > svg:last-child { grid-column: 2; grid-row: 2; width: 15px; height: 15px; }
.my-feedback-list { display: grid; gap: 14px; }
.my-feedback-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px; border: 1px solid var(--theme-border); border-radius: 11px; background: var(--theme-surface); }
.my-feedback-card > div { min-width: 0; }
.my-feedback-card p { color: var(--theme-muted); font-size: 12px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.my-feedback-card small { color: var(--theme-muted); font-size: 11px; }
.personal-workspace { display: flex; flex-direction: column; width: 100%; max-width: none; height: 100%; min-height: 100%; padding: 24px; }
#myDataPage .personal-workspace,
#myFeedbackPage .personal-workspace { padding-top: 0; }
#myDataPage .personal-workspace { position: relative; }
#myDataPage .personal-storage { position: absolute; top: 17px; right: 24px; z-index: 2; width: auto; }
.personal-workspace > .page-view-heading { min-height: 54px; align-items: center; padding: 0 4px; margin-bottom: 16px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.personal-workspace > .page-view-heading h1 { margin: 0 0 6px; font-size: 20px; letter-spacing: 0; }
.personal-workspace > .page-view-heading p { font-size: 11px; }
.personal-workspace > .page-view-heading::after { display: none; }
.personal-workspace .profile-layout { max-width: none; }
.personal-skill-workspace, .personal-data-shell { min-width: 0; border: 1px solid #ffffffc9; border-radius: 16px; background: #ffffffed; box-shadow: 0 12px 36px #838ad509; }
.personal-skill-workspace { display: grid; flex: 1; grid-template-columns: 220px minmax(0, 1fr); align-items: stretch; min-height: 0; }
.personal-skill-workspace[hidden] { display: none !important; }
.personal-category-panel { min-width: 0; padding: 24px 14px; border-right: 1px solid #eef0f8; border-radius: 16px 0 0 16px; background: linear-gradient(180deg, #fff, #fcfcff); }
.personal-skill-content { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 24px; }
.personal-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 10px 16px; color: #262d50; font-size: 13px; font-weight: 650; }
.text-action { border: 0; background: none; color: var(--theme-blue); font: inherit; font-size: 12px; }
.personal-category-panel .search-field { width: 100%; }
.personal-category-tree { display: grid; gap: 4px; max-height: 520px; margin-top: 12px; overflow: auto; }
.personal-category-row { display: flex; align-items: center; gap: 3px; min-width: 0; }
.personal-category-item { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 36px; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; color: #647294; text-align: left; font: inherit; font-size: 12px; }
.personal-category-row .personal-category-item { flex: 1; min-width: 0; }
.personal-category-actions { position: relative; flex: none; }
.personal-category-actions summary { display: grid; place-items: center; width: 24px; height: 27px; padding: 0; list-style: none; border-radius: 6px; background: #f6f7fb; color: #7e8aa1; cursor: pointer; font-size: 16px; line-height: 1; opacity: 1; }
.personal-category-actions summary::-webkit-details-marker { display: none; }
.personal-category-actions[open] summary, .personal-category-actions summary:hover, .personal-category-actions summary:focus-visible { background: #efecfc; color: #6245ed; }
.personal-category-actions > div { position: absolute; top: 100%; right: 0; z-index: 5; display: grid; min-width: 88px; padding: 4px; border: 1px solid #e4e7f0; border-radius: 7px; background: #fff; box-shadow: 0 8px 20px #30344412; }
.personal-category-actions > div button { padding: 7px 9px; border: 0; border-radius: 5px; background: transparent; color: #687796; text-align: left; font: inherit; font-size: 11px; }
.personal-category-actions > div button:hover { background: #f2effd; color: var(--theme-blue); }
.personal-category-item:hover, .personal-category-item.active { background: linear-gradient(110deg, #f4f0ff, #efebff); color: #6245ed; font-weight: 650; }
.personal-category-item small { display: grid; place-items: center; min-width: 20px; height: 20px; margin-left: auto; border-radius: 7px; background: #f6f7fb; color: #7d88a4; font-size: 10px; }
.personal-category-item.active small { background: #eae5ff; color: #6245ed; }
.personal-skill-filters { display: grid; grid-template-columns: minmax(140px, 1.4fr) repeat(3, minmax(110px, 1fr)) auto; align-items: end; gap: 12px; padding-bottom: 16px; margin: 0 0 12px; border-bottom: 1px solid #edf0f8; }
.personal-skill-filters label { display: grid; gap: 6px; min-width: 0; color: #687796; font-size: 11px; }
.personal-skill-filters input, .personal-skill-filters select { min-width: 0; width: 100%; height: 34px; padding: 7px 10px; border: 1px solid #d9dffa; border-radius: 9px; background: #fff; color: #4e5c7e; font: inherit; font-size: 12px; }
.personal-skill-filter-actions { display: flex; gap: 8px; }
.personal-skill-filter-actions button, .personal-skill-list-toolbar button { min-height: 32px; padding: 7px 14px; border-radius: 9px; font-size: 12px; }
.personal-skill-list-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 0 12px; }
.personal-skill-list-toolbar .ask-toolbar-actions { gap: 8px; }
.personal-skill-sort { display: flex; align-items: center; gap: 7px; color: #8793aa; font-size: 11px; }
.personal-skill-sort select { min-width: 118px; height: 32px; padding: 5px 8px; border: 1px solid #dfe5f2; border-radius: 7px; background: #fff; color: #5e6b82; font: inherit; font-size: 11px; }
.personal-skill-grid { display: grid; flex: 1; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); align-content: start; gap: 12px; min-height: 0; overflow: auto; padding: 2px 2px 12px; }
.personal-skill-card { display: flex; flex-direction: column; min-width: 0; min-height: 205px; padding: 15px; border: 1px solid #e5e8f0; border-radius: 10px; background: #fff; transition: border-color .16s, box-shadow .16s, transform .16s; }
.personal-skill-card:hover { transform: translateY(-1px); border-color: #cfc7f4; box-shadow: 0 8px 20px #48407010; }
.personal-skill-card[hidden] { display: none !important; }
.personal-skill-card-head { display: flex; align-items: flex-start; gap: 9px; }
.personal-skill-card-select,
#skillSelectAll { appearance: none; flex: none; width: 17px; height: 17px; margin: 2px 0 0; border: 1.5px solid #c8d0e0; border-radius: 5px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.personal-skill-card-select:checked,
#skillSelectAll:checked { border-color: #6958df; background: #6958df; }
.personal-skill-card-select:checked::after,
#skillSelectAll:checked::after { content: ""; display: block; width: 8px; height: 4px; margin: 4px 0 0 3px; border-bottom: 2px solid #fff; border-left: 2px solid #fff; transform: rotate(-45deg); }
.personal-skill-card-select:focus-visible,
#skillSelectAll:focus-visible { outline: 0; box-shadow: 0 0 0 3px #6958df24; }
.personal-skill-card-icon { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #f0edfc; color: #735de0; }
.personal-skill-card-icon svg { width: 17px; height: 17px; }
.personal-skill-card-title { display: flex; flex: 1; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; }
.personal-skill-card-title button { max-width: 100%; padding: 0; border: 0; background: none; color: #36445f; font: inherit; font-size: 13px; font-weight: 650; text-align: left; cursor: pointer; }
.personal-skill-card-title button:hover { color: #6245ed; text-decoration: underline; text-underline-offset: 3px; }
.personal-skill-card-origin { flex: none; padding: 3px 6px; border-radius: 5px; background: #f4f5f8; color: #828da0; font-size: 9px; }
.personal-skill-card-desc { display: -webkit-box; min-height: 39px; margin: 12px 0 10px; overflow: hidden; color: #8793a7; font-size: 11px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.personal-skill-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; min-height: 21px; }
.personal-skill-card-meta .personal-tag { margin: 0; }
.personal-skill-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid #f0f1f5; }
.personal-skill-card-foot > span { color: #a0aabc; font-size: 10px; }
.personal-skill-card-actions { display: flex; align-items: center; gap: 7px; }
.personal-skill-card-actions > button { min-height: 29px; padding: 5px 9px; border: 1px solid #e3e6ef; border-radius: 6px; background: #fff; color: #64718a; font: inherit; font-size: 10px; cursor: pointer; }
.personal-skill-card-actions > button.primary { border-color: #e0daf8; background: #f6f3ff; color: #684fe0; }
.personal-skill-card-actions > button.personal-skill-status-button { border-color: #d9def0; background: #f7f8fc; color: #59677f; }
.personal-skill-card-actions > button.personal-skill-status-button.enabled { border-color: #ded8f6; background: #f4f1ff; color: #684fe0; }
.personal-skill-card-actions > button.personal-skill-status-button:hover:not(:disabled) { border-color: #bcb0ed; background: #eeeaff; color: #5945ca; }
.personal-skill-card-actions > button:disabled { opacity: .52; cursor: not-allowed; }
.personal-skill-card-actions > button:hover { border-color: #c7baf8; color: #6245ed; }
.personal-skill-card-actions details { position: relative; }
.personal-skill-card-actions summary { display: grid; place-items: center; width: 29px; height: 29px; list-style: none; border-radius: 6px; color: #76839a; cursor: pointer; font-size: 17px; }
.personal-skill-card-actions summary::-webkit-details-marker { display: none; }
.personal-skill-card-actions summary:hover, .personal-skill-card-actions details[open] summary { background: #f3f0ff; color: #6245ed; }
.personal-skill-card-menu { position: absolute; right: 0; bottom: calc(100% + 4px); z-index: 4; display: grid; min-width: 118px; padding: 4px; border: 1px solid #e5e7ef; border-radius: 7px; background: #fff; box-shadow: 0 8px 22px #30344418; }
.personal-skill-card-menu button { padding: 8px 9px; border: 0; border-radius: 5px; background: transparent; color: #68758b; font: inherit; font-size: 10px; text-align: left; white-space: nowrap; }
.personal-skill-card-menu button:hover { background: #f3f0ff; color: #6245ed; }
.personal-skill-card-menu button.danger:hover { background: #fff1f0; color: #c64c45; }
.personal-skill-list-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; padding: 8px 2px 0; color: #8995ab; font-size: 11px; }
.personal-skill-list-footer > label { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.personal-skill-list-footer input { accent-color: var(--theme-blue); }
.personal-skill-list-footer .personal-pagination { flex: 1; margin: 0; padding: 0; }
.personal-skill-list-footer .personal-pagination button.active { border-color: #c7baf8; background: #f1edff; color: #6245ed; }
.personal-skill-list-footer .personal-pagination select, .personal-skill-list-footer .personal-pagination input { min-width: 0; width: 70px; padding: 5px 7px; border: 1px solid #dfe5f2; border-radius: 6px; background: #fff; color: #61708d; font: inherit; }
.personal-data-shell { display: flex; flex: 1; flex-direction: column; min-height: 0; padding: 20px 24px 18px; }
.personal-data-shell > .personal-tabs { flex: none; }
.personal-feedback-shell { min-height: 0; }
.personal-filter-toolbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); align-items: end; gap: 12px; margin: 0 0 17px; padding-bottom: 18px; border-bottom: 1px solid #edf0f8; }
.personal-workspace .personal-filter-toolbar { padding: 0 0 18px; border: 0; border-bottom: 1px solid #edf0f8; border-radius: 0; background: transparent; box-shadow: none; }
.personal-filter-toolbar .search-field { width: 100%; height: 34px; border-color: #d9dffa; border-radius: 10px; }
.personal-workspace .personal-filter-toolbar > .ask-button, .personal-filter-actions .ask-button { min-height: 34px; padding: 7px 14px; border-radius: 10px; font-size: 12px; }
#fileSearchButton, #sharedFileSearchButton, #myFeedbackQuery { border-color: transparent; background: linear-gradient(180deg, #9884f7, #6947ee); color: #fff; }
#fileSearchButton:hover, #sharedFileSearchButton:hover, #myFeedbackQuery:hover { background: linear-gradient(180deg, #8b75ed, #5d3cdd); }
.personal-select-label { display: grid; gap: 6px; min-width: 0; color: #687796; font-size: 11px; }
.personal-select-label select, .personal-select-label input, .personal-feedback-filters input { min-width: 0; width: 100%; height: 34px; padding: 7px 10px; border: 1px solid #d9dffa; border-radius: 10px; background: #fff; color: #4e5c7e; font: inherit; font-size: 12px; }
.personal-result-count { margin: 8px 0 10px; color: #8793aa; font-size: 12px; }
.personal-table-wrap { min-width: 0; overflow: auto; border: 0; border-radius: 10px 10px 0 0; background: #fff; scrollbar-width: thin; scrollbar-color: #d8d5f0 transparent; }
.personal-table { min-width: 1120px; margin: 0; }
.personal-table th { position: sticky; top: 0; z-index: 2; height: 40px; padding: 10px 12px; background: #f5f6fb; color: #6f7c98; font-size: 12px; font-weight: 500; white-space: nowrap; }
.personal-table td { height: 58px; padding: 12px; border-color: #edf0f8; color: #566586; font-size: 12px; vertical-align: middle; }
.personal-table th:last-child, .personal-table td:last-child { position: sticky; right: 0; background: #fff; box-shadow: -8px 0 16px #6675a008; }
.personal-table th:last-child { z-index: 3; background: #f5f6fb; }
.personal-table td:last-child { z-index: 1; }
.personal-table th button { padding: 0; border: 0; background: none; color: inherit; font: inherit; white-space: nowrap; }
.personal-table td small { display: block; max-width: 420px; margin-top: 5px; color: #94a0b6; line-height: 1.55; white-space: normal; }
.personal-table td code { color: #7d87a1; font-size: 10px; }
.personal-row-link, .personal-tag-button { padding: 0; border: 0; background: none; color: var(--theme-blue); text-align: left; font: inherit; font-size: 12px; }
.personal-row-link svg { width: 14px; height: 14px; vertical-align: -3px; }
.personal-tag { display: inline-block; margin: 2px; padding: 3px 6px; border-radius: 5px; background: #f0effa; color: #766bb1; font-size: 10px; white-space: nowrap; }
.personal-row-actions { display: flex; align-items: center; gap: 13px; white-space: nowrap; }
.personal-row-actions button { padding: 4px 0; border: 0; border-radius: 0; background: none; color: #6245ed; font: inherit; font-size: 11px; }
.personal-row-actions button:hover, .personal-tag-button:hover, .personal-row-link:hover { color: #6254ad; }
.personal-row-actions button:disabled { opacity: .45; cursor: not-allowed; }
.personal-storage { flex: none; color: #77849e; font-size: 12px; font-weight: 500; }
.personal-workspace > .personal-data-shell > [id$="Panel"]:not([hidden]) { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.personal-data-shell > .personal-table-wrap,
.personal-workspace > .personal-data-shell > [id$="Panel"]:not([hidden]) > .personal-table-wrap { flex: 1; min-height: 0; }
.personal-pagination { flex: none; margin-top: auto; }
.personal-tabs { margin: 0 0 16px; border-bottom-color: #dedff7; }
.personal-data-shell > .personal-tabs { margin-top: -3px; }
.personal-data-shell > .personal-tabs button { padding: 10px 2px 12px; color: #647294; font-size: 12px; }
.personal-data-shell > .personal-tabs button.active { border-bottom: 3px solid #6245ed; color: #6245ed; }
.personal-data-shell > .personal-tabs span { background: #eceaff; color: #6245ed; }
.personal-folder-path { display: flex; align-items: center; gap: 7px; min-height: 38px; margin: 5px 0 10px; color: #a0aabe; }
.personal-folder-path button { padding: 3px 5px; border: 0; border-radius: 5px; background: none; color: var(--theme-blue); font: inherit; font-size: 12px; }
.personal-file-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 8px 0 12px; color: #8793aa; font-size: 12px; }
.personal-file-toolbar > div { display: flex; flex-wrap: wrap; gap: 8px; }
.personal-file-toolbar .ask-button { min-height: 32px; padding: 7px 14px; border-radius: 10px; font-size: 12px; }
.personal-file-toolbar button svg { width: 13px; height: 13px; vertical-align: -3px; }
.personal-file-toolbar button:disabled { opacity: .45; cursor: not-allowed; }
.file-table { min-width: 1060px; }
.file-table th:first-child, .file-table td:first-child { width: 40px; text-align: center; }
.personal-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 2px; color: #8995ab; font-size: 11px; }
.personal-pagination > div { display: flex; align-items: center; gap: 10px; }
.personal-pagination button { padding: 5px 9px; border: 1px solid #dfe5f2; border-radius: 6px; background: #fff; color: #61708d; font: inherit; }
.personal-pagination button:disabled { opacity: .4; cursor: not-allowed; }
.personal-feedback-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; gap: 12px; padding: 0 0 18px; margin-bottom: 17px; border: 0; border-bottom: 1px solid #edf0f8; border-radius: 0; background: transparent; }
.personal-feedback-filters label { display: grid; gap: 6px; min-width: 0; color: #687796; font-size: 11px; }
.personal-feedback-filters input { min-width: 0; width: 100%; }
.personal-filter-actions { display: flex; gap: 8px; }
.personal-feedback-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 15px 0; }
.personal-feedback-stats button { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; padding: 10px 12px; border: 1px solid #e3e7f1; border-radius: 11px; background: linear-gradient(145deg, #fff, #fafaff); color: #74819b; box-shadow: 0 2px 8px #3548790a; font: inherit; font-size: 11px; transition: border-color .18s, background .18s, box-shadow .18s, transform .18s; }
.personal-feedback-stats button:hover { transform: translateY(-1px); border-color: #c9c0f1; background: linear-gradient(145deg, #fff, #f7f4ff); box-shadow: 0 5px 13px #5d50a31a; }
.personal-feedback-stats button:focus-visible { outline: 2px solid #9b88ec; outline-offset: 2px; }
.personal-feedback-stats button.active { border-color: #bdb0f0; background: linear-gradient(120deg, #f7f4ff, #eeeaff); color: #6048dc; box-shadow: inset 3px 0 0 #846ce6, 0 4px 12px #6855be17; }
.personal-feedback-stats strong { display: grid; place-items: center; min-width: 27px; height: 27px; padding: 0 6px; border-radius: 8px; background: #f0f2f8; color: #50607d; font-size: 14px; line-height: 1; }
.personal-feedback-stats button.active strong { background: #e2dcff; color: #5f46d6; }
.personal-skill-detail { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; border: 1px solid #ffffffc9; border-radius: 14px; background: #ffffffed; box-shadow: 0 12px 36px #838ad509; }
.personal-skill-workspace[hidden], .personal-skill-detail[hidden], .skill-create-import-panel[hidden], .skill-create-manual-panel[hidden], .skill-create-session-panel[hidden] { display: none !important; }
.personal-skill-detail-panel[hidden], .personal-skill-detail-files[hidden], .personal-skill-detail-agents[hidden] { display: none !important; }
.personal-skill-detail-heading { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 10px 18px; border-bottom: 1px solid #edf0f6; background: #fff; }
.personal-skill-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: #8894a8; font-size: 10px; }
.personal-skill-breadcrumb button { padding: 0; border: 0; background: none; color: var(--theme-blue); font: inherit; }
.personal-skill-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.personal-skill-title h2 { margin: 0; color: #36445f; font-size: 15px; }
.personal-skill-detail-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: #f0edfc; color: var(--theme-blue); }
.personal-skill-detail-icon svg { width: 16px; height: 16px; }
.personal-skill-detail-tabs { display: flex; flex: none; gap: 20px; padding: 0 18px; border-bottom: 1px solid #e9ebf2; background: #fff; }
.personal-skill-detail-tabs button { display: flex; align-items: center; gap: 5px; min-height: 38px; padding: 0 2px; border: 0; border-bottom: 2px solid transparent; background: none; color: #7d899f; font: inherit; font-size: 11px; }
.personal-skill-detail-tabs button.active { border-bottom-color: #6245ed; color: #6245ed; font-weight: 650; }
.personal-skill-detail-tabs button span { color: #9aa3b2; font-size: 9px; }
.personal-skill-detail-panel { display: flex; flex: 1; flex-direction: column; gap: 12px; min-height: 0; padding: 12px; overflow: auto; }
.personal-skill-detail-card { flex: none; padding: 14px 16px; border: 1px solid #e6eaf1; border-radius: 9px; background: #fff; }
.personal-skill-detail-card:nth-child(n+2) { min-height: 130px; }
.personal-skill-detail-card h3 { margin: 0; color: #45536b; font-size: 12px; }
.personal-skill-detail-card > p { margin: 5px 0 10px; color: #9aa4b4; font-size: 9px; }
.personal-skill-properties { border: 1px solid #eaedf2; border-radius: 5px; overflow: hidden; }
.personal-skill-property { display: grid; grid-template-columns: 110px minmax(0, 1fr); min-height: 35px; border-bottom: 1px solid #eaedf2; font-size: 10px; }
.personal-skill-property:last-child { border-bottom: 0; }
.personal-skill-property > span, .personal-skill-property > strong { display: flex; align-items: center; min-width: 0; padding: 7px 10px; overflow-wrap: anywhere; }
.personal-skill-property > span { background: #f7f8fa; color: #728096; font-weight: 400; }
.personal-skill-property > strong { color: #53617a; font-weight: 500; }
.personal-skill-detail-card ul, .personal-skill-detail-card ol { margin: 0; padding-left: 18px; color: #5c6980; font-size: 10px; line-height: 1.75; }
.personal-skill-detail-card ol { list-style: none; counter-reset: skill-ability; padding: 0; }
.personal-skill-detail-card ol li { display: flex; gap: 10px; list-style: none; counter-increment: skill-ability; }
.personal-skill-detail-card ol li::before { content: counter(skill-ability, decimal-leading-zero); color: #8994a7; font-variant-numeric: tabular-nums; }
.personal-skill-detail-files { display: grid; flex: 1; grid-template-columns: 190px minmax(0, 1fr); min-height: 0; overflow: hidden; background: #fff; }
.personal-skill-detail-files > aside { min-width: 0; padding: 12px 9px; border-right: 1px solid #e8ebf1; overflow: auto; }
.personal-skill-detail-files > aside > strong { display: block; margin: 2px 6px 8px; color: #748198; font-size: 10px; }
.personal-skill-detail-files > aside button { display: flex; align-items: center; gap: 6px; width: 100%; padding: 8px 7px; border: 0; border-radius: 5px; background: transparent; color: #63708a; text-align: left; font: inherit; font-size: 10px; }
.personal-skill-detail-files > aside button.active, .personal-skill-detail-files > aside button:hover { background: #f0edfc; color: #6245ed; }
.personal-skill-detail-files > aside button small { margin-left: auto; color: #9ba5b4; font-size: 9px; }
.personal-skill-markdown-preview { min-width: 0; padding: 14px 18px; overflow: auto; background: #fff; color: #46536b; font-size: 10px; line-height: 1.7; }
.personal-skill-markdown-preview h1 { padding-bottom: 8px; border-bottom: 1px solid #e5e8ef; font-size: 18px; }
.personal-skill-markdown-preview h2 { margin-top: 20px; padding-bottom: 5px; border-bottom: 1px solid #e5e8ef; font-size: 14px; }
.personal-skill-markdown-preview h3 { font-size: 12px; }
.personal-skill-markdown-preview pre { padding: 10px; border-radius: 5px; background: #f6f7f9; overflow: auto; }
.skill-file-metadata { width: 100%; margin-bottom: 14px; border-collapse: collapse; font-size: 10px; }
.skill-file-metadata th, .skill-file-metadata td { padding: 7px 9px; border: 1px solid #e7eaf0; text-align: left; }
.skill-file-metadata th { width: 125px; background: #f6f7f8; color: #65728a; }
.skill-file-metadata td { color: #53617a; }
.personal-skill-detail-agents { flex: 1; min-height: 0; padding: 12px; overflow: auto; }
.personal-skill-detail-agents .personal-table { min-width: 720px; }
.personal-skill-no-agents { padding: 48px 12px; color: #9aa4b2; font-size: 11px; text-align: center; }
.personal-detail-dialog { width: min(760px, calc(100vw - 28px)); max-width: none; max-height: min(82vh, 820px); padding: 0; overflow: hidden; border: 1px solid #dfe5f2; border-radius: 13px; background: #fff; color: #465573; box-shadow: 0 24px 70px #2b376326; }
#knowledgePage { --dataset-accent: #6245ed; --dataset-ink: #262d50; }
.skill-create-drawer:not([open]) { display: none; }
.skill-create-drawer { position: fixed; inset: 0 0 0 auto; display: flex; flex-direction: column; width: min(720px, 58vw); height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 0; background: #fff; color: #465573; box-shadow: -12px 0 32px #17223b18; }
.skill-create-drawer::backdrop, .skill-session-picker::backdrop { background: #17223b55; backdrop-filter: blur(2px); }
.skill-create-drawer > header { display: flex; flex: none; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; border-bottom: 1px solid #e9eaf2; }
.skill-create-drawer > header h2 { margin: 0; color: #37445f; font-size: 15px; }
.skill-create-drawer > header button, .skill-session-picker > header button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 7px; background: #f4f5fa; color: #7d89a0; font-size: 20px; }
.skill-create-body { flex: 1; min-height: 0; padding: 12px; overflow: auto; }
.skill-create-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.skill-create-modes button { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; min-height: 72px; padding: 10px 12px; border: 1px solid #e7e9f0; border-radius: 8px; background: #fff; color: #59657b; text-align: left; font: inherit; transition: border-color .16s, background .16s, color .16s, box-shadow .16s; }
.skill-create-modes button:hover:not(.active) { border-color: #d8d1fb; background: #fbfaff; color: #6354b8; }
.skill-create-modes button strong { font-size: 11px; }
.skill-create-modes button small { margin-top: 5px; color: #929bad; font-size: 9px; line-height: 1.4; }
.skill-create-modes button.active { border-color: #d8d0fb; background: linear-gradient(120deg, #f7f4ff, #eeeaff); color: #6245ed; box-shadow: inset 3px 0 0 #846ce6, 0 4px 12px #6855be17; }
.skill-create-modes button.active small { color: #7968c9; }
.skill-create-import-panel { display: grid; place-items: center; min-height: 132px; margin-bottom: 14px; border: 1px solid #e7e9f0; border-radius: 6px; background: #fff; text-align: center; }
.skill-create-import-panel[hidden], .skill-create-manual-panel[hidden], .skill-create-session-panel[hidden] { display: none !important; }
.skill-create-import-panel p { margin: 6px 0 10px; color: #687796; font-size: 11px; }
.skill-create-import-panel p > button { padding: 0; border: 0; background: none; color: var(--theme-blue); font: inherit; text-decoration: underline; }
.skill-create-import-panel > div > div { display: flex; justify-content: center; gap: 8px; }
.skill-create-import-panel button { min-height: 28px; padding: 5px 10px; border-radius: 5px; font-size: 10px; }
.skill-create-import-panel small { display: block; min-height: 14px; margin-top: 7px; color: #8f8aa7; font-size: 10px; }
.skill-upload-icon { display: block; color: var(--theme-blue); font-size: 25px; }
.skill-create-manual-panel { margin-bottom: 16px; }
.skill-manual-heading { display: flex; align-items: center; justify-content: space-between; min-height: 32px; margin-bottom: 5px; color: #6b778e; font-size: 11px; }
.skill-manual-heading > div { display: flex; gap: 10px; }
.skill-manual-heading button { padding: 0; border: 0; background: none; color: var(--theme-blue); font: inherit; font-size: 10px; }
.skill-markdown-layout { display: grid; grid-template-columns: 1fr 1fr; height: 360px; min-height: 260px; border: 1px solid #e3e6ee; border-radius: 5px; overflow: hidden; }
.skill-markdown-editor { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid #e3e6ee; }
.skill-markdown-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; min-height: 31px; padding: 3px 6px; border-bottom: 1px solid #eceef3; background: #fafbfc; }
.skill-markdown-toolbar button { min-width: 22px; height: 23px; padding: 2px 4px; border: 0; border-radius: 4px; background: transparent; color: #687796; font: inherit; font-size: 10px; }
.skill-markdown-toolbar button:hover { background: #eeebfc; color: var(--theme-blue); }
.skill-markdown-editor textarea { flex: 1; min-height: 0; width: 100%; padding: 12px; border: 0; outline: 0; resize: none; color: #5a6578; font: 10px/1.65 "SFMono-Regular", Consolas, monospace; }
.skill-manual-footer { display: flex; align-items: center; gap: 8px; min-height: 27px; padding: 0 8px; border-top: 1px solid #eceef3; color: #8994a6; font-size: 9px; }
.skill-manual-footer > div { display: flex; gap: 8px; min-width: 0; overflow: hidden; }
.skill-manual-footer button { padding: 0; border: 0; background: none; color: #78859a; font: inherit; white-space: nowrap; }
.skill-markdown-preview { min-width: 0; padding: 12px; overflow: auto; color: #4f5869; font-size: 10px; line-height: 1.65; }
.skill-markdown-preview h1 { padding: 0 0 8px; border-bottom: 1px solid #e7e9f0; color: #30394b; font-size: 18px; }
.skill-markdown-preview h2 { margin: 18px 0 8px; padding: 0 0 5px; border-bottom: 1px solid #e7e9f0; color: #3c4658; font-size: 14px; }
.skill-markdown-preview h3 { margin: 14px 0 7px; color: #495367; font-size: 12px; }
.skill-markdown-preview p { margin: 5px 0; }
.skill-markdown-preview pre { padding: 8px; border-radius: 5px; background: #f5f6f9; overflow: auto; }
.skill-markdown-layout.fullscreen { position: fixed; inset: 12px; z-index: 10; height: auto; background: #fff; box-shadow: 0 14px 40px #18213b28; }
.skill-create-session-panel { padding: 12px; margin-bottom: 14px; border: 1px solid #e7e9f0; border-radius: 5px; background: #f9fafc; }
.skill-create-session-panel h3 { margin: 0 0 12px; color: #536078; font-size: 12px; }
.skill-session-select-card { margin-bottom: 11px; color: #6b778e; font-size: 10px; }
.skill-session-select-card > div { display: flex; align-items: center; justify-content: space-between; min-height: 62px; padding: 10px; margin-top: 6px; border: 1px solid #e1e4ec; border-radius: 5px; background: #fff; }
.skill-session-select-card small { color: #9aa4b5; }
.skill-session-select-card button { font-size: 10px; }
.skill-create-session-panel > label { display: grid; gap: 6px; margin: 10px 0; color: #6b778e; font-size: 10px; }
.skill-create-session-panel textarea { padding: 9px; border: 1px solid #e1e4ec; border-radius: 5px; color: #59657b; font: inherit; resize: vertical; }
.skill-create-session-panel > button { width: 100%; min-height: 28px; font-size: 10px; }
.skill-create-session-panel > p { margin: 8px 0 0; color: #8c829e; font-size: 10px; }
.skill-create-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding-bottom: 12px; }
.skill-create-grid label { display: grid; gap: 5px; min-width: 0; color: #65738b; font-size: 10px; }
.skill-create-grid label.wide { grid-column: 1 / -1; }
.skill-create-grid input, .skill-create-grid select, .skill-create-grid textarea { min-width: 0; width: 100%; min-height: 31px; padding: 7px 9px; border: 1px solid #dfe3eb; border-radius: 5px; background: #fff; color: #4e5c7e; font: inherit; font-size: 10px; }
.skill-create-grid textarea { resize: vertical; line-height: 1.5; }
.skill-create-grid label em { color: #ec7272; font-style: normal; }
.skill-create-grid label small { justify-self: end; color: #9ba4b2; font-size: 9px; }
.skill-create-grid .skill-create-switch { display: flex; align-items: center; justify-content: space-between; }
.skill-create-grid .skill-create-switch input { position: relative; appearance: none; width: 34px; min-height: 18px; height: 18px; padding: 0; border: 0; border-radius: 999px; background: #cbd1dc; cursor: pointer; }
.skill-create-grid .skill-create-switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #25324b3d; transition: transform .16s; }
.skill-create-grid .skill-create-switch input:checked { background: #6d7eea; }
.skill-create-grid .skill-create-switch input:checked::after { transform: translateX(16px); }
.skill-create-tag-field { display: grid; gap: 6px; color: #65738b; font-size: 10px; }
.skill-create-tag-field > div:last-of-type { display: flex; gap: 7px; }
.skill-create-tag-field > div:last-of-type input { flex: 1; }
.skill-create-tag-field > div:last-of-type button { flex: none; min-height: 30px; font-size: 10px; }
#skillCreateTagList { display: flex; flex-wrap: wrap; gap: 5px; }
.skill-create-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px; border-radius: 4px; background: #f0edfc; color: #7564b6; font-size: 9px; }
.skill-create-tag button { padding: 0; border: 0; background: none; color: inherit; font-size: 11px; }
.skill-create-drawer > footer { display: flex; flex: none; justify-content: flex-end; gap: 8px; min-height: 48px; padding: 8px 14px; border-top: 1px solid #e7e9f0; background: #fff; }
.skill-create-drawer > footer button { min-height: 30px; padding: 6px 13px; border-radius: 5px; font-size: 10px; }
.skill-session-picker { position: fixed; inset: 10% 4%; display: flex; flex-direction: column; width: 92vw; max-width: none; height: 80vh; max-height: 700px; margin: auto; padding: 0; overflow: hidden; border: 1px solid #dfe3ec; border-radius: 8px; background: #fff; color: #465573; box-shadow: 0 20px 60px #17223b28; }
.skill-session-picker:not([open]) { display: none; }
.skill-session-picker > header, .skill-session-picker > footer { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 14px; border-bottom: 1px solid #e9ebf1; }
.skill-session-picker > header h2 { margin: 0; font-size: 14px; }
.skill-session-picker > footer { border-top: 1px solid #e9ebf1; border-bottom: 0; }
.skill-session-agent-filter { flex: none; padding: 10px 14px; border-bottom: 1px solid #eef0f4; }
.skill-session-agent-filter label { display: flex; align-items: center; gap: 12px; color: #65738b; font-size: 10px; }
.skill-session-agent-filter select { flex: 1; min-height: 30px; border: 1px solid #dfe3eb; border-radius: 5px; background: #fff; color: #59657b; font: inherit; }
.skill-session-picker-body { display: grid; flex: 1; grid-template-columns: 1fr 1fr; min-height: 0; }
.skill-session-picker-body > section { min-width: 0; padding: 10px 12px; overflow: auto; }
.skill-session-picker-body > section:first-child { border-right: 1px solid #e8eaf0; }
.skill-session-picker-body > section:first-child > div:first-child { display: flex; justify-content: space-between; color: #5b6880; font-size: 10px; }
.skill-session-picker-body > section:first-child .search-field { width: 100%; margin: 8px 0; }
.skill-session-row { display: grid; gap: 4px; width: 100%; padding: 9px 10px; border: 0; border-bottom: 1px solid #eef0f4; background: #fff; color: #5a667a; text-align: left; font: inherit; font-size: 10px; }
.skill-session-row.active, .skill-session-row:hover { background: #f1effc; }
.skill-session-row small { color: #98a2b0; font-size: 9px; }
.skill-session-picker-body > section:last-child { display: grid; place-content: center; color: #8590a1; text-align: center; font-size: 10px; }
.skill-session-picker-body > section:last-child small { margin-top: 7px; color: #a0a9b6; }
.skill-session-pagination { display: flex; align-items: center; gap: 7px; color: #7d899b; font-size: 9px; }
.skill-session-pagination > div { display: flex; align-items: center; gap: 5px; }
.skill-session-pagination button, .skill-session-pagination select { min-height: 26px; padding: 3px 7px; border: 1px solid #dfe3eb; border-radius: 4px; background: #fff; color: #687796; font: inherit; }
.skill-session-picker > footer > div { display: flex; gap: 8px; }
.skill-session-picker > footer button { min-height: 28px; padding: 5px 11px; font-size: 10px; }
.personal-detail-dialog::backdrop { background: #17223b55; backdrop-filter: blur(2px); }
.personal-detail-dialog > header, .personal-detail-dialog > footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; border-bottom: 1px solid #edf0f7; background: #fff; }
.personal-detail-dialog > header h2 { margin: 4px 0 0; font-size: 18px; }
.personal-detail-dialog > header button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 7px; background: #f4f5fa; color: #7d89a0; }
.personal-detail-dialog > header svg { width: 16px; height: 16px; }
.personal-detail-body { max-height: calc(82vh - 128px); padding: 18px 20px; overflow: auto; }
.personal-detail-body section { padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid #edf0f7; }
.personal-detail-body section:last-child { border: 0; }
.personal-detail-body h3 { margin: 0 0 10px; color: #445573; font-size: 13px; }
.personal-detail-body p, .personal-detail-body li { color: #74819a; font-size: 12px; line-height: 1.75; }
.personal-detail-body dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 12px; margin: 0; font-size: 12px; }
.personal-detail-body dt { color: #929db1; }
.personal-detail-body dd { min-width: 0; margin: 0; color: #52627f; overflow-wrap: anywhere; }
.personal-package-list { display: flex; flex-wrap: wrap; gap: 8px; }
.personal-package-list button { padding: 7px 10px; border: 1px solid #e0e5f2; border-radius: 7px; background: #fff; color: var(--theme-blue); font: inherit; font-size: 11px; }
.personal-package-list svg { width: 13px; height: 13px; vertical-align: -3px; }
.personal-history-item { padding: 9px 11px; margin-top: 8px; border-left: 2px solid #d8d1f0; border-radius: 0 7px 7px 0; background: #f8f7fc; }
.personal-history-item small { color: #929db1; font-size: 10px; }
.personal-history-item p { margin: 5px 0 0; }
.personal-detail-dialog > footer { justify-content: flex-end; border-top: 1px solid #edf0f7; border-bottom: 0; }
@media (max-width: 900px) {
  .profile-shortcuts { grid-template-columns: 1fr; }
  .personal-skill-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .personal-skill-workspace { grid-template-columns: 1fr; }
  .personal-category-panel { border-right: 0; border-bottom: 1px solid #eef0f8; border-radius: 16px 16px 0 0; }
  .personal-skill-content { padding: 18px; }
  .personal-category-tree { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 220px; }
  .personal-feedback-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .personal-workspace { padding: 16px; }
  .personal-workspace > .page-view-heading { margin-bottom: 14px; }
  .personal-data-shell { padding: 16px; }
  .profile-shortcuts button { padding: 16px; }
  .profile-navigation { gap: 18px; }
  .profile-navigation button { padding: 0 2px; }
  .my-feedback-card { flex-wrap: wrap; }
  .personal-filter-toolbar .search-field { width: 100%; }
  .personal-category-tree { grid-template-columns: 1fr; }
  .personal-skill-grid { grid-template-columns: minmax(0, 1fr); }
  .personal-skill-list-toolbar .ask-toolbar-actions { width: 100%; }
  .personal-skill-list-toolbar .ask-toolbar-actions button { flex: 1; }
  .personal-feedback-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .personal-feedback-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .personal-skill-filters { grid-template-columns: 1fr; }
  .personal-skill-property { grid-template-columns: 92px minmax(0, 1fr); }
  .personal-skill-detail-files { grid-template-columns: 125px minmax(0, 1fr); }
  .skill-create-drawer { width: 100vw; }
  .skill-create-modes { grid-template-columns: 1fr; }
  .skill-create-modes button { min-height: 54px; }
  .skill-markdown-layout { grid-template-columns: 1fr; height: min(65vh, 520px); }
  .skill-markdown-editor { border-right: 0; border-bottom: 1px solid #e3e6ee; }
  .skill-session-picker { inset: 2%; width: 96vw; height: 96dvh; max-height: 96dvh; }
  .skill-session-picker-body { grid-template-columns: minmax(0, 1fr); }
  .skill-session-picker-body > section:first-child { border-right: 0; border-bottom: 1px solid #e8eaf0; }
  .skill-create-grid { grid-template-columns: 1fr; }
  .skill-create-grid label.wide { grid-column: auto; }
  .personal-detail-body dl { grid-template-columns: 100px minmax(0, 1fr); }
  .personal-storage { width: 100%; }
}
.ask-page-tabs { display: flex; gap: 24px; margin-bottom: 22px; border-bottom: 1px solid #dde4f6; }
.ask-page-tabs button { padding: 12px 0; border: 0; border-bottom: 2px solid transparent; background: none; color: #7c89a5; font-size: 13px; }
.ask-page-tabs button.active { border-bottom-color: var(--theme-blue); color: var(--theme-blue); font-weight: 700; }
.ask-page-tabs span { margin-left: 5px; padding: 2px 6px; border-radius: 5px; background: #edf0ff; font-size: 10px; }

/* “我的文件 / 与我共享”作为文件范围筛选，使用独立分段控件而非页面下划线页签。 */
#myDataPage .personal-data-shell > .ask-page-tabs.personal-tabs {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  gap: 4px;
  margin: 0 0 16px;
  padding: 4px;
  border: 1px solid #e5eaf2;
  border-radius: 10px;
  background: #f4f6fb;
}

#myDataPage .personal-data-shell > .ask-page-tabs.personal-tabs button {
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #74819a;
  font-size: 12px;
  line-height: 1;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

#myDataPage .personal-data-shell > .ask-page-tabs.personal-tabs button:hover {
  color: #5268cf;
}

#myDataPage .personal-data-shell > .ask-page-tabs.personal-tabs button.active {
  border: 0;
  background: #fff;
  color: #536bd4;
  font-weight: 650;
  box-shadow: 0 1px 3px #26385d14;
}

#myDataPage .personal-data-shell > .ask-page-tabs.personal-tabs span {
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 10px;
  background: #edf0ff;
  color: #6275d4;
  font-size: 10px;
}

.ask-notice { padding: 12px 16px; margin-bottom: 20px; border: 1px solid var(--theme-border); border-radius: 9px; background: #f5f6fc; color: var(--theme-muted); font-size: 12px; line-height: 1.7; }
.ask-notice.warning { border-color: #f0dfbd; background: #fff8e9; color: #9c7a42; }
.ask-toolbar-actions, .ask-card-actions, .ask-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ask-toolbar-actions select, #knowledgeScopeFilter, #queryRecordFilter, .ask-role-switch select { min-width: 0; max-width: 100%; padding: 9px 12px; border: 1px solid #dce3f7; border-radius: 8px; background: #fff; color: #52627f; font: inherit; font-size: 12px; }
.ask-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 22px; }
.ask-summary-card { padding: 18px 20px; border: 1px solid var(--theme-border); border-radius: 10px; background: var(--theme-surface); }
.ask-summary-card span { color: #8591aa; font-size: 12px; }
.ask-summary-card strong { display: block; margin-top: 8px; color: var(--theme-blue); font-size: 26px; font-weight: 700; }
.ask-dataset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ask-dataset-card, .ask-knowledge-card, .ask-role-card { min-width: 0; border: 1px solid var(--theme-border); border-radius: 12px; background: var(--theme-surface); padding: 20px; }
.ask-card-top { display: flex; align-items: center; gap: 12px; }
.ask-card-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; color: #6375df; border-radius: 10px; background: #eef1ff; }
.ask-card-top h2 { margin: 0; color: #344464; font-size: 15px; overflow-wrap: anywhere; }
.ask-card-top p { margin: 5px 0 0; color: #94a0b6; font-size: 11px; }
.ask-badge { display: inline-block; padding: 4px 8px; border-radius: 6px; font-size: 11px; white-space: nowrap; color: #958466; background: #fbf4e8; }
.ask-badge.ready { color: #3d9580; background: #eaf8f2; }
.ask-badge.disabled, .ask-badge.error { color: #b17384; background: #faf0f3; }
.ask-card-top .ask-badge { margin-left: auto; }
.ask-dataset-card > p { color: #8290a9; font-size: 12px; line-height: 1.8; }
.ask-dataset-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0; color: #71809c; font-size: 11px; }
.ask-card-actions { padding-top: 14px; border-top: 1px solid #ecf0fa; }
.ask-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 11px; border: 1px solid var(--theme-border); border-radius: 7px; background: #fff; color: var(--theme-blue); font: inherit; font-size: 12px; }
.ask-button:hover { border-color: #aab9f1; background: #f4f6ff; }
.ask-button:disabled, .ask-result-actions button:disabled { opacity: .45; cursor: not-allowed; }
.ask-status { min-height: 18px; margin: 15px 0 0; color: #6478c6; font-size: 12px; line-height: 1.7; }
.ask-status.error { color: #bd647e; }
.question-recommendation-status { margin: 8px 0 0; color: #858b98; font-size: 12px; line-height: 1.6; }
.conversation.has-conversation .question-recommendation-status { display: none; }
.ask-knowledge-list { display: grid; gap: 12px; }
.ask-knowledge-card { display: flex; align-items: flex-start; gap: 14px; }
.ask-knowledge-content { flex: 1; min-width: 0; }
.ask-knowledge-select { display: grid; flex: none; place-items: center; width: 20px; height: 40px; }
.ask-knowledge-select { cursor: pointer; }
.ask-knowledge-select input {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-content: center;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid #c5cce0;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 1px 2px #4f5f8012;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s, transform .15s;
}
.ask-knowledge-select input::after {
  content: "";
  width: 8px;
  height: 4px;
  margin-bottom: 2px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  opacity: 0;
  transform: rotate(-45deg) scale(.7);
  transition: opacity .12s, transform .12s;
}
.ask-knowledge-select input:hover:not(:disabled) { border-color: #9c88f4; box-shadow: 0 0 0 3px #7155ed14; }
.ask-knowledge-select input:checked { border-color: #6245ed; background: linear-gradient(145deg, #8e79f6, #6245ed); box-shadow: 0 3px 7px #6849ed35; }
.ask-knowledge-select input:checked::after { opacity: 1; transform: rotate(-45deg) scale(1); }
.ask-knowledge-select input:focus-visible { outline: 2px solid #a798f7; outline-offset: 3px; }
.ask-knowledge-select input:disabled { border-color: #dfe3ee; background: #f4f6fa; box-shadow: none; cursor: not-allowed; }
.ask-knowledge-select input:checked:disabled { border-color: #bdb1ef; background: #c8bef4; }
.ask-knowledge-content h2 { margin: 0 0 8px; color: #3e4f70; font-size: 14px; }
.ask-knowledge-content p { margin: 0 0 9px; color: #7b88a3; font-size: 12px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.ask-knowledge-content small { color: #a2acc0; font-size: 11px; }
.ask-role-switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; margin-bottom: 20px; border: 1px solid #dfe5fa; border-radius: 10px; background: #fff; }
.ask-role-switch strong { color: #445573; font-size: 14px; }
.ask-role-switch p { margin: 7px 0 0; color: #8b96ac; font-size: 12px; line-height: 1.7; }
.ask-role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ask-role-card.selected { border-color: #ded7f5; background: #f6f4fd; }
.ask-role-card h2 { color: #4d5f8b; margin: 0 0 12px; font-size: 15px; }
.ask-role-card p { color: #8390a9; font-size: 12px; line-height: 1.8; margin: 5px 0; }
.ask-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 16px; }
.ask-section-heading h2 { color: #445573; margin: 0 0 6px; font-size: 16px; }
.ask-section-heading p { color: #8c98ae; margin: 0; font-size: 12px; }
.ask-table-scroll { border: 1px solid #dfe5fa; border-radius: 9px; overflow: auto; background: #fff; }
.ask-table-scroll .source-table { min-width: 720px; }
.ask-table-scroll td { vertical-align: middle; }
.ask-table-scroll td strong { max-width: 350px; white-space: normal; overflow-wrap: anywhere; }
.ask-table-scroll td button + button { margin-left: 12px; }
.ask-table-scroll td[colspan] { text-align: center; padding: 32px; color: #a0acc2; }
.ask-selection-bar { position: relative; margin: 0 0 10px; color: #8b91a0; font-size: 12px; }
.ask-selection-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ask-selection-label { flex: none; color: #8e96a8; }
.ask-select-trigger { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 65%; padding: 3px 5px; border: 0; border-radius: 5px; background: none; color: #6d72dd; font: inherit; font-weight: 600; }
.ask-select-trigger:hover { background: #f0f1ff; }
.ask-select-trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ask-select-trigger svg { width: 14px; height: 14px; }
.ask-selection-icon { display: grid; place-items: center; width: 26px; height: 26px; flex: none; padding: 4px; border: 0; border-radius: 5px; background: none; color: #9096a4; }
.ask-selection-icon:hover, .ask-selection-icon[aria-expanded="true"] { background: #f1f3fe; color: #7572dc; }
.ask-selection-icon svg { width: 15px; height: 15px; }
.ask-selection-hint { margin-left: 5px; color: #a4abb9; font-size: 11px; }
.ask-selection-demo { margin-left: auto; padding: 2px 6px; background: #f2f4fb; color: #9b9eb2; border-radius: 4px; font-size: 10px; }
.ask-inline-fields { display: grid; gap: 12px; margin: 9px 0; padding: 14px; border: 1px solid #e3e7f5; border-radius: 8px; background: #f8faff; }
.ask-inline-fields[hidden] { display: none; }
.ask-inline-fields > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ask-inline-fields strong { margin-right: 5px; color: #8792b6; font-size: 11px; }
.ask-inline-fields span { padding: 4px 7px; background: #fff; border: 1px solid #e6eafa; border-radius: 5px; color: #828ba0; font-size: 11px; }
.ask-inline-fields > div:last-child strong { color: #69a783; }

/* 参照小 Q 的右侧选择面板；独立页与小组件使用同一组件。 */
.ask-data-drawer { position: fixed; inset: 0 0 0 auto; width: min(640px, 85vw); height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: #fff; color: #3a4050; box-shadow: -10px 0 40px #2229441a; }
.ask-data-drawer[open] { display: flex; flex-direction: column; }
.ask-data-drawer::backdrop { background: #292f4359; }
.ask-data-drawer.is-preview { width: min(980px, 85vw); }
.ask-data-drawer [hidden] { display: none !important; }
.ask-picker-header { display: flex; align-items: center; justify-content: space-between; flex: none; height: 64px; padding: 0 22px; border-bottom: 1px solid #f1f2f7; }
.ask-picker-tabs { display: inline-flex; align-items: center; padding: 3px; border-radius: 20px; background: #f5f5f7; }
.ask-picker-tabs button { padding: 7px 14px; border: 0; border-radius: 17px; background: none; color: #6b6d77; font: inherit; font-size: 13px; white-space: nowrap; }
.ask-picker-tabs button.active { background: #fff; color: #30343d; font-weight: 650; box-shadow: 0 1px 5px #00000010; }
.ask-drawer-close { display: grid; place-items: center; flex: none; width: 28px; height: 28px; margin-left: auto; padding: 5px; border: 0; border-radius: 5px; background: none; color: #9295a0; }
.ask-drawer-close:hover { background: #f2f4fa; }
.ask-picker-toolbar { flex: none; display: grid; gap: 14px; padding: 20px 20px 0; }
.ask-picker-search { display: flex; align-items: center; gap: 7px; width: 100%; min-width: 0; height: 34px; padding: 0 12px; border: 1px solid #e8e9ee; border-radius: 20px; background: #fff; color: #a1a4af; }
.ask-picker-search svg { width: 14px; height: 14px; }
.ask-picker-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: none; color: #5d6477; font: inherit; font-size: 12px; }
.ask-picker-search input::placeholder { color: #aaadba; }
.ask-picker-search:focus-within { border-color: #a5a6ee; box-shadow: 0 0 0 2px #8f89ed0d; }
.ask-picker-filters { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #9296a2; font-size: 11px; }
.ask-picker-filters select { max-width: 65%; padding: 5px 7px; border: 1px solid #edeef3; border-radius: 5px; color: #828896; background: #fff; font: inherit; }
.ask-picker-filters label { display: flex; align-items: center; gap: 6px; }
.ask-picker-filters input { accent-color: #7970e8; }
.ask-picker-content { flex: 1; min-height: 0; padding: 20px; overflow-y: auto; }
.ask-picker-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.ask-picker-card { min-width: 0; padding: 15px 13px 12px; border: 1px solid #eff0f5; border-radius: 7px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.ask-picker-card:hover, .ask-picker-card:focus-within { border-color: #c8c9f4; box-shadow: 0 3px 14px #7774da0d; }
.ask-picker-card.selected { border-color: #d4d4f5; background: #fcfcff; }
.ask-picker-card-heading { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ask-picker-card-heading h3 { flex: 1; min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #3c3e48; font-size: 13px; font-weight: 650; }
.ask-sample-label { flex: none; padding: 2px 4px; border-radius: 3px; background: #eef1ff; color: #7b83d4; font-size: 10px; }
.ask-picker-selected { color: #8d85d7; font-size: 10px; white-space: nowrap; }
.ask-picker-field-chips { display: flex; gap: 5px; overflow: hidden; margin-top: 14px; }
.ask-picker-field-chips span { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 4px; border-radius: 3px; background: #f7f7f8; color: #989ba5; font-size: 10px; }
.ask-picker-card-actions { display: flex; align-items: center; gap: 7px; margin-top: 14px; min-height: 28px; }
.ask-picker-card-actions > span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #b0b4c0; font-size: 10px; }
.ask-picker-card-actions .ask-button { padding: 5px 8px; border-color: #e7e7f5; color: #857ce2; font-size: 11px; opacity: 0; transition: opacity .15s; }
.ask-picker-card-actions .primary { background: #8175ed; border-color: #8175ed; color: #fff; }
.ask-picker-card:hover .ask-button, .ask-picker-card:focus-within .ask-button { opacity: 1; }
.ask-picker-card p { color: #9c9faf; font-size: 11px; line-height: 1.7; }
.ask-picker-empty { display: flex; grid-column: 1 / -1; flex-direction: column; align-items: center; justify-content: center; min-height: 290px; gap: 12px; text-align: center; color: #b0b5c5; }
.ask-picker-empty > svg { width: 38px; height: 38px; color: #b4b7d9; }
.ask-picker-empty strong { font-size: 14px; color: #9298ac; font-weight: 500; }
.ask-picker-empty p { max-width: 320px; margin: 0; font-size: 12px; line-height: 1.8; }
.ask-picker-empty .page-primary { margin-top: 5px; }
.ask-picker-footer, .ask-preview-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; flex: none; padding: 16px 20px; border-top: 1px solid #f2f3f7; color: #a4a8b5; font-size: 10px; }
.ask-picker-footer > span:last-child, .ask-preview-footer > span:last-child { margin-left: auto; }
.ask-preview-heading { flex: none; padding: 16px 20px 18px; background: var(--theme-wash); }
.ask-preview-breadcrumb { display: flex; align-items: center; gap: 7px; color: #a1a6b8; font-size: 11px; }
.ask-preview-breadcrumb button:not(.ask-drawer-close) { padding: 0; border: 0; background: none; color: #8f96aa; font: inherit; }
.ask-preview-breadcrumb strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #626a82; font-weight: 500; }
.ask-preview-title { display: flex; align-items: center; gap: 8px; margin: 16px 0 12px; color: #8972e7; }
.ask-preview-title svg { width: 16px; height: 16px; }
.ask-preview-title h2 { flex: 1; min-width: 0; margin: 0; color: #454a5a; font-size: 16px; overflow-wrap: anywhere; }
.ask-preview-title .page-primary { flex: none; min-width: 65px; padding: 8px 13px; }
.ask-preview-heading > p { color: #8e96aa; font-size: 11px; line-height: 1.7; margin: 5px 0; }
.ask-preview-suggestions { display: flex; align-items: center; gap: 13px; overflow-x: auto; margin-top: 20px; color: #7984a6; font-size: 10px; }
.ask-preview-suggestions > span { flex: none; display: flex; align-items: center; gap: 5px; }
.ask-preview-suggestions svg { width: 12px; height: 12px; color: #8c7deb; }
.ask-preview-suggestions button { flex: none; max-width: 220px; padding: 3px 0; border: 0; background: none; color: #727b92; font: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ask-preview-suggestions button:hover { color: #776fe2; }
.ask-preview-toolbar { flex: none; display: flex; align-items: center; gap: 15px; justify-content: space-between; padding: 18px 20px 12px; }
.ask-preview-toolbar .ask-picker-search { width: min(220px, 45%); }
.ask-preview-content { flex: 1; min-height: 0; margin: 0 20px; overflow: auto; }
.ask-preview-table { width: 100%; min-width: 530px; border-collapse: collapse; text-align: left; font-size: 11px; color: #737c90; }
.ask-preview-table th { position: sticky; top: 0; z-index: 1; padding: 12px 10px; background: #f7f8fc; color: #747d91; font-weight: 500; white-space: nowrap; }
.ask-preview-table td { padding: 12px 10px; border-bottom: 1px solid #f1f3fa; max-width: 300px; overflow-wrap: anywhere; }
.ask-preview-table tbody tr:nth-child(even) { background: #fafbfe; }
.ask-field-symbol { display: inline-block; min-width: 18px; margin-right: 6px; color: #8b93d0; font-size: 11px; font-weight: 600; }
.ask-field-symbol.metric { color: #77b08a; }
.ask-preview-empty { text-align: center; color: #a6afc2; }
.ask-preview-footer .dimensions { color: #8e98cf; }
.ask-preview-footer .metrics { color: #74a88a; }
.ask-dialog { width: min(980px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--theme-border); border-radius: 15px; background: var(--theme-surface); color: #445573; box-shadow: 0 24px 80px #30417c33; }
.ask-dialog::backdrop { background: #44557935; backdrop-filter: blur(3px); }
.ask-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 26px; border-bottom: 1px solid var(--theme-border); background: var(--theme-wash); }
.ask-dialog-header h2 { margin: 0 0 7px; color: #3e50a3; font-size: 19px; }
.ask-dialog-header p { margin: 0; color: #8b96ad; font-size: 12px; line-height: 1.6; }
.ask-dialog-close { border: 0; background: none; color: #8a97b4; padding: 3px; }
.ask-dialog-body { padding: 22px 26px; max-height: calc(100dvh - 240px); overflow: auto; }
.ask-dialog-footer { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 16px 26px; border-top: 1px solid #e4eafa; background: #fff; }
.ask-dialog-footer > span { color: #a0abc0; font-size: 11px; }
.ask-dialog-footer > div { display: flex; gap: 10px; margin-left: auto; }
.ask-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ask-form-grid label, .ask-form-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: 12px; color: #6d7d98; }
.ask-form-grid .wide { grid-column: 1 / -1; }
.ask-form-grid input, .ask-form-grid select, .ask-form-grid textarea, .ask-fields-table input, .ask-fields-table select { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #dce3f2; border-radius: 6px; color: #485973; background: #fff; font: inherit; font-size: 12px; }
.ask-form-grid textarea { resize: vertical; min-height: 92px; }
.ask-check { display: flex; flex-direction: row !important; align-items: center; }
.ask-check input { width: auto; }
.ask-fields-table { min-width: 880px; width: 100%; border-collapse: collapse; font-size: 12px; }
.ask-fields-table th { padding: 12px 8px; text-align: left; color: #8391ac; background: #f0f4ff; font-size: 11px; }
.ask-fields-table td { padding: 10px 8px; border-top: 1px solid #e6ecfa; }
.ask-fields-table th:first-child { width: 110px; }
.ask-fields-table th:nth-child(2) { width: 120px; }
.ask-fields-table th:last-child { width: 220px; }
.ask-detail-tabs { margin-top: 24px; overflow-x: auto; }
.ask-detail-tabs button { flex: none; white-space: nowrap; }
.expert-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.expert-mode-grid > label { display: flex; align-items: flex-start; gap: 10px; padding: 16px; border: 1px solid var(--theme-border); border-radius: 9px; background: #fff; cursor: pointer; }
.expert-mode-grid > label:has(input:checked) { border-color: #c6bced; background: #f8f6ff; }
.expert-mode-grid input { flex: none; margin: 2px 0 0; accent-color: var(--theme-blue); }
.expert-mode-grid strong { color: #49516a; font-size: 13px; }
.expert-mode-grid p { margin: 7px 0 0; color: #8991a4; font-size: 12px; line-height: 1.7; }
#expertQuestionControls .ask-section-heading { margin: 20px 0 12px; }
#expertQuestionCount { margin-left: 6px; color: #969db2; font-size: 11px; font-weight: 400; }
.expert-question-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-bottom: 8px; padding: 10px; border: 1px solid #e7eaf3; border-radius: 8px; background: #fff; }
.expert-question-row > span { color: #969db2; font-size: 12px; text-align: center; }
.expert-question-row input { width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid #e1e5f0; border-radius: 6px; background: #fff; color: #535f78; font: inherit; font-size: 12px; }
.expert-question-row > div { display: flex; gap: 5px; }
.expert-question-row .ask-button { padding: 6px 9px; }
.expert-bulk { display: grid; gap: 8px; margin: 18px 0; }
.expert-bulk label { color: #68758f; font-size: 12px; }
.expert-bulk textarea { width: 100%; min-height: 90px; padding: 10px; resize: vertical; border: 1px solid #e1e5f0; border-radius: 8px; background: #fff; color: #535f78; font: inherit; font-size: 12px; line-height: 1.7; }
.expert-bulk .ask-button { justify-self: start; }
.expert-preview { margin: 18px 0; padding: 14px 16px; border: 1px solid #e7eaf3; border-radius: 8px; background: #f8f9fd; }
.expert-preview > strong { color: #7b86a0; font-size: 12px; font-weight: 500; }
.expert-preview ol { margin: 10px 0 0; padding-left: 20px; color: #68758f; font-size: 12px; line-height: 2; overflow-wrap: anywhere; }
.ask-preview-suggestions .ask-preview-refresh { position: sticky; right: 0; padding: 4px 8px; background: #f7f8fb; color: var(--theme-blue); }
.ask-preview-refresh:disabled { opacity: .5; cursor: default; }
.ask-detail-section[hidden], .ask-dialog [hidden] { display: none; }
.ask-result-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; font-size: 11px; color: #8e9ab1; }
.ask-result-header .ask-badge { margin-left: auto; }
.ask-result-views { display: flex; gap: 7px; border-bottom: 1px solid #e2e8f7; padding: 0 0 10px; margin-top: 14px; }
.ask-result-views button.active { background: #edf0ff; border-color: #c5d0fa; }
.ask-result-body { margin-top: 16px; min-width: 0; overflow: auto; }
.ask-result-body .data-table { min-width: 260px; }
.ask-bars { display: grid; gap: 14px; padding: 10px 0; }
.ask-comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ask-comparison-metric { min-width: 0; padding: 16px; border: 1px solid #e5e9f3; border-radius: 10px; background: linear-gradient(145deg, #fff, #fafbff); }
.ask-comparison-metric > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ask-comparison-metric h3, .ask-comparison-table h3 { margin: 0; color: #344663; font-size: 13px; }
.ask-comparison-metric header small, .ask-comparison-table h3 small { display: block; margin-top: 5px; color: #929db3; font-size: 10px; font-weight: 400; }
.ask-comparison-metric > header > span { color: #7886a1; font-size: 10px; text-align: right; }
.ask-comparison-legend { display: flex; gap: 13px; margin: 14px 0 5px; color: #8995aa; font-size: 10px; }
.ask-comparison-legend span { display: flex; align-items: center; gap: 5px; }
.ask-comparison-legend i, .ask-comparison-bars i { display: inline-block; width: 8px; height: 8px; border-radius: 3px; }
.ask-comparison-legend .year-previous, .ask-comparison-bars .year-previous { background: #91a0e8; }
.ask-comparison-legend .year-current, .ask-comparison-bars .year-current { background: #6b7de4; }
.ask-comparison-city { display: grid; grid-template-columns: 80px minmax(0, 1fr) 56px; align-items: center; gap: 9px; padding: 10px 0; border-top: 1px solid #edf0f6; }
.ask-comparison-city > strong { display: flex; align-items: center; gap: 6px; color: #4e5f7d; font-size: 11px; white-space: nowrap; }
.ask-comparison-city > strong small { color: #9ba6ba; font-size: 10px; }
.ask-comparison-bars { display: grid; gap: 5px; min-width: 0; }
.ask-comparison-bars > div { display: grid; grid-template-columns: 29px minmax(0, 1fr) 38px; align-items: center; gap: 5px; color: #96a0b2; font-size: 9px; }
.ask-comparison-bars i { width: auto; min-width: 2px; height: 7px; }
.ask-comparison-bars b { color: #64738d; font-size: 10px; font-weight: 600; text-align: right; }
.ask-comparison-city > em { color: #5b66c8; font-size: 11px; font-style: normal; font-weight: 750; text-align: right; }
.ask-comparison-table { margin-bottom: 16px; }
.ask-comparison-table h3 { margin-bottom: 8px; }
.ask-bar { display: grid; grid-template-columns: 95px 1fr 72px; align-items: center; gap: 12px; font-size: 12px; color: #7b88a1; }
.ask-bar > div { height: 12px; border-radius: 5px; background: #edf0fa; overflow: hidden; }
.ask-bar i { display: block; height: 100%; min-width: 2px; background: linear-gradient(90deg, #7b8ef2, #9a83e8); border-radius: 5px; }
.ask-bar strong { text-align: right; color: #5369be; font-size: 12px; }
.ask-result-body p { color: #7b88a1; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.ask-query-code { padding: 16px; border: 1px solid #e0e7f8; background: #f3f6ff; border-radius: 8px; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ask-result-actions { margin-top: 18px; padding-top: 12px; border-top: 1px solid #e5ebf9; }
.ask-result-actions button[aria-pressed="true"] { background: #ebefff; border-color: #b7c5f2; }
.ask-result-actions .ask-status { margin: 0; flex-basis: 100%; }
.ask-clarification { padding: 16px; border: 1px solid #dce4fa; border-radius: 10px; background: #f4f7ff; margin-top: 14px; }
.ask-clarification p { font-size: 12px; color: #8090ab; line-height: 1.7; }
.ask-clarification .ask-card-actions { border: 0; padding-top: 5px; }
.ask-result-dialog .ask-dialog-body { min-height: 250px; }
.ask-selection-bar button:focus-visible, .ask-data-drawer button:focus-visible, .ask-button:focus-visible, .ask-page-tabs button:focus-visible, .ask-dialog input:focus-visible, .ask-dialog select:focus-visible { outline: 2px solid #899ded; outline-offset: 2px; }
@media (max-width: 800px) {
  .ask-dataset-grid { grid-template-columns: 1fr; }
  .ask-role-grid { grid-template-columns: 1fr; }
  .ask-knowledge-card { flex-wrap: wrap; }
  .ask-knowledge-card .ask-card-actions { width: 100%; }
}
@media (max-width: 520px) {
  .ask-comparison-grid { grid-template-columns: 1fr; }
  .ask-comparison-metric { padding: 13px; }
  .ask-comparison-city { grid-template-columns: 68px minmax(0, 1fr) 48px; gap: 6px; }
  .expert-mode-grid { grid-template-columns: 1fr; }
  .expert-question-row { grid-template-columns: 20px minmax(0, 1fr); }
  .expert-question-row > div { grid-column: 2; justify-content: flex-end; }
  .ask-data-drawer, .ask-data-drawer.is-preview { width: 100vw; }
  .ask-picker-grid { grid-template-columns: 1fr; }
  .ask-picker-header, .ask-picker-toolbar, .ask-picker-content, .ask-preview-heading { padding-left: 14px; padding-right: 14px; }
  .ask-picker-card-actions .ask-button { opacity: 1; }
  .ask-preview-title h2 { font-size: 14px; }
  .ask-preview-content { margin-left: 14px; margin-right: 14px; }
  .ask-preview-toolbar { padding-left: 14px; padding-right: 14px; gap: 8px; flex-wrap: wrap; }
  .ask-preview-toolbar .ask-picker-search { width: 100%; }
  .ask-selection-hint { display: none; }
  .ask-select-trigger { max-width: 60%; }
  .ask-summary-grid { gap: 8px; }
  .ask-summary-card { padding: 12px; }
  .ask-summary-card span { font-size: 10px; }
  .ask-summary-card strong { font-size: 21px; }
  .ask-dataset-card, .ask-knowledge-card, .ask-role-card { padding: 16px; }
  .ask-role-switch { align-items: flex-start; flex-direction: column; }
  .ask-form-grid { grid-template-columns: 1fr; }
  .ask-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .ask-dialog-header, .ask-dialog-body, .ask-dialog-footer { padding: 16px; }
  .ask-result-views { flex-wrap: wrap; }
  .ask-bar { grid-template-columns: 74px 1fr 55px; gap: 8px; }
  .ask-section-heading { align-items: flex-start; }
}
#sourcesPage, #feedbackPage { position: relative; isolation: isolate; --dataset-accent: #6245ed; --dataset-ink: #262d50; }
#sourcesPage::before, #feedbackPage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("./dataset-waves.svg") center / 100% 100% no-repeat; pointer-events: none; }
.dataset-workspace { position: relative; display: flex; flex-direction: column; max-width: none; width: 100%; height: 100%; min-height: 0; padding: 12px 24px 24px; }
.dataset-workspace > .ask-page-tabs { flex: none; gap: 30px; margin-bottom: 20px; border-bottom-color: #dedff7; }
.dataset-workspace > .ask-page-tabs button { padding: 10px 2px 12px; color: #647294; font-size: 12px; }
.dataset-workspace > .ask-page-tabs button.active { color: var(--dataset-accent); border-bottom: 3px solid var(--dataset-accent); }
.dataset-workspace > .ask-page-tabs span { padding: 2px 6px; background: #eceaff; color: var(--dataset-accent); font-size: 10px; }
.operation-workspace > .operation-panel:not([hidden]) { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.operation-panel { padding: 24px; border: 1px solid #ffffffc9; border-radius: 16px; background: #ffffffed; box-shadow: 0 12px 36px #838ad509; }
.operation-panel .ask-table-scroll, .operation-panel .source-table-wrap { flex: 1; min-height: 0; }
.operation-panel .ask-summary-grid { flex: none; }
#sourceDatasetsPanel:not([hidden]) { display: flex; flex: 1; min-height: 0; }
.dataset-layout { display: grid; flex: 1; min-width: 0; grid-template-columns: minmax(0, 1fr); min-height: 0; border: 1px solid #ffffffc9; border-radius: 16px; background: #ffffffed; box-shadow: 0 12px 36px #838ad509; }
.dataset-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 24px; }
.dataset-workspace .page-primary { min-height: 44px; padding: 11px 20px; border-radius: 10px; background: linear-gradient(180deg, #9884f7, #6947ee); box-shadow: inset 0 1px 0 #ffffff35, 0 4px 10px #7356e812; font-size: 13px; }
.dataset-workspace .page-primary:hover { background: linear-gradient(180deg, #8b75ed, #5d3cdd); }
.dataset-workspace .page-primary svg { width: 18px; height: 18px; }
.dataset-main .page-primary { min-height: 32px; padding: 7px 14px; font-size: 12px; }
.dataset-main .page-primary svg { width: 16px; height: 16px; }
.dataset-toolbar { display: grid; flex-shrink: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 18px; margin: 0 0 22px; padding-bottom: 22px; border-bottom: 1px solid #edf0f8; align-items: center; }
.knowledge-toolbar { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) auto; margin-bottom: 18px; padding-bottom: 18px; }
.knowledge-toolbar .page-primary { min-height: 36px; padding: 8px 15px; border-radius: 9px; background: linear-gradient(180deg, #9884f7, #6947ee); box-shadow: inset 0 1px 0 #ffffff35, 0 4px 10px #7356e812; font-size: 12px; }
.knowledge-toolbar .page-primary:hover { background: linear-gradient(180deg, #8b75ed, #5d3cdd); }
.knowledge-toolbar .page-primary svg { width: 16px; height: 16px; }
.knowledge-list-toolbar { margin-bottom: 14px; }
.knowledge-list-toolbar .page-primary { min-height: 36px; padding: 8px 15px; border-radius: 9px; background: linear-gradient(180deg, #9884f7, #6947ee); box-shadow: inset 0 1px 0 #ffffff35, 0 4px 10px #7356e812; font-size: 12px; }
.knowledge-list-toolbar .page-primary:hover { background: linear-gradient(180deg, #8b75ed, #5d3cdd); }
.knowledge-list-toolbar .page-primary svg { width: 16px; height: 16px; }
.knowledge-list-toolbar .ask-button:disabled { cursor: not-allowed; opacity: .45; }
.session-memory-filter-card { margin: 0 0 14px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.session-memory-toolbar.dataset-toolbar { grid-template-columns: minmax(180px, 1.25fr) minmax(130px, 1fr) minmax(130px, .9fr) minmax(180px, 1.1fr) auto; gap: 14px; margin: 0; padding: 0 0 18px; border-bottom: 1px solid #edf0f8; }
.session-memory-toolbar .page-primary { min-height: 32px; padding: 7px 14px; border-radius: 10px; background: linear-gradient(180deg, #9884f7, #6947ee); box-shadow: inset 0 1px 0 #ffffff35, 0 4px 10px #7356e812; font-size: 12px; }
.session-memory-toolbar .page-primary:hover { background: linear-gradient(180deg, #8b75ed, #5d3cdd); }
.session-memory-card { display: flex; flex: 1; flex-direction: column; min-height: 220px; overflow: hidden; border: 1px solid #e1e7f0; border-radius: 11px; background: #fff; box-shadow: 0 6px 18px #26395608; }
.session-memory-card .session-memory-filters { flex: none; margin: 0; padding: 17px 18px; border: 0; border-bottom: 1px solid #eaf0f5; background: #fff; }
.session-memory-card .session-memory-table-head { flex: none; }
.session-memory-card .session-memory-table-scroll { flex: 1; min-height: 0; }
.session-memory-card .session-memory-pagination { flex: none; }
.dataset-search-group { display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; color: #687796; font-size: 12px; }
.dataset-search-group > input, .dataset-search-dates { min-width: 0; width: 100%; height: 32px; padding: 7px 10px; border: 1px solid #d9dffa; border-radius: 10px; background: #fff; color: #4e5c7e; font: inherit; font-size: 12px; }
.dataset-search-group > select { min-width: 0; width: 100%; height: 32px; padding: 7px 10px; border: 1px solid #d9dffa; border-radius: 10px; background: #fff; color: #4e5c7e; font: inherit; font-size: 12px; }
.dataset-search-group > select { padding-right: 7px; }
.dataset-search-group input::placeholder { color: #8e99b1; }
.dataset-search-group input:focus-visible { outline: 2px solid #b6a7fa; outline-offset: 2px; }
.dataset-search-group select:focus-visible { outline: 2px solid #b6a7fa; outline-offset: 2px; }
.dataset-search-dates { display: flex; align-items: center; gap: 6px; padding: 0 8px; }
.dataset-search-dates svg { width: 15px; height: 15px; color: #8e99b1; }
.dataset-search-dates input { flex: 1; min-width: 0; width: 0; height: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; }
.dataset-toolbar .ask-toolbar-actions { flex-wrap: wrap; }
.dataset-toolbar button { min-height: 32px; padding: 7px 14px; border-radius: 10px; font-size: 12px; }
.personal-query-toolbar button { min-height: 32px; padding: 7px 14px; border-radius: 10px; font-size: 12px; }
.shared-file-query-toolbar { grid-template-columns: minmax(0, 1fr) minmax(130px, .7fr) minmax(0, 1fr) auto; }
.personal-feedback-filters.dataset-toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.personal-feedback-filters .dataset-search-group { grid-template-columns: 78px minmax(0, 1fr); }
.personal-feedback-filters .ask-toolbar-actions { justify-content: flex-end; }
.dataset-list-toolbar { display: flex; flex: none; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; color: var(--dataset-ink); font-size: 12px; }
.dataset-list-toolbar strong, .dataset-list-footer strong { color: var(--dataset-accent); font-weight: 650; }
.dataset-list-toolbar strong { font-size: 14px; }
.dataset-list-toolbar .ask-button { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 7px 14px; border-radius: 10px; font-size: 12px; }
.dataset-list-toolbar .ask-button svg { width: 16px; height: 16px; }
.dataset-workspace button:disabled { cursor: not-allowed; opacity: .5; }
.dataset-table-wrap { flex: 1; min-height: 0; border: 0; border-radius: 10px 10px 0 0; scrollbar-width: thin; scrollbar-color: #d8d5f0 transparent; }
.dataset-table-wrap::-webkit-scrollbar { display: block; height: 6px; width: 6px; }
.dataset-table-wrap::-webkit-scrollbar-thumb { background: #d8d5f0; border-radius: 6px; }
.dataset-table-wrap .dataset-table { --dataset-select-column: 48px; --dataset-index-column: 56px; --dataset-name-column: 300px; min-width: 1450px; }
.dataset-table td { height: 68px; padding: 12px; border-color: #edf0f8; color: #566586; white-space: nowrap; font-size: 12px; }
.dataset-table td:first-child { min-width: 0; width: var(--dataset-select-column); text-align: center; color: #8591ac; }
.dataset-table th { position: sticky; top: 0; z-index: 2; height: 40px; padding: 10px 12px; background: #f5f6fb; color: #6f7c98; font-size: 12px; font-weight: 500; white-space: nowrap; }
.dataset-table th:first-child { text-align: center; }
.dataset-table th:nth-child(1), .dataset-table td:nth-child(1) { position: sticky; left: 0; width: var(--dataset-select-column); min-width: var(--dataset-select-column); }
.dataset-table th:nth-child(2), .dataset-table td:nth-child(2) { position: sticky; left: var(--dataset-select-column); width: var(--dataset-index-column); min-width: var(--dataset-index-column); }
.dataset-table th:nth-child(3), .dataset-table td:nth-child(3) { position: sticky; left: calc(var(--dataset-select-column) + var(--dataset-index-column)); width: var(--dataset-name-column); min-width: var(--dataset-name-column); }
.dataset-table td:nth-child(-n + 3) { z-index: 1; background: #fff; }
.dataset-table th:nth-child(-n + 3) { z-index: 4; background: #f5f6fb; }
.dataset-table td:nth-child(3) { box-shadow: 8px 0 16px #6675a008; }
.dataset-table input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-content: center;
  width: 18px;
  height: 18px;
  margin: 0;
  vertical-align: middle;
  border: 1.5px solid #c5cce0;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 1px 2px #4f5f8012;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s, transform .15s;
}
.dataset-table input[type="checkbox"]::after {
  content: "";
  width: 8px;
  height: 4px;
  margin-bottom: 2px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  opacity: 0;
  transform: rotate(-45deg) scale(.7);
  transition: opacity .12s, transform .12s;
}
.dataset-table input[type="checkbox"]:hover:not(:disabled) { border-color: #9c88f4; box-shadow: 0 0 0 3px #7155ed14; }
.dataset-table input[type="checkbox"]:checked, .dataset-table input[type="checkbox"]:indeterminate {
  border-color: var(--dataset-accent);
  background: linear-gradient(145deg, #8e79f6, #6245ed);
  box-shadow: 0 3px 7px #6849ed35;
}
.dataset-table input[type="checkbox"]:checked::after { opacity: 1; transform: rotate(-45deg) scale(1); }
.dataset-table input[type="checkbox"]:indeterminate::after {
  width: 8px;
  height: 2px;
  margin: 0;
  border: 0;
  border-radius: 2px;
  background: #fff;
  opacity: 1;
  transform: none;
}
.dataset-table input[type="checkbox"]:focus-visible { outline: 2px solid #a798f7; outline-offset: 3px; }
.dataset-table input[type="checkbox"]:disabled { border-color: #dfe3ee; background: #f4f6fa; box-shadow: none; cursor: not-allowed; }
.dataset-table input[type="checkbox"]:checked:disabled, .dataset-table input[type="checkbox"]:indeterminate:disabled {
  border-color: #bdb1ef;
  background: #c8bef4;
}
.dataset-table tbody tr:hover { background: #fcfbff; }
.dataset-table tbody tr:hover td:nth-child(-n + 3) { background: #fcfbff; }
.dataset-table th:last-child, .dataset-table td:last-child { position: sticky; right: 0; z-index: 1; min-width: 210px; background: #fff; box-shadow: -8px 0 16px #6675a008; }
.dataset-table th:last-child { z-index: 3; background: #f5f6fb; }
.dataset-name-cell { display: flex; align-items: center; gap: 10px; }
.dataset-name-cell > div { max-width: 240px; }
.dataset-table .dataset-name-cell button { max-width: 240px; color: var(--dataset-accent); font-size: 12px; font-weight: 600; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dataset-table .dataset-name-cell small { display: block; margin-top: 5px; color: #8894b0; font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
.dataset-table-icon { display: grid; place-items: center; flex: none; width: 30px; height: 34px; border-radius: 10px; background: linear-gradient(145deg, #f3efff, #eeebff); color: var(--dataset-accent); }
.dataset-table-icon svg { width: 18px; height: 18px; }
.dataset-table td button { color: var(--dataset-accent); font-size: 12px; }
.dataset-table td button:disabled { color: #a5acc0; cursor: not-allowed; }
.dataset-row-actions { display: flex; align-items: center; gap: 16px; }
.dataset-row-actions > button { white-space: nowrap; }
.dataset-table td .dataset-row-actions > button + button { margin-left: 0; }
.dataset-more summary { list-style: none; cursor: pointer; color: #8d94a4; }
.dataset-more summary::-webkit-details-marker { display: none; }
.dataset-more summary svg { width: 16px; height: 16px; }
.dataset-more[open] { min-width: 115px; }
.dataset-more > div { display: grid; gap: 8px; margin-top: 8px; padding: 10px; border: 1px solid #e9e7f5; border-radius: 9px; background: #fff; }
.dataset-table td .dataset-more button { margin: 0; text-align: left; }
.dataset-role-cell { min-width: 132px; }
.dataset-role-chips { display: flex; flex-wrap: wrap; gap: 6px; max-width: 180px; }
.dataset-role-chip { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; border: 1px solid #ddd5fa; border-radius: 999px; background: #f6f3ff; color: #6a52ca; font-size: 11px; line-height: 1.3; }
.dataset-role-empty { color: #a0a9bc; }
.dataset-role-assignment { display: grid; gap: 16px; }
.dataset-role-assignment-note { display: flex; align-items: flex-start; gap: 9px; padding: 13px 16px; border: 1px solid #e1dcfb; border-radius: 10px; background: linear-gradient(105deg, #f7f4ff, #f6f8ff); color: #655a8b; box-shadow: inset 3px 0 #7968e8; font-size: 12px; line-height: 1.7; }
.dataset-role-assignment-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.dataset-role-assignment fieldset { margin: 0; padding: 13px 15px 15px; border: 1px solid #e5e8f1; border-radius: 10px; background: #fff; }
.dataset-role-assignment legend { padding: 0 6px; color: #4d5f80; font-size: 12px; font-weight: 700; }
.ask-dialog.dataset-role-dialog { display: flex; flex-direction: column; width: min(1340px, calc(100vw - 48px)); height: min(820px, calc(100dvh - 48px)); max-height: calc(100dvh - 48px); }
.dataset-role-dialog > form { display: flex; flex-direction: column; flex: 1; height: 100%; min-height: 0; }
.dataset-role-dialog .ask-dialog-header, .dataset-role-dialog .ask-dialog-footer { flex: none; background: #fff; }
.dataset-role-dialog .ask-dialog-header { padding: 21px 28px; background: linear-gradient(110deg, #fff, #faf9ff); }
.dataset-role-dialog .ask-dialog-header h2 { color: var(--theme-ink); }
.dataset-role-dialog .ask-dialog-body { flex: 1; min-height: 0; max-height: none; padding: 22px 28px; overflow: auto; background: linear-gradient(180deg, #fbfcff, #f8f9fc); }
.dataset-role-dialog .dataset-role-assignment { display: flex; flex-direction: column; min-height: 100%; }
.dataset-role-dialog #datasetAuthorizationWorkspace { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.dataset-role-dialog #datasetAuthorizationWorkspace > .dm-grant-fields,
.dataset-role-dialog #datasetAuthorizationWorkspace > .dm-grant-tabs { flex: none; }
.dataset-role-dialog #datasetRecipientPicker { display: flex; flex: 1; min-height: 0; }
.dataset-role-dialog .dm-recipient-picker-grid { flex: 1; min-height: 0; }
.dataset-role-dialog .dm-recipient-picker-grid > section { min-height: 0; overflow: auto; }
.dataset-role-dialog .ask-dialog-footer { padding: 14px 28px; }
.dataset-role-dialog .ask-dialog-footer .page-primary { min-height: 38px; padding: 9px 20px; border-radius: 8px; background: linear-gradient(135deg, #7968e8, #5f50d1); box-shadow: 0 4px 12px #6556d327; }
.dataset-role-dialog .ask-dialog-footer .page-primary:hover { background: linear-gradient(135deg, #6c5bdb, #5345c2); }
.dataset-role-picker { display: grid; grid-template-columns: minmax(190px, .78fr) minmax(340px, 1.65fr) minmax(270px, 1fr); min-height: 420px; border: 1px solid #e0e4ef; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px #3547750a; }
.dataset-role-panel { min-width: 0; padding: 20px; border-right: 1px solid #e9ecf4; background: #fff; }
.dataset-role-panel:last-child { border-right: 0; background: linear-gradient(180deg, #fcfbff, #f9f8ff); }
.dataset-role-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; margin-bottom: 12px; }
.dataset-role-panel-head:not(.dataset-role-selected-head) { padding-bottom: 12px; border-bottom: 1px solid #eceef5; }
.dataset-role-panel-head h3 { margin: 0; color: #3f4e68; font-size: 13px; font-weight: 700; }
.dataset-role-panel-head h3 strong { color: var(--dataset-accent); }
.dataset-role-list-head p { margin: 4px 0 0; color: #929db3; font-size: 11px; }
.dataset-role-groups { display: grid; gap: 7px; }
.dataset-role-groups button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 42px; padding: 8px 11px; border: 1px solid #e5e8f0; border-radius: 8px; background: #fff; color: #687796; font: inherit; font-size: 12px; text-align: left; transition: border-color .16s, background .16s, color .16s, box-shadow .16s; }
.dataset-role-groups button:hover { border-color: #d8d1f7; background: #faf9ff; color: var(--dataset-accent); }
.dataset-role-groups button.active { border-color: #cfc5fa; background: linear-gradient(100deg, #f3f0ff, #faf9ff); color: var(--dataset-accent); box-shadow: inset 3px 0 #7564df, 0 3px 9px #4b3daa0b; font-weight: 650; }
.dataset-role-groups button:focus-visible { outline: 2px solid #a99bf0; outline-offset: 2px; }
.dataset-role-groups button strong { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 7px; background: #f3f4f8; color: #748099; font-size: 10px; font-weight: 650; }
.dataset-role-groups button.active strong { background: #e8e2ff; color: #5e4fc5; }
.dataset-role-options { display: grid; max-height: 48dvh; gap: 9px; overflow: auto; padding: 2px 5px 2px 2px; scrollbar-color: #d8d4e9 transparent; scrollbar-width: thin; }
.dataset-role-option { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 15px; border: 1px solid #e3e7ef; border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .16s, background .16s, box-shadow .16s, transform .16s; }
.dataset-role-option:hover, .dataset-role-option.selected { border-color: #cfc5fa; background: linear-gradient(105deg, #f8f5ff, #fff); }
.dataset-role-option:hover { transform: translateY(-1px); }
.dataset-role-option.selected { box-shadow: inset 3px 0 #7564df, 0 4px 12px #5948bd12; }
.dataset-role-option:focus-within { outline: 2px solid #a99bf0; outline-offset: 2px; }
.dataset-role-option.disabled { cursor: not-allowed; opacity: .58; }
.dataset-role-option input { flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--dataset-accent); }
.dataset-role-option strong, .dataset-role-option small { display: block; }
.dataset-role-option strong { color: #4e5f80; font-size: 13px; }
.dataset-role-option small { margin-top: 4px; color: #8a96ae; font-size: 12px; line-height: 1.6; }
.dataset-role-selected-head .link-btn { padding: 5px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--dataset-accent); font: inherit; font-size: 11px; cursor: pointer; }
.dataset-role-selected-head .link-btn:hover:not(:disabled) { background: #f0edff; }
.dataset-role-selected-head .link-btn:disabled { color: #b2bac8; cursor: not-allowed; }
.dataset-role-selected-head .link-btn:focus-visible { outline: 2px solid #a99bf0; outline-offset: 2px; }
.dataset-role-selected-list { display: grid; align-content: start; gap: 9px; min-height: 140px; }
.dataset-role-selected-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; padding: 11px 13px; border: 1px solid #e3dcfb; border-radius: 9px; background: #fff; box-shadow: 0 3px 10px #48389d0a; }
.dataset-role-selected-item strong, .dataset-role-selected-item small { display: block; }
.dataset-role-selected-item strong { color: #4e5f80; font-size: 12px; }
.dataset-role-selected-item small { margin-top: 3px; color: #929db3; font-size: 11px; }
.dataset-role-selected-item button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 7px; background: transparent; color: #8e82be; }
.dataset-role-selected-item button:hover { background: #f0edff; color: var(--dataset-accent); }
.dataset-role-selected-item svg { width: 14px; height: 14px; }
.dataset-role-picker-empty { display: grid; place-items: center; gap: 7px; min-height: 148px; padding: 15px; border: 1px dashed #e1def0; border-radius: 9px; background: #ffffffaa; color: #929db1; font-size: 12px; text-align: center; }
.dataset-role-picker-empty svg { width: 24px; height: 24px; color: #b1a8d9; }
.dataset-role-picker-empty strong { color: #687793; font-size: 12px; }
.dataset-role-picker-empty span { color: #9aa4b7; font-size: 11px; line-height: 1.5; }
.dataset-list-footer { display: flex; flex: none; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding: 20px 0 0; border-top: 1px solid #edf0f8; color: #7e8baa; font-size: 12px; }
.dataset-pagination, .dataset-page-numbers, .dataset-page-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.dataset-pagination button, .dataset-pagination select, .dataset-page-jump input { height: 30px; padding: 5px 8px; border: 1px solid #d9dffa; border-radius: 9px; background: #fff; color: #687796; font: inherit; }
.dataset-page-numbers button { min-width: 30px; }
.dataset-page-numbers button[aria-current="page"] { border-color: var(--dataset-accent); background: #f3f0ff; color: var(--dataset-accent); font-weight: 650; }
.dataset-page-jump input { width: 55px; text-align: center; }
#datasetMessage:empty { display: none; }
.dataset-more summary:focus-visible, .dataset-table button:focus-visible { outline: 2px solid #a798f7; outline-offset: 3px; }
.ask-dialog.dataset-config-dialog { width: min(1220px, calc(100vw - 40px)); height: min(840px, calc(100dvh - 40px)); }
.dataset-config-dialog > form { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.dataset-config-dialog .ask-dialog-header { flex: none; background: #fff; padding: 20px 28px; }
.dataset-config-dialog .ask-dialog-header h2 { color: var(--theme-ink); font-size: 18px; }
.dataset-config-dialog .ask-dialog-body { display: flex; flex-direction: column; flex: 1; min-height: 0; max-height: none; padding: 0; background: #fff; }
.dataset-config-tabs { display: flex; gap: 28px; padding: 0 28px; border-bottom: 1px solid var(--theme-border); }
.dataset-config-tabs button { display: flex; align-items: center; gap: 5px; padding: 16px 0; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--theme-muted); font-size: 12px; }
.dataset-config-tabs button.active { color: var(--theme-blue); border-bottom-color: var(--theme-blue); font-weight: 650; }
.dataset-config-tabs button svg { width: 12px; height: 12px; }
.dataset-steps { display: flex; justify-content: center; gap: 22px; padding: 24px; background: #fafafe; }
.dataset-steps button { display: flex; align-items: center; gap: 9px; padding: 0; border: 0; background: none; color: #999faa; font-size: 12px; white-space: nowrap; }
.dataset-steps button:not(:last-child)::after { content: ""; display: block; width: 45px; height: 1px; margin-left: 14px; background: #e3e1ee; }
.dataset-steps button > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #eeedf3; color: #9095a2; font-size: 12px; }
.dataset-steps button.active { color: var(--theme-blue); font-weight: 650; }
.dataset-steps button.active > span { background: var(--theme-blue); color: #fff; }
.dataset-steps button.done > span { background: #eeebfc; color: var(--theme-blue); }
.dataset-config-content { flex: 1; min-height: 0; overflow: auto; padding: 26px 32px; }
.dataset-config-dialog .expert-mode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dataset-system-preview { padding: 20px; border: 1px solid var(--theme-border); border-radius: 9px; background: #fafafe; }
.dataset-system-preview > div { display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: 13px; }
.dataset-system-preview li { margin: 14px 0; color: #5d6573; font-size: 12px; line-height: 1.6; }
.dataset-system-preview p { margin: 18px 0 0; color: #959ba6; font-size: 11px; line-height: 1.8; }
.dataset-config-content #datasetBasicStep { max-width: 830px; margin: 0 auto; }
.dataset-section-heading { display: flex; align-items: flex-start; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 24px; }
.dataset-section-heading h3 { margin: 0; color: var(--theme-ink); font-size: 16px; }
.dataset-section-heading > p { flex-basis: 100%; }
.dataset-section-heading p { margin: 0; color: var(--theme-muted); font-size: 12px; line-height: 1.8; }
.dataset-section-heading > div p { margin-top: 8px; }
.dataset-config-content label > small { color: #959ba6; font-size: 10px; line-height: 1.7; }
.dataset-config-dialog #askEditorError { flex: none; margin: 0; padding: 5px 28px 12px; }
.dataset-config-dialog #askEditorError:empty { display: none; }
.dataset-config-dialog .ask-dialog-footer { flex: none; padding: 16px 28px; }
.dataset-config-dialog .ask-form-grid input:read-only, .dataset-config-dialog .ask-form-grid select:disabled { background: #f7f7fa; color: #9297a2; }
#datasetCompleteStep { max-width: 650px; margin: 10px auto; text-align: center; }
.dataset-complete-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: #eeebfc; color: var(--theme-blue); }
.dataset-complete-icon svg { width: 30px; height: 30px; }
#datasetCompleteStep h3 { color: var(--theme-ink); font-size: 20px; }
#datasetCompleteStep > p { color: var(--theme-muted); font-size: 12px; line-height: 1.8; }
#datasetReview dl { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; margin-top: 28px; padding: 24px; border-radius: 9px; background: #f8f8fc; text-align: left; font-size: 12px; }
#datasetReview dt { color: #969ba7; }
#datasetReview dd { margin: 0; color: #555e70; overflow-wrap: anywhere; }
@media (max-width: 1050px) {
  .dataset-workspace { height: auto; min-height: 100%; }
  .dataset-main { padding: 18px; }
  .dataset-toolbar { grid-template-columns: minmax(0, 1fr); }
  .session-memory-toolbar.dataset-toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .session-memory-toolbar .ask-toolbar-actions { justify-content: flex-end; }
}
@media (max-width: 900px) {
  .dataset-role-picker { grid-template-columns: minmax(0, 1fr); }
  .dataset-role-panel { border-right: 0; border-bottom: 1px solid #edf0f6; }
  .dataset-role-panel:last-child { border-bottom: 0; }
  .dataset-role-options { max-height: 38dvh; }
}
@media (max-width: 650px) {
  .dataset-workspace { padding: 16px; }
  .dataset-workspace > .ask-page-tabs { gap: 20px; margin-bottom: 20px; }
  .dataset-workspace > .ask-page-tabs button { font-size: 12px; }
  .operation-panel { padding: 16px; }
  .dataset-main { padding: 16px; }
  .dataset-toolbar .ask-toolbar-actions { gap: 8px; }
  .session-memory-toolbar.dataset-toolbar { grid-template-columns: minmax(0, 1fr); padding-bottom: 16px; }
  .dataset-search-group, .personal-feedback-filters .dataset-search-group { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .shared-file-query-toolbar, .personal-feedback-filters.dataset-toolbar { grid-template-columns: minmax(0, 1fr); }
  .dataset-table td { height: 68px; }
  .dataset-table th:last-child, .dataset-table td:last-child { position: static; box-shadow: none; }
  .dataset-role-picker { grid-template-columns: 1fr; }
  .dataset-role-panel { border-right: 0; border-bottom: 1px solid #edf0f6; }
  .dataset-role-panel:last-child { border-bottom: 0; }
  .ask-dialog.dataset-role-dialog { width: 100vw; height: 100dvh; max-height: 100dvh; max-width: 100vw; border-radius: 0; }
  .dataset-role-dialog .ask-dialog-header, .dataset-role-dialog .ask-dialog-footer { padding: 14px 16px; }
  .dataset-role-dialog .ask-dialog-body { padding: 16px; }
  .dataset-role-dialog .dataset-role-assignment { min-height: 0; }
  .dataset-role-dialog #datasetAuthorizationWorkspace { flex: none; }
  .dataset-role-dialog #datasetRecipientPicker { display: block; flex: none; }
  .dataset-role-dialog .dm-recipient-picker-grid { min-height: 0; }
  .dataset-role-dialog .dm-recipient-picker-grid > section { overflow: visible; }
  .dataset-role-panel { padding: 14px; }
  .dataset-role-options { max-height: 38dvh; }
  .ask-dialog.dataset-config-dialog { width: 100vw; height: 100dvh; max-height: 100dvh; max-width: 100vw; border-radius: 0; }
  .dataset-config-dialog .ask-dialog-header { padding: 16px; }
  .dataset-config-tabs { gap: 20px; padding: 0 16px; }
  .dataset-config-tabs button { font-size: 11px; }
  .dataset-steps { justify-content: flex-start; gap: 10px; overflow-x: auto; padding: 18px 16px; }
  .dataset-steps button { gap: 5px; font-size: 11px; }
  .dataset-steps button:not(:last-child)::after { width: 14px; margin-left: 4px; }
  .dataset-steps button > span { width: 21px; height: 21px; font-size: 11px; }
  .dataset-config-content { padding: 20px 16px; }
  .dataset-config-dialog .ask-dialog-footer { padding: 12px 16px; }
  .dataset-config-dialog .ask-dialog-footer > span { display: none; }
  .dataset-config-dialog #askEditorError { padding: 5px 16px 12px; }
  .dataset-config-dialog .ask-form-grid { grid-template-columns: minmax(0, 1fr); }
  .dataset-config-dialog .expert-mode-grid { grid-template-columns: minmax(0, 1fr); }
}
.operation-feedback-filters { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 14px 18px; align-items: end; padding: 18px; margin: 0 0 8px; border: 1px solid #edf0f7; border-radius: 11px; background: #fff; }
.operation-feedback-field { display: grid; gap: 7px; min-width: 0; color: #697792; font-size: 11px; }
.operation-feedback-field input { min-width: 0; width: 100%; height: 35px; padding: 7px 10px; border: 1px solid #dfe4ee; border-radius: 7px; background: #fff; color: #46536b; font: inherit; font-size: 11px; }
.operation-feedback-field input:focus { outline: 0; border-color: #8794e9; box-shadow: 0 0 0 3px #8794e91a; }
.operation-feedback-dates { display: flex; align-items: center; gap: 8px; min-width: 0; }
.operation-feedback-dates span { color: #9aa5b7; }
.operation-feedback-actions { display: flex; gap: 9px; }
.operation-feedback-actions button { flex: none; min-width: 52px; min-height: 30px; height: 30px; justify-content: center; padding: 0 8px; border-radius: 6px; font-size: 10px; line-height: 1; }
.operation-workspace .operation-feedback-actions .page-primary { min-width: 52px; min-height: 30px; height: 30px; padding: 0 8px; font-size: 10px; line-height: 1; }
.operation-feedback-statuses { display: flex; flex: none; align-items: center; gap: 8px; overflow-x: auto; margin: 0 0 14px; padding-bottom: 2px; }
.operation-feedback-statuses button { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 8px 12px; border: 1px solid #e5e9f1; border-radius: 7px; background: #fff; color: #707e96; font: inherit; font-size: 11px; }
.operation-feedback-statuses button:hover, .operation-feedback-statuses button.active { border-color: #d8def8; background: #f0f1ff; color: #5c68d0; }
.operation-feedback-statuses button.active { font-weight: 650; }
.operation-feedback-statuses button span { color: #97a2b5; font-size: 10px; }
.operation-feedback-statuses button.active span { color: #5c68d0; }
.operation-feedback-table-wrap { position: relative; overflow: auto; min-height: 220px; border: 1px solid #edf0f6; border-radius: 9px; background: #fff; }
.operation-feedback-table { min-width: 1060px; table-layout: fixed; }
.operation-feedback-table th, .operation-feedback-table td { padding: 12px 13px; white-space: nowrap; }
.operation-feedback-table th:first-child, .operation-feedback-table td:first-child { width: 52px; min-width: 52px; text-align: center; }
.operation-feedback-table th:nth-child(2), .operation-feedback-table td:nth-child(2) { width: 135px; }
.operation-feedback-table th:nth-child(3), .operation-feedback-table td:nth-child(3) { width: 220px; }
.operation-feedback-table th:nth-child(4), .operation-feedback-table td:nth-child(4) { width: 80px; }
.operation-feedback-table th:nth-child(5), .operation-feedback-table td:nth-child(5) { width: 95px; }
.operation-feedback-table th:nth-child(6), .operation-feedback-table td:nth-child(6) { width: 110px; }
.operation-feedback-table th:nth-child(7), .operation-feedback-table td:nth-child(7),
.operation-feedback-table th:nth-child(8), .operation-feedback-table td:nth-child(8) { width: 125px; }
.operation-feedback-table th:last-child, .operation-feedback-table td:last-child { position: sticky; right: 0; width: 116px; min-width: 116px; z-index: 2; background: #fff; box-shadow: -7px 0 12px #293c5d10; }
.operation-feedback-table th:last-child { z-index: 3; background: #f7f8fc; }
.operation-feedback-table td strong { color: #40506a; font-weight: 550; }
.operation-feedback-table td button { padding: 5px 9px; border: 1px solid #e0e5f0; border-radius: 6px; background: #fff; color: #6475d8; font-size: 10px; }
.operation-feedback-empty { position: absolute; inset: 40px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #a0aabd; font-size: 11px; pointer-events: none; }
.operation-feedback-empty[hidden] { display: none; }
.empty-feedback-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #e9edf4; border-radius: 50%; color: #bcc5d4; font-size: 19px; }
.operation-feedback-pagination { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; color: #8996aa; font-size: 11px; }
.operation-feedback-pager { display: flex; align-items: center; gap: 10px; }
.operation-feedback-pager button { height: 29px; padding: 0 10px; border: 1px solid #e1e6ef; border-radius: 6px; background: #fff; color: #68768d; font-size: 10px; }
.operation-feedback-pager button:disabled { color: #b8c0cd; cursor: default; }
.operation-feedback-pager strong { color: #5c68d0; font-weight: 600; }
.operation-feedback-pager label { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.operation-feedback-pager input, .operation-feedback-pager select { height: 29px; border: 1px solid #e1e6ef; border-radius: 6px; background: #fff; color: #68768d; font: inherit; font-size: 10px; }
.operation-feedback-pager input { width: 44px; padding: 0 5px; }
.operation-feedback-pager select { padding: 0 7px; }
.operation-feedback-title { display: grid; gap: 4px; max-width: 280px; padding: 0; border: 0; background: transparent; color: #40506a; text-align: left; font: inherit; white-space: normal; }
.operation-feedback-table td .operation-feedback-title { padding: 0; border: 0; background: transparent; }
.operation-feedback-title:hover strong { color: #576dd8; }
.operation-feedback-title strong { overflow: hidden; font-size: 11px; font-weight: 600; text-overflow: ellipsis; }
.operation-feedback-title small { overflow: hidden; color: #98a3b4; font-size: 10px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.feedback-detail-dialog { position: fixed; inset: 0 0 0 auto; width: 76vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; background: #f5f7fb; color: #26344c; box-shadow: -12px 0 42px #17234220; }
.feedback-detail-dialog::backdrop { background: #19243a66; }
.feedback-detail-shell { display: flex; flex-direction: column; width: 100%; height: 100%; }
.feedback-detail-header { display: flex; flex: none; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 28px 16px; border-bottom: 1px solid #e7ebf2; background: #fff; }
.feedback-detail-header h2 { display: inline; margin: 0; color: #26344c; font-size: 19px; font-weight: 700; }
.feedback-detail-header p { margin: 8px 0 0; color: #8995a8; font-size: 11px; }
.feedback-detail-close { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 7px; background: transparent; color: #7c8798; }
.feedback-detail-close:hover { background: #f0f2f7; }
.feedback-detail-close svg { width: 17px; height: 17px; }
.feedback-detail-status { display: inline-flex; align-items: center; min-height: 22px; margin-left: 11px; padding: 0 9px; border-radius: 12px; background: #fff5e8; color: #c1842c; font-size: 10px; vertical-align: 2px; }
.feedback-detail-status.is-processing { background: #edf3ff; color: #5377cf; }
.feedback-detail-status.is-waiting { background: #fff6e8; color: #bd862b; }
.feedback-detail-status.is-resolved { background: #eaf8f0; color: #3b9a70; }
.feedback-detail-status.is-closed { background: #f0f2f5; color: #7b8799; }
.feedback-detail-columns { display: grid; flex: 1; min-height: 0; grid-template-columns: minmax(0, 1.15fr) minmax(350px, .85fr); gap: 16px; padding: 18px 22px 22px; overflow: hidden; }
.feedback-detail-left, .feedback-detail-right { display: flex; flex-direction: column; min-height: 0; gap: 15px; }
.feedback-detail-left { overflow-y: auto; padding-right: 3px; }
.feedback-detail-card { min-width: 0; border: 1px solid #e5e9f1; border-radius: 11px; background: #fff; box-shadow: 0 3px 12px #26375108; }
.feedback-detail-card > header { display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 0 16px; border-bottom: 1px solid #eef1f6; }
.feedback-detail-card > header h3 { margin: 0; color: #35445d; font-size: 13px; font-weight: 700; }
.feedback-detail-card-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; background: #eef1ff; color: #6579dd; }
.feedback-detail-card-icon svg { width: 15px; height: 15px; }
.feedback-detail-info { padding: 14px 17px 18px; }
.feedback-detail-info-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) 84px minmax(0, 1fr); gap: 10px; align-items: start; min-height: 36px; padding: 7px 0; border-bottom: 1px dashed #edf0f5; font-size: 11px; }
.feedback-detail-info-row > span { color: #8a96a8; }
.feedback-detail-info-row > strong { min-width: 0; color: #46546b; font-size: 11px; font-weight: 550; overflow-wrap: anywhere; }
.feedback-detail-title-row { grid-template-columns: 84px minmax(0, 1fr) auto; }
.feedback-detail-title-row button { padding: 4px 8px; border: 1px solid #e1e6ef; border-radius: 6px; background: #fff; color: #5972d4; font: inherit; font-size: 10px; }
.feedback-detail-description-label { margin: 13px 0 7px; color: #8995a8; font-size: 11px; }
.feedback-detail-description { min-height: 58px; color: #4d5b72; font-size: 12px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback-history-card { display: flex; flex: 1; flex-direction: column; min-height: 175px; }
.feedback-history-card > header { flex: none; }
.feedback-history-count { margin-left: auto; color: #96a1b2; font-size: 10px; }
.feedback-history-list { flex: 1; min-height: 0; overflow: auto; padding: 12px 16px; }
.feedback-history-list ol { position: relative; display: grid; gap: 12px; margin: 0; padding: 0 0 0 17px; list-style: none; }
.feedback-history-list ol::before { position: absolute; top: 7px; bottom: 10px; left: 4px; width: 1px; background: #dfe5ef; content: ""; }
.feedback-history-item { position: relative; padding: 1px 0 3px; }
.feedback-history-item::before { position: absolute; top: 6px; left: -16px; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: #7185df; box-shadow: 0 0 0 1px #cbd4ee; content: ""; }
.feedback-history-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: #536178; font-size: 10px; }
.feedback-history-meta time { margin-left: auto; color: #98a3b2; font-size: 10px; }
.feedback-history-role { padding: 2px 6px; border-radius: 8px; background: #eff2f7; color: #79869a; font-size: 9px; }
.feedback-history-role.admin { background: #eef1ff; color: #6379d5; }
.feedback-history-status { display: flex; align-items: center; gap: 7px; margin-top: 7px; color: #7d899d; font-size: 10px; }
.feedback-history-status b { color: #a5afbd; font-weight: 400; }
.feedback-history-item p { margin: 7px 0 0; color: #617087; font-size: 11px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback-history-empty { display: grid; min-height: 120px; place-items: center; color: #9aa5b4; font-size: 11px; }
.feedback-process-card { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.feedback-process-card > header { flex: none; }
.feedback-process-content { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; }
.feedback-process-content form { display: grid; gap: 11px; }
.feedback-process-content form[hidden], .feedback-detail-actions [hidden] { display: none !important; }
.feedback-process-unavailable[hidden] { display: none !important; }
.feedback-detail-status-field { display: grid; gap: 7px; color: #6e7b91; font-size: 11px; }
.feedback-detail-status-field[hidden] { display: none !important; }
.feedback-detail-status-field em, .feedback-detail-reply-label em { color: #d46f7e; font-style: normal; }
.feedback-detail-status-field select { width: 100%; height: 36px; padding: 0 10px; border: 1px solid #dce2ec; border-radius: 7px; background: #fff; color: #45536b; font: inherit; font-size: 11px; }
.feedback-detail-reply-label { color: #6e7b91; font-size: 11px; }
.feedback-reply-editor { min-height: 190px; }
.feedback-reply-editor .ql-toolbar { padding: 8px 9px; border-color: #dce2ec; border-radius: 7px 7px 0 0; background: #fff; }
.feedback-reply-editor .ql-container { border-color: #dce2ec; border-radius: 0 0 7px 7px; background: #fff; font-family: inherit; font-size: 12px; }
.feedback-reply-editor .ql-editor { min-height: 150px; max-height: 280px; color: #46546b; line-height: 1.7; }
.feedback-reply-editor .ql-editor.ql-blank::before { color: #a0aabd; font-size: 11px; font-style: normal; }
.feedback-process-error { margin: -5px 0 0; color: #c65770; font-size: 10px; }
.feedback-process-tips { padding: 12px 13px; border: 1px solid #e9edf6; border-radius: 8px; background: #f8f9fc; color: #79869a; }
.feedback-process-tips strong { display: flex; align-items: center; gap: 6px; color: #5e6e87; font-size: 11px; }
.feedback-process-tips strong svg { width: 14px; height: 14px; color: #7283d7; }
.feedback-process-tips ul { margin: 8px 0 0; padding-left: 17px; font-size: 10px; line-height: 1.8; }
.feedback-process-unavailable { display: grid; min-height: 150px; place-items: center; color: #98a4b4; font-size: 11px; }
.feedback-detail-actions { display: flex; flex: none; align-items: center; gap: 8px; min-height: 62px; padding: 11px 16px; border-top: 1px solid #edf0f5; }
.feedback-detail-actions > span { flex: 1; }
.feedback-detail-action { min-height: 34px; padding: 0 13px; border: 1px solid #dce2ec; border-radius: 7px; background: #fff; color: #647188; font: inherit; font-size: 11px; }
.feedback-detail-action.primary { border-color: #3276f6; background: #3276f6; color: #fff; }
.feedback-detail-action:hover:not(:disabled) { filter: brightness(.97); }
.feedback-detail-action:disabled { cursor: not-allowed; opacity: .55; }
@media (max-width: 900px) {
  .operation-feedback-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feedback-detail-dialog { width: min(900px, 92vw); }
  .feedback-detail-columns { grid-template-columns: minmax(0, 1fr); overflow-y: auto; }
  .feedback-detail-left, .feedback-detail-right { overflow: visible; }
  .feedback-detail-right { min-height: 440px; }
}
@media (max-width: 650px) {
  .operation-feedback-filters { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .operation-feedback-dates { gap: 5px; }
  .operation-feedback-pager { flex-wrap: wrap; justify-content: flex-end; }
  .operation-feedback-pagination { align-items: flex-start; flex-direction: column; }
  .feedback-detail-dialog { width: 100vw; }
  .feedback-detail-header { padding: 16px; }
  .feedback-detail-columns { gap: 11px; padding: 12px; }
  .feedback-detail-info-row { grid-template-columns: 75px minmax(0, 1fr); gap: 6px 8px; }
  .feedback-detail-title-row { grid-template-columns: 75px minmax(0, 1fr); }
  .feedback-detail-title-row button { grid-column: 2; justify-self: start; }
  .feedback-detail-actions { flex-wrap: wrap; }
  .feedback-detail-actions > span { display: none; }
}
