/* NGHIỆN KPAH — balanced, quiet navigation with recognizable larger icons.
   Loaded last for the public home and inner pages. */
.landing-page .lp-nav{gap:12px}
.landing-page .lp-links{gap:4px;min-width:0;margin-left:auto}
.landing-page .lp-links>a{
 display:inline-flex;align-items:center;justify-content:center;flex:none;
 gap:7px;min-height:48px;padding:6px 7px;
 border:1px solid transparent;border-radius:11px;
 color:#50617d;font-family:"Be Vietnam Pro",system-ui,sans-serif;
 font-size:12px;font-weight:700;line-height:1.35;white-space:nowrap;
 text-decoration:none;
 transition:background-color .18s,color .18s,border-color .18s
}
.landing-page .lp-links>a::after{display:none!important}
.landing-page .lp-links>a .lp-nav-icon{
 display:grid;place-items:center;flex:none;
 width:34px;height:34px;padding:0;overflow:hidden;
 border:1px solid #e8edf7;border-radius:10px;
 background:#f7f9fe;color:#6275b1
}
.landing-page .lp-links>a .lp-nav-icon svg,
.landing-page .lp-links>a .lp-nav-icon img{
 display:block;width:21px;height:21px;max-width:none;max-height:none;
 object-fit:contain;stroke:currentColor
}
.landing-page .lp-links>a[data-nav="community"] .lp-nav-icon{background:#f2f7ff}
.landing-page .lp-links>a .lp-nav-label{
 display:block;font-size:12px;line-height:1.35;
 font-weight:700;letter-spacing:-.01em
}
.landing-page .lp-links>a:hover,
.landing-page .lp-links>a:focus-visible{
 color:#584ec1;background:#f5f5ff;border-color:#eeebfa
}
.landing-page .lp-links>a.is-active{
 color:#584ec1;background:#f2f1fd;border-color:#e7e4fa
}
.landing-page .lp-links>a.is-active .lp-nav-icon{
 color:#6256be;background:#fff;border-color:#e6e1fa
}
/* Keep a comfortable two-column tablet menu; collapse only when needed. */
@media(max-width:1240px){
 .landing-page .lp-nav{gap:10px}
 .landing-page .lp-menu-toggle{
  display:block;order:2;margin-left:0;flex:none;
  width:42px;height:42px;border-radius:12px;background:#fff;
  border-color:#e0e6f2
 }
 .landing-page .lp-nav-actions{order:1;margin-left:auto}
 .landing-page .lp-links{
  position:absolute;z-index:95;top:calc(100% + 8px);left:0;right:0;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px;margin:0;padding:10px;min-width:0;
  max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);
  overflow-y:auto;overscroll-behavior:contain;
  border:1px solid #dfe7f4;border-radius:15px;
  background:#fff;box-shadow:0 15px 35px rgba(45,75,135,.12);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(-7px);
  transition:opacity .18s,transform .18s,visibility .18s
 }
 .landing-page .lp-links.is-open{
  opacity:1;visibility:visible;pointer-events:auto;transform:none
 }
 .landing-page .lp-links>a{
  justify-content:flex-start;min-width:0;min-height:51px;
  gap:9px;padding:6px 10px;border-radius:10px;
  white-space:normal
 }
 .landing-page .lp-links>a .lp-nav-icon{width:36px;height:36px;border-radius:10px}
 .landing-page .lp-links>a .lp-nav-icon svg,
 .landing-page .lp-links>a .lp-nav-icon img{width:23px;height:23px}
 .landing-page .lp-links>a .lp-nav-label{font-size:13px}
}
@media(max-width:430px){
 .landing-page .lp-links{
  grid-template-columns:minmax(0,1fr);gap:3px;padding:8px;
  max-height:calc(100vh - 89px);max-height:calc(100dvh - 89px)
 }
 .landing-page .lp-links>a{min-height:50px;padding:6px 10px}
 .landing-page .lp-links>a .lp-nav-icon{width:35px;height:35px}
 .landing-page .lp-links>a .lp-nav-icon svg,
 .landing-page .lp-links>a .lp-nav-icon img{width:22px;height:22px}
 .landing-page .lp-links>a .lp-nav-label{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
 .landing-page .lp-links>a,.landing-page .lp-links{transition:none}
}
@media(forced-colors:active){
 .landing-page .lp-links>a,
 .landing-page .lp-links>a .lp-nav-icon{border:1px solid CanvasText}
}


/* One prominent download CTA beside sign-in; no duplicate item in the main menu. */
.landing-page .lp-nav-actions{display:flex;align-items:center;gap:9px;flex:none}
.landing-page .lp-nav-actions .lp-download-nav{
 display:inline-flex!important;align-items:center;justify-content:center;
 width:auto;min-width:0;min-height:42px;gap:7px;padding:0 14px;
 border:1px solid #ebbe53;border-radius:11px;
 color:#684509!important;
 background:linear-gradient(135deg,#ffe9a7,#ffd06c);
 box-shadow:0 3px 9px rgba(172,123,25,.12);
 text-decoration:none;font-size:12px;font-weight:800;line-height:1.35;
 white-space:nowrap
}
.landing-page .lp-nav-actions .lp-download-nav:hover,
.landing-page .lp-nav-actions .lp-download-nav:focus-visible,
.landing-page .lp-nav-actions .lp-download-nav.is-active{
 color:#573706!important;background:#ffda7a;border-color:#e9b64a
}
.landing-page .lp-nav-actions .lp-download-nav .lp-nav-icon{
 display:grid;place-items:center;flex:none;
 width:19px;height:19px;padding:0;border:0;background:none;
 box-shadow:none;color:currentColor;overflow:visible
}
.landing-page .lp-nav-actions .lp-download-nav .lp-nav-icon svg{
 display:block;width:19px;height:19px;stroke:currentColor
}
.landing-page .lp-nav-actions .lp-download-nav .lp-download-label{
 display:inline!important;white-space:nowrap;
 font-size:12px;font-weight:800;line-height:1.35
}
@media(max-width:430px){
 /* Two tidy rows keep both full CTA labels readable on narrow phones. */
 .landing-page .lp-nav{
  height:auto;min-height:104px;
  flex-wrap:wrap;align-content:center;row-gap:3px;
  padding-block:7px
 }
 .landing-page .lp-brand{order:0}
 .landing-page .lp-menu-toggle{order:1;margin-left:auto}
 .landing-page .lp-nav-actions{
  order:2;width:100%;margin:0;
  justify-content:center;gap:8px
 }
 .landing-page .lp-nav-actions .lp-download-nav{
  min-height:39px;padding-inline:15px
 }
 .landing-page .lp-nav-actions .lp-nav-login,
 .landing-page .lp-nav-actions .lp-nav-account{
  min-height:39px;padding:9px 14px;font-size:12px
 }
}
