/* Liên hệ Khởi Mộc 1.0.8 fallback: CSS ngoài vẫn giữ, embed.php đã có inline style attribute. */
/* Liên hệ Khởi Mộc 1.0.8-inline-style-embed-fallback */
html,body{margin:0;padding:0;background:transparent}
body{font-family:Arial,sans-serif;color:#111827}
.km-lhf-page{--km-lhf-primary:#00856f;--km-lhf-accent:#00b894;--km-lhf-radius:18px;--km-lhf-input-radius:12px;--km-lhf-max:1200px;width:100%;box-sizing:border-box}
.km-lhf-box{width:100%;max-width:var(--km-lhf-max);margin:0 auto;box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:var(--km-lhf-radius);padding:26px;box-shadow:0 18px 45px rgba(15,23,42,.08);font-family:Arial,sans-serif;color:#111827}
.km-lhf-box *{box-sizing:border-box}
.km-lhf-head span{display:block;margin-bottom:8px;color:var(--km-lhf-primary);font-size:12px;font-weight:800;letter-spacing:2px;text-transform:uppercase}
.km-lhf-head h3{margin:0 0 10px;color:#111827;font-size:24px;line-height:1.25}
.km-lhf-head p{margin:0 0 22px;color:#64748b;line-height:1.55}
.km-lhf-status{margin:0 0 16px;padding:12px 14px;border-radius:12px;line-height:1.45;font-weight:700}
.km-lhf-status.is-ok{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.km-lhf-status.is-error{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}
.km-lhf-form{display:grid;gap:16px}
.km-lhf-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.km-lhf-box.is-one-col .km-lhf-grid{grid-template-columns:1fr}
.km-lhf-form label{display:grid;gap:7px;margin:0;color:#111827;font-weight:700;line-height:1.4}
.km-lhf-form input,.km-lhf-form select,.km-lhf-form textarea{width:100%;min-height:46px;padding:13px 14px;border:1px solid #dbe3ef;border-radius:var(--km-lhf-input-radius);background:#fff;color:#111827;font:inherit;outline:none;box-shadow:none}
.km-lhf-form textarea{min-height:110px;resize:vertical}
.km-lhf-form input:focus,.km-lhf-form select:focus,.km-lhf-form textarea:focus{border-color:var(--km-lhf-primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--km-lhf-primary) 14%,transparent)}
@supports not (color:color-mix(in srgb,#000 10%,transparent)){.km-lhf-form input:focus,.km-lhf-form select:focus,.km-lhf-form textarea:focus{box-shadow:0 0 0 4px rgba(0,168,143,.12)}}
.km-lhf-privacy{margin-top:-2px;padding:11px 13px;border-left:4px solid var(--km-lhf-primary);background:#f1f5f9;color:#475569;border-radius:10px;line-height:1.45}
.km-lhf-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.km-lhf-actions button{flex:1 1 220px;min-height:48px;padding:14px 18px;border:0;border-radius:var(--km-lhf-input-radius);background:linear-gradient(90deg,var(--km-lhf-primary),var(--km-lhf-accent));color:#fff;font-weight:800;cursor:pointer;transition:.2s ease}
.km-lhf-actions button:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(0,133,111,.22)}
.km-lhf-actions a{flex:0 0 auto;min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:13px 16px;border-radius:var(--km-lhf-input-radius);background:#f1f5f9;color:#111827;text-align:center;text-decoration:none;font-weight:800;transition:.2s ease}
.km-lhf-actions a:hover{background:#e2e8f0;color:var(--km-lhf-primary);text-decoration:none}
.km-lhf-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
@media(max-width:768px){.km-lhf-box{padding:20px;border-radius:16px}.km-lhf-grid{grid-template-columns:1fr}.km-lhf-actions{display:grid;grid-template-columns:1fr}.km-lhf-actions button,.km-lhf-actions a{width:100%}}

.km-lhf-privacy a{color:var(--km-lhf-primary);font-weight:800;text-decoration:underline;text-underline-offset:2px}
.km-lhf-privacy a:hover{opacity:.85}


/* Font normalization hotfix: chống lỗi font/giãn chữ từ theme hoặc custom CSS */
html,body,.km-lhf-page,.km-lhf-box,.km-lhf-box *{
  font-family:Arial,Helvetica,sans-serif!important;
  letter-spacing:0!important;
  word-spacing:normal!important;
  text-align:left;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
.km-lhf-head span{letter-spacing:1.6px!important}
.km-lhf-privacy,.km-lhf-privacy *{
  font-family:Arial,Helvetica,sans-serif!important;
  font-weight:400;
  letter-spacing:0!important;
  word-spacing:normal!important;
  text-align:left!important;
  text-align-last:left!important;
  white-space:normal!important;
  text-transform:none!important;
}
.km-lhf-privacy a{font-weight:800!important;display:inline!important}
.km-lhf-form input,.km-lhf-form select,.km-lhf-form textarea,.km-lhf-actions button,.km-lhf-actions a{
  font-family:Arial,Helvetica,sans-serif!important;
  letter-spacing:0!important;
  word-spacing:normal!important;
}

/* 1.0.8: privacy note links are sanitized to target _top/_blank so they do not navigate inside iframe. */
