.cv-design-prototype.control-variable-platform { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f8f9fc; }
.cv-design-prototype.control-variable-platform .recorded-platform-sidebar { flex-basis: 224px; }
.cv-design-prototype.control-variable-platform .recorded-logo { height: 76px; }
.cv-design-prototype.control-variable-platform .recorded-platform-sidebar .semi-navigation-item,
.cv-design-prototype.control-variable-platform .recorded-platform-sidebar .semi-navigation-sub-title { min-height: 40px; font-size: 13px; }
.cv-design-prototype.control-variable-platform .recorded-platform-sidebar .semi-navigation-item-text { font-size: 13px; }
.cv-design-prototype.control-variable-platform .recorded-platform-header { height: 58px; flex-basis: 58px; padding: 0 24px; }
.cv-design-prototype.control-variable-platform .recorded-header-actions .semi-select { width: 194px !important; height: 32px; }
.cv-design-prototype.control-variable-platform .semi-button { font-size: 13px; height: 32px; border-radius: 6px; }
.cv-design-prototype.control-variable-platform .semi-input-wrapper,
.cv-design-prototype.control-variable-platform .semi-select { border-radius: 6px; }
.coz-button.coz-btn-brand:not(:disabled):not([aria-disabled="true"]):hover { color: #fff; background: #503be9; border-color: #503be9; }
.coz-button.coz-btn-brand:not(:disabled):not([aria-disabled="true"]):active { color: #fff; background: #4832d7; }
.coz-button.semi-button.coz-btn-brand.semi-button-disabled,
.coz-button.semi-button.coz-btn-brand.semi-button-disabled:hover,
.coz-button.semi-button.coz-btn-brand.semi-button-disabled:active { color: #9a91c8; background: #eeebff; border-color: #eeebff; opacity: 1; cursor: not-allowed; }
.cv-design-prototype.control-variable-platform .recorded-create-heading,
.cv-design-prototype.control-variable-platform .ec-create-page .recorded-create-heading { height: 62px; flex-basis: 62px; }
.cv-design-prototype.control-variable-platform .recorded-create-heading h1,
.cv-design-prototype.control-variable-platform .ec-create-page .recorded-create-heading h1 { font-size: 18px; line-height: 26px; }
.cv-design-prototype.control-variable-platform .ec-create-columns { grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; padding: 20px; scrollbar-gutter: auto; }
.cv-design-prototype.control-variable-platform .ec-create-page .recorded-section { border: 1px solid #e5e7f0; border-radius: 7px; box-shadow: none; padding: 14px 16px; margin-bottom: 12px; }
.cv-design-prototype.control-variable-platform .ec-create-page .recorded-section-heading { min-height: 28px; margin-bottom: 10px; }
.cv-design-prototype.control-variable-platform .ec-create-page .semi-button { border-radius: 6px; height: 30px; }
.cv-design-prototype.control-variable-platform .ec-create-page .semi-input-wrapper,
.cv-design-prototype.control-variable-platform .ec-create-page .semi-select { border-radius: 5px; box-shadow: none; }
.cv-design-prototype.control-variable-platform .ec-create-page .ec-dataset-card { min-height: 38px; padding: 7px 10px; border-radius: 5px; }
.cv-design-prototype.control-variable-platform .ec-create-page .recorded-run-method { margin-top: 10px; gap: 10px; }
.cv-design-prototype.control-variable-platform .ec-create-page .ec-agent-card { border: 0; border-radius: 0; padding: 0; }
.cv-design-prototype.control-variable-platform .ec-create-page .ec-agent-avatar { width: 32px; height: 32px; flex-basis: 32px; font-size: 17px; }
.cv-design-prototype.control-variable-platform .ec-create-page .recorded-agent-card-heading { min-height: 38px; }
.cv-design-prototype.control-variable-platform .ec-create-page .ec-parameter-config { margin-top: 10px; padding-top: 10px; }
.cv-design-prototype.control-variable-platform .ec-create-page .ec-parameter-fields { margin-top: 6px; }
.cv-design-prototype.control-variable-platform .ec-create-page .ec-parameter-table col:first-child { width: 180px !important; min-width: 180px !important; }
.cv-design-prototype.control-variable-platform .ec-create-page .ec-parameter-table col:nth-child(2) { width: 142px !important; min-width: 142px !important; }
.cv-design-prototype.control-variable-platform .ec-create-page .ec-parameter-table .semi-table-tbody > .semi-table-row > .semi-table-row-cell { padding: 8px 10px; height: 50px; }
.cv-design-prototype.control-variable-platform .ec-create-page .ec-parameter-table .semi-table-thead > .semi-table-row > .semi-table-row-head { padding: 6px 10px; height: 30px; background: #fff; }
.cv-design-prototype.control-variable-platform .ec-create-page .ec-parameter-table .ec-variable-row > .semi-table-row-cell { background: #f8f7ff; }
.cv-design-prototype.control-variable-platform .ec-create-page .ec-values-multiple { height: auto; }
.cv-design-prototype.control-variable-platform .ec-parameter-help { margin: 8px 4px 0; }
.cv-design-prototype.control-variable-platform .ec-comparison-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #e9eaf0; padding-top: 12px; margin-top: 12px; min-height: 32px; }
.cv-design-prototype.control-variable-platform .ec-comparison-option > div { display: flex; align-items: center; gap: 6px; }
.cv-design-prototype.control-variable-platform .ec-comparison-option strong { font-size: 13px; font-weight: 500; line-height: 22px; }
.cv-design-prototype.control-variable-platform .ec-parameter-config .ec-parameters-heading { margin: 0 0 10px; padding: 0; border: 0; align-items: center; gap: 12px; }
.cv-design-prototype.control-variable-platform .ec-parameter-selection-empty { padding: 20px 12px; color: #8b8e9c; font-size: 12px; text-align: center; line-height: 20px; border: 1px dashed #e0e2eb; border-radius: 6px; }
.ec-parameter-picker { max-width: calc(100vw - 48px); }
.ec-parameter-picker .semi-modal-body { padding: 20px 24px; }
.ec-parameter-picker-description { margin: 0 0 14px; color: #858a99; font-size: 13px; line-height: 20px; }
.ec-parameter-picker-table { margin-top: 16px; max-height: 380px; overflow: auto; border: 1px solid #e5e7ef; border-radius: 6px; }
.ec-parameter-picker-table .semi-table-row-head { background: #f7f8fb; color: #818697; font-size: 12px; font-weight: 400; }
.ec-parameter-picker-table .semi-table-row-cell { padding: 12px 10px; vertical-align: middle; }
.ec-parameter-picker-table .ec-parameter-name strong { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.ec-picker-candidates { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; min-width: 0; }
.ec-picker-candidates .semi-tag { max-width: 100%; height: auto; min-height: 20px; white-space: normal; }
.ec-picker-candidates .semi-tag-content { white-space: normal; overflow-wrap: anywhere; }
.ec-picker-candidates > span { font-size: 12px; color: #9398a6; }
.ec-parameter-picker-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; }
.ec-parameter-picker-footer > span { font-size: 12px; color: #858a99; }
.cv-section-caption { font-size: 12px; color: #9297a6; line-height: 20px; }
.cv-optional-description { font-size: 12px; color: #9297a6; line-height: 20px; }
.cv-design-prototype.control-variable-platform .ec-task-preview { border: 1px solid #e5e7f0; padding: 18px; border-radius: 7px; box-shadow: none; }
.cv-design-prototype.control-variable-platform .ec-task-preview > h3 { font-size: 15px; margin-bottom: 20px; }
.cv-design-prototype.control-variable-platform .ec-task-count strong { font-size: 38px; }
.cv-design-prototype.control-variable-platform .ec-task-formula { margin: 14px 0 18px; line-height: 20px; }
.cv-design-prototype.control-variable-platform .ec-task-totals { grid-template-columns: 1fr auto; gap: 18px 10px; padding: 18px 0; margin-bottom: 18px; }
.cv-design-prototype.control-variable-platform .ec-task-fixed > div { padding: 10px; }
.cv-design-prototype.control-variable-platform .ec-task-valid { padding: 9px 10px; font-size: 12px; }
.cv-design-prototype.control-variable-platform .ec-task-next { margin: 14px 0 0; }
.cv-design-prototype.control-variable-platform .recorded-create-footer { min-height: 54px; height: 54px; flex-basis: 54px; }
.cv-design-prototype.control-variable-platform .ec-preview-content { padding: 20px; }
.cv-design-prototype.control-variable-platform .ec-preview-content > .recorded-section { padding: 14px 18px; border-radius: 7px; margin-bottom: 12px; }
.cv-design-prototype.control-variable-platform .ec-statistics-strip { padding: 12px 18px; }
.cv-design-prototype.control-variable-platform .ec-statistics-strip > div { flex-direction: row; align-items: baseline; gap: 7px; padding: 0 16px; border-right: 0; }
.cv-design-prototype.control-variable-platform .ec-statistics-strip > div:first-child { padding-left: 0; }
.cv-design-prototype.control-variable-platform .ec-statistics-strip > div > strong { font-size: 16px; line-height: 24px; white-space: nowrap; }
.cv-design-prototype.control-variable-platform .ec-statistics-strip strong small { font-size: 12px; margin-left: 4px; }
.cv-design-prototype.control-variable-platform .ec-common-section .recorded-section-heading { margin-bottom: 8px; }
.cv-design-prototype.control-variable-platform .ec-condition-row { padding: 5px 0; gap: 20px; }
.cv-design-prototype.control-variable-platform .ec-condition-row + .ec-condition-row { border: 0; margin-top: 0; padding-top: 5px; }
.cv-design-prototype.control-variable-platform .ec-condition-value { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 5px; }
.cv-design-prototype.control-variable-platform .ec-combinations-table .semi-table-thead > .semi-table-row > .semi-table-row-head { padding: 8px 12px; }
.cv-design-prototype.control-variable-platform .ec-combinations-table .semi-table-tbody > .semi-table-row > .semi-table-row-cell { padding: 8px 12px; }
.cv-design-prototype.control-variable-platform .ec-baseline-note { margin-top: 10px; }
.cv-design-prototype.control-variable-platform .recorded-registration-inner { width: calc(100% - 48px); max-width: 1100px; padding-top: 12px; }
.cv-design-prototype.control-variable-platform .recorded-registration-steps { max-width: 380px; margin: 12px auto 24px; }
.cv-design-prototype.control-variable-platform .recorded-registration-heading { min-height: 62px; padding: 0 24px; }
.cv-design-prototype.control-variable-platform .recorded-registration-heading h1 { font-size: 18px; }
.cv-registration-summary { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e5e7f0; padding: 14px 16px; border-radius: 7px; margin-bottom: 16px; }
.cv-registration-agent { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.cv-registration-agent strong { font-size: 14px; font-weight: 600; }
.cv-registration-agent span { font-size: 12px; color: #9297a6; overflow-wrap: anywhere; }
.cv-connection-body { padding: 20px; margin-bottom: 16px; border: 1px solid #e5e7f0; background: #fff; border-radius: 7px; }
.cv-design-prototype.control-variable-platform .acp-section { margin: 0 0 24px; border: 1px solid #e5e7f0; border-radius: 7px; padding: 18px; background: #fff; }
.acp-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.acp-section-heading .recorded-label-info { display: flex; align-items: center; gap: 6px; }
.acp-section-heading label { margin: 0; font-size: 14px; font-weight: 600; }
.cv-design-prototype.control-variable-platform .acp-section > p { line-height: 20px; font-size: 12px; }
.cv-design-prototype.control-variable-platform .acp-parameter-table .semi-table-thead > tr > th { padding: 10px 12px; }
.cv-design-prototype.control-variable-platform .acp-parameter-table .semi-table-tbody > tr > td { padding: 12px; font-size: 12px; }
.cv-design-prototype.control-variable-platform .acp-key-button.semi-button { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.cv-design-prototype.control-variable-platform .acp-candidate-button.semi-button { white-space: normal; height: auto; padding: 0; text-align: left; }
.acp-candidate-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.acp-candidate-tags .semi-tag { max-width: 190px; font-size: 11px; }
.acp-permission-cell { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: #9297a6; font-size: 11px; }
.acp-section .semi-switch-checked,
.acp-edit-sheet .semi-switch-checked { background: #5a45ff; }
.acp-table-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-top: 1px solid #ededf2; color: #9297a6; font-size: 12px; }
.acp-registration-note { display: flex; gap: 8px; align-items: flex-start; background: #f6f4ff; border-radius: 5px; padding: 10px 12px; margin: 16px 0 0; color: #858394; }
.acp-registration-note > .acp-info-icon { margin-top: 3px; }
.acp-edit-sheet { color: #353a49; }
.acp-edit-sheet .semi-sidesheet-inner { max-width: 100vw; }
.acp-edit-sheet .semi-sidesheet-header { border-bottom: 1px solid #e8e9f0; padding: 20px 24px; }
.acp-edit-sheet .semi-sidesheet-title { font-size: 17px; line-height: 26px; }
.acp-edit-sheet .semi-sidesheet-body { overflow-y: auto; padding: 20px 24px; }
.acp-edit-sheet .semi-sidesheet-footer { padding: 0; border-top: 1px solid #e8e9f0; }
.acp-sheet-footer { display: flex; justify-content: flex-end; padding: 14px 24px; }
.acp-edit-sheet .acp-edit-grid { gap: 18px 20px; }
.acp-edit-sheet .acp-candidates-head,
.acp-edit-sheet .acp-candidate-list > div { padding: 12px; gap: 12px; }
.acp-edit-sheet .acp-edit-field > label { font-size: 13px; }
.acp-edit-sheet .semi-input-wrapper,
.acp-edit-sheet .semi-select { height: 34px; border-radius: 5px; }
.acp-edit-sheet .acp-mapping-note { padding: 10px 12px; background: #f6f4ff; border: 1px solid #e5deff; border-radius: 5px; }
.acp-import-modal textarea { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.cv-design-prototype.control-variable-platform .pcr-group-topbar { padding: 15px 24px; }
.cv-design-prototype.control-variable-platform .pcr-group-topbar h1 { font-size: 18px; }
.cv-design-prototype.control-variable-platform .pcr-group-content { padding: 20px 24px; }
.cv-design-prototype.control-variable-platform .pcr-group-title h2 { font-size: 16px; }
.cv-design-prototype.control-variable-platform .pcr-group-metrics { gap: 10px; }
.cv-design-prototype.control-variable-platform .pcr-group-metrics > div { padding: 12px; border-radius: 6px; }
.cv-design-prototype.control-variable-platform .pcr-group-metrics strong { font-size: 24px; line-height: 30px; }
.cv-design-prototype.control-variable-platform .pcr-matrix-card { grid-template-columns: minmax(0, 1fr) 265px; border-radius: 7px; }
.cv-design-prototype.control-variable-platform .pcr-matrix-main,
.cv-design-prototype.control-variable-platform .pcr-group-fixed { padding: 14px; }
.cv-design-prototype.control-variable-platform .pcr-matrix-cell { min-height: 30px; }
.cv-design-prototype.control-variable-platform .pcr-matrix-cell strong { font-size: 16px; line-height: 24px; }
.cv-design-prototype.control-variable-platform .pcr-effect-matrix { margin: 0; }
.cv-design-prototype.control-variable-platform .pcr-matrix-metrics .semi-button { padding: 0 6px; color: #9297a6; font-size: 12px; }
.cv-design-prototype.control-variable-platform .pcr-matrix-metrics .semi-button.is-active { color: #5a45ff; }
.cv-design-prototype.control-variable-platform .pcr-experiment-card { padding: 14px; border-radius: 7px; }
.cv-design-prototype.control-variable-platform .pcr-score { font-size: 14px; }
.cv-results-note { color: #969baa; font-size: 11px; line-height: 20px; margin: 12px 0 0; }
.pcr-result-sheet .semi-sidesheet-inner { max-width: 100vw; }
.pcr-result-sheet .semi-sidesheet-footer { display: flex; justify-content: flex-end; padding: 14px 24px; border-top: 1px solid #e8e9f0; }
.pcr-pair-identities { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.pcr-pair-identities > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 14px; border: 1px solid #e8e9f0; border-radius: 6px; }
.pcr-pair-identities strong { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.pcr-pair-identities span { color: #9297a6; font-size: 12px; line-height: 20px; overflow-wrap: anywhere; }
.pcr-result-sheet .pcr-pair-summary { gap: 8px; }
.pcr-result-sheet .pcr-pair-summary > span { border-radius: 5px; padding: 6px 10px; }
.pcr-result-sheet .pcr-pair-metrics { border-radius: 6px; }
.pcr-result-sheet .pcr-pair-metrics th { white-space: nowrap; }
@media (max-width: 1120px) {
  .cv-design-prototype.control-variable-platform .ec-create-columns { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px; }
  .cv-design-prototype.control-variable-platform .ec-task-preview { display: block; }
  .cv-design-prototype.control-variable-platform .ec-statistics-strip { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cv-design-prototype.control-variable-platform .ec-statistics-strip > div { padding: 0; }
  .cv-design-prototype.control-variable-platform .pcr-matrix-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .cv-design-prototype.control-variable-platform .ec-create-columns { grid-template-columns: minmax(0, 1fr); }
  .cv-design-prototype.control-variable-platform .ec-task-preview { display: block; }
  .cv-design-prototype.control-variable-platform .recorded-registration-inner { width: calc(100% - 32px); }
  .cv-design-prototype.control-variable-platform .pcr-group-metrics { grid-template-columns: 1fr 1fr; }
  .cv-design-prototype.control-variable-platform .ec-condition-row { grid-template-columns: 1fr; gap: 10px; }
  .cv-design-prototype.control-variable-platform .ec-parameters-heading { flex-wrap: wrap; }
  .cv-design-prototype.control-variable-platform .ec-create-page .ec-parameter-table .semi-table { min-width: 550px; }
  .cv-design-prototype.control-variable-platform .ec-create-page .ec-parameter-table .semi-table-container { overflow-x: auto; }
}

/* Frontend audit: keep the existing Fornax page and table hierarchy. */
.recorded-resource-modal, .recorded-preset-modal, .acp-import-modal { max-width: calc(100vw - 48px); }
.recorded-task-toolbar { flex-wrap: wrap; gap: 12px; }
.recorded-task-filters { flex-wrap: wrap; }
.recorded-task-id { display: inline-block; max-width: 150px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; vertical-align: middle; }
.recorded-column-settings { display: flex; flex-direction: column; gap: 12px; min-width: 180px; padding: 14px; }
.acp-candidate-field { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.acp-edit-sheet .acp-candidate-list > div { align-items: start; }
.acp-edit-sheet .acp-candidate-list .semi-input-wrapper, .acp-edit-sheet .acp-candidate-list .semi-select { width: 100%; }
.acp-edit-sheet .acp-candidate-list .semi-input-textarea { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 20px; }
.acp-field-error, .sc-combination-name > small { color: #d63948; font-size: 12px; line-height: 18px; }
.acp-edit-field .acp-field-error { display: block; margin-top: 4px; }
.sc-combination-name { display: flex; flex-direction: column; gap: 4px; }
.sc-invalid-row > td { background: #fffafa; }
.ec-picker-disabled-reason { display: block; flex-basis: 100%; color: #727783; line-height: 20px; }
.ec-source-candidates { margin-top: 12px; color: #606574; font-size: 12px; line-height: 20px; }
.ec-source-candidates > summary { cursor: pointer; }
.ec-source-candidates > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 6px 0; }
.ec-source-candidates span { overflow-wrap: anywhere; }
.ec-fixed-prompt { display: grid; gap: 6px; margin-top: 12px; }
.ec-fixed-prompt > label { font-size: 13px; }
.ec-fixed-prompt small { font-size: 12px; color: #727783; }
.pcr-failure-summary { background: #fff4f4; border: 1px solid #f1d7d7; padding: 12px 16px; border-radius: 6px; margin-top: 14px; }
.pcr-failure-summary h4 { margin: 0 0 10px; color: #a5313d; }
.pcr-failure-summary dl { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 8px 12px; margin: 0; font-size: 13px; line-height: 22px; }
.pcr-failure-summary dt { color: #777783; }
.pcr-failure-summary dd { margin: 0; overflow-wrap: anywhere; }
.pcr-evidence-block > .semi-tag { margin-right: 6px; }
.pcr-evidence-block p, .pcr-injection-table td { overflow-wrap: anywhere; white-space: pre-wrap; }
.pcr-evidence-block .pcr-code { max-width: 100%; overflow: auto; }
.recorded-modal .semi-modal-close:focus-visible, .semi-sidesheet .semi-sidesheet-close:focus-visible,
.cv-design-prototype .semi-button:focus-visible, .acp-info:focus-visible, .field-info:focus-visible { outline: 2px solid #5a45ff; outline-offset: 2px; }
.cv-design-prototype .ec-parameter-help, .cv-results-note, .pcr-table-note, .sc-editor-note { font-size: 12px; color: #707584; line-height: 20px; }
@media (max-width: 1100px) {
  .ptd-title-row { flex-wrap: wrap; }
  .ptd-header-actions { margin-left: auto; }
  .ptd-results-toolbar { flex-wrap: wrap; gap: 12px; }
}

.acp-edit-sheet .semi-input-wrapper-error, .acp-edit-sheet .semi-select-error { border-color: #e53241; }

.recorded-modal { max-width: none; }
.recorded-modal .semi-modal { max-width: calc(100vw - 48px); margin: 0 auto; }
