/* TAYWay theme demo bar (identical copy in every tayway-* theme).
 * Neutral demo chrome, deliberately NOT themed: fixed #111 / #fff so it reads the same on all
 * four themes. Lives inside the sticky .site-header (nav.html), so it sticks with the header. */
.site-header .tw-demo {
  background: #111;
  color: #f2f2f2;
  border-bottom: 1px solid #2b2b2b;
  font: 500 12px/1.2 ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 0.02em;
  text-transform: none;
}
.site-header .tw-demo__in {
  box-sizing: border-box;
  max-width: 1280px;
  min-height: 34px;
  margin: 0 auto;
  padding: 4px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
}
.site-header .tw-demo__label {
  margin: 0;
  color: #c4c4c4;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-header .tw-demo__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.site-header .tw-demo a.tw-demo__opt {
  display: inline-block;
  padding: 4px 11px;
  border: 1px solid #444;
  border-radius: 999px;
  background: transparent;
  color: #f2f2f2;
  font: inherit;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: none;
  opacity: 1;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.site-header .tw-demo a.tw-demo__opt::before,
.site-header .tw-demo a.tw-demo__opt::after { content: none; display: none; }
.site-header .tw-demo a.tw-demo__opt:hover { background: #262626; border-color: #8c8c8c; color: #fff; }
.site-header .tw-demo a.tw-demo__opt[aria-current="true"] { background: #fff; border-color: #fff; color: #111; }
.site-header .tw-demo a.tw-demo__opt:focus { outline: none; }
.site-header .tw-demo a.tw-demo__opt:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #111;
}
@media (max-width: 480px) {
  .site-header .tw-demo__label { display: none; }
  .site-header .tw-demo a.tw-demo__opt { padding: 4px 9px; }
}
@media (forced-colors: active) {
  .site-header .tw-demo a.tw-demo__opt[aria-current="true"] { outline: 2px solid CanvasText; }
}
@media print { .site-header .tw-demo { display: none; } }
