/* LHM CRM 2026 — shared design system across public subpages.
 * Scoped to .lhm-subpage. No change to article copy, SEO metadata, or app logic.
 * Manrope headings, Be Vietnam Pro body, navy/white/electric blue.
 */
:root{--lhm-ink:#10213e;--lhm-muted:#62748e;--lhm-accent:#165fc9;--lhm-line:#dfebf7;--lhm-bg:#f7faff;--lhm-panel:#fff;--lhm-ease:cubic-bezier(.2,.75,.2,1)}
html{scroll-padding-top:86px}
body.lhm-subpage{--sky:#165fc9;--blue:#165fc9;--ink:#10213e;--dim:#62748e;background:var(--lhm-bg)!important;color:var(--lhm-ink)!important;font-family:"Be Vietnam Pro",system-ui,sans-serif!important;font-size:14px;line-height:1.83;overflow-x:clip}
body.lhm-subpage:before{content:"";position:absolute;inset:0 0 auto;height:530px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 55% 60% at 92% 12%,#cfe3ff73,transparent 75%)}
body.lhm-subpage *{box-sizing:border-box}
body.lhm-subpage :is(h1,h2,h3,h4){font-family:"Manrope","Be Vietnam Pro",sans-serif!important;letter-spacing:-.042em;color:#11223e;overflow-wrap:break-word}
body.lhm-subpage h1{font-size:clamp(30px,3.8vw,49px)!important;line-height:1.18!important;font-weight:800!important}
body.lhm-subpage h2{line-height:1.32!important}
body.lhm-subpage :is(p,li,td,th,span){overflow-wrap:break-word}
body.lhm-subpage :is(a,button,input,summary):focus-visible{outline:3px solid #65a8ff!important;outline-offset:3px}
body.lhm-subpage a{transition:color .25s,transform .25s,background .25s,border-color .25s,box-shadow .25s}
body.lhm-subpage a:hover{color:#115abe}
body.lhm-subpage img{max-width:100%;height:auto}
body.lhm-subpage :is(pre,code){overflow-wrap:anywhere}
body.lhm-subpage :is(pre,.tablewrap,[class*="overflow-x-auto"]){max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
body.lhm-subpage [id]{scroll-margin-top:92px}
body.lhm-subpage .lhm-sub-progress{height:3px;position:fixed;top:0;left:0;right:0;z-index:110;background:linear-gradient(90deg,#216ae2,#57c0ff,#82e3ff);transform:scaleX(0);transform-origin:left;pointer-events:none;box-shadow:0 0 15px #388ffa66}
body.lhm-subpage .lhm-sub-backtop{position:fixed;right:20px;bottom:20px;width:44px;height:44px;display:grid;place-items:center;z-index:55;color:#fff!important;text-decoration:none;font:800 20px/1 "Manrope",sans-serif;background:#155fcf;border:1px solid #257bee;border-radius:14px;box-shadow:0 8px 24px #0d4ca84a;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s,visibility .25s,transform .25s}
body.lhm-subpage.lhm-sub-scrolled .lhm-sub-backtop{opacity:1;visibility:visible;transform:none}
body.lhm-subpage .lhm-sub-backtop:hover{background:#104ca6;transform:translateY(-3px);color:#fff!important}
body.lhm-subpage .lhm-sub-primary{background:#1561d0!important;color:#fff!important;border:1px solid #1561d0!important;box-shadow:0 8px 22px #1259c729!important;border-radius:12px!important;font-weight:750}
body.lhm-subpage .lhm-sub-primary:hover{background:#0f4da9!important;color:#fff!important;box-shadow:0 12px 27px #1259c73b!important}
body.lhm-subpage .lhm-sub-brand-mark{display:inline-grid;place-items:center;width:39px;height:39px;min-width:39px;border-radius:12px;background:linear-gradient(145deg,#125bca,#338bfa);color:white!important;font-family:Manrope,sans-serif;font-size:22px;font-weight:800;box-shadow:0 6px 15px #1056c43a;text-shadow:none}
body.lhm-subpage .lhm-sub-brand-mark:hover{color:#fff!important}
body.lhm-subpage :is(.brand,.lhm-sub-brand){font-family:Manrope,"Be Vietnam Pro",sans-serif;font-weight:800;letter-spacing:-.04em;color:#12213b;text-decoration:none}
body.lhm-subpage .lhm-sub-title-kicker{display:inline-flex;align-items:center;gap:6px;border:1px solid #cfe3fa;border-radius:100px;padding:6px 12px;color:#2062bc;background:#edf5ff;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.09em}
body.lhm-subpage .lhm-sub-footer-rail{background:#0d2041;color:#b5c9e5;border:0;border-top:1px solid #24426d;padding:25px 20px;text-align:center;font-size:11px;line-height:1.8}
body.lhm-subpage .lhm-sub-footer-rail a{color:#c9dcf8!important;display:inline-flex;padding:6px 7px;min-height:40px;align-items:center}
body.lhm-subpage .lhm-sub-footer-rail a:hover{color:#fff!important}
body.lhm-subpage .lhm-sub-footer-rail p{color:#a9bcd7}
body.lhm-subpage .lhm-sub-footer-rail .lhm-sub-footer-inner{max-width:1160px;margin:0 auto}
body.lhm-subpage .lhm-sub-footer-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px 18px;margin-top:6px}
/* Article template: legacy .head/.nav/.hero/.toc/.text and /article grid variants */
body.lhm-article :is(.head,header:has(>.nav),.glass-nav){background:#ffffffed!important;border-bottom:1px solid #e1e9f3!important;box-shadow:0 5px 24px #133e6410!important;backdrop-filter:blur(18px);position:sticky;top:0;z-index:50}
body.lhm-article :is(.head .nav,header>.nav){max-width:1220px!important;min-height:73px!important;padding:10px 24px!important;gap:14px!important}
body.lhm-article .headlinks,body.lhm-article .navlinks{gap:13px!important;align-items:center}
body.lhm-article :is(.headlinks,.navlinks) a{font-size:12px;font-weight:700;color:#405674;text-decoration:none}
body.lhm-article :is(.headlinks,.navlinks) a:hover{color:#0e60cb}
body.lhm-article :is(.headlinks,.navlinks) :is(.btn,.cta){background:#165ec9!important;border:1px solid #165ec9;color:#fff!important;box-shadow:none!important;border-radius:11px;padding:11px 14px;min-height:44px}
body.lhm-article .brand i{background:linear-gradient(135deg,#1a67d6,#308aff)!important;color:#fff!important;font-size:19px}
body.lhm-article .wrap,body.lhm-article .container{width:min(calc(100% - 36px),1160px);max-width:1160px;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
body.lhm-article :is(.crumb,.crumbs){padding:24px 0 20px;margin:0;color:#64748b;font-size:11px;line-height:1.6}
body.lhm-article :is(.crumb,.crumbs) a{color:#286ac0}
body.lhm-article .hero{display:grid;gap:clamp(24px,3.2vw,46px);align-items:center;padding:15px 0 39px;min-width:0}
body.lhm-article .hero :is(.lead,p.lead){color:#62748c!important;font-size:clamp(14px,1.3vw,16px)!important;line-height:1.9}
body.lhm-article .hero :is(.flag,.eyebrow){color:#185dc1!important;font-size:10px!important;letter-spacing:.09em}
body.lhm-article .hero :is(.photo,.illustration){margin:0;min-width:0;background:#fff!important;border:1px solid #d9e6f7!important;border-radius:22px!important;overflow:hidden;box-shadow:0 18px 46px #19467d1c!important}
body.lhm-article .hero :is(.photo,.illustration) img{width:100%;height:auto;object-fit:cover}
body.lhm-article :is(.toc,.related){background:#fff!important;border:1px solid #dce8f4!important;border-radius:17px;box-shadow:0 5px 19px #153a6110}
body.lhm-article .toc{top:91px!important}
body.lhm-article .toc :is(a,li){font-size:12px;line-height:1.75;color:#526680}
body.lhm-article :is(main.text,main article,.bodygrid article){min-width:0;line-height:1.92;color:#344762}
body.lhm-article :is(main.text,main article,.bodygrid article) :is(p,li){font-size:14px;line-height:1.95}
body.lhm-article :is(main.text,main article,.bodygrid article) :is(h2,h3){color:#132847!important}
body.lhm-article :is(.answer,.note,.card,.step){border:1px solid #dbe8f6!important;background:#fff!important;box-shadow:0 4px 18px #13487d0b;border-radius:15px}
body.lhm-article .answer,body.lhm-article .note{border-left:3px solid #318cf2!important;background:#f2f7ff!important}
body.lhm-article .call{background:linear-gradient(110deg,#145fcf,#092e79)!important;color:#fff!important;border-radius:20px;border:1px solid #256fda;box-shadow:0 16px 45px #134ea630}
body.lhm-article .call :is(h2,h3,strong,p){color:#f6fbff!important}
body.lhm-article .call a{color:#fff!important}
body.lhm-article .tablewrap{background:#fff;border-color:#d8e5f4}
body.lhm-article table{width:100%}
body.lhm-article th{background:#eef5ff!important;color:#213d65}
body.lhm-article :is(td,th){padding:13px}
body.lhm-article .faq p{color:#3f5470!important}
body.lhm-article .faq summary{color:#1b3458;font-weight:750}
body.lhm-article strong{color:inherit}
body.lhm-article .text-sky-400{color:#145fc7!important}
body.lhm-article .glass-nav .text-white{color:#132544!important}
/* Blog listing — retain editorial index semantics and publishing slots. */
body.lhm-blog nav.sticky{background:#ffffffef!important;border-bottom:1px solid #dce8f4!important;backdrop-filter:blur(18px)}
body.lhm-blog nav.sticky>div{min-height:72px!important;gap:12px}
body.lhm-blog nav.sticky a{min-height:42px;align-items:center}
body.lhm-blog nav.sticky .text-sky-400{color:#205eac!important}
body.lhm-blog .card{border:1px solid #dfeaf6!important;background:#fff!important;border-radius:18px!important;box-shadow:0 6px 24px #16437a12!important;overflow:hidden;transition:transform .28s var(--lhm-ease),border-color .28s,box-shadow .28s!important}
body.lhm-blog .card:hover{transform:translateY(-4px);border-color:#b6d3f7!important;box-shadow:0 19px 38px #184a881d!important}
body.lhm-blog .card img{width:100%;height:auto;object-fit:cover}
body.lhm-blog .card h2{font-size:clamp(17px,1.7vw,23px)!important;line-height:1.42}
body.lhm-blog .card :is(p,.text-slate-300){color:#4f627c!important}
body.lhm-blog .card a{color:#155fc8}
body.lhm-blog [aria-label="Danh sách bài viết"]{min-width:0}
body.lhm-blog .text-slate-300,body.lhm-blog .text-slate-400{color:#61718a!important}
/* Editorial special feature (Tailwind) */
body.lhm-feature nav.glass-nav{background:#ffffffef!important;border-bottom:1px solid #d9e7f5!important}
body.lhm-feature .article-card{background:#fff!important;border:1px solid #d9e7f5!important;box-shadow:0 10px 36px #183f7114}
body.lhm-feature .callout-box{background:#eef6ff!important;border-left-color:#2574d6!important}
body.lhm-feature .text-slate-300,body.lhm-feature .text-slate-400{color:#4d617c!important}
body.lhm-feature .text-white{color:#10213e!important}
body.lhm-feature .bg-\[\#070B14\]{background:#f7faff!important}
body.lhm-feature a[href="/#pricing"]{color:#fff!important}
/* Legal pages are informational, not giant card-style landing pages */
body.lhm-legal{font-size:14px}
body.lhm-legal>.max-w-4xl{max-width:900px}
body.lhm-legal>.max-w-4xl>div:first-child{padding-bottom:15px!important;gap:12px}
body.lhm-legal>.max-w-4xl>div:first-child a{min-height:44px}
body.lhm-legal>.max-w-4xl>div:first-child a:first-child{font:800 18px Manrope,"Be Vietnam Pro",sans-serif}
body.lhm-legal>.max-w-4xl>div:first-child a:first-child span:first-child{background:#1763d4!important;color:#fff!important;box-shadow:0 7px 16px #0d56bd2a}
body.lhm-legal>.max-w-4xl>div:nth-child(2) .text-emerald-400{color:#155fc6!important}
body.lhm-legal>.max-w-4xl>div:nth-child(2)>h1{font-size:clamp(29px,4.5vw,40px)!important}
body.lhm-legal>.max-w-4xl>div:nth-child(3){border:1px solid #dce8f5!important;box-shadow:0 15px 40px #17447313!important;border-radius:20px!important;background:white!important}
body.lhm-legal>.max-w-4xl>div:nth-child(3) :is(p,li){font-size:14px!important;line-height:1.9!important;color:#415572}
body.lhm-legal>.max-w-4xl>div:nth-child(3) h2{font-size:clamp(17px,1.8vw,20px)!important}
body.lhm-legal>.max-w-4xl>div:nth-child(3) :is(.text-emerald-400,.text-sky-400){color:#1360c8!important}
body.lhm-legal>.max-w-4xl>div:nth-child(3) :is(.text-slate-300,.text-white){color:#304361!important}
body.lhm-legal>.max-w-4xl>div:nth-child(3) :is(.bg-emerald-50,.bg-slate-50){background:#f1f7ff!important}
/* Admin: visual tokens only, never override interactive grid/actions. */
body.lhm-admin{--brand:#1763d4;--brand-hover:#0f53bb;--brand-subtle:#edf5ff;--bg-base:#f7faff;--border:#dbe7f4}
body.lhm-admin>header{box-shadow:0 5px 26px #19437b10}
body.lhm-admin :is(button,a):focus-visible{outline:3px solid #79b0f8!important;outline-offset:2px}
/* Mobile / tablet */
@media(max-width:900px){
 body.lhm-subpage{font-size:14px}
 body.lhm-article :is(.head .nav,header>.nav){min-height:65px!important;gap:10px!important;padding:11px 16px!important}
 body.lhm-article .wrap,body.lhm-article .container{width:min(calc(100% - 30px),1160px)}
 body.lhm-article .hero{grid-template-columns:minmax(0,1fr)!important;gap:16px;padding:10px 0 28px}
 body.lhm-article .bodygrid{display:block!important;padding-bottom:53px!important}
 body.lhm-article .toc{display:none!important}
 body.lhm-article :is(.headlinks,.navlinks){gap:8px!important}
 body.lhm-article :is(.headlinks,.navlinks) a{min-height:42px;display:inline-flex;align-items:center}
 body.lhm-blog nav.sticky>div{padding-inline:14px!important}
 body.lhm-blog nav.sticky>div>div{gap:7px!important}
 body.lhm-blog nav.sticky a{font-size:12px!important}
 body.lhm-feature nav.glass-nav>div{min-height:65px!important}
}
@media(max-width:640px){
 body.lhm-subpage{font-size:13px}
 body.lhm-subpage h1{font-size:clamp(27px,7.4vw,36px)!important}
 body.lhm-subpage :is(h2,h3){overflow-wrap:break-word}
 body.lhm-article .wrap,body.lhm-article .container{width:min(calc(100% - 28px),1160px)}
 body.lhm-article .hero :is(.lead,p.lead){font-size:14px!important}
 body.lhm-article :is(main.text,main article,.bodygrid article) :is(p,li){font-size:14px}
 body.lhm-article :is(.headlinks,.navlinks) a:not(.btn):not(.cta){display:none!important}
 body.lhm-article :is(.headlinks,.navlinks) :is(.btn,.cta){min-height:42px;max-width:150px;white-space:normal;padding:8px 11px;text-align:center;font-size:11px!important}
 body.lhm-article .brand{font-size:17px!important;white-space:nowrap}
 body.lhm-article .brand i{height:33px;width:33px;margin-right:4px}
 body.lhm-article :is(.answer,.note,.card,.step){padding:17px!important}
 body.lhm-article .call{padding:22px!important}
 body.lhm-article .tablewrap{margin-block:19px}
 body.lhm-blog nav.sticky>div>div>a[href="/"]{display:none}
 body.lhm-blog nav.sticky>div>a{font-size:15px!important;gap:7px!important}
 body.lhm-blog nav.sticky>div>a>span:first-child{width:34px;height:34px}
 body.lhm-blog main{padding:29px 15px 55px!important}
 body.lhm-blog [aria-label="Danh sách bài viết"]{grid-template-columns:minmax(0,1fr)!important;gap:15px!important}
 body.lhm-blog .card{border-radius:15px!important}
 body.lhm-blog .card>div{padding:20px!important}
 body.lhm-legal{padding:19px 14px 50px!important}
 body.lhm-legal>.max-w-4xl{width:100%}
 body.lhm-legal>.max-w-4xl>div:first-child a:last-child{font-size:11px!important;padding-inline:10px}
 body.lhm-legal>.max-w-4xl>div:nth-child(3){padding:21px 18px!important;border-radius:15px!important}
 body.lhm-legal>.max-w-4xl>div:nth-child(3) :is(p,li){font-size:13px!important}
 body.lhm-feature main{padding-inline:15px!important}
 body.lhm-subpage .lhm-sub-footer-rail{padding:22px 15px}
 body.lhm-subpage .lhm-sub-backtop{right:14px;bottom:14px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 body.lhm-subpage *,body.lhm-subpage *::before,body.lhm-subpage *::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
 body.lhm-subpage .lhm-sub-backtop{transform:none!important}
}


@media(prefers-reduced-motion:no-preference){
 body.lhm-subpage .lhm-sub-observe{
  opacity:.72;transform:translateY(13px);
  transition:opacity .65s cubic-bezier(.2,.75,.2,1),transform .65s cubic-bezier(.2,.75,.2,1)
 }
 body.lhm-subpage .lhm-sub-observe.lhm-sub-seen{opacity:1;transform:none}
}

/* Policy reading footer: consistent dark finish without duplicating legal text. */
body.lhm-legal>.max-w-4xl>div:last-child{
 background:#0d2041;color:#b5c9e5!important;
 border:1px solid #24426d!important;
 border-radius:14px;padding:18px 20px!important;
 line-height:1.7;
}
@media(max-width:640px){
 body.lhm-article .headlinks a:last-child:not(.btn):not(.cta){display:inline-flex!important;color:#165fc9!important;font-size:12px!important;min-height:42px;align-items:center}
 body.lhm-article :is(.headlinks,.navlinks){flex-wrap:nowrap;min-width:0}
}
