.dq-remote-runtime-profile{border:1px solid color-mix(in srgb,var(--brand-primary,#21d4c2) 28%,var(--border,#223244));border-radius:16px;padding:18px;background:color-mix(in srgb,var(--surface,#0c1724) 94%,var(--brand-primary,#21d4c2) 6%)}
.dq-remote-runtime-note{margin:10px 0 16px}.dq-remote-runtime-grid{margin-top:0}.dq-remote-runtime-field input{width:100%}.dq-remote-runtime-hint{margin:12px 0 0;color:var(--text-muted,#8fa3b8);font-size:.82rem;line-height:1.45}
@media(max-width:760px){.dq-remote-runtime-profile{padding:14px}}

/* r19-r3-hotfix2: portal outside React root to avoid DOM reconciliation races */
.dq-remote-runtime-portal{box-sizing:border-box;max-height:none;overflow:visible;background:var(--surface-2,#0f1b27);border:1px solid color-mix(in srgb,var(--brand-primary,var(--tenant-primary,#d8e51b)) 28%,var(--tenant-border,#26384b));border-radius:14px;padding:18px;box-shadow:0 18px 50px rgba(0,0,0,.35)}
.dq-remote-runtime-portal[style*="display: none"]{pointer-events:none}

/* r19-r3-hotfix3: runtime profile card visual/status synchronization */
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish{
  --dq-card-status:var(--tenant-warning,#d8e51b);
  border-radius:16px!important;overflow:hidden!important;
  border:1px solid color-mix(in srgb,var(--brand-primary,var(--tenant-primary,#d8e51b)) 38%,var(--tenant-border,#26384b))!important;
  border-top:3px solid var(--dq-card-status)!important;
  box-shadow:none!important;
}
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-ready{--dq-card-status:var(--tenant-success,#39d98a)}
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-warning{--dq-card-status:var(--tenant-danger,#ff6577)}
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-draft{--dq-card-status:var(--tenant-warning,#d8e51b)}
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-muted{--dq-card-status:var(--tenant-muted,#8fa3b8)}
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish:before,.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish:after{display:none!important}
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish>header{border-radius:0!important;border-top:0!important}
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish .badge{border-color:color-mix(in srgb,var(--dq-card-status) 42%,transparent)!important;background:color-mix(in srgb,var(--dq-card-status) 14%,var(--tenant-surface,#0d1824))!important;color:var(--dq-card-status)!important}
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish>header p,
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish>header small{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.35!important}
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish .premium-summary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 18px!important;padding:16px 18px!important}
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish .premium-summary>*{min-width:0!important}
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish .premium-summary b,
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish .premium-summary strong{display:block!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;line-height:1.35!important}
@media(max-width:900px){.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish .premium-summary{grid-template-columns:1fr!important}}

/* r19-r3-hotfix4: keep structural card border white-label; status only accents top/badge. */
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish:hover{border-color:color-mix(in srgb,var(--brand-primary,var(--tenant-primary,#d8e51b)) 58%,var(--tenant-border,#26384b))!important;border-top-color:var(--dq-card-status)!important}


/* r19-r3-hotfix6: compact profile summary, friendly labels and clipped external portal. */
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish .premium-summary{
  gap:10px 14px!important;
  padding:12px 16px!important;
}
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish .premium-summary>*{
  padding-block:2px!important;
}
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish .premium-summary small,
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish .premium-summary>*>span:first-child{
  font-size:.66rem!important;
  line-height:1.2!important;
}
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish .premium-summary b,
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish .premium-summary strong{
  margin-top:4px!important;
  line-height:1.25!important;
}
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish .premium-summary span,
.foundation-page.dq-runtime-page .foundation-card.premium-card.dq-profile-card-polish .premium-summary em{
  line-height:1.25!important;
}
.dq-remote-runtime-portal-clip{
  box-sizing:border-box;
  overflow:hidden!important;
  pointer-events:none;
}
.dq-remote-runtime-portal-clip .dq-remote-runtime-portal{pointer-events:auto}
.dq-remote-runtime-portal{
  padding:14px!important;
  border-radius:12px!important;
  box-shadow:0 14px 38px rgba(0,0,0,.30)!important;
}
.dq-remote-runtime-portal .dq-remote-runtime-note{margin:8px 0 12px!important;padding:12px 14px!important}
.dq-remote-runtime-portal .dq-remote-runtime-grid{gap:10px 14px!important}
.dq-remote-runtime-portal .dq-remote-runtime-field>span{font-size:.78rem!important}
.dq-remote-runtime-portal .dq-remote-runtime-field input{min-height:42px!important;padding:9px 12px!important}
.dq-remote-runtime-portal .dq-remote-runtime-hint{margin-top:9px!important;font-size:.74rem!important;line-height:1.35!important}
.dq-remote-prepare-btn{min-width:150px}

/* r31-r39 · Runtime remoto preparado no mesmo padrão expansível de Validação */
.dq-remote-preparation-state{margin:0 14px 10px!important;width:auto!important;box-sizing:border-box!important;overflow:hidden!important;border:1px solid rgba(86,240,208,.15)!important;border-left:2px solid rgba(86,240,208,.8)!important;border-radius:12px!important;background:rgba(2,18,28,.26)!important;color:inherit!important}
.dq-remote-preparation-state.failed{border-color:rgba(255,126,126,.18)!important;border-left-color:#ff8d8d!important}
.dq-remote-preparation-state>summary{list-style:none!important}.dq-remote-preparation-state>summary::-webkit-details-marker{display:none!important}
.dq-remote-preparation-summary{display:grid!important;grid-template-columns:30px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;min-width:0!important;padding:11px 13px!important;cursor:pointer!important;user-select:none!important}
.dq-remote-preparation-summary:hover{background:rgba(86,240,208,.04)!important}
.dq-remote-preparation-icon{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;border-radius:50%!important;border:1px solid rgba(86,240,208,.16)!important;background:rgba(86,240,208,.09)!important;color:#65dbc5!important;font-size:14px!important}
.dq-remote-preparation-state.failed .dq-remote-preparation-icon{background:rgba(255,126,126,.09)!important;border-color:rgba(255,126,126,.16)!important;color:#ff9d9d!important}
.dq-remote-preparation-heading{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important}.dq-remote-preparation-heading small{color:#69d9c2!important;font-size:8px!important;font-weight:800!important;letter-spacing:.09em!important}.dq-remote-preparation-state.failed .dq-remote-preparation-heading small{color:#ff9d9d!important}.dq-remote-preparation-heading b{color:#eef8ff!important;font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.dq-remote-preparation-heading em{color:#7f99ac!important;font-size:9px!important;font-style:normal!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.dq-remote-preparation-toggle{display:flex!important;align-items:center!important;gap:6px!important;color:#8ca5b8!important;font-size:9px!important;font-weight:750!important}.dq-remote-preparation-toggle i{color:#65dbc5!important;font-size:13px!important;font-style:normal!important;transition:transform .18s ease!important}.dq-remote-preparation-state .dq-collapse-label{display:none!important}.dq-remote-preparation-state[open] .dq-expand-label{display:none!important}.dq-remote-preparation-state[open] .dq-collapse-label{display:inline!important}.dq-remote-preparation-state[open] .dq-remote-preparation-toggle i{transform:rotate(180deg)!important}
.dq-remote-preparation-content{border-top:1px solid rgba(120,159,181,.12)!important;padding:12px!important}.dq-remote-preparation-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.dq-remote-preparation-grid>div{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important}.dq-remote-preparation-grid small{color:#6f8ca0!important;font-size:8px!important;font-weight:800!important;letter-spacing:.08em!important}.dq-remote-preparation-grid strong{color:#dceaf4!important;font-size:10px!important;font-weight:650!important;overflow-wrap:anywhere!important}.dq-remote-preparation-path{grid-column:1/-1!important}.dq-remote-preparation-content p{margin:10px 0 0!important;padding-top:9px!important;border-top:1px solid rgba(120,159,181,.10)!important;color:#7f99ac!important;font-size:9px!important;line-height:1.5!important}
@media(max-width:1180px){.dq-remote-preparation-toggle span{display:none!important}.dq-remote-preparation-summary{grid-template-columns:28px minmax(0,1fr) auto!important}}@media(max-width:620px){.dq-remote-preparation-grid{grid-template-columns:1fr!important}.dq-remote-preparation-path{grid-column:auto!important}}

/* r31-r40 · Runtime remoto: espaçamento e white-label */
.dq-remote-preparation-state{
  margin:12px 14px 10px!important;
  border:1px solid color-mix(in srgb,var(--tenant-primary,#56f0d0) 16%,var(--tenant-border,#294158))!important;
  border-left:2px solid color-mix(in srgb,var(--tenant-primary,#56f0d0) 82%,transparent)!important;
}
.dq-remote-preparation-summary:hover{
  background:color-mix(in srgb,var(--tenant-primary,#56f0d0) 4%,transparent)!important;
}
.dq-remote-preparation-icon{
  border-color:color-mix(in srgb,var(--tenant-primary,#56f0d0) 18%,transparent)!important;
  background:color-mix(in srgb,var(--tenant-primary,#56f0d0) 9%,transparent)!important;
  color:var(--tenant-primary,#56f0d0)!important;
}
.dq-remote-preparation-heading small,
.dq-remote-preparation-toggle i{
  color:var(--tenant-primary,#56f0d0)!important;
}

/* r31-r42 · Runtime remoto: somente cor interna/status no padrão de Validação */
.dq-remote-preparation-state{
  background:color-mix(in srgb,var(--dq-r964-primary) 3.5%,var(--dq-r964-surface))!important;
}
.dq-remote-preparation-summary:hover{
  background:var(--dq-r964-primary-soft)!important;
}
.dq-remote-preparation-icon{
  color:#56f0d0!important;
  background:rgba(86,240,208,.10)!important;
  border-color:rgba(86,240,208,.22)!important;
}
