
/* Light mass-proxy editor */
#mpc-modal.mpc-overlay {
  background:rgba(28,49,78,.38)!important;
  backdrop-filter:blur(3px);
  padding:16px;
  box-sizing:border-box;
}
#mpc-modal .mpc-box {
  width:660px!important;
  max-width:100%!important;
  max-height:calc(100dvh - 32px)!important;
  background:#fff!important;
  border:1px solid #dce6f2!important;
  border-radius:20px!important;
  box-shadow:0 24px 80px rgba(22,49,85,.25)!important;
  animation:mpc-light-open .18s ease-out;
}
#mpc-modal .mpc-hd {
  padding:20px 24px!important;
  background:#f8fbff;
  border-bottom:1px solid #e4edf7!important;
  color:#263f5c!important;
}
#mpc-modal .mpc-hd h3 {
  font-size:20px!important;
  font-weight:700!important;
}
#mpc-modal .mpc-close {
  display:grid;
  place-items:center;
  width:32px;height:32px;
  padding:0!important;
  border-radius:9px;
  color:#7188a3!important;
}
#mpc-modal .mpc-close:hover {
  background:#eaf2fc!important;
  color:#246bb5!important;
}
#mpc-modal .mpc-bd {
  padding:22px 24px!important;
  color:#304b69!important;
}
#mpc-modal .mpc-bd label {
  color:#395570!important;
  font-weight:600;
  margin-bottom:9px;
}
#mpc-modal .mpc-bd textarea {
  min-height:190px!important;
  max-height:35vh;
  background:#f8fbff!important;
  color:#294563!important;
  border:1px solid #cbdced!important;
  border-radius:12px!important;
  padding:13px 15px!important;
  font:12px/1.8 ui-monospace,Consolas,monospace!important;
  scrollbar-width:thin;
  scrollbar-color:#c4d5e8 transparent;
}
#mpc-modal .mpc-bd textarea:focus {
  border-color:#348be5!important;
  box-shadow:0 0 0 3px #348be516;
}
#mpc-modal .mpc-hint {
  color:#7b8ea5!important;
  font-size:11px!important;
  line-height:1.7!important;
  margin-top:10px!important;
  overflow-wrap:anywhere;
}
#mpc-modal .mpc-radios {
  gap:9px!important;
  margin-top:18px!important;
}
#mpc-modal .mpc-radio {
  display:flex!important;
  align-items:center;
  gap:9px!important;
  margin:0!important;
  padding:11px 13px;
  border:1px solid #e1eaf4;
  border-radius:10px;
  background:#fafcff;
  color:#375471!important;
  font-weight:500!important;
}
#mpc-modal .mpc-radio:has(input:checked) {
  background:#edf6ff;
  border-color:#a9cffa;
}
#mpc-modal .mpc-radio:has(input:disabled) {
  opacity:.5;
  cursor:default;
}
#mpc-modal .mpc-radio input {
  width:16px;height:16px;
  margin:0;flex:none;
  accent-color:#2383e2!important;
}
#mpc-modal .mpc-folder {
  box-sizing:border-box;
  width:100%!important;
  margin:0!important;
  padding:10px 12px!important;
  border:1px solid #ccdced!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#34506d!important;
  color-scheme:light;
}
#mpc-modal .mpc-stats {
  margin-top:16px!important;
  padding:10px 13px;
  background:#ecf8f2;
  border:1px solid #d3ecdf;
  border-radius:9px;
  color:#25714e!important;
  font-weight:600;
}
#mpc-modal .mpc-stats:empty {
  display:none;
}
#mpc-modal .mpc-ft {
  padding:16px 24px!important;
  background:#f8fbff!important;
  border-top:1px solid #e4edf7!important;
  gap:10px!important;
}
#mpc-modal .mpc-btn {
  min-height:40px;
  padding:10px 18px!important;
  border-radius:10px!important;
  font-size:13px!important;
  font-weight:600!important;
}
#mpc-modal .mpc-btn-cancel {
  background:#edf3fa!important;
  color:#4b6683!important;
}
#mpc-modal .mpc-btn-apply {
  background:#187de1!important;
  color:#fff!important;
}
#mpc-modal .mpc-btn-apply:hover:not(:disabled) {
  background:#106bc4!important;
}
#mpc-modal button:focus-visible,
#mpc-modal select:focus-visible {
  outline:3px solid #b5d8fa;
  outline-offset:2px;
}
@keyframes mpc-light-open {
  from {opacity:0;transform:translateY(8px)}
  to {opacity:1;transform:translateY(0)}
}
@media(prefers-reduced-motion:reduce) {
  #mpc-modal .mpc-box {animation:none}
}
@media(max-width:600px) {
  #mpc-modal .mpc-hd,
  #mpc-modal .mpc-bd,
  #mpc-modal .mpc-ft {padding:16px!important}
}
