/* Rules only the single-page front end needs. Everything else is style.css, a copy of ../../static/style.css. */
.banner.warn { background: var(--warn-soft); color: var(--warn); }
.sign-out {
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  border-radius: 6px;
  padding: 5px 12px;
  font: inherit;
  cursor: pointer;
}
.sign-out:hover { color: var(--text); }
/* Lecture: the page is in columns (style.css's main.ask-layout), and the view's own box takes no room, so its parts
   are the columns. style.css's rules for the topic bar name it as main's child; here it's the box's. */
main.ask-layout > .lecture-page { display: contents; }
main.ask-layout:has(> .lecture-page > .topic-banner) { grid-template-rows: auto minmax(0, 1fr); }
main.ask-layout > .lecture-page > .topic-banner { grid-column: 1 / -1; margin: 0; padding: 10px 16px; font-size: 14px; }
main.ask-layout > .lecture-page > .topic-banner .small { font-size: 14px; }
@media (max-width: 760px) {
  main.ask-layout:has(> .lecture-page > .topic-banner), main.ask-layout.quick-open:has(> .lecture-page > .topic-banner) {
    grid-template-rows: auto auto minmax(0, 1fr) auto; }
  main.ask-layout > .lecture-page > .topic-banner { padding: 8px 12px; }
}
