/* One slim bar above every concept demo. It sits in the page flow, so it never covers a control.
   Demos with a full-height shell use calc(100vh - var(--concept-bar)). Contract: demo-bar.md */
:root { --concept-bar: 36px; }
.concept-bar {
  box-sizing: border-box; position: relative; flex: none; display: flex; align-items: center; gap: 8px 20px;
  width: 100%; min-height: var(--concept-bar); margin: 0; padding: 0 20px;
  background: #171a1f; color: #d9dde3; border-bottom: 1px solid #34393f;
  font: 500 13px/16px "Helvetica Neue", Arial, sans-serif; letter-spacing: 0; text-align: left; text-transform: none;
}
.concept-bar p { flex: 1; min-width: 0; margin: 0; color: inherit; font: inherit; }
.concept-bar a, .concept-bar button {
  box-sizing: border-box; flex: none; display: inline-flex; align-items: center; min-height: 34px; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: none; box-shadow: none; color: #fff; font: inherit; letter-spacing: 0;
  text-transform: none; text-decoration: underline; text-decoration-color: #7d858f; text-underline-offset: 4px; cursor: pointer;
}
.concept-bar button::before {
  content: ""; width: 0; height: 0; margin-right: 7px; border: solid transparent; border-width: 4px 0 4px 7px; border-left-color: #fff;
}
.concept-bar a:hover, .concept-bar button:hover { color: #fff; background: none; text-decoration-color: #fff; }
.concept-bar a:focus-visible, .concept-bar button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
@media (max-width: 600px) {
  .concept-bar { gap: 4px 12px; padding: 0 12px; font-size: 11.5px; line-height: 13px; }
  .concept-bar p { text-wrap: balance; }
  .concept-bar a, .concept-bar button { min-height: 35px; }
}
@media print { .concept-bar { display: none; } }
