#json-categories-as-text {
  border: 1px solid #c6c6c6;
  color: var(--textareaForegroundColor);
  padding: 5px 15px;
  background-color: var(--markdownTextareaBackgroundColor);
  font-family: monospace;
  font-size: 13px;
  border-bottom: 0;
  border-radius: 3px 3px unset unset;
  width: 100%;
}

#json-categories-as-text.error {
  border-color: red;
  color: red;
  border-bottom: 1px solid;
}

#categories-table th {
  border-color: currentcolor;
  border-bottom: none;
  border: var(--submenuBackgroundColor);
  border-bottom: 1px solid var(--submenuBackgroundColor);
  padding: 5px;
  font-weight: 600;
  color: var(--mainForegroundColor);
}

#categories-table tr {
  outline: 0;
  background-color: var(--mainBackgroundColor);
}

#categories-table tbody tr:nth-child(odd) {
  background-color: var(--submenuBackgroundColor);
}

#categories-table td {
  padding: 5px;
}

#categories-table .category__deleted {
  text-decoration: line-through;
  color: red;
}

#categories-table .category__added {
  color: green;
}
/*
 * Styles for the plugin's client surfaces. PeerTube loads this file globally
 * (declared under `css` in package.json), so every selector is namespaced with
 * `video-lifecycle-` — these rules live in the same cascade as the core app.
 *
 * `--mainColor` is PeerTube's own accent variable: using it keeps the notices
 * on-theme across instances, and the fallback covers a theme that does not
 * define it. Everything else inherits, so a notice picks up the surrounding
 * font and colours rather than imposing its own.
 *
 * The buttons are not styled here at all. They carry core's own
 * `peertube-button` / `primary-button` classes, emitted globally by
 * `class-helpers/_buttons.scss`, so they follow the instance's theme instead of
 * a look of ours that would drift from it. What is left below is placement.
 */

/* ── The inline notice, shared by the watch page and the account warning ──── */
.video-lifecycle-notice {
  margin: 0.5rem 0;
  padding: 0.4rem 0.75rem;
  border-left: 3px solid var(--mainColor, #f2690d);
  font-size: 0.9em;
}

.video-lifecycle-notice__link,
.video-lifecycle-notice__control {
  margin-left: 0.75rem;
}

/* ── The countdown page: the list of videos scheduled for deletion ────────── */
.video-lifecycle-countdown__row {
  margin: 0.2rem 0;
}

.video-lifecycle-countdown__keep {
  margin-left: 0.5rem;
}

/* The rule the page applies, stated above the list. Set apart from the videos
   themselves — it is context, not something to act on. */
.video-lifecycle-countdown__rule {
  margin-bottom: 1rem;
  font-size: 0.9em;
}

/* The note under a declaration that can no longer be changed. Sits with the
   field's own description rather than announcing itself as a warning: nothing
   went wrong, the answer is simply settled. */
.video-lifecycle-frozen-note {
  margin: 0.25rem 0 0;
  font-size: 0.9em;
}

/* ── The figures, under each section's heading in the settings form ───────── */

/* One line per section, set apart from the description it follows: these are the
   instance's present state, where everything around them is a setting. */
.video-lifecycle-figures {
  margin: 0.5rem 0 0;
  font-size: 0.95em;
  font-style: italic;
}

.video-lifecycle-figures__lead {
  margin-right: 0.25rem;
}

/* The figure itself, upright and in tabular digits inside an italic line: the
   numbers are what the line is for, the words are how to read them. */
.video-lifecycle-figures__item strong {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
/*
 * Styles for the plugin's client surfaces. PeerTube loads this file globally
 * (declared under `css` in package.json), so every selector is namespaced with
 * `video-lifecycle-` — these rules live in the same cascade as the core app.
 *
 * `--mainColor` is PeerTube's own accent variable: using it keeps the notices
 * on-theme across instances, and the fallback covers a theme that does not
 * define it. Everything else inherits, so a notice picks up the surrounding
 * font and colours rather than imposing its own.
 *
 * The buttons are not styled here at all. They carry core's own
 * `peertube-button` / `primary-button` classes, emitted globally by
 * `class-helpers/_buttons.scss`, so they follow the instance's theme instead of
 * a look of ours that would drift from it. What is left below is placement.
 */

/* ── The inline notice, shared by the watch page and the account warning ──── */
.video-lifecycle-notice {
  margin: 0.5rem 0;
  padding: 0.4rem 0.75rem;
  border-left: 3px solid var(--mainColor, #f2690d);
  font-size: 0.9em;
}

.video-lifecycle-notice__link,
.video-lifecycle-notice__control {
  margin-left: 0.75rem;
}

/* ── The countdown page: the list of videos scheduled for deletion ────────── */
.video-lifecycle-countdown__row {
  margin: 0.2rem 0;
}

.video-lifecycle-countdown__keep {
  margin-left: 0.5rem;
}

/* The rule the page applies, stated above the list. Set apart from the videos
   themselves — it is context, not something to act on. */
.video-lifecycle-countdown__rule {
  margin-bottom: 1rem;
  font-size: 0.9em;
}

/* The note under a declaration that can no longer be changed. Sits with the
   field's own description rather than announcing itself as a warning: nothing
   went wrong, the answer is simply settled. */
.video-lifecycle-frozen-note {
  margin: 0.25rem 0 0;
  font-size: 0.9em;
}

/* ── The figures, under each section's heading in the settings form ───────── */

/* One line per section, set apart from the description it follows: these are the
   instance's present state, where everything around them is a setting. */
.video-lifecycle-figures {
  margin: 0.5rem 0 0;
  font-size: 0.95em;
  font-style: italic;
}

.video-lifecycle-figures__lead {
  margin-right: 0.25rem;
}

/* The figure itself, upright and in tabular digits inside an italic line: the
   numbers are what the line is for, the words are how to read them. */
.video-lifecycle-figures__item strong {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
/*
 * Styles for the plugin's client surfaces. PeerTube loads this file globally
 * (declared under `css` in package.json), so every selector is namespaced with
 * `video-lifecycle-` — these rules live in the same cascade as the core app.
 *
 * `--mainColor` is PeerTube's own accent variable: using it keeps the notices
 * on-theme across instances, and the fallback covers a theme that does not
 * define it. Everything else inherits, so a notice picks up the surrounding
 * font and colours rather than imposing its own.
 *
 * The buttons are not styled here at all. They carry core's own
 * `peertube-button` / `primary-button` classes, emitted globally by
 * `class-helpers/_buttons.scss`, so they follow the instance's theme instead of
 * a look of ours that would drift from it. What is left below is placement.
 */

/* ── The inline notice, shared by the watch page and the account warning ──── */
.video-lifecycle-notice {
  margin: 0.5rem 0;
  padding: 0.4rem 0.75rem;
  border-left: 3px solid var(--mainColor, #f2690d);
  font-size: 0.9em;
}

.video-lifecycle-notice__link,
.video-lifecycle-notice__control {
  margin-left: 0.75rem;
}

/* ── The countdown page: the list of videos scheduled for deletion ────────── */
.video-lifecycle-countdown__row {
  margin: 0.2rem 0;
}

.video-lifecycle-countdown__keep {
  margin-left: 0.5rem;
}

/* The rule the page applies, stated above the list. Set apart from the videos
   themselves — it is context, not something to act on. */
.video-lifecycle-countdown__rule {
  margin-bottom: 1rem;
  font-size: 0.9em;
}

/* The note under a declaration that can no longer be changed. Sits with the
   field's own description rather than announcing itself as a warning: nothing
   went wrong, the answer is simply settled. */
.video-lifecycle-frozen-note {
  margin: 0.25rem 0 0;
  font-size: 0.9em;
}

/* ── The figures, under each section's heading in the settings form ───────── */

/* One line per section, set apart from the description it follows: these are the
   instance's present state, where everything around them is a setting. */
.video-lifecycle-figures {
  margin: 0.5rem 0 0;
  font-size: 0.95em;
  font-style: italic;
}

.video-lifecycle-figures__lead {
  margin-right: 0.25rem;
}

/* The figure itself, upright and in tabular digits inside an italic line: the
   numbers are what the line is for, the words are how to read them. */
.video-lifecycle-figures__item strong {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
/*
 * Styles for the plugin's client surfaces. PeerTube loads this file globally
 * (declared under `css` in package.json), so every selector is namespaced with
 * `video-lifecycle-` — these rules live in the same cascade as the core app.
 *
 * `--mainColor` is PeerTube's own accent variable: using it keeps the notices
 * on-theme across instances, and the fallback covers a theme that does not
 * define it. Everything else inherits, so a notice picks up the surrounding
 * font and colours rather than imposing its own.
 *
 * The buttons are not styled here at all. They carry core's own
 * `peertube-button` / `primary-button` classes, emitted globally by
 * `class-helpers/_buttons.scss`, so they follow the instance's theme instead of
 * a look of ours that would drift from it. What is left below is placement.
 */

/* ── The inline notice, shared by the watch page and the account warning ──── */
.video-lifecycle-notice {
  margin: 0.5rem 0;
  padding: 0.4rem 0.75rem;
  border-left: 3px solid var(--mainColor, #f2690d);
  font-size: 0.9em;
}

.video-lifecycle-notice__link,
.video-lifecycle-notice__control {
  margin-left: 0.75rem;
}

/* ── The countdown page: the list of videos scheduled for deletion ────────── */
.video-lifecycle-countdown__row {
  margin: 0.2rem 0;
}

.video-lifecycle-countdown__keep {
  margin-left: 0.5rem;
}

/* The rule the page applies, stated above the list. Set apart from the videos
   themselves — it is context, not something to act on. */
.video-lifecycle-countdown__rule {
  margin-bottom: 1rem;
  font-size: 0.9em;
}

/* The note under a declaration that can no longer be changed. Sits with the
   field's own description rather than announcing itself as a warning: nothing
   went wrong, the answer is simply settled. */
.video-lifecycle-frozen-note {
  margin: 0.25rem 0 0;
  font-size: 0.9em;
}

/* ── The figures, under each section's heading in the settings form ───────── */

/* One line per section, set apart from the description it follows: these are the
   instance's present state, where everything around them is a setting. */
.video-lifecycle-figures {
  margin: 0.5rem 0 0;
  font-size: 0.95em;
  font-style: italic;
}

.video-lifecycle-figures__lead {
  margin-right: 0.25rem;
}

/* The figure itself, upright and in tabular digits inside an italic line: the
   numbers are what the line is for, the words are how to read them. */
.video-lifecycle-figures__item strong {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
/*
 * Styles for the plugin's client surfaces. PeerTube loads this file globally
 * (declared under `css` in package.json), so every selector is namespaced with
 * `video-lifecycle-` — these rules live in the same cascade as the core app.
 *
 * `--mainColor` is PeerTube's own accent variable: using it keeps the notices
 * on-theme across instances, and the fallback covers a theme that does not
 * define it. Everything else inherits, so a notice picks up the surrounding
 * font and colours rather than imposing its own.
 *
 * The buttons are not styled here at all. They carry core's own
 * `peertube-button` / `primary-button` classes, emitted globally by
 * `class-helpers/_buttons.scss`, so they follow the instance's theme instead of
 * a look of ours that would drift from it. What is left below is placement.
 */

/* ── The inline notice, shared by the watch page and the account warning ──── */
.video-lifecycle-notice {
  margin: 0.5rem 0;
  padding: 0.4rem 0.75rem;
  border-left: 3px solid var(--mainColor, #f2690d);
  font-size: 0.9em;
}

.video-lifecycle-notice__link,
.video-lifecycle-notice__control {
  margin-left: 0.75rem;
}

/* ── The countdown page: the list of videos scheduled for deletion ────────── */
.video-lifecycle-countdown__row {
  margin: 0.2rem 0;
}

.video-lifecycle-countdown__keep {
  margin-left: 0.5rem;
}

/* The rule the page applies, stated above the list. Set apart from the videos
   themselves — it is context, not something to act on. */
.video-lifecycle-countdown__rule {
  margin-bottom: 1rem;
  font-size: 0.9em;
}

/* The note under a declaration that can no longer be changed. Sits with the
   field's own description rather than announcing itself as a warning: nothing
   went wrong, the answer is simply settled. */
.video-lifecycle-frozen-note {
  margin: 0.25rem 0 0;
  font-size: 0.9em;
}

/* ── The figures, under each section's heading in the settings form ───────── */

/* One line per section, set apart from the description it follows: these are the
   instance's present state, where everything around them is a setting. */
.video-lifecycle-figures {
  margin: 0.5rem 0 0;
  font-size: 0.95em;
  font-style: italic;
}

.video-lifecycle-figures__lead {
  margin-right: 0.25rem;
}

/* The figure itself, upright and in tabular digits inside an italic line: the
   numbers are what the line is for, the words are how to read them. */
.video-lifecycle-figures__item strong {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
/*
 * Styles for the plugin's client surfaces. PeerTube loads this file globally
 * (declared under `css` in package.json), so every selector is namespaced with
 * `video-lifecycle-` — these rules live in the same cascade as the core app.
 *
 * `--mainColor` is PeerTube's own accent variable: using it keeps the notices
 * on-theme across instances, and the fallback covers a theme that does not
 * define it. Everything else inherits, so a notice picks up the surrounding
 * font and colours rather than imposing its own.
 *
 * The buttons are not styled here at all. They carry core's own
 * `peertube-button` / `primary-button` classes, emitted globally by
 * `class-helpers/_buttons.scss`, so they follow the instance's theme instead of
 * a look of ours that would drift from it. What is left below is placement.
 */

/* ── The inline notice, shared by the watch page and the account warning ──── */
.video-lifecycle-notice {
  margin: 0.5rem 0;
  padding: 0.4rem 0.75rem;
  border-left: 3px solid var(--mainColor, #f2690d);
  font-size: 0.9em;
}

.video-lifecycle-notice__link,
.video-lifecycle-notice__control {
  margin-left: 0.75rem;
}

/* ── The countdown page: the list of videos scheduled for deletion ────────── */
.video-lifecycle-countdown__row {
  margin: 0.2rem 0;
}

.video-lifecycle-countdown__keep {
  margin-left: 0.5rem;
}

/* The rule the page applies, stated above the list. Set apart from the videos
   themselves — it is context, not something to act on. */
.video-lifecycle-countdown__rule {
  margin-bottom: 1rem;
  font-size: 0.9em;
}

/* The note under a declaration that can no longer be changed. Sits with the
   field's own description rather than announcing itself as a warning: nothing
   went wrong, the answer is simply settled. */
.video-lifecycle-frozen-note {
  margin: 0.25rem 0 0;
  font-size: 0.9em;
}

/* ── The figures, under each section's heading in the settings form ───────── */

/* One line per section, set apart from the description it follows: these are the
   instance's present state, where everything around them is a setting. */
.video-lifecycle-figures {
  margin: 0.5rem 0 0;
  font-size: 0.95em;
  font-style: italic;
}

.video-lifecycle-figures__lead {
  margin-right: 0.25rem;
}

/* The figure itself, upright and in tabular digits inside an italic line: the
   numbers are what the line is for, the words are how to read them. */
.video-lifecycle-figures__item strong {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
/*
 * Styles for the plugin's client surfaces. PeerTube loads this file globally
 * (declared under `css` in package.json), so every selector is namespaced with
 * `video-lifecycle-` — these rules live in the same cascade as the core app.
 *
 * `--mainColor` is PeerTube's own accent variable: using it keeps the notices
 * on-theme across instances, and the fallback covers a theme that does not
 * define it. Everything else inherits, so a notice picks up the surrounding
 * font and colours rather than imposing its own.
 *
 * The buttons are not styled here at all. They carry core's own
 * `peertube-button` / `primary-button` classes, emitted globally by
 * `class-helpers/_buttons.scss`, so they follow the instance's theme instead of
 * a look of ours that would drift from it. What is left below is placement.
 */

/* ── The inline notice, shared by the watch page and the account warning ──── */
.video-lifecycle-notice {
  margin: 0.5rem 0;
  padding: 0.4rem 0.75rem;
  border-left: 3px solid var(--mainColor, #f2690d);
  font-size: 0.9em;
}

.video-lifecycle-notice__link,
.video-lifecycle-notice__control {
  margin-left: 0.75rem;
}

/* ── The countdown page: the list of videos scheduled for deletion ────────── */
.video-lifecycle-countdown__row {
  margin: 0.2rem 0;
}

.video-lifecycle-countdown__keep {
  margin-left: 0.5rem;
}

/* The rule the page applies, stated above the list. Set apart from the videos
   themselves — it is context, not something to act on. */
.video-lifecycle-countdown__rule {
  margin-bottom: 1rem;
  font-size: 0.9em;
}

/* The note under a declaration that can no longer be changed. Sits with the
   field's own description rather than announcing itself as a warning: nothing
   went wrong, the answer is simply settled. */
.video-lifecycle-frozen-note {
  margin: 0.25rem 0 0;
  font-size: 0.9em;
}

/* ── The figures, under each section's heading in the settings form ───────── */

/* One line per section, set apart from the description it follows: these are the
   instance's present state, where everything around them is a setting. */
.video-lifecycle-figures {
  margin: 0.5rem 0 0;
  font-size: 0.95em;
  font-style: italic;
}

.video-lifecycle-figures__lead {
  margin-right: 0.25rem;
}

/* The figure itself, upright and in tabular digits inside an italic line: the
   numbers are what the line is for, the words are how to read them. */
.video-lifecycle-figures__item strong {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
/*
 * Styles for the plugin's client surfaces. PeerTube loads this file globally
 * (declared under `css` in package.json), so every selector is namespaced with
 * `video-lifecycle-` — these rules live in the same cascade as the core app.
 *
 * `--mainColor` is PeerTube's own accent variable: using it keeps the notices
 * on-theme across instances, and the fallback covers a theme that does not
 * define it. Everything else inherits, so a notice picks up the surrounding
 * font and colours rather than imposing its own.
 *
 * The buttons are not styled here at all. They carry core's own
 * `peertube-button` / `primary-button` classes, emitted globally by
 * `class-helpers/_buttons.scss`, so they follow the instance's theme instead of
 * a look of ours that would drift from it. What is left below is placement.
 */

/* ── The inline notice, shared by the watch page and the account warning ──── */
.video-lifecycle-notice {
  margin: 0.5rem 0;
  padding: 0.4rem 0.75rem;
  border-left: 3px solid var(--mainColor, #f2690d);
  font-size: 0.9em;
}

.video-lifecycle-notice__link,
.video-lifecycle-notice__control {
  margin-left: 0.75rem;
}

/* ── The countdown page: the list of videos scheduled for deletion ────────── */
.video-lifecycle-countdown__row {
  margin: 0.2rem 0;
}

.video-lifecycle-countdown__keep {
  margin-left: 0.5rem;
}

/* The rule the page applies, stated above the list. Set apart from the videos
   themselves — it is context, not something to act on. */
.video-lifecycle-countdown__rule {
  margin-bottom: 1rem;
  font-size: 0.9em;
}

/* The note under a declaration that can no longer be changed. Sits with the
   field's own description rather than announcing itself as a warning: nothing
   went wrong, the answer is simply settled. */
.video-lifecycle-frozen-note {
  margin: 0.25rem 0 0;
  font-size: 0.9em;
}

/* ── The figures, under each section's heading in the settings form ───────── */

/* One line per section, set apart from the description it follows: these are the
   instance's present state, where everything around them is a setting. */
.video-lifecycle-figures {
  margin: 0.5rem 0 0;
  font-size: 0.95em;
  font-style: italic;
}

.video-lifecycle-figures__lead {
  margin-right: 0.25rem;
}

/* The figure itself, upright and in tabular digits inside an italic line: the
   numbers are what the line is for, the words are how to read them. */
.video-lifecycle-figures__item strong {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
/*
 * Styles for the plugin's client surfaces. PeerTube loads this file globally
 * (declared under `css` in package.json), so every selector is namespaced with
 * `video-lifecycle-` — these rules live in the same cascade as the core app.
 *
 * `--mainColor` is PeerTube's own accent variable: using it keeps the notices
 * on-theme across instances, and the fallback covers a theme that does not
 * define it. Everything else inherits, so a notice picks up the surrounding
 * font and colours rather than imposing its own.
 *
 * The buttons are not styled here at all. They carry core's own
 * `peertube-button` / `primary-button` classes, emitted globally by
 * `class-helpers/_buttons.scss`, so they follow the instance's theme instead of
 * a look of ours that would drift from it. What is left below is placement.
 */

/* ── The inline notice, shared by the watch page and the account warning ──── */
.video-lifecycle-notice {
  margin: 0.5rem 0;
  padding: 0.4rem 0.75rem;
  border-left: 3px solid var(--mainColor, #f2690d);
  font-size: 0.9em;
}

.video-lifecycle-notice__link,
.video-lifecycle-notice__control {
  margin-left: 0.75rem;
}

/* ── The countdown page: the list of videos scheduled for deletion ────────── */
.video-lifecycle-countdown__row {
  margin: 0.2rem 0;
}

.video-lifecycle-countdown__keep {
  margin-left: 0.5rem;
}

/* The rule the page applies, stated above the list. Set apart from the videos
   themselves — it is context, not something to act on. */
.video-lifecycle-countdown__rule {
  margin-bottom: 1rem;
  font-size: 0.9em;
}

/* The note under a declaration that can no longer be changed. Sits with the
   field's own description rather than announcing itself as a warning: nothing
   went wrong, the answer is simply settled. */
.video-lifecycle-frozen-note {
  margin: 0.25rem 0 0;
  font-size: 0.9em;
}

/* ── The figures, under each section's heading in the settings form ───────── */

/* One line per section, set apart from the description it follows: these are the
   instance's present state, where everything around them is a setting. */
.video-lifecycle-figures {
  margin: 0.5rem 0 0;
  font-size: 0.95em;
  font-style: italic;
}

.video-lifecycle-figures__lead {
  margin-right: 0.25rem;
}

/* The figure itself, upright and in tabular digits inside an italic line: the
   numbers are what the line is for, the words are how to read them. */
.video-lifecycle-figures__item strong {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
/*
 * Styles for the plugin's client surfaces. PeerTube loads this file globally
 * (declared under `css` in package.json), so every selector is namespaced with
 * `video-lifecycle-` — these rules live in the same cascade as the core app.
 *
 * `--mainColor` is PeerTube's own accent variable: using it keeps the notices
 * on-theme across instances, and the fallback covers a theme that does not
 * define it. Everything else inherits, so a notice picks up the surrounding
 * font and colours rather than imposing its own.
 *
 * The buttons are not styled here at all. They carry core's own
 * `peertube-button` / `primary-button` classes, emitted globally by
 * `class-helpers/_buttons.scss`, so they follow the instance's theme instead of
 * a look of ours that would drift from it. What is left below is placement.
 */

/* ── The inline notice, shared by the watch page and the account warning ──── */
.video-lifecycle-notice {
  margin: 0.5rem 0;
  padding: 0.4rem 0.75rem;
  border-left: 3px solid var(--mainColor, #f2690d);
  font-size: 0.9em;
}

.video-lifecycle-notice__link,
.video-lifecycle-notice__control {
  margin-left: 0.75rem;
}

/* ── The countdown page: the list of videos scheduled for deletion ────────── */
.video-lifecycle-countdown__row {
  margin: 0.2rem 0;
}

.video-lifecycle-countdown__keep {
  margin-left: 0.5rem;
}

/* The rule the page applies, stated above the list. Set apart from the videos
   themselves — it is context, not something to act on. */
.video-lifecycle-countdown__rule {
  margin-bottom: 1rem;
  font-size: 0.9em;
}

/* The note under a declaration that can no longer be changed. Sits with the
   field's own description rather than announcing itself as a warning: nothing
   went wrong, the answer is simply settled. */
.video-lifecycle-frozen-note {
  margin: 0.25rem 0 0;
  font-size: 0.9em;
}

/* ── The figures, under each section's heading in the settings form ───────── */

/* One line per section, set apart from the description it follows: these are the
   instance's present state, where everything around them is a setting. */
.video-lifecycle-figures {
  margin: 0.5rem 0 0;
  font-size: 0.95em;
  font-style: italic;
}

.video-lifecycle-figures__lead {
  margin-right: 0.25rem;
}

/* The figure itself, upright and in tabular digits inside an italic line: the
   numbers are what the line is for, the words are how to read them. */
.video-lifecycle-figures__item strong {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
/*
 * Styles for the plugin's client surfaces. PeerTube loads this file globally
 * (declared under `css` in package.json), so every selector is namespaced with
 * `video-lifecycle-` — these rules live in the same cascade as the core app.
 *
 * `--mainColor` is PeerTube's own accent variable: using it keeps the notices
 * on-theme across instances, and the fallback covers a theme that does not
 * define it. Everything else inherits, so a notice picks up the surrounding
 * font and colours rather than imposing its own.
 *
 * The buttons are not styled here at all. They carry core's own
 * `peertube-button` / `primary-button` classes, emitted globally by
 * `class-helpers/_buttons.scss`, so they follow the instance's theme instead of
 * a look of ours that would drift from it. What is left below is placement.
 */

/* ── The inline notice, shared by the watch page and the account warning ──── */
.video-lifecycle-notice {
  margin: 0.5rem 0;
  padding: 0.4rem 0.75rem;
  border-left: 3px solid var(--mainColor, #f2690d);
  font-size: 0.9em;
}

.video-lifecycle-notice__link,
.video-lifecycle-notice__control {
  margin-left: 0.75rem;
}

/* ── The countdown page: the list of videos scheduled for deletion ────────── */
.video-lifecycle-countdown__row {
  margin: 0.2rem 0;
}

.video-lifecycle-countdown__keep {
  margin-left: 0.5rem;
}

/* The rule the page applies, stated above the list. Set apart from the videos
   themselves — it is context, not something to act on. */
.video-lifecycle-countdown__rule {
  margin-bottom: 1rem;
  font-size: 0.9em;
}

/* The note under a declaration that can no longer be changed. Sits with the
   field's own description rather than announcing itself as a warning: nothing
   went wrong, the answer is simply settled. */
.video-lifecycle-frozen-note {
  margin: 0.25rem 0 0;
  font-size: 0.9em;
}

/* ── The figures, under each section's heading in the settings form ───────── */

/* One line per section, set apart from the description it follows: these are the
   instance's present state, where everything around them is a setting. */
.video-lifecycle-figures {
  margin: 0.5rem 0 0;
  font-size: 0.95em;
  font-style: italic;
}

.video-lifecycle-figures__lead {
  margin-right: 0.25rem;
}

/* The rule the figures were computed by, a note under the line it annotates and not a
   second line of its own weight: tighter to the figures above it than to the field below,
   and smaller, because it is the same sentence's footnote. Unstyled it took the browser's
   1em margins and full size and read as a paragraph in its own right. */
.video-lifecycle-figures__rule {
  margin: 0.15rem 0 0;
  font-size: 0.85em;
  opacity: 0.8;
}

/* The figure itself, upright and in tabular digits inside an italic line: the
   numbers are what the line is for, the words are how to read them. */
.video-lifecycle-figures__item strong {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
/*
 * Styles for the plugin's client surfaces. PeerTube loads this file globally
 * (declared under `css` in package.json), so every selector is namespaced with
 * `video-lifecycle-` — these rules live in the same cascade as the core app.
 *
 * `--mainColor` is PeerTube's own accent variable: using it keeps the notices
 * on-theme across instances, and the fallback covers a theme that does not
 * define it. Everything else inherits, so a notice picks up the surrounding
 * font and colours rather than imposing its own.
 *
 * The buttons are not styled here at all. They carry core's own
 * `peertube-button` / `primary-button` classes, emitted globally by
 * `class-helpers/_buttons.scss`, so they follow the instance's theme instead of
 * a look of ours that would drift from it. What is left below is placement.
 */

/* ── The inline notice, shared by the watch page and the account warning ──── */
.video-lifecycle-notice {
  margin: 0.5rem 0;
  padding: 0.4rem 0.75rem;
  border-left: 3px solid var(--mainColor, #f2690d);
  font-size: 0.9em;
}

.video-lifecycle-notice__link,
.video-lifecycle-notice__control {
  margin-left: 0.75rem;
}

/* ── The countdown page: the list of videos scheduled for deletion ────────── */
.video-lifecycle-countdown__row {
  margin: 0.2rem 0;
}

.video-lifecycle-countdown__keep {
  margin-left: 0.5rem;
}

/* The rule the page applies, stated above the list. Set apart from the videos
   themselves — it is context, not something to act on. */
.video-lifecycle-countdown__rule {
  margin-bottom: 1rem;
  font-size: 0.9em;
}

/* The note under a declaration that can no longer be changed. Sits with the
   field's own description rather than announcing itself as a warning: nothing
   went wrong, the answer is simply settled. */
.video-lifecycle-frozen-note {
  margin: 0.25rem 0 0;
  font-size: 0.9em;
}

/* ── The figures, under each section's heading in the settings form ───────── */

/* One line per section, set apart from the description it follows: these are the
   instance's present state, where everything around them is a setting. */
.video-lifecycle-figures {
  margin: 0.5rem 0 0;
  font-size: 0.95em;
  font-style: italic;
}

.video-lifecycle-figures__lead {
  margin-right: 0.25rem;
}

/* The rule the figures were computed by, a note under the line it annotates and not a
   second line of its own weight: tighter to the figures above it than to the field below,
   and smaller, because it is the same sentence's footnote. Unstyled it took the browser's
   1em margins and full size and read as a paragraph in its own right. */
.video-lifecycle-figures__rule {
  margin: 0.15rem 0 0;
  font-size: 0.85em;
  opacity: 0.8;
}

/* The figure itself, upright and in tabular digits inside an italic line: the
   numbers are what the line is for, the words are how to read them. */
.video-lifecycle-figures__item strong {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
