/* WORKBENCH20 — the approved activity surface extends to native tools.
   Explicit route scope excludes embedded Register/LPR and original CRM composer.
   No visibility, ordering, form validation or semantic status changes. */
@media screen {
#app[data-workspace-native=true] #content {
 background:radial-gradient(ellipse at 95% 0%,var(--cx-edge) 0%,transparent 42%),linear-gradient(145deg,#e7edf5,#f2f5f8 65%,var(--cx-soft))!important;
 color:#20364e;min-height:70vh;
}
#app[data-workspace-native=true] #content :is(.page-head,.pw-head,.pcw-heading,.wc-heading) {
 background:transparent!important;border:0!important;border-bottom:1px solid #bfcedd!important;border-radius:0!important;
 padding:8px 0 18px!important;margin:0 0 18px!important;box-shadow:none!important;
}
#app[data-workspace-native=true] #content :is(.page-head,.pw-head,.pcw-heading,.wc-heading) h1 {
 font:750 clamp(24px,2.3vw,30px)/1.2 system-ui!important;letter-spacing:-.7px!important;color:#1b2f46!important;text-transform:none!important;margin:0 0 7px!important;
}
#app[data-workspace-native=true] #content :is(.page-head,.pw-head,.pcw-heading,.wc-heading) :is(p,small) {
 font-size:13px!important;line-height:1.5!important;color:#52677d!important;letter-spacing:0!important;
}
#app[data-workspace-native=true] #content :is(.card,.pw-compare-bar,.pcw-controls,.wc-controls,.pw-history,.pcw-coverage) {
 background:#f5f8fb!important;border:1px solid #ccd8e5!important;border-radius:14px!important;box-shadow:0 5px 18px #20354f08!important;
}
#app[data-workspace-native=true] #content :is(.pw-stat,.pcw-tile,.wc-tile) {
 background:#f8fafc!important;border:1px solid #ccd8e5!important;border-radius:13px!important;color:#20364e!important;box-shadow:none!important;
}
#app[data-workspace-native=true] #content :is(.pw-stat,.pcw-tile,.wc-tile) strong {
 font:750 27px/1.2 system-ui!important;font-variant-numeric:tabular-nums!important;
}
#app[data-workspace-native=true] #content :is(.pw-stat,.pcw-tile,.wc-tile)[aria-pressed=true] {
 background:var(--cx-soft)!important;border-color:var(--cx)!important;box-shadow:inset 0 -3px var(--cx)!important;color:var(--cx)!important;
}
#app[data-workspace-native=true] #content :is(.table-wrap,.pw-table-wrap,.pcw-table) {
 background:#f8fafc!important;border:1px solid #c9d7e4!important;border-radius:13px!important;
}
#app[data-workspace-native=true] #content :is(.table,.pcw-table table) th {
 background:#dfe7f0!important;color:#324c67!important;font:700 12px/1.4 system-ui!important;
 letter-spacing:0!important;text-transform:none!important;border-bottom:1px solid #c2d1e1!important;
}
#app[data-workspace-native=true] #content :is(.table,.pcw-table table) td {
 border-bottom:1px solid #dbe4ed!important;font-variant-numeric:tabular-nums;
}
#app[data-workspace-native=true] #content :is(.table,.pcw-table table) tbody tr:nth-child(even) {background:#edf2f7}
#app[data-workspace-native=true] #content :is(.table,.pcw-table table) tbody tr:hover {background:var(--cx-soft)}
#app[data-workspace-native=true] #content .btn:not(.primary):not(.danger):not(.red):not(.green) {
 border:1px solid #becddd;border-radius:10px;color:#2b465e;background:#f8fafc;
}
#app[data-workspace-native=true] #content .btn.primary:not(.danger) {
 background:var(--cx)!important;border-color:var(--cx)!important;color:white!important;border-radius:10px!important;
}
#app[data-workspace-native=true] #content :is(input[type=search],select) {
 background:#fff;border-color:#bdccdb;border-radius:10px;
}
#app[data-workspace-native=true] #content :is(button,a,input,select,textarea):focus-visible {
 outline:3px solid var(--cx)!important;outline-offset:3px;
}
#sectionNavigation .wb-area-return {
 background:var(--cx-soft)!important;border:1px solid var(--cx-edge)!important;color:var(--cx)!important;font-weight:750!important;
}
#app[data-workspace-native=true] .pw {--pw-accent:var(--cx)}
@media(max-width:650px){
 #app[data-workspace-native=true] #content :is(.page-head,.pcw-heading,.wc-heading){gap:12px;flex-wrap:wrap}
 #app[data-workspace-native=true] #content :is(.pw-stat,.pcw-tile,.wc-tile) strong{font-size:23px!important}
 #app[data-workspace-native=true] #content .head-actions{display:flex;flex-wrap:wrap;gap:8px}
}
}

/* Fit the shared menu inside its existing 72px shell; keep original workspace sizing. */
@media screen {
 #app.horizontal-menu #nav.nx-navigation {
  box-sizing:border-box!important;height:62px!important;min-height:62px!important;
  max-height:62px!important;padding:0 8px!important;align-items:center!important;
 }
 #app.horizontal-menu #nav.nx-navigation .tl-area-rail {
  box-sizing:border-box!important;height:58px!important;min-height:58px!important;
  max-height:58px!important;padding-bottom:4px!important;
 }
}
