/* zdemo.css - the demonstration notices. Demo tree only; the live app does not load this.
 *
 * THE BAR IS STICKY, NOT A SPLASH. A disclaimer a user dismisses once and then forgets is
 * not a disclaimer on the screen they are looking at. This one sits at the top of the
 * viewport on every page, including a page reached by a deep link, and there is no control
 * that removes it.
 *
 * IT IS ALSO PRINTED. zapp.css hides .zx-demobar in print; a printed or PDF-ed page of a
 * demonstration workspace that no longer says it is a demonstration is exactly how a
 * synthetic figure ends up in a real deck, so the print rule is overridden here.
 */
.zd-bar{position:sticky;top:0;z-index:400;background:#7a1f1f;color:#fff;
  border-bottom:3px solid #C9A84C;padding:8px 16px;font-size:12.5px;line-height:1.5;
  font-family:Arial,Helvetica,sans-serif;}
.zd-bar .zd-in{max-width:1300px;margin:0 auto;display:flex;gap:10px;align-items:baseline;
  flex-wrap:wrap;}
.zd-bar b{flex:0 0 auto;font-size:11px;letter-spacing:.12em;text-transform:uppercase;
  background:#fff;color:#7a1f1f;border-radius:3px;padding:2px 7px;font-weight:700;}
.zd-bar span{flex:1 1 320px;min-width:0;}
.zd-bar a{color:#fff;text-decoration:underline;}

.zd-foot{max-width:1300px;margin:26px auto 0;padding:16px 18px;border-radius:10px;
  background:#FBF3DC;border:1px solid #C9A84C;color:#5f4a0c;font-size:12.5px;
  line-height:1.6;font-family:Arial,Helvetica,sans-serif;}
.zd-foot b{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;
  margin-bottom:5px;}
.zd-foot ul{margin:8px 0 0;padding-left:20px;}
.zd-foot li{margin:3px 0;}
.zd-foot .zd-reset{margin-top:12px;}
.zd-foot button{font:inherit;cursor:pointer;background:#1B2A4A;color:#fff;border:0;
  border-radius:6px;padding:8px 14px;}
.zd-foot .zd-stat{display:block;margin-top:7px;font-size:11.5px;}

@media print{
  .zd-bar{position:static;display:block !important;}
  .zd-foot{display:block !important;}
}
@media (max-width:520px){
  .zd-bar{font-size:12px;padding:7px 11px;}
  .zd-bar .zd-in{gap:6px;}
}
