.robot-page .rq-list { border-top: 1px solid #e8e8e8; margin-top: 12px; padding-top: 20px; }
.robot-page .rq-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-bottom: 16px; }
.robot-page .rq-toolbar button { white-space: nowrap; font-weight: 400; }
.robot-page .rq-add { display: inline-flex; align-items: center; gap: 6px; color: var(--green); border-color: currentColor; }
.robot-page .rq-add img { display: block; flex: 0 0 16px; width: 16px; height: 16px; filter: none; }
.robot-page .rq-search[data-component-key="search"][data-component-version="C1.1"] { width: 240px; max-width: 100%; }
.robot-page .rq-toolbar-selection { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.robot-page .rq-batch[data-component-key="select"][data-component-version="C1.2"] { width: 112px; flex: none; }
.robot-page .rq-batch[data-component-key="select"][data-component-version="C1.2"] > .shared-select-trigger:disabled { color: #b4b4b4; border-color: #e5e5e5; background: #f7f7f7; box-shadow: none; cursor: not-allowed; }
.robot-page .rq-batch[data-component-key="select"][data-component-version="C1.2"] > .shared-select-trigger:disabled i { background: #b4b4b4; }
.robot-page .rq-table-scroll { width: 100%; overflow-x: auto; }
.robot-page .rq-table { min-width: 720px; table-layout: fixed; }
.robot-page .rq-col-check { width: 46px; }
.robot-page .rq-col-id { width: 64px; }
.robot-page .rq-col-count { width: 9%; }
.robot-page .rq-col-status { width: 10%; }
.robot-page .rq-col-priority { width: 9%; }
.robot-page .rq-col-actions { width: 108px; }
.robot-page .rq-table th { height: 54px; padding: 0 10px; background: #f5f5f5; white-space: nowrap; }
.robot-page .rq-table td { height: 56px; padding: 12px 10px; }
.robot-page .rq-table td:first-child, .robot-page .rq-table th:first-child { text-align: center; }
.robot-page .rq-table :is(th, td):nth-last-child(-n+5) { text-align: center; }
.robot-page .rq-question-cell { overflow-wrap: anywhere; }
.robot-page .rq-actions { display: flex; align-items: center; justify-content: center; gap: 12px; white-space: nowrap; }
.robot-page .rq-table td button { margin: 0; font-size: 13px; }
.robot-page .rq-table input[data-component-key="switch"][data-component-version="C1.1"] { appearance: none !important; -webkit-appearance: none !important; width: 42px !important; min-width: 42px !important; max-width: 42px !important; height: 22px !important; min-height: 22px !important; max-height: 22px !important; flex: 0 0 42px; border-radius: 12px !important; }
.robot-page .rq-list-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 4px; color: #909399; font-size: 12px; }
.robot-page .rq-editor { display: grid; grid-template-rows: 48px minmax(0, 1fr) auto; height: 100%; min-height: 0; background: #f5f6f7; }
.robot-page .rq-editor-header { display: flex; align-items: center; gap: 12px; padding: 0 20px; background: #fff; border-bottom: 1px solid #e7e7e7; }
.robot-page .rq-editor-header strong { font-size: 14px; font-weight: 500; }
.robot-page .rq-editor-scroll { min-height: 0; overflow: auto; padding: 16px 24px 24px; overscroll-behavior: contain; }
.robot-page .rq-section { max-width: 1100px; margin: 0 auto 14px; padding-bottom: 24px; background: #fff; }
.robot-page .rq-section h3 { margin: 0 0 20px; padding: 16px 24px; border-bottom: 1px solid #e9e9e9; font-size: 14px; font-weight: 500; line-height: 20px; }
.robot-page .rq-form-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 14px; align-items: start; margin: 0 24px 20px; }
.robot-page .rq-form-row:last-child { margin-bottom: 0; }
.robot-page .rq-form-row > label { display: flex; align-items: center; gap: 4px; min-height: 32px; padding-top: 3px; line-height: 22px; color: #555; }
.robot-page .rq-word-control { min-width: 0; background: #f6f6f6; padding: 12px; }
.robot-page .rq-word-entry { display: grid; grid-template-columns: minmax(0, 1fr) 32px; align-items: center; gap: 8px; }
.robot-page .rq-word-field { display: flex; align-items: center; min-width: 0; height: 32px; border: 1px solid #dcdfe6; border-radius: 3px; background: #fff; }
.robot-page .rq-word-field:hover, .robot-page .rq-count-field:hover { border-color: #c0c4cc; }
.robot-page .rq-word-field:focus-within, .robot-page .rq-count-field:focus-within { border-color: var(--green); }
.robot-page .rq-word-field > input, .robot-page .rq-count-field > input { min-width: 0; flex: 1; width: 100%; height: 30px; padding: 0 10px; border: 0; border-radius: 3px; outline: none; box-shadow: none; background: transparent; }
.robot-page .rq-word-field > span { flex: none; padding: 0 10px; white-space: nowrap; color: #999; font-size: 12px; }
.robot-page .rq-word-entry > button { width: 32px; height: 32px; padding: 7px; border: 1px solid #dedede; border-radius: 3px; background: #fff; }
.robot-page .rq-word-entry img, .robot-page .rq-condition-group header img { display: block; width: 16px; height: 16px; }
.robot-page .rq-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.robot-page .rq-tags > span { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; max-width: 100%; padding: 2px 7px; border: 1px solid #e0e3e7; border-radius: 2px; background: #fafafa; font-size: 12px; color: #606266; overflow-wrap: anywhere; }
.robot-page .rq-tags button { flex: none; border: 0; background: none; color: #909399; padding: 0; font-size: 14px; }
.robot-page .rq-groups { display: grid; gap: 12px; min-width: 0; }
.robot-page .rq-condition-group { min-width: 0; border: 1px solid #e7e7e7; border-radius: 3px; }
.robot-page .rq-condition-group header { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 8px 12px; border-bottom: 1px solid #e7e7e7; color: #777; }
.robot-page .rq-condition-group header > div { display: flex; gap: 8px; }
.robot-page .rq-condition-group header button { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; background: #fff; color: #777; }
.robot-page .rq-condition-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: start; gap: 8px; padding: 12px; background: #f6f6f6; }
.robot-page .rq-condition-body .rq-word-control { padding: 0; }
.robot-page .rq-select[data-component-key="select"][data-component-version="C1.2"] { width: 100%; min-width: 0; height: 32px; }
.robot-page .rq-priority { display: flex; align-items: center; gap: 16px; width: min(680px, 100%); min-height: 32px; }
.robot-page .rq-priority input[type="range"] { appearance: none; -webkit-appearance: none; flex: 1; min-width: 0; height: 20px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; cursor: pointer; }
.robot-page .rq-priority input[type="range"]::-webkit-slider-runnable-track { height: 4px; border: 0; border-radius: 2px; background: linear-gradient(to right, #8bc665 0 var(--rq-priority-fill, 100%), #e4e7ed var(--rq-priority-fill, 100%) 100%); }
.robot-page .rq-priority input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border: 2px solid #8bc665; border-radius: 50%; background: #fff; }
.robot-page .rq-priority input[type="range"]::-moz-range-track { height: 4px; border: 0; border-radius: 2px; background: #e4e7ed; }
.robot-page .rq-priority input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: #8bc665; }
.robot-page .rq-priority input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border: 2px solid #8bc665; border-radius: 50%; background: #fff; }
.robot-page .rq-priority input[type="range"]:focus { outline: none; box-shadow: none; }
.robot-page .rq-priority input[type="range"]:focus-visible { outline: 2px solid #bbdba8; outline-offset: 3px; }
.robot-page .rq-priority .robot-number { width: 88px; flex: none; }
.robot-page .rq-count-field { display: flex; height: 32px; max-width: 800px; border: 1px solid #e0e2e5; border-radius: 3px; }
.robot-page .rq-count-field input { min-width: 0; flex: 1; padding: 0 10px; border: 0; background: transparent; }
.robot-page .rq-count-field span { display: flex; align-items: center; padding: 0 10px; white-space: nowrap; color: #999; font-size: 12px; }
.robot-page .rq-reply-mode { display: flex; flex-wrap: wrap; align-items: center; min-height: 32px; gap: 8px 20px; }
.robot-page .rq-content { min-width: 0; }
.robot-page .rq-content [data-component-key="sendContent"][data-component-version="C1.12"] .rq-select[data-component-key="select"][data-component-version="C1.2"] { flex: 0 0 76px; width: 76px; }
.robot-page .rq-editor-footer { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; min-height: 56px; padding: 10px 20px; border-top: 1px solid #e7e7e7; background: #fff; }
.robot-page .rq-error { color: #d93025; font-size: 13px; line-height: 20px; }
.robot-page .rq-preview { display: grid; gap: 12px; }
.robot-page .rq-preview > div { max-width: 100%; overflow-wrap: anywhere; }
.robot-page .rq-answer-popover { position: fixed; z-index: 2100; display: grid; grid-template-rows: 40px minmax(0, 1fr); width: min(390px, calc(100vw - 24px)); max-height: min(480px, calc(100vh - 24px)); border: 1px solid #dfe3e8; border-radius: 4px; background: #fff; box-shadow: 0 8px 24px #00000024; color: #333; text-align: left; overflow: hidden; }
.robot-page .rq-answer-popover > header { display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border-bottom: 1px solid #eceef1; background: #fafbfc; }
.robot-page .rq-answer-popover > header strong { font-size: 14px; font-weight: 500; }
.robot-page .rq-answer-popover > header span { color: #909399; font-size: 12px; }
.robot-page .rq-answer-preview-body { min-height: 0; overflow: auto; padding: 4px 12px; overscroll-behavior: contain; }
.robot-page .rq-answer-preview-body article { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-bottom: 1px solid #eef0f2; }
.robot-page .rq-answer-preview-body article:last-child { border-bottom: 0; }
.robot-page .rq-answer-preview-body article > em { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #f0f1f2; color: #707780; font-size: 12px; font-style: normal; }
.robot-page .rq-answer-preview-body article > div { min-width: 0; overflow-wrap: anywhere; }
.robot-page .rq-answer-preview-body [data-component-key="contentDisplay"][data-component-version="C1.5"] { max-width: 100%; }
.robot-page .rq-keyword-summary h4 { margin: 16px 0 8px; font-size: 14px; font-weight: 500; }
.robot-page .rq-keyword-summary h4:first-child { margin-top: 0; }
.robot-page .rq-muted { color: #909399; }
.robot-page .rq-library-picker { width: 320px; max-width: 100%; margin-bottom: 16px; }
.robot-page .rq-import-modal { width: min(640px, calc(100vw - 44px)); }
.robot-page .rq-import-modal .robot-modal-body { overflow: visible; padding: 24px; }
.robot-page .rq-import-field { display: flex; align-items: center; gap: 8px; }
.robot-page .rq-import-field > span { flex: none; color: #666; }
.robot-page .rq-import-choice { display: flex; min-width: 0; width: 332px; max-width: 100%; }
.robot-page .rq-import-choice .rq-select[data-component-key="select"][data-component-version="C1.2"] { flex: 1; width: 0; min-width: 0; }
.robot-page .rq-import-choice .shared-select-trigger { width: 100%; }
.robot-page .rq-import-choice .shared-select-trigger > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.robot-page .rq-import-choice .rq-create-library { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px; width: 32px; height: 32px; padding: 0; }
.robot-page .rq-create-library img { filter: brightness(0) invert(1); width: 16px; height: 16px; }
.robot-page .rq-import-notice { margin-top: 12px; color: #777; font-size: 13px; line-height: 22px; }
.robot-page .rq-import-notice p { margin: 0; }
.robot-page .rq-import-notice ol { margin: 0; padding-left: 20px; }
.robot-page .rq-import-modal > footer { background: #fafafa; }
@media (max-width: 520px) { .robot-page .rq-import-field { align-items: stretch; flex-direction: column; } }
@media (max-width: 1000px) {
  .robot-page .rq-editor-scroll { padding: 12px; }
  .robot-page .rq-form-row { grid-template-columns: 140px minmax(0, 1fr); margin-left: 16px; margin-right: 16px; }
  .robot-page .rq-condition-body { grid-template-columns: minmax(0, 1fr); }
  .robot-page .rq-condition-body .rq-select { max-width: 180px; }
}
@media (max-width: 680px) {
  .robot-page .rq-form-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .robot-page .rq-form-row > label { padding-top: 0; }
}
