/* Panel giriş ekranı */
.lg { display: grid; min-height: 100dvh; overflow: hidden; }
.lg__art { position: fixed; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 0; }
.lg__art svg { width: min(140vmax, 1400px); height: auto; opacity: .9; animation: lg-drift 60s linear infinite; }
.lg__art circle { fill: none; stroke: rgba(31, 59, 255, .08); stroke-width: 1; }
.lg__r2 { stroke-dasharray: 3 9; stroke: rgba(31, 59, 255, .12) !important; }
.lg__r3 { stroke: rgba(201, 122, 42, .10) !important; }
.lg__r4 { stroke-dasharray: 1 6; }
@keyframes lg-drift { to { transform: rotate(360deg); } }

.lg__main { position: relative; z-index: 1; display: grid; place-items: center; padding: calc(24px + var(--safe-t)) 16px calc(24px + var(--safe-b)); }
.lg__card {
  width: min(420px, 100%);
  padding: 34px 26px 22px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 40px 90px -40px rgba(14, 20, 80, .35), 0 0 0 1px var(--rule);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
          backdrop-filter: blur(22px) saturate(1.5);
  animation: lg-in .8s var(--ease) both;
}
@keyframes lg-in { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@media (min-width: 560px) { .lg__card { padding: 40px 38px 26px; } }

.lg__mark { width: 60px; height: 60px; margin-bottom: 18px; filter: drop-shadow(0 10px 22px rgba(31, 59, 255, .28)); }
.lg__mark svg { width: 100%; height: 100%; }
.lg__spin { transform-origin: 20px 20px; animation: lg-spin 24s linear infinite; }
@keyframes lg-spin { to { transform: rotate(360deg); } }
.lg__kicker { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cobalt); }
.lg h1 { margin-top: 8px; font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.1rem); font-weight: 600; letter-spacing: -.035em; }
.lg__lead { margin-top: 8px; color: var(--ink-2); font-size: .92rem; }
.lg__note { margin-top: 18px; }
.lg__form { display: grid; gap: 16px; margin-top: 22px; }
.lg__ctl .lg__ico { position: absolute; left: 14px; color: var(--ink-3); pointer-events: none; }
.lg__ctl .input { padding-left: 44px; min-height: 52px; }
.lg__ctl .input[type="password"], .lg__ctl .input#password { padding-right: 52px; }
.lg__eye { position: absolute; right: 4px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink-3); border-radius: 50%; }
.lg__eye:hover { color: var(--ink); background: rgba(16, 19, 33, .05); }
.lg__eye[aria-pressed="true"] { color: var(--cobalt); }
.lg__submit { min-height: 52px; margin-top: 4px; font-size: .95rem; }
.lg__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: .8rem; color: var(--ink-3); }
.lg__foot a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.lg__foot a:hover { color: var(--cobalt); }
.lg__secure { display: inline-flex; align-items: center; gap: 6px; }
.lg__secure .ico { width: 15px; height: 15px; color: var(--sage); }
@media (prefers-reduced-motion: reduce) { .lg__art svg, .lg__spin { animation: none; } }
