/*
 * 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.
 */

/* First-install CTA: visible in the browser, hidden inside the Tauri shell.
   data-h4o-shell (and its CO2 twin data-co2-shell) is set by shell_controller
   from window.isTauri (P8). */
[data-desktop-already] { display: none; }

html[data-h4o-shell="desktop"] [data-desktop-download-cta],
html[data-h4o-shell="desktop"] [data-desktop-links],
html[data-co2-shell="desktop"] [data-desktop-download-cta],
html[data-co2-shell="desktop"] [data-desktop-links] {
  display: none;
}

html[data-h4o-shell="desktop"] [data-desktop-already],
html[data-co2-shell="desktop"] [data-desktop-already] {
  display: revert;
}

/* Patient card: the important note leads the card. */
.important-note {
  margin: 0 0 1rem;
  padding: 0.6rem 0.9rem;
  border-left: 4px solid #b45309;
  background: #fef3c7;
  color: #451a03;
}
.important-note-text { margin-left: 0.5rem; white-space: pre-line; }
