/* Demo-only: same family/professional layouts, with legal context notice. */
.cpm-mirror-notice { margin: .65rem auto; max-width: 1320px; padding: .65rem .9rem; border-left: 3px solid #0d99c6; border-radius: 5px; background: #123747; color: #eaf8fc; font-size: .86rem; }
.demo-family-body .cpm-mirror-notice{max-width: 1280px;}
.cpm-legal-client-demo{max-width:1150px;margin:1rem auto;padding:1rem;}
.demo-pro-body .cpm-mirror-notice{max-width:unset;margin:0;padding:.6rem 1.2rem;}

/* Base 208 R7: responsive filter chips, used only on DE/CB demo mirrors. */
body[data-cpm-demo-jurisdiction] [data-demo-document-filter] {
  display:inline-flex; align-items:center; justify-content:center; min-height:38px;
  padding:.45rem .8rem; border-radius:10px; border-width:1px;
  font-weight:650; line-height:1.25; white-space:normal; text-align:center;
  box-shadow:0 2px 6px rgba(9,45,70,.05); transition:border-color .15s, box-shadow .15s;
}
body[data-cpm-demo-jurisdiction] [data-demo-document-filter]:focus-visible {
  outline:3px solid #ffbf47; outline-offset:2px;
}
body[data-cpm-demo-jurisdiction] [data-demo-document-filter]:hover {
  box-shadow:0 3px 10px rgba(12,71,95,.14);
}
@media(max-width:520px){
  body[data-cpm-demo-jurisdiction] [data-demo-document-filter]{flex:1 1 calc(50% - .5rem)}
}

/* Allineamento 212: l'avviso DE/CB segue la stessa colonna principale
   e lo stesso container Bootstrap delle schede; mobile senza sidebar fissa. */
.demo-family-body .cpm-mirror-notice-shell {
  margin-left: 250px;
}
.demo-family-body .cpm-mirror-notice-shell > .container > .cpm-mirror-notice {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
@media (max-width: 991.98px) {
  .demo-family-body .cpm-mirror-notice-shell { margin-left: 0; }
}
