/* v2.4.85 Desktop Workspace CORE r1
   Safe layer over existing Quick Preview. No entity template changes. */
:root{--dw-preview-width:clamp(410px,34vw,540px)}

@media (min-width:1180px){
  html.dw-split-active main{margin-right:var(--dw-preview-width);transition:margin-right .16s ease}
  html.dw-split-active main>.wrap{max-width:1180px}
  .quick-preview-shell.dw-split{pointer-events:none}
  .quick-preview-shell.dw-split .quick-preview-backdrop{display:none}
  .quick-preview-shell.dw-split .quick-preview-drawer{pointer-events:auto;top:64px;right:0;width:var(--dw-preview-width);height:calc(100% - 64px);border-left:1px solid #dbe3ee;box-shadow:-10px 0 28px rgba(26,45,72,.09);animation:dw-preview-in .16s ease-out}
  .quick-preview-shell.dw-split .quick-preview-head{min-height:62px;padding:10px 15px;background:#f9fbfd}
  .quick-preview-shell.dw-split .quick-preview-head small{color:#55708f;font-weight:750}
  .quick-preview-shell.dw-split .quick-preview-body{padding:16px 16px 30px;background:#fff}
  .quick-preview-shell.dw-split .quick-preview-footer{padding:10px 14px;background:#fbfcfe}
  .quick-preview-shell.dw-split .qp-content h2{font-size:23px}
  .quick-preview-shell.dw-split .qp-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:15px}
  .quick-preview-shell.dw-split .qp-metrics>div{padding:10px 11px;border-radius:10px}
  .quick-preview-shell.dw-split .qp-metrics strong{font-size:15px}
  .quick-preview-shell.dw-split .qp-row{padding:9px 0}

  main a.js-quick-preview.dw-record-active{color:#1749b4!important}
  tr.dw-row-active>td{background:#f4f8ff!important}
  tr.dw-row-active>td:first-child{box-shadow:inset 3px 0 0 #3472de}
  .controller-register-row.dw-row-active,.installed-base-row.dw-row-active,.catalog-row.dw-row-active{background:#f4f8ff!important;box-shadow:inset 3px 0 0 #3472de}

  .bulk-action-bar,.backup-bulk-bar{border:1px solid #cdd8e7!important;border-radius:14px!important;background:rgba(255,255,255,.97)!important;color:#203249!important;box-shadow:0 16px 42px rgba(24,45,75,.16)!important;backdrop-filter:blur(10px)!important}
  .backup-bulk-count,.bulk-action-count{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;background:#eef4ff!important;color:#244d97!important;font-size:12px;font-weight:750}

  @keyframes dw-preview-in{from{transform:translateX(10px);opacity:.72}to{transform:none;opacity:1}}
}

@media (prefers-reduced-motion:reduce){html.dw-split-active main,.quick-preview-shell.dw-split .quick-preview-drawer{transition:none!important;animation:none!important}}
