/* ClickBee R147 — author/first-story alignment only.
   R145 keeps a 27px title-control lane inside the visible flow title. The reader
   does not have that editor-only lane. Counteract it AFTER the title, without
   styling, repositioning or intercepting the title or its controls.
   Reader: 10px title-to-byline; 16px byline-to-content. */
html body main.as-page #editor:not(.cbm-hide-title):not(.cbm-hide-byline):has(.as-title-row #cbR145FlowHeadline) > .cb80-author-field {
  margin-top:-20px!important;
}
html body main.as-page #editor:not(.cbm-hide-title):not(.cbm-hide-byline):has(.as-title-row #cbR145FlowHeadline) > #blocks {
  margin-top:8px!important;
}
/* When author metadata is intentionally hidden, the reader has no byline gap.
   Keep its 16px title-to-story gap, subtracting the editor-only 27px lane. */
html body main.as-page #editor:not(.cbm-hide-title).cbm-hide-byline:has(.as-title-row #cbR145FlowHeadline) > #blocks {
  margin-top:-11px!important;
}
/* The reader and editor use scrollable tables inside a rounded visual surface.
   Clip the table's actual painted face at the chosen radius, never the user's
   saved design, and preserve native horizontal scrolling on mobile. */
html body main.as-page #blocks [data-as-type="table"] > .as-table-editor {
  border-radius:inherit;
  overflow-x:auto;
  overflow-y:hidden;
  background-clip:border-box;
}
html body main.as-page #blocks .as-table-editor > .as-table-row:first-child {
  border-start-start-radius:inherit;
  border-start-end-radius:inherit;
}
html body main.as-page #blocks .as-table-editor > .as-table-row:first-child > .as-table-cell-direct:first-child {
  border-start-start-radius:inherit;
}
html body main.as-page #blocks .as-table-editor > .as-table-row:first-child > .as-table-cell-direct:last-child {
  border-start-end-radius:inherit;
}
