#model-center { min-width: 0; color: #202a31; }
.mc-tabs { display: flex; border-bottom: 1px solid #d7dee3; gap: 4px; margin-bottom: 16px; }
.mc-tabs button { border: 0; background: transparent; padding: 10px 18px; color: #55616b; font-size: 14px; border-bottom: 3px solid transparent; }
.mc-tabs button[aria-selected="true"] { color: #11735b; border-bottom-color: #11735b; font-weight: 700; }
.mc-tabs span { margin-left: 8px; color: #75818a; font-size: 12px; }
.mc-layout { display: grid; grid-template-columns: minmax(190px, 260px) minmax(0, 1fr); gap: 20px; }
.mc-directory { border-right: 1px solid #dce2e6; padding-right: 16px; min-width: 0; }
.mc-directory > button { width: 100%; margin-bottom: 10px; }
.mc-records { max-height: 720px; overflow: auto; }
.mc-record { display: block; width: 100%; border: 0; border-bottom: 1px solid #e4e9ec; padding: 12px 10px; background: transparent; text-align: left; border-radius: 0; }
.mc-record.selected { background: #e8f3ee; box-shadow: inset 3px 0 #187754; }
.mc-record strong, .mc-record small { display: block; white-space: normal; overflow-wrap: anywhere; }
.mc-record strong { font-size: 14px; font-weight: 600; }
.mc-record small { margin-top: 4px; font-size: 11px; color: #65737d; line-height: 1.5; }
.mc-editor { min-width: 0; }
.mc-editor h3 { font-size: 17px; margin: 0; }
.mc-editor .space-row { gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.mc-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 16px; }
.mc-field { display: grid; gap: 6px; font-size: 12px; min-width: 0; color: #56636d; margin: 0; }
.mc-field input,.mc-field select,.mc-field textarea { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #ccd5dc; background: #fff; border-radius: 5px; font-family: inherit; font-size: 14px; line-height: 1.5; color: #202a31; padding: 8px 10px; }
.mc-field textarea { font: 12px/1.6 Consolas,monospace; resize: vertical; }
.mc-full { grid-column: 1/-1; }
.mc-form-grid fieldset { border: 0; padding: 0; margin: 0; }
.mc-form-grid legend { font-size: 12px; color: #56636d; margin-bottom: 8px; }
.mc-checks,.mc-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mc-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.mc-check input { width: 16px; height: 16px; margin: 0; }
.mc-actions { margin-top: 18px; }
.mc-actions button,.mc-probe button { min-height: 36px; font-size: 13px; padding: 8px 16px; }
.mc-status { min-height: 22px; font-size: 13px; overflow-wrap: anywhere; color: #136943; }
.mc-status.error { color: #b52e36; }
.mc-help,.mc-routes,.model-diagnostics-details { border-top: 1px solid #dce2e6; padding: 16px 0; margin-top: 16px; }
.mc-help summary,.mc-routes summary,.model-diagnostics-details summary { cursor: pointer; font-size: 14px; }
.mc-help p { font: 12px/1.7 monospace; overflow-wrap: anywhere; }
.mc-probe { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; margin-top: 22px; border-top: 1px solid #e2e7eb; padding-top: 16px; }
.mc-probe small { font-size: 11px; color: #7b6651; }
.mc-route-row { display: grid; grid-template-columns: 145px repeat(auto-fit,minmax(130px,1fr)); gap: 12px; border-bottom: 1px solid #e2e7eb; padding: 12px 0; }
.mc-route-row > strong { font-size: 13px; align-self: center; }
.boss-lock form { display: grid; gap: 16px; width: 100%; max-width: 380px; margin: 24px auto 0; text-align: left; }
@media(max-width:760px) {
  .mc-layout { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .mc-directory { border-right: 0; padding: 0; border-bottom: 1px solid #dce2e6; padding-bottom: 12px; }
  .mc-records { max-height: 210px; }
  .mc-form-grid { grid-template-columns: minmax(0,1fr); }
  .mc-route-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mc-route-row > strong { grid-column: 1/-1; }
  .mc-tabs button { padding: 10px 12px; }
  .mc-field input,.mc-field select { font-size: 16px; }
}
