/* v2.5.0: screenshot-aligned dual-path configuration, scoped to its own pane. */
/* Teleported dialogs use the Element Plus wrapper for enabled/disabled field backgrounds. */
.baoze-dialog .el-input .el-input__inner{background:transparent}
.baoze-dialog .el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color)}
.baoze-dialog .el-input.is-disabled .el-input__inner::placeholder{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color)}
/* Disabled fields must not suggest text entry, including the wrapper padding. */
.el-input.is-disabled .el-input__wrapper,.el-input.is-disabled .el-input__inner{cursor:not-allowed;caret-color:transparent}
.control-shell .detection-master-panel{gap:20px}
.control-shell .v250-self-check{margin:0}
.control-shell .v250-rules-heading{justify-content:space-between;gap:12px;margin-bottom:8px}
.control-shell .v250-rule-title{display:flex;align-items:center;gap:12px;flex:1;min-width:0}
.control-shell .v250-rule-title h3{flex:none;white-space:nowrap}
.control-shell .v250-preset-source{display:flex;align-items:center;gap:8px;min-width:0;color:#7b8b99;font-size:12px;line-height:20px}
.control-shell .v250-preset-source.is-preset{box-sizing:border-box;max-width:100%;padding:3px 8px;border:1px solid #bcd8ed;border-radius:4px;background:#edf6ff;color:#386b90}
.control-shell .v250-preset-source-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.control-shell .v250-preset-source strong{font-weight:500;color:#475f74}
.control-shell .v250-preset-source.is-preset strong{font-weight:600;color:#17669c}
#app .control-shell .v250-preset-source.is-preset{font-size:var(--font-caption)!important}
#app .control-shell .v250-preset-source.is-preset strong{font-size:var(--font-body)!important}
.control-shell .v250-preset-pending{flex:none;white-space:nowrap;font-size:12px;color:#9a7130}
#app .control-shell .preset-load{white-space:nowrap;overflow-wrap:normal}
#app .control-shell .preset-load>span{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.settings-library-dialog .v250-preset-scope{margin:12px 0 0;padding:10px 12px;border:1px solid #dce8f2;border-radius:5px;background:#f5f9fd;color:#61768b;font-size:13px;line-height:1.7}
.settings-library-dialog .v250-preset-scope strong{color:#375f80;font-weight:600}
.control-shell .v250-rule-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.control-shell .v250-rule-actions .el-button{margin:0;height:32px;padding:0 12px}
.control-shell .v250-rule-description{display:block;margin:0 0 10px;color:#7b8b99;line-height:1.6}
#app .control-shell .v250-rule-description{font-size:var(--font-caption)!important}
.control-shell .v250-threshold-table{table-layout:fixed;width:100%}
.control-shell .v250-threshold-table .v250-defect-column{width:16%}
.control-shell .v250-threshold-table .v250-ng-column{width:12%}
.control-shell .v250-threshold-table .v250-confidence-column{width:18%}
.control-shell .v250-threshold-table td .el-input-number{width:96px;max-width:100%}
.control-shell .algorithm-rules .v250-threshold-table :is(th,td){padding-left:6px;padding-right:6px}
.control-shell .algorithm-rules .v250-threshold-table thead tr:nth-child(2) th{text-align:center;padding-left:6px;font-size:12px}
.control-shell .v250-threshold-table .v250-board-divider{border-left:1px solid #e2e9f1}
.control-shell .algorithm-rules .v250-threshold-table th,.control-shell .algorithm-rules .v250-threshold-table td{height:48px;padding-top:6px;padding-bottom:6px}
.control-shell .algorithm-rules .v250-threshold-table thead th{height:32px;padding-top:2px;padding-bottom:2px}
.control-shell .algorithm-rules .v250-threshold-table thead tr:nth-child(2) th{height:28px}
.control-shell .v250-threshold-table[data-current-board="内板"]{--board-accent:#76539a;--board-line:#ad8dca;--board-header:#f0e9f8;--board-surface:#fcfaff}
.control-shell .v250-threshold-table[data-current-board="外板"]{--board-accent:#945e20;--board-line:#c79b62;--board-header:#fff0db;--board-surface:#fffbf4}
.control-shell .v250-board-heading{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}
.control-shell .v250-current-mode{color:var(--board-accent);font-size:12px;font-weight:600;line-height:20px}
.control-shell .v250-threshold-table thead th.is-current-board{background:var(--board-header);color:var(--board-accent)}
.control-shell .v250-threshold-table thead th[scope="colgroup"].is-current-board{box-shadow:inset 0 2px 0 var(--board-line)}
.control-shell .v250-threshold-table th.is-current-board .ht-board-label{color:#fff;background:var(--board-accent);border-color:var(--board-accent);font-weight:600}
.control-shell .v250-threshold-table tbody td.is-current-board{background:var(--board-surface)}
.control-shell .v250-algorithm-layout .algorithm-rules{display:flex;flex-direction:column;--rules-bottom-padding:16px}
.control-shell .v250-rules-heading,.control-shell .v250-rule-description{flex:none}
.control-shell .v250-rules-table-wrap{flex:1 0 auto;margin-bottom:calc(-1 * var(--rules-bottom-padding))}
.control-shell .v250-rules-table-wrap[data-current-board="内板"]{background:linear-gradient(to right,transparent 28%,#fcfaff 28%,#fcfaff 64%,transparent 64%)}
.control-shell .v250-rules-table-wrap[data-current-board="外板"]{background:linear-gradient(to right,transparent 64%,#fffbf4 64%)}
.control-shell .v250-exposure-readings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:2px 0 8px}
.control-shell .v250-exposure-card{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;border:1px solid #e7edf1;border-radius:4px;background:#f5f8fa;padding:9px 12px;font-size:13px;color:#687987}
.control-shell .v250-exposure-card strong{font-weight:600;color:#35495a}
.control-shell .v250-algorithm-layout .ng-linkage-settings{margin:0;padding:16px 0}
.control-shell .v250-algorithm-layout .ng-linkage-status{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.control-shell .v250-algorithm-layout .ng-count-row{grid-template-columns:minmax(0,1fr) auto}
.control-shell .v250-algorithm-layout .option-line{grid-template-columns:minmax(0,1fr) minmax(112px,142px)}
.v250-selfcheck-description{margin:0 0 18px;color:#778696;line-height:1.7}
.v250-check-list{display:grid;gap:0}
.v250-check-row{padding:14px 0;border-top:1px solid #e7edf3}
.v250-check-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#35495a}
.v250-check-row p{margin:6px 0 0;color:#7c8997;font-size:13px;line-height:1.6}
@media(min-width:1101px){
  .control-shell.is-algorithm-pane .control-panel-scrollbar .control-panel-body{padding-right:0}
  .control-shell .v250-algorithm-layout{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
}
@media(min-width:1101px) and (min-height:781px){
  .control-shell.is-algorithm-pane .control-heading{margin-bottom:16px}
  .control-shell.is-algorithm-pane .parameter-presets{padding-top:10px;padding-bottom:10px;margin-bottom:16px}
}
@media(min-width:1101px) and (min-height:781px) and (max-height:890px){
  .control-shell.is-algorithm-pane .control-heading{margin-bottom:8px}
  .control-shell.is-algorithm-pane .control-heading>div:first-child{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px}
  .control-shell.is-algorithm-pane .control-heading .section-description{margin:0}
  .control-shell.is-algorithm-pane .parameter-presets{padding-top:6px;padding-bottom:6px;margin-bottom:8px}
}
@media(min-width:1101px) and (max-height:850px){
  .control-shell .v250-algorithm-layout .algorithm-rules{--rules-bottom-padding:10px}
  .control-shell .algorithm-rules .v250-threshold-table td{height:40px;padding-top:4px;padding-bottom:4px}
  .control-shell .v250-algorithm-layout{gap:20px}
  .control-shell .v250-rule-description{font-size:11px;line-height:1.5;margin-bottom:8px}
  .control-shell .v250-exposure-card{padding:6px 9px}
  .control-shell .v250-exposure-readings{gap:8px;margin:0 0 2px}
  .control-shell .v250-algorithm-layout .ng-linkage-settings{padding:10px 0}
  .control-shell .v250-algorithm-layout .ng-linkage-status{margin-top:8px}
}
@media(min-width:1101px) and (max-height:780px){
  .control-shell .algorithm-rules .v250-threshold-table th,.control-shell .algorithm-rules .v250-threshold-table td{height:38px;padding-top:4px;padding-bottom:4px}
  .control-shell .v250-rule-description{margin-bottom:5px}
  .control-shell .v250-algorithm-layout .ng-count-row{margin:8px 0}
  .control-shell .v250-algorithm-layout .ng-linkage-settings{padding:8px 0}
  .control-shell .v250-algorithm-layout .option-line{grid-template-columns:minmax(0,1fr) 70px;font-size:12px}
}
@media(min-width:1101px) and (max-width:1390px){
  .control-shell .detection-master-panel{gap:12px;padding:10px 12px}
  .control-shell .mode-control-panel{padding-left:12px;gap:8px}
  .control-shell .v250-algorithm-layout{gap:16px}
  .control-shell .v250-rule-actions{gap:6px}
}
@media(min-width:1101px) and (max-height:740px){
  .control-shell .v250-algorithm-layout .algorithm-rules{--rules-bottom-padding:8px}
  .control-shell .v250-algorithm-layout>.algorithm-rules,.control-shell .v250-algorithm-layout>.algorithm-options{padding-top:8px;padding-bottom:8px}
  .control-shell .algorithm-rules .v250-threshold-table th,.control-shell .algorithm-rules .v250-threshold-table td{height:36px;padding-top:2px;padding-bottom:2px}
  .control-shell.is-algorithm-pane .parameter-presets{padding-top:5px;padding-bottom:5px;margin-bottom:8px}
}
