/* assets/css/nhf/lite.css — R256 หน้า login แบบย่อ /lite (+ /{ชื่อ}/lite) สำหรับเว็บ SEO ของ agent (docs/task/182 ; new-mgmt D410 docs/front/LITE-LOGIN/01-spec.md §4) — เสิร์ฟผ่าน /_css/<NHF_CSS_VER>/ (utils/nhf-css.ts)
 * โหลดเฉพาะ path /lite* (composables/useLegacyHead.ts nhfCssLinks → utils/lite.ts isLitePage) — หน้าอื่นไม่มีไฟล์นี้ ; ทุก selector อยู่ใต้ .nhf-lite (components/member/LiteLogin.vue) ; ธีมแดง = .nhf-lite--red (ไฟล์เดียว ไม่มี RedPages แยก)
 * กติกา: การ์ดเดียวกลางจอ ≤ 420 px (มือถือ 390 ไม่ล้น · หน้าต่าง popup 460×720 พอดี) · ตัวอักษร ≥ 17 px · ช่อง 52 px · ปุ่ม ≥ 52 px · ไม่มี animation ; สี = token --nhf-* ของ theme-override.css (มี fallback)
 */
.nhf-lite { --lt-primary: var(--nhf-red, #b90504); --lt-primary-hi: var(--nhf-red-hi, #d21414); --lt-ink: var(--nhf-ink, #1b1b1f); --lt-muted: var(--nhf-muted, #6b7280); --lt-line: var(--nhf-line-2, #d9d6d2); --lt-ring: rgba(185, 5, 4, .18);
  position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: center; min-height: 100vh; padding: 20px 12px 28px; box-sizing: border-box; }
@media (min-width: 768px) { .nhf-lite { align-items: center; padding: 32px 16px; } }
.nhf-lite__card { width: 100%; max-width: 420px; background: #fff; color: var(--lt-ink); border-radius: 16px; box-shadow: 0 8px 28px rgba(0, 0, 0, .18); padding: 22px 18px 18px; box-sizing: border-box; }
.nhf-lite__brand { text-align: center; margin-bottom: 6px; }
.nhf-lite__logo { display: inline-block; max-width: 200px; max-height: 64px; width: auto; height: auto; }
.nhf-lite__brand-name { font-size: 15px; letter-spacing: .08em; color: var(--lt-muted); margin-top: 4px; text-transform: uppercase; }
.nhf-lite .logo-text-fallback { display: block; font-size: 26px; font-weight: 700; color: var(--lt-primary); }
.nhf-lite__title { font-size: 22px !important; font-weight: 600; text-align: center; margin: 6px 0 14px !important; color: var(--lt-ink) !important; }
.nhf-lite__alert { display: flex; align-items: flex-start; gap: 8px; background: var(--nhf-red-soft, #fff1f1); color: #8a0a0a; border: 1px solid rgba(185, 5, 4, .35); border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; font-size: 17px !important; line-height: 1.35; }
.nhf-lite__alert i { margin-top: 3px; }
.nhf-lite__field { margin-bottom: 12px; }
.nhf-lite__label { display: block; font-size: 17px !important; font-weight: 500; margin: 0 0 6px; color: var(--lt-ink); }
.nhf-lite .form-control { display: block; width: 100%; height: 52px !important; font-size: 17px !important; border-radius: 10px !important; border: 1px solid var(--lt-line) !important; padding: 8px 14px !important; background: #fff !important; color: var(--lt-ink) !important; box-shadow: none !important; box-sizing: border-box; }
.nhf-lite .form-control:focus { border-color: var(--lt-primary) !important; box-shadow: 0 0 0 3px var(--lt-ring) !important; outline: none; }
.nhf-lite__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 2px 0 14px; }
.nhf-lite__remember { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin: 0; font-size: 17px !important; font-weight: 400; cursor: pointer; }
.nhf-lite__remember .form-check-input { position: static; margin: 0; width: 22px; height: 22px; flex: 0 0 22px; }
.nhf-lite__forgot, .nhf-lite__forgot:visited { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; font-size: 17px !important; color: var(--lt-primary) !important; text-decoration: none; }
.nhf-lite__forgot:hover, .nhf-lite__forgot:focus { text-decoration: underline; color: var(--lt-primary-hi) !important; }
.nhf-lite__btn, .nhf-lite__btn:visited { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 10px 14px; border-radius: 10px; font-size: 18px !important; font-weight: 600; line-height: 1.3; text-decoration: none !important; cursor: pointer; box-sizing: border-box; }
.nhf-lite__btn--primary { background: var(--lt-primary); color: #fff !important; border: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.nhf-lite__btn--primary:hover, .nhf-lite__btn--primary:focus { background: var(--lt-primary-hi); color: #fff !important; outline: none; }
.nhf-lite__btn--outline { background: #fff; color: var(--lt-ink) !important; border: 2px solid var(--lt-ink); }
.nhf-lite__btn--outline:hover, .nhf-lite__btn--outline:focus { background: #f6f5f4; color: var(--lt-ink) !important; outline: none; }
.nhf-lite__btn:focus-visible { box-shadow: 0 0 0 3px var(--lt-ring); }
.nhf-lite__or { display: flex; align-items: center; gap: 10px; margin: 16px 0 10px; color: var(--lt-muted); font-size: 16px; }
.nhf-lite__or::before, .nhf-lite__or::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--lt-line); }
.nhf-lite__site { text-align: center; margin: 14px 0 0; font-size: 14px !important; }
.nhf-lite__site a, .nhf-lite__site a:visited { color: var(--lt-muted) !important; text-decoration: none; }
.nhf-lite__site a:hover { text-decoration: underline; }
/* ธีมแดง (SUKJAI99): พื้นเว็บดำ — การ์ดขาวเดิม ปุ่ม/ลิงก์สีแดงของธีม #DC2626 (= theme-color ของ head) */
.nhf-lite--red { --lt-primary: #DC2626; --lt-primary-hi: #B91C1C; --lt-ring: rgba(220, 38, 38, .22); }
.nhf-lite--red .nhf-lite__alert { color: #991B1B; border-color: rgba(220, 38, 38, .4); background: #FEF2F2; }
@media (max-width: 400px) { .nhf-lite__card { padding: 18px 14px 16px; } .nhf-lite__title { font-size: 21px !important; } }
