/* Nút cài đặt nhỏ gọn trên thanh đầu trang; không chiếm diện tích banner */
.site-header .saco-app-install__button{appearance:none;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;min-height:36px;margin:0 10px;padding:8px 12px;border:1px solid rgba(255,255,255,.42);border-radius:999px;background:rgba(13,40,73,.65);color:#fff;white-space:nowrap;font:600 12px 'DM Sans',Arial,sans-serif;letter-spacing:0;line-height:1;cursor:pointer;box-shadow:none;transition:background .15s,transform .15s}
.site-header .saco-app-install__button:hover{background:#174c88;transform:translateY(-1px)}
.site-header .saco-app-install__button:focus-visible{outline:3px solid #6db4ff;outline-offset:2px}
.site-header .saco-app-install__button svg{flex:none}
@media(max-width:650px){.site-header .saco-app-install__button{gap:5px;min-height:32px;padding:7px 9px;margin:0 5px;font-size:11px}.site-header .saco-app-install__button svg{width:15px;height:15px}}
@media(max-width:370px){.site-header .saco-app-install__button{padding:6px 7px;font-size:10px}}

.saco-app-dialog[hidden]{display:none!important}.saco-app-dialog{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:20px;font-family:'DM Sans',system-ui,sans-serif}.saco-app-dialog__backdrop{position:absolute;inset:0;background:rgba(8,27,55,.62);backdrop-filter:blur(4px)}.saco-app-dialog__panel{position:relative;width:min(100%,430px);box-sizing:border-box;border-radius:22px;background:#fff;padding:27px 24px 22px;box-shadow:0 24px 80px #071e374a;color:#132d4e}.saco-app-dialog__mark{display:grid;place-items:center;height:55px;width:55px;border-radius:14px;background:#173c78;color:white;font-size:21px;font-weight:800;margin-bottom:16px}.saco-app-dialog__panel h2{font-size:22px;line-height:1.3;margin:0 35px 15px 0}.saco-app-dialog__steps{font-size:14px;color:#4c6179;line-height:1.75}.saco-app-dialog__steps p{margin:0 0 10px}.saco-app-dialog__steps ol{padding-left:22px;margin:10px 0 0}.saco-app-dialog__steps li{margin-bottom:8px}.saco-app-dialog__close{position:absolute;right:19px;top:15px;font-size:26px;border:0;background:transparent;color:#536981;cursor:pointer}.saco-app-dialog__done{width:100%;background:#173f7c;border:0;color:#fff;border-radius:12px;padding:13px;font-weight:700;margin-top:18px;cursor:pointer}
/* Mobile header: always show authentication actions, prevent download button overflow */
.saco-mobile-auth{display:none}
@media (max-width:700px){
  .site-header{box-sizing:border-box!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;column-gap:6px!important;row-gap:8px!important;padding:12px 12px 9px!important;width:100%!important;max-width:100vw!important;min-height:104px!important;height:auto!important}
  .site-header .brand{flex:0 1 126px!important;min-width:0!important;max-width:126px!important;margin:0!important}
  .site-header .brand img{display:block;max-width:100%!important;width:100%!important;height:auto!important;object-fit:contain!important}
  .site-header #siteLanguage{flex:0 0 auto!important;width:54px!important;max-width:54px!important;margin:0!important;font-size:10px!important;padding:5px 1px!important}
  .site-header .saco-app-install__button{display:inline-flex!important;flex:0 0 auto!important;margin:0!important;min-height:30px!important;padding:6px 8px!important;gap:4px!important;font-size:10px!important;max-width:112px!important}
  .site-header .saco-app-install__button svg{width:13px!important;height:13px!important}
  .site-header .main-nav,.site-header #menuToggle{display:none!important}
  .site-header .saco-mobile-auth{order:20;display:flex!important;flex:0 0 100%!important;width:100%!important;gap:8px!important;box-sizing:border-box!important;z-index:3}
  .site-header .saco-mobile-auth button{flex:1 1 0!important;display:block!important;min-width:0!important;min-height:38px!important;margin:0!important;padding:7px 10px!important;border-radius:10px!important;border:1px solid rgba(255,255,255,.65)!important;background:rgba(13,37,67,.68)!important;color:#fff!important;font:700 13px 'DM Sans',Arial,sans-serif!important;cursor:pointer!important;box-shadow:0 2px 8px rgba(0,0,0,.10)!important}
  .site-header .saco-mobile-auth .saco-mobile-auth__register{border-color:#2475db!important;background:#2166c6!important}
  .site-header .saco-mobile-auth button:focus-visible{outline:3px solid #fff;outline-offset:2px}
}
@media (max-width:360px){.site-header{padding-left:8px!important;padding-right:8px!important;column-gap:3px!important}.site-header .brand{flex-basis:110px!important;max-width:110px!important}.site-header .saco-app-install__button{padding:5px 6px!important;font-size:9px!important}}
