/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Hidden by default; shown only inside .admin-view. See
   docs/report_section_text_generation.md, System Prompt vs. User Prompt --
   report_section_components partials can be re-rendered by
   broadcast_replace_to from a model callback with no request/session, so
   they can't tell whether the eventual viewer is an admin. .admin-view is
   set once, on a real page render that does have a session, on an ancestor
   the broadcast never replaces -- so visibility survives the swap even
   though the swapped-in fragment itself doesn't know who's looking at it. */
.admin-only-ui {
  display: none;
}

.admin-view .admin-only-ui {
  display: inline;
}
