/* Styles for the independent A/B/C configuration dialog. */
.compute-config { --compute-accent: #2f79a5; color: var(--ink); }
.action-content .compute-config #computeConfigForm { padding: 0; margin: 0; }
.action-panel:has(.compute-config) { overscroll-behavior: contain; }
.compute-config .detail-hero { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; padding: 0 0 20px; border: 0; }
.compute-config .detail-hero .agent-avatar { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dbe8ef; border-radius: 13px; background: #edf5fa; color: var(--compute-accent); }
.compute-config .detail-hero h3 { font-size: 17px; line-height: 1.5; margin-bottom: 4px; }
.compute-config .detail-hero p { font-size: 12px; line-height: 1.65; max-width: 560px; }
.compute-config .compute-plan-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; }
.compute-config .compute-plan-tab { position: relative; display: flex; align-items: center; gap: 10px; min-height: 84px; padding: 16px 12px; border: 1px solid #dce4e9; border-radius: 12px; background: #fff; color: #53636e; text-align: left; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; font: inherit; }
.compute-config .compute-plan-tab:hover { border-color: #7caecb; background: #f7fbfd; }
.compute-config .compute-plan-tab.active { border-color: var(--compute-accent); background: #edf6fb; box-shadow: 0 0 0 1px var(--compute-accent); color: #1c526f; }
.compute-config .compute-plan-tab strong { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: #f0f3f6; color: #70818b; font-size: 15px; }
.compute-config .compute-plan-tab.active strong { color: #fff; background: var(--compute-accent); }
.compute-config .compute-plan-tab span { font-size: 13px; font-weight: 650; line-height: 1.5; }
.compute-config .compute-plan-tab small { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; color: #738590; }
.compute-config .compute-plan-tab > svg { position: absolute; top: 7px; right: 7px; width: 13px; height: 13px; color: var(--compute-accent); }
.compute-config .settings-fields { padding: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; border: 1px solid #e0e8ed; border-radius: 14px; background: #fbfcfd; }
.compute-config .settings-fields > label { display: block; min-width: 0; font-size: 12px; font-weight: 600; color: #586873; }
.compute-config .settings-fields .full-field { grid-column: 1 / -1; }
.compute-config .settings-fields input:not([type=hidden]), .compute-config .settings-fields select { width: 100%; height: 44px; margin-top: 8px; padding: 0 13px; border: 1px solid #d7e1e7; border-radius: 8px; font-size: 13px; font-weight: 500; line-height: 1.5; font-family: inherit; color: #243e4d; background: #fff; box-shadow: 0 1px 2px #13212a03; }
.compute-config .settings-fields input[readonly] { color: #75858f; background: #f0f4f7; }
.compute-config .settings-fields input::placeholder { font-weight: 400; color: #97a3ab; }
.compute-config .settings-fields .field-hint { display: block; margin-top: 6px; font-size: 11px; line-height: 1.6; font-weight: 400; color: #82909a; }
.compute-config .compute-capabilities { display: flex; gap: 4px; margin-top: 8px; padding: 4px; height: 44px; background: #eaf0f4; border-radius: 9px; }
.compute-config .compute-capability { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 6px; background: transparent; color: #788994; font-size: 12px; font-weight: 500; line-height: 1.5; font-family: inherit; cursor: pointer; }
.compute-config .compute-capability svg { width: 15px; height: 15px; }
.compute-config .compute-capability.active { color: #245f83; background: #fff; box-shadow: 0 1px 4px #173b5314; }
.compute-config .compact-setting-list { margin: 16px 0 0; padding: 0; border: 1px solid #e0e8ed; border-radius: 12px; background: #fff; }
.compute-config .compact-setting-list > label { padding: 16px 20px; gap: 16px; display: flex; justify-content: space-between; align-items: center; }
.compute-config .compact-setting-list strong { font-size: 13px; }
.compute-config .compact-setting-list small { display: block; font-size: 11px; margin-top: 4px; line-height: 1.6; color: #82909a; }
.compute-config input.compute-toggle { appearance: none; -webkit-appearance: none; position: relative; width: 38px; min-width: 38px; height: 22px; margin: 0; padding: 0; border: 0; border-radius: 999px; background: #ced9e0; cursor: pointer; transition: background .15s; }
.compute-config input.compute-toggle::before { content: ''; position: absolute; width: 16px; height: 16px; top: 3px; left: 3px; border-radius: 50%; background: white; box-shadow: 0 1px 3px #15263026; transition: transform .15s; }
.compute-config input.compute-toggle:checked { background: var(--compute-accent); }
.compute-config input.compute-toggle:checked::before { transform: translateX(16px); }
.compute-config .form-actions { margin-top: 18px; padding: 0; gap: 10px; }
.compute-config .form-actions button { min-height: 42px; border-radius: 9px; padding: 0 20px; }
.compute-config .info-callout { margin: 0; padding: 18px 20px; border: 1px solid #d9e8f1; border-radius: 12px; background: #f0f7fb; color: #577080; font-size: 13px; line-height: 1.9; }
.compute-config button:focus-visible, .compute-config input:focus-visible, .compute-config select:focus-visible { outline: 3px solid #74b7dd80; outline-offset: 3px; }
@media (max-width: 620px) {
  .compute-config .compute-plan-tabs { grid-template-columns: 1fr; gap: 8px; }
  .compute-config .compute-plan-tab { min-height: 62px; padding: 10px 14px; }
  .compute-config .compute-plan-tab small { display: inline; margin-left: 8px; }
  .compute-config .settings-fields { grid-template-columns: 1fr; padding: 15px; }
  .compute-config .detail-hero { grid-template-columns: 36px minmax(0, 1fr); }
  .compute-config .detail-hero .agent-avatar { width: 36px; height: 36px; }
  .compute-config .detail-hero > .status { grid-column: 2; justify-self: start; }
  .compute-config .form-actions button { flex: 1; justify-content: center; padding: 0 12px; }
}
