/*
  Lionare 2026. All rights reserved.
  Logo, brand, agents, mascots and other visual elements.
*/
/* Small-screen / mobile / tablet block (desktop-only app) */
html.lm-screen-locked,
body.lm-screen-locked {
  overflow: hidden !important;
  height: 100%;
}

.lm-screen-guard[hidden] {
  display: none !important;
}

.lm-screen-guard {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #fff;
  color: var(--lm-ink, #0f1f14);
  font-family: "Inter", system-ui, sans-serif;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
}

.lm-screen-guard-inner {
  width: 100%;
  max-width: 420px;
  margin: auto;
  text-align: center;
}

.lm-screen-guard-logo {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 28px;
}

.lm-screen-guard-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--lm-green-soft, #e8f5e9);
  color: var(--lm-green, #087a2d);
}

.lm-screen-guard-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--lm-ink, #0f1f14);
}

.lm-screen-guard-lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--lm-ink, #0f1f14);
}

.lm-screen-guard-note {
  margin: 0 0 24px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--lm-muted, #5a6b62);
}

.lm-screen-guard-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: var(--lm-green, #087a2d);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.lm-screen-guard-btn:hover,
.lm-screen-guard-btn:focus-visible {
  background: var(--lm-green-dark, #065f24);
  color: #fff;
  outline: none;
}

.lm-screen-guard-btn:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lm-green, #087a2d) 28%, transparent);
}

@media (min-width: 1200px) {
  .lm-screen-guard {
    display: none !important;
  }

  html.lm-screen-locked,
  body.lm-screen-locked {
    overflow: auto !important;
  }
}

/* Public entry (apply / login / password): usable on phones */
body[data-screen-guard='allow'] .lm-screen-guard,
body[data-screen-guard='off'] .lm-screen-guard,
body[data-screen-guard='public'] .lm-screen-guard {
  display: none !important;
}

body[data-screen-guard='allow'].lm-screen-locked,
body[data-screen-guard='off'].lm-screen-locked,
body[data-screen-guard='public'].lm-screen-locked,
html:has(body[data-screen-guard='allow']).lm-screen-locked,
html:has(body[data-screen-guard='off']).lm-screen-locked,
html:has(body[data-screen-guard='public']).lm-screen-locked {
  overflow: auto !important;
  height: auto;
}
