body { padding-bottom: 150px; }
.sidebar, .topbar, .workspace-footer { display: none; }
.workspace { display: block; }
.presentation-bar { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); box-sizing: border-box; z-index: 1000; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; padding: 14px 18px; background: var(--surface, #fff); color: var(--ink, #29364c); border: 1px solid var(--line, #e5eaf3); border-radius: 14px; box-shadow: 0 8px 40px #0003; font: 13px/1.4 Inter, Arial, sans-serif; }
.presentation-heading { display: flex; flex: 1 0 100%; align-items: center; gap: 6px; min-width: 0; }
.presentation-heading > span, .presentation-heading > details { flex-shrink: 0; white-space: nowrap; }
.presentation-bar h2 { min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 1.2; }
.presentation-bar details p { position: fixed; bottom: calc(100% + 12px); left: 0; right: 0; margin: 0; padding: 12px; max-height: 40vh; overflow-y: auto; white-space: normal; background: var(--surface, #fff); color: var(--ink, #29364c); border: 1px solid var(--line, #e5eaf3); border-radius: 6px; box-shadow: 0 2px 12px #0002; }
.presentation-bar details { margin: 0; padding: 0; border: 0; background: transparent; }
.presentation-bar summary { cursor: pointer; font-size: 18px; list-style: none; }
.presentation-bar summary::-webkit-details-marker { display: none; }
.presentation-bar .presentation-examples summary { font-size: 12px; white-space: nowrap; }
.presentation-examples > div { position: fixed; bottom: calc(100% + 12px); right: 0; max-width: 100%; box-sizing: border-box; display: grid; gap: 12px; padding: 16px; background: var(--surface, #fff); color: var(--ink, #29364c); border: 1px solid var(--line, #e5eaf3); border-radius: 6px; box-shadow: 0 2px 12px #0002; }
.presentation-bar span { font-size: 12px; }
.presentation-bar nav { display: flex; flex: 1 1 auto; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; white-space: nowrap; margin: 0; padding: 0; }
.presentation-bar button { width: auto; min-height: 44px; margin: 0; padding: 12px 18px; border: 0; border-radius: 8px; background: #4164db; color: #fff; cursor: pointer; font: 600 13px/1.4 Inter, Arial, sans-serif; white-space: nowrap; }
.presentation-bar button:hover:not(:disabled) { background: #304ea9; }
.presentation-bar :is(button, a, summary):focus-visible { outline: 3px solid var(--accent, #4164db); outline-offset: 3px; }
.presentation-bar nav > a { color: var(--accent, #4164db); padding: 10px 0; }
.presentation-bar button:disabled { opacity: .55; cursor: default; }
@media (max-width: 700px) {
  body { padding-bottom: 115px; }
  .presentation-bar { bottom: 8px; width: calc(100% - 16px); max-width: 400px; gap: 6px; padding: 8px 10px; }
  .presentation-bar nav { display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .presentation-bar button { min-height: 36px; padding: 7px 5px; font-size: 11px; }
  .presentation-bar nav > a { display: grid; place-items: center; padding: 7px 0; font-size: 11px; }
}
