/* Loaded from HTML, before the app's module graph and styles are available. */
:root {
  color-scheme: light;
  --startup-background: #f5f5f1;
  --startup-panel: #fff;
  --startup-soft: #eeefe9;
  --startup-line: #e2e4db;
  --startup-ink: #3b423c;
  --startup-water: #007eae;
  --startup-power: #a16a00;
  --startup-heat: #e9152d;
  background: var(--startup-background);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --startup-background: #1a1a1a;
  --startup-panel: #242424;
  --startup-soft: #333;
  --startup-line: #454545;
  --startup-ink: #e6e6e6;
  --startup-water: #6dd9ff;
  --startup-power: #fedf43;
  --startup-heat: #ff6165;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --startup-background: #1a1a1a;
    --startup-panel: #242424;
    --startup-soft: #333;
    --startup-line: #454545;
    --startup-ink: #e6e6e6;
    --startup-water: #6dd9ff;
    --startup-power: #fedf43;
    --startup-heat: #ff6165;
  }
}
body { margin: 0; }
html:not([lang="sr-Latn"]) .startup-copy-sr,
html:not([lang="en"]) .startup-copy-en,
html:not([lang="hu"]) .startup-copy-hu,
html:not([lang="ru"]) .startup-copy-ru { display: none; }
.initial-app-loading {
  position: fixed;
  inset: 70px 16px auto auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px 5px 5px;
  border: 1px solid var(--startup-line);
  border-radius: 12px;
  background: var(--startup-panel);
  color: var(--startup-ink);
  font: 600 12px/1.5 system-ui, sans-serif;
}
.map-loading-glyphs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 7px;
  background: var(--soft, var(--startup-soft));
}
.map-loading-glyphs > span {
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: var(--loading-icon) center / contain no-repeat;
  mask: var(--loading-icon) center / contain no-repeat;
}
.map-loading-glyphs .water {
  --loading-icon: url("/brand/utility-water.svg");
  color: var(--water-highlight, var(--startup-water));
}
.map-loading-glyphs .electricity {
  --loading-icon: url("/brand/utility-electricity.svg");
  color: var(--power-highlight, var(--startup-power));
}
.map-loading-glyphs .heating {
  --loading-icon: url("/brand/utility-heating.svg");
  color: var(--heat-highlight, var(--startup-heat));
}
@media (max-width: 900px) {
  .initial-app-loading {
    inset: calc(58px + env(safe-area-inset-top)) auto auto 14px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .map-loading-glyphs > span { animation: map-loading-glyph 1.4s ease-in-out infinite; }
  .map-loading-glyphs .electricity { animation-delay: 120ms; }
  .map-loading-glyphs .heating { animation-delay: 240ms; }
}
@keyframes map-loading-glyph {
  0%, 55%, 100% { opacity: .65; }
  25% { opacity: 1; transform: translateY(-2px); }
}
.initial-site-content {
  max-width: 760px;
  padding: 40px 24px;
  margin: auto;
  color: var(--startup-ink);
  font: 14px/1.7 system-ui, sans-serif;
}
.initial-site-content h1 { font-size: 30px; line-height: 1.2; }
.initial-site-content nav { font-size: 13px; line-height: 2; }
.initial-site-content a { color: inherit; text-underline-offset: 3px; }
