.report-workspace-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.report-workspace-heading p { max-width: 65ch; }
.report-workspace-heading .badge { flex-shrink: 0; }
.report-workspace-disclosure {
  border-top: 1px solid var(--border);
  padding: 1.1rem 0;
}
.report-workspace-disclosure > summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 2.75rem;
  align-content: center;
}
.report-workspace-disclosure[open] > summary { margin-bottom: .75rem; }
.report-workspace-disclosure--small { padding: .4rem 0; }
.report-workspace .session-report-draft-form { border-top: 0; padding-top: 0; }
.report-workspace .session-report-row { background: var(--bg); }
.report-editor-workspace .report-editor-header { margin-bottom: 0; }
.report-editor-workspace .report-editor-header h1 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.report-editor-nav {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  padding: .7rem 0;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 5;
}
.report-editor-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: .65rem 1rem;
  border-radius: .65rem;
  text-decoration: none;
  color: var(--ink);
}
.report-editor-nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}
.report-editor-nav a:hover { text-decoration: underline; }
.report-editor-workspace .report-share-panel { align-items: start; }
.report-editor-workspace .report-review-intro { margin: .25rem 0 1rem; }
@media (max-width: 600px) {
  .report-workspace-heading { flex-direction: column; }
  .report-editor-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .2rem; }
  .report-editor-nav a { justify-content: center; padding: .6rem .3rem; font-size: .9rem; }
}
.report-editor-nav a::before,
.report-editor-nav a::after { content: none; }
.report-editor-workspace .report-editor-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: start;
}
.report-editor-workspace .report-editor-header .actions { margin: 0; }
@media (max-width: 850px) {
  .report-editor-workspace .report-editor-header { grid-template-columns: minmax(0, 1fr); }
}
.report-editor-nav a { background-image: none; }
.report-editor-workspace .report-editor-header > div { min-width: 0; }
.report-editor-workspace .report-editor-header h1 { max-width: 100%; }
.report-editor-workspace .report-editor-header h1::after { display: none; }
@media (max-width: 600px) {
  .workspace-content .report-editor-workspace .report-editor-header h1 { font-size: 1.4rem; line-height: 1.25; }
  .report-editor-workspace .report-editor-header .meta { font-size: .85rem; }
}
.report-editor-workspace .report-editor-nav { top: 92px; }
.report-editor-workspace section[id] { scroll-margin-top: 164px; }
@media (max-width: 991px) {
  .report-editor-workspace .report-editor-nav { top: 72px; }
  .report-editor-workspace section[id] { scroll-margin-top: 144px; }
}
