.lk-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
}
.lk-auth-head { display: flex; flex-direction: column; align-items: center; margin: 0 0 40px; text-align: center; }
.lk-lockup { display: flex; flex-direction: column; align-items: center; margin: 0 0 28px; }
.lk-mark { display: grid; place-items: center; width: 72px; height: 72px; }
.lk-logo { display: block; width: 56px; height: 56px; object-fit: contain; }
.lk-rule { display: block; width: 18px; height: 1px; margin: 14px 0 0; background: #cbd5e1; }
.lk-brand { margin: 10px 0 0; font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #94a3b8; }
.lk-card h1 { margin: 0; font-size: 30px; font-weight: 900; letter-spacing: -0.025em; line-height: 1.15; color: #0f172a; }
.lk-lead { margin: 8px 0 0; font-size: 14px; font-weight: 500; line-height: 1.5; color: #64748b; }
#auth, #auth-screen.is-on {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #f8fafc;
}
#auth[hidden], #auth-screen { display: none; }
#auth-screen.is-on { display: flex; }
#auth #auth-form, #auth-screen #auth-form { display: flex; flex-direction: column; gap: 20px; }
#auth label, #auth-screen label {
  display: block; margin: 0 0 6px; padding-left: 4px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #64748b;
}
#auth input, #auth-screen input {
  width: 100%; padding: 14px 16px; border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px; font: inherit; font-size: 14px; color: #0f172a; background: rgba(248, 250, 252, 0.5);
}
#auth input:focus, #auth-screen input:focus { outline: none; background: #fff; border-color: #94a3b8; }
.auth-password-wrap { position: relative; }
.auth-password-wrap input { padding-right: 96px; }
.auth-password-toggle {
  position: absolute; top: 50%; right: 12px; transform: translateY(-50%);
  border: 0; background: transparent; color: #94a3b8; cursor: pointer;
  font-size: 12px; font-weight: 600;
}
.auth-error { margin: 0; min-height: 1.2em; color: #d81818; font-size: 13px; }
.auth-submit {
  width: 100%; margin-top: 8px; padding: 16px; border: 0; border-radius: 12px;
  background: #10b981; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer;
}
#auth-screen .auth-submit { background: #c2410c; }
.auth-submit:hover { filter: brightness(0.95); }
.secret-box {
  margin: 0; padding: 12px; border-radius: 12px; background: #f8fafc;
  border: 1px solid #e5e7eb; font-family: ui-monospace, Consolas, monospace;
  font-size: 14px; word-break: break-all; color: #0f172a;
}
