:root { --demo-band: 34px; }
#demo-band { position: fixed; top: 0; left: 0; right: 0; height: var(--demo-band); z-index: 2147483000; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px; box-sizing: border-box; font: 13px/1.2 system-ui, sans-serif; background: #1b2530; color: #cdd7e2; border-bottom: 1px solid #2c3a49; }
#demo-band b { color: #f1c27a; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-right: 2px; }
#demo-band .demo-links { display: flex; gap: 16px; flex: none; }
#demo-band a { color: #9cc4ee; text-decoration: none; }
#demo-band a:hover { text-decoration: underline; }
html.ist-demo body { padding-top: var(--demo-band); box-sizing: border-box; }
html.ist-demo .app { height: calc(100vh - var(--demo-band)); height: calc(100dvh - var(--demo-band)); min-height: 0; }
@media (max-width: 700px) {
  :root { --demo-band: 52px; }
  #demo-band { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; font-size: 12px; }
}
/* Schmale Bildschirme: die Oberflaeche ist ein Desktopfenster; einige Zeilen brauchen Umbruch oder Scrollen. */
@media (max-width: 700px) {
  html.ist-demo .fs-form { flex-wrap: wrap; }
  html.ist-demo .fs-form input { flex: 1 1 100%; min-width: 0; }
  html.ist-demo .jev-tabelle { display: block; overflow-x: auto; max-width: 100%; }
  html.ist-demo .jev-tabelle th, html.ist-demo .jev-tabelle td { white-space: nowrap; }
  html.ist-demo .scr-head { flex-wrap: wrap; row-gap: 8px; }
  html.ist-demo .gv-kopfangaben { flex: 1 1 100%; justify-content: flex-start; flex-wrap: wrap; gap: 8px 12px; }
}

#demo-hinweis { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 8px); z-index: 2147483001; padding: 9px 16px; border-radius: 8px; background: #1b2530; color: #e6edf5; border: 1px solid #2c3a49; font: 13px/1.2 system-ui, sans-serif; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
#demo-hinweis.an { opacity: 1; transform: translate(-50%, 0); }
