/* Keep page navigation accessible without reserving space for repeated introductions. */
body .workspace-page-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

body main.workspace-compact { padding-top: 16px; }
body .workspace-compact > .workspace-compact-header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 12px;
}
body .workspace-compact-header > div {
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 100%;
  min-width: 0;
  margin-top: 0;
}
.ws-page .ws-content-heading h1 { font-size: 24px; }

/* The timer's older styles use a more specific page scope. */
html:root body.page-study_timer .timer-studio.workspace-compact { padding-top: 16px; }
html:root body.page-study_timer .timer-studio .timer-studio-heading.workspace-compact-header {
  justify-content: flex-end;
  margin-bottom: 12px;
}

@media (max-width: 700px) {
  body main.workspace-compact { padding-top: 12px; }
  html:root body.page-study_timer .timer-studio.workspace-compact { padding-top: 12px; }
}

@media print {
  body .workspace-compact > .workspace-compact-header { display: none; }
}
