/* =============================================================================
   app.css - component styles of the ometer apps (overview tiles, cards,
   popups, imprint, feedback). Moved here from the CSS block in app.R.
   Loaded after theme.css and styles.css. Values come from theme.css.
   ============================================================================= */

/* Einheitlicher Abstand zwischen Navigationsleiste und Tab-Inhalt */
#tabs + .tab-content > .tab-pane { padding-top: 16px; }

/* Colours, font sizes and fonts: see www/css/theme.css */

/* Valueboxes: neutral, flach, wenig gerundet */
.overview-tab .small-box {
  background: var(--om-surface) !important;
  color: var(--om-text) !important;
  border: 1px solid var(--om-border);
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.overview-tab .small-box .icon { color: var(--om-ink-faint) !important; }

/* Gefahrenstufe -> Farbe der Zahl (Serverklassen bleiben unveraendert) */
.overview-tab .small-box.bg-light-blue .inner h3 { color: var(--om-level-ok); }
.overview-tab .small-box.bg-yellow     .inner h3 { color: var(--om-level-mild); }
.overview-tab .small-box.bg-orange     .inner h3 { color: var(--om-level-warm); }
.overview-tab .small-box.bg-red        .inner h3 { color: var(--om-level-danger); }

/* Boxen (Stationsliste, Daten-Download, Info, Gesundheit): flach + Akzentlinie */
.box {
  border-radius: 6px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.06) !important;
  border: 1px solid var(--om-border) !important;
  border-top: 1px solid var(--om-border) !important;
}
/* mUC-Header (hell) fuer alle Status-Varianten; !important schlaegt AdminLTE/styles.css */
.box.box-solid.box-primary > .box-header,
.box.box-primary > .box-header {
  background: var(--om-card-head-bg) !important;
  color: var(--om-text) !important;
  border-bottom: 1px solid var(--om-border);
  border-radius: 6px 6px 0 0;
}
.box.box-solid.box-primary > .box-header .box-title { color: var(--om-text) !important; }

/* ---- Uebersicht: synchronisiertes Raster ueber alle drei Spalten ----
   --ov-box: Hoehe JEDER Box (L1-L4 und M1) — die einzige Stellgroesse
   --ov-gap: vertikaler Abstand (= AdminLTE-Standard 20px, nicht aendern)
   Karte = 3 Boxhoehen + 2 Gaps  =>  Mittelspalte (M1+Karte) endet
   rechnerisch exakt auf der Unterkante von L4. Kein vh, kein
   aspect-ratio: alles haengt an --ov-box.                          */
.overview-tab { --ov-box: 152px; --ov-gap: 20px; --map-hdr: 42px; /* Hoehe des muc-map-card-Headers */ }
.overview-tab > .row { display: flex; flex-wrap: wrap; }
.overview-tab > .row > div[class*='col-'] { display: flex; flex-direction: column; }
@media (min-width: 768px) {
  .overview-tab > .row > .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
  .overview-tab > .row > .col-sm-6 { flex: 0 0 50%; max-width: 50%; }

  /* Linke Spalte: vier gleich grosse Boxen */
  .overview-tab > .row > .col-sm-3:first-child > .shiny-html-output { margin-bottom: var(--ov-gap); min-height: 0; }
  .overview-tab > .row > .col-sm-3:first-child > .shiny-html-output:last-child { margin-bottom: 0; }
  #expected_temperature_oldtown { display: none; } /* nie befuellter Output, erzeugt sonst eine Luecke */
  #Hitzegefahr, #Max_Temp_Today, #tempNextNightBox, #tempRankBox { flex: 0 0 var(--ov-box); }
  .overview-tab > .row > .col-sm-3:first-child .small-box { height: 100%; margin-bottom: 0; overflow: hidden; }

  /* Mittelspalte: M1 exakt eine Boxhoehe, Karte = Rest bis L4-Unterkante */
  #current_temperature_oldtown .small-box { height: var(--ov-box); overflow: hidden; }
  #mapRealTime_front { height: calc(3 * var(--ov-box) + 2 * var(--ov-gap) - var(--map-hdr)) !important; width: 100%; }
  .overview-tab .current-col br { display: none; }

  /* Rechte Spalte: eine Box ueber die volle Rasterhoehe */
  #stationsBox, #allStationsBox { flex: 1 1 0; }
}
@media (max-width: 767px) {
  /* Mobil: alles stapelt sich mit natuerlichen Hoehen */
  .overview-tab > .row > div[class*='col-'] { flex: 0 0 100%; max-width: 100%; height: auto; }
}
/* Mittelspalte: innerer Container nutzt die volle Spaltenbreite */
.overview-tab .current-col > .container-fluid { width: 100%; padding-left: 0; padding-right: 0; }

.dlx-hint { color: var(--om-text-muted); font-size: 90%; margin-top: 6px; }
/* Aufbauphase-Hinweis (Daten-Tab): analog zur Warnbox auf myurbanclimate.ch */
.aufbau-banner { display: flex; gap: 12px; align-items: flex-start;
                  background: var(--om-notice-bg); border: 1px solid var(--om-notice-border);
                  border-left: 5px solid var(--om-level-mild); border-radius: 6px;
                  padding: 14px 18px; margin-bottom: 16px; }
.aufbau-banner-icon { color: var(--om-level-mild); font-size: 1.4em; line-height: 1.4;
                       flex: 0 0 auto; margin-top: 1px; }
.aufbau-banner-body p { margin: 0 0 8px; font-size: var(--fs-card-body);
                         line-height: 1.55; color: var(--om-text); }
.aufbau-banner-body p:last-child { margin-bottom: 0; }
/* mUC-Kartenstil: ALLE Boxen ausserhalb der Uebersicht + die muc-card-Divs */
.tab-pane:not(.overview-tab) .box,
.muc-card { background: var(--om-surface); border: 1px solid var(--om-border); border-radius: 6px;
            box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.tab-pane:not(.overview-tab) .box > .box-header,
.muc-card > .muc-card-header { background: var(--om-card-head-bg); color: var(--om-text);
                               border-bottom: 1px solid var(--om-border);
                               border-radius: 6px 6px 0 0; }
/* Impressum: drei Karten im Grid gleich hoch */
.imp-grid { display: flex; flex-wrap: wrap; }
.imp-grid > div[class*='col-'] { display: flex; flex-direction: column; }
.imp-grid .muc-card { flex: 1 1 auto; display: flex; flex-direction: column; width: 100%; }
.imp-grid .muc-card .muc-card-body { flex: 1 1 auto; }
/* Haftungsausschluss & Datenschutz: gemeinsame Karte 'Impressum & Datenschutz' mit
   Stand-Angabe; darin ein aufklappbares Akkordon (nativ via &lt;details&gt;/&lt;summary&gt;),
   Optik an den muc-card-Stil der restlichen Seite angeglichen, aber als Unterebene
   etwas kleiner/leichter gehalten als der Karten-Header. */
.imp-legal-card { margin-top: 16px; background: var(--om-surface); border: 1px solid var(--om-border);
                   border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.06); overflow: hidden; }
.imp-legal-header { display: flex; align-items: center; gap: 9px; padding: 10px 16px;
                     background: var(--om-card-head-bg); color: var(--om-text);
                     border-bottom: 1px solid var(--om-border);
                     font-size: var(--fs-cardtitle); font-weight: 600; }
.imp-legal-stand { padding: 10px 16px 0; font-size: var(--fs-note); color: var(--om-text-muted); }
.imp-accordion { margin: 10px 16px 16px; border: 1px solid var(--om-border);
                 border-radius: 6px; overflow: hidden; }
.imp-acc-item { border-bottom: 1px solid var(--om-border); }
.imp-acc-item:last-child { border-bottom: none; }
.imp-acc-header { display: flex; align-items: center; justify-content: space-between;
                   gap: 12px; padding: 8px 14px; cursor: pointer; user-select: none;
                   list-style: none; background: var(--om-subtle-bg); color: var(--om-text); }
.imp-acc-header::-webkit-details-marker { display: none; }
.imp-acc-header:hover { background: var(--om-card-head-bg); }
.imp-acc-title i { margin-right: 7px; opacity: .8; }
.imp-acc-chevron { transition: transform .2s ease; opacity: .7; flex: 0 0 auto; }
.imp-acc-item[open] > .imp-acc-header .imp-acc-chevron { transform: rotate(180deg); }
.imp-acc-item[open] > .imp-acc-header { border-bottom: 1px solid var(--om-border); }
.imp-acc-body { padding: 14px 16px; font-size: var(--fs-card-body); line-height: 1.55; }
.imp-acc-body p { margin: 0 0 9px; font-size: inherit; }
.imp-acc-body p:last-child { margin-bottom: 0; }
.imp-acc-body h5 { font-weight: 600; margin: 16px 0 5px; font-size: var(--fs-sub); }
.imp-acc-body h5:first-child { margin-top: 0; }
/* Karten im mUC-Stil: Header mit Titel links / Controls rechts, Karte randlos */
.muc-map-card { overflow: hidden; }
.muc-map-card > .muc-card-header { display: flex; align-items: center;
                                   justify-content: space-between; gap: 12px;
                                   flex-wrap: wrap; padding: 8px 14px; }
.muc-map-card .muc-map-title { display: flex; align-items: center; gap: 8px; }
.muc-map-card .muc-card-header .form-group { margin-bottom: 0; }
.muc-map-card .muc-map-body { padding: 0; }
.muc-map-card .leaflet { border-radius: 0 0 6px 6px !important; }
/* Doku: farbige Listenpunkte (Ampelbedingungen) */
.doc-bullet { display: flex; align-items: baseline; gap: 9px; margin: 3px 0 3px 4px; }
.doc-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px;
           position: relative; top: 1px; }
/* One font family for everything (Lato, defined in css/theme.css).
   !important is needed because shinydashboard sets its own fonts. */
body, .content-wrapper, h1, h2, h3, h4, h5, h6,
.btn, .form-control, table.dataTable, .nav-tabs > li > a, .small-box {
  font-family: var(--om-font) !important; }

/* Typo-Hierarchie in den Karten (Impressum, Doku): Kartentitel > Zwischen-
   ueberschrift > Fliesstext > Fussnote. Ersetzt die frueher eingestreuten
   Inline-Groessen (0.85rem etc.). */
.muc-card .muc-card-body,
.tab-pane:not(.overview-tab) .box > .box-body { font-size: var(--fs-card-body); line-height: 1.55; }
.tab-pane:not(.overview-tab) .box > .box-body p,
.tab-pane:not(.overview-tab) .box > .box-body li,
.tab-pane:not(.overview-tab) .box > .box-body .doc-bullet { font-size: inherit; }
/* Zwischenueberschriften im Daten- und Informations-Tab (h3 aus dem Bestand)
   auf dieselbe Stufe wie h5 in den Karten */
.tab-pane:not(.overview-tab) .box > .box-body h3 { margin: 18px 0 5px; }
.tab-pane:not(.overview-tab) .box > .box-body h3:first-child { margin-top: 2px; }
.muc-card .muc-card-body p { font-size: inherit; margin: 0 0 9px; }
.muc-card .muc-card-body .imp-note,
.muc-card .muc-card-body p.text-muted { font-size: var(--fs-note); color: var(--om-text-muted); }
.muc-card > .muc-card-header { padding: 10px 16px; }
.muc-card > .muc-card-header i { margin-right: 7px; opacity: .8; }
.muc-card .muc-card-body { padding: 14px 16px; }
.muc-card .muc-card-body h5 { margin: 18px 0 5px; }
.muc-card + .muc-card { margin-top: 16px; }
/* Feedback-Badge + Modal */
#fbBadge { position: fixed; right: 16px; bottom: 16px; z-index: 2000; }
/* Mobile: unten liegt die fixe .icon-bar (z 9999), darueber der Sprachumschalter
   (bottom 70px) -> Badge als drittes Element darueber stapeln */
@media (max-width: 620px) {
  #fbBadge { right: 10px; bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
  #fbBadge .btn { padding: 5px 12px; }
}
#fbBadge .btn { background: var(--om-surface); color: var(--om-text); border: 1px solid var(--om-border);
                border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.12);
                font-size: var(--fs-note); padding: 6px 14px; }
#fbBadge .btn:hover { background: var(--om-subtle-bg); }
.fb-smileys .btn { font-size: var(--fs-icon-lg); line-height: 1; background: var(--om-surface); border: 1px solid var(--om-border);
                   border-radius: 10px; width: 64px; height: 52px; margin: 0 6px; }
.fb-smileys .btn:hover, .fb-smileys .btn:focus { border-color: var(--om-text); background: var(--om-subtle-bg); }
/* Zeitstempel in Box-Titeln */
.box-stamp { display: block; margin: 2px 0 0; font-weight: normal; opacity: .85; font-size: var(--fs-note); }
.uhi-note { color: var(--om-text-muted); font-size: var(--fs-note); margin: 8px 2px 0; }

/* Karten-Tooltips und -Popups im dunklen Kartenstil (Skalenfarben bleiben lesbar) */
.leaflet-tooltip.map-ttip { background: var(--om-tooltip-bg); color: var(--om-text-on-dark); border: none;
                            box-shadow: 0 2px 8px rgba(0,0,0,.4); border-radius: 6px; padding: 8px 11px; }
.leaflet-tooltip.map-ttip:before { display: none; }
.leaflet-popup-content-wrapper { background: var(--om-tooltip-bg); color: var(--om-text-on-dark); border-radius: 6px; }
.leaflet-popup-tip { background: var(--om-tooltip-bg); }
.pop-card .pop-loc { font-size: var(--fs-pop-sm); }
.pop-card .pop-temp { font-size: var(--fs-pop); font-weight: 700; margin: 3px 0; }
.pop-card .pop-uhi { font-size: var(--fs-pop-sm); }
.pop-card i { font-size: 82%; margin-right: 5px; opacity: .75; }
.pop-big .pop-loc, .pop-big .pop-uhi { font-size: var(--fs-pop-md); }
/* Klick-Popup: Label zweizeilig links, Wert gross rechts (ueber beide Zeilen zentriert) */
.pop-big { min-width: 230px; }
.pop-big .pop-temp { display: flex; align-items: center; justify-content: space-between;
                     gap: 14px; margin: 6px 0; }
.pop-big .pop-temp-label { display: flex; align-items: center; font-size: var(--fs-pop-md);
                           font-weight: 600; line-height: 1.3;
                           text-shadow: 0 0 1px rgba(0,0,0,.35); }
.pop-big .pop-temp-label i { font-size: var(--fs-icon-lg); margin-right: 9px; }
.pop-big .pop-temp-label .pop-temp-words { display: inline-block; text-align: left; }
.pop-big .pop-temp-val { font-size: var(--fs-pop-big); font-weight: 700; white-space: nowrap;
                         margin-left: auto; text-shadow: 0 0 1px rgba(0,0,0,.35); }

/* Ampel-Akzente am linken Boxrand + Statusfarben (L1/L3/L4) */
.overview-tab .small-box { border-left: 5px solid transparent; border-radius: 6px !important; }
.overview-tab .small-box.bg-green  { border-left-color: var(--om-level-good); }
.overview-tab .small-box.bg-green  .inner h3 { color: var(--om-level-good); }
.overview-tab .small-box.bg-orange { border-left-color: var(--om-level-warm); }
.overview-tab .small-box.bg-red    { border-left-color: var(--om-level-danger); }
.overview-tab .box, .overview-tab .leaflet { border-radius: 6px !important; }

/* Icons: kleine Badges oben rechts (shinydashboard nutzt .icon-large!) */
.overview-tab .small-box .icon, .overview-tab .small-box .icon-large {
  position: absolute !important; top: 10px !important; right: 10px !important;
  left: auto !important; bottom: auto !important;
  width: 34px; height: 34px; line-height: 34px; font-size: var(--fs-icon) !important;
  text-align: center; border-radius: 9px; z-index: 1;
  background: var(--om-ink-faint); color: var(--om-text) !important; opacity: 1;
}
.overview-tab .small-box .icon i, .overview-tab .small-box .icon-large i { font-size: var(--fs-icon); line-height: 34px; }
.overview-tab .small-box.bg-green  .icon, .overview-tab .small-box.bg-green  .icon-large { background: var(--om-level-good-tint); color: var(--om-level-good) !important; }
.overview-tab .small-box.bg-orange .icon, .overview-tab .small-box.bg-orange .icon-large { background: var(--om-level-warm-tint); color: var(--om-level-warm) !important; }
.overview-tab .small-box.bg-red    .icon, .overview-tab .small-box.bg-red    .icon-large { background: var(--om-level-danger-tint); color: var(--om-level-danger) !important; }
.overview-tab .small-box.bg-light-blue .icon, .overview-tab .small-box.bg-light-blue .icon-large { background: var(--om-ink-faint); color: var(--om-level-ok) !important; }
.overview-tab .small-box.bg-yellow .icon, .overview-tab .small-box.bg-yellow .icon-large { background: var(--om-level-mild-tint); color: var(--om-level-mild) !important; }
.ov-map-toggle .radio-inline { font-size: var(--fs-note); font-weight: 400; margin-top: 0; }
.ov-map-toggle .form-group, .ov-map-toggle .shiny-input-container { margin-bottom: 0; }
/* L4 ist klickbar (Nacht-Details-Popup) */
#tempRankBox .small-box, #Max_Temp_Today .small-box { cursor: pointer; }
#tempRankBox .small-box::after, #Max_Temp_Today .small-box::after {
  content: '\f065'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; bottom: 6px; right: 10px; font-size: var(--fs-note);
  color: var(--om-ink-soft); pointer-events: none; }
/* Podest im Nacht-Details-Popup */
.pod-title { font-weight: 600; font-size: var(--fs-cardtitle); margin: 6px 0 10px; }
.pod-wrap { display: flex; align-items: flex-end; justify-content: center; gap: 22px; margin: 4px 0 18px; }
.pod-col { text-align: center; min-width: 92px; }
.pod-temp { font-weight: 700; margin-bottom: 4px; }
.pod-bar { background: var(--om-card-head-bg); border: 1px solid var(--om-border); border-radius: 6px 6px 0 0;
           display: flex; align-items: flex-start; justify-content: center; }
.pod-rank { font-weight: 700; color: var(--om-text-muted); margin-top: 4px; }
.pod-date { font-size: var(--fs-note); color: var(--om-text-muted); margin-top: 4px; }
.overview-tab .small-box .inner { padding-right: 48px; }

/* Typografie gekoppelt an die Stationsbox-Referenzen:
   Statement = Boxtitel (18px) bold | Subheader = .table-sub (15px) normal |
   Erklaertext = .uhi-note (78%, muted) */
.overview-tab > .row > .col-sm-3:first-child .small-box .inner h3 { font-size: var(--fs-num); margin: 0 0 3px; }
.overview-tab .small-box .inner h3 .value-box-text,
.overview-tab .small-box .inner h3 p.value-box-text { font-size: var(--fs-statement) !important; font-weight: 700; margin: 0; }
.overview-tab .small-box .inner p { font-size: var(--fs-sub) !important; font-weight: 400; line-height: 1.3; margin: 0 0 2px; }
/* Farbe getrennt: Statement (erbt Ampelfarbe vom h3), Statuszeile (Ampelfarbe inline) und Notes (muted) ausgenommen */
.overview-tab .small-box .inner p:not(.vb-status):not(.vb-note):not(.value-box-text) { color: var(--om-text) !important; }
.small-box .vb-status { font-size: var(--fs-sub) !important; font-weight: 600; margin: 3px 0 0; }
.overview-tab .small-box .inner p.vb-note,
.small-box .vb-note { font-size: var(--fs-note) !important; font-weight: 400; color: var(--om-text-muted) !important; line-height: 1.35;
                      margin: 6px 0 0; padding-top: 5px; border-top: 1px dashed var(--om-border); }
.small-box .vb-note .lg-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%;
                              margin: 0 3px 0 0; vertical-align: baseline; }
.overview-tab .small-box .inner p .vb-note-inline,
.small-box .vb-note-inline { font-size: var(--fs-note) !important; color: var(--om-text-muted) !important; }

/* Legenden/Status am unteren Boxrand */
.overview-tab .small-box .inner { display: flex; flex-direction: column; height: 100%; }
.overview-tab .small-box .inner .vb-note { margin-top: auto; }
#Max_Temp_Today .inner > p { margin-top: auto; }

/* M1: alles vertikal gestapelt und zentriert (Wert, Titel, Spanne, Zeit) */
#current_temperature_oldtown .small-box .inner { flex-direction: column; align-items: center;
                                                 justify-content: center; text-align: center;
                                                 gap: 1px; padding: 6px 48px; }
#current_temperature_oldtown .small-box .inner h3 { font-size: var(--fs-hero); line-height: 1.05; margin: 0; }
#current_temperature_oldtown .small-box .m1-sub { display: flex; flex-direction: column; align-items: center; }
#current_temperature_oldtown .small-box .m1-sub p { font-size: var(--fs-sub) !important; line-height: 1.3; margin: 0; }
#current_temperature_oldtown .small-box .m1-sub p.m1-range { font-size: var(--fs-note) !important; color: var(--om-text-muted) !important; margin-top: 2px; }

/* Stationsbox: Ortsspalte schmaler, Zahlen ohne Umbruch */
#stationsBox table.dataTable th:first-child, #stationsBox table.dataTable td:first-child { width: 40%; }
#stationsBox table.dataTable td:nth-child(2), #stationsBox table.dataTable td:nth-child(3),
#stationsBox table.dataTable th:nth-child(2), #stationsBox table.dataTable th:nth-child(3) { white-space: nowrap; }
/* Kopfzeile bleibt beim Scrollen sichtbar; Zahlen und ihre Titel buendig rechts */
#stationsBox table.dataTable thead th, #allStationsBox table.dataTable thead th {
  position: sticky; top: 0; background: var(--om-surface); z-index: 2; }
#allStationsBox table.dataTable th:first-child, #allStationsBox table.dataTable td:first-child { width: 55%; }
#stationsBox table.dataTable td:not(:first-child), #stationsBox table.dataTable th:not(:first-child),
#allStationsBox table.dataTable td:not(:first-child), #allStationsBox table.dataTable th:not(:first-child) {
  text-align: right; white-space: nowrap; }

/* Rechte Spalte: Boxen fuellen ihre Zone vollstaendig */
#stationsBox, #allStationsBox { display: flex; min-height: 0; }
#stationsBox > .col-sm-12, #allStationsBox > .col-sm-12 { display: flex; width: 100%; }
#stationsBox .box, #allStationsBox .box { flex: 1; width: 100%; display: flex; flex-direction: column; margin-bottom: 0; }
#stationsBox .box-body, #allStationsBox .box-body { flex: 1; overflow: auto; min-height: 0; }
.table-sub { margin: 4px 0; font-size: var(--fs-sub); font-weight: 600; }
.table-sep { margin: 10px 0; border-top: 1px solid var(--om-border); }
/* Tabellen in der Stationsbox: dunkle Basisfarbe (styles.css vererbt sonst helle Farben);
   --om-text ist DIE Textfarbe des ganzen Uebersichts-Konzepts */
#stationsBox .box-body, #stationsBox .box-body table,
#stationsBox .box-body table th, #stationsBox .box-body table td,
#stationsBox .table-sub { color: var(--om-text) !important; }
/* Biel-Box (#allStationsBox) an dasselbe Konzept angleichen:
   weisser Boxkoerper statt dunkelblau (styles.css-!important per ID uebersteuert),
   Tabellenzeilen behalten ihren Farbverlauf (inline-Styles) */
#allStationsBox .box { background: var(--om-surface) !important; color: var(--om-text) !important;
                       border: 1px solid var(--om-border); }
#allStationsBox .box-header { background: var(--om-surface) !important; color: var(--om-text) !important; }
#allStationsBox .table-sub, #allStationsBox .box-body,
#allStationsBox .box-body table, #allStationsBox .box-body table th,
#allStationsBox .box-body table td { color: var(--om-text) !important; }
/* Operational notice below the red bar (config.R: SITE_NOTICE) */
.site-notice { display: flex; align-items: flex-start; gap: 9px;
               margin: 0 auto; padding: 9px 16px; max-width: 1200px;
               font-size: var(--fs-note); line-height: 1.45; }
.site-notice i { margin-top: 2px; flex: 0 0 auto; }
.site-notice-warn { background: var(--om-notice-bg); border: 1px solid var(--om-level-mild);
                    color: var(--om-notice-text); }
.site-notice-info { background: var(--om-card-head-bg); border: 1px solid var(--om-border);
                    color: var(--om-text); }
