.nexam-install-login{
  display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:11px;
  padding:10px 12px;border:1px solid #d8e5f2;border-radius:14px;background:#f8fbff;
  color:#0f5fb8;text-decoration:none;font-size:13px;font-weight:750;transition:.18s ease;
}
.nexam-install-login:hover{background:#eef6ff;color:#084c94;transform:translateY(-1px)}
.install-app-bg{margin:0;min-height:100vh;background:
  radial-gradient(circle at 10% 0%,rgba(22,119,255,.13),transparent 32%),
  linear-gradient(145deg,#f1f7fd,#fbfdff);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#0f172a}
.install-app-shell{width:min(1120px,calc(100% - 28px));margin:0 auto;padding:28px 0 48px}
.install-app-hero{padding:28px;border-radius:24px;background:linear-gradient(135deg,#0f2f46,#164e72 56%,#1677ff);color:#fff;box-shadow:0 18px 50px rgba(15,47,70,.18)}
.install-back{color:#dcecff;text-decoration:none;font-size:13px;font-weight:700}
.install-brand-row{display:flex;align-items:center;gap:18px;margin-top:18px}
.install-app-logo{width:76px;height:76px;object-fit:contain;border-radius:20px;background:#fff;padding:8px}
.eyebrow,.section-kicker{font-size:11px;font-weight:850;letter-spacing:.55px;text-transform:uppercase}
.install-app-hero h1{margin:4px 0 5px;font-size:30px}.install-app-hero p{margin:0;color:#d8e7f7}
.install-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.install-choice-card{background:#fff;border:1px solid #dce7f1;border-radius:22px;padding:24px;box-shadow:0 14px 38px rgba(15,47,70,.08)}
.install-choice-card.is-focus{outline:3px solid rgba(22,119,255,.14)}
.install-choice-top{display:flex;align-items:center;gap:13px}.install-choice-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#eaf3ff;color:#1677ff;font-size:22px}
.install-choice-card h2{margin:3px 0 0;font-size:21px}.install-choice-card>p{color:#64748b;line-height:1.55}
.install-qr{min-height:184px;display:grid;place-items:center;margin:14px 0;padding:8px;border:1px dashed #d9e4ef;border-radius:16px;background:#fbfdff}
.install-qr img,.install-qr canvas{max-width:168px!important;height:auto!important}
.nx-install-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:44px;border:0;border-radius:12px;padding:10px 15px;background:linear-gradient(135deg,#1677ff,#0b63d8);color:#fff!important;text-decoration:none;font-weight:800;cursor:pointer}
.nx-install-btn[disabled]{opacity:.55;cursor:not-allowed}.nx-install-btn.secondary{background:#eef5fc;color:#24415d!important;border:1px solid #dbe7f2}

/* R7.1 - APK download button refinement */
.apk-download-btn{
  width:fit-content;
  min-width:260px;
  max-width:100%;
  margin:0 auto;
  gap:9px;
  padding:12px 20px;
  border-radius:14px;
  box-shadow:0 7px 18px rgba(22,119,255,.20);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
  white-space:nowrap;
}
.apk-download-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(22,119,255,.27);
  filter:saturate(1.04);
}
.apk-download-btn:active{transform:translateY(0)}
.apk-download-icon{
  width:24px;
  height:24px;
  display:inline-grid;
  place-items:center;
  flex:0 0 24px;
  border-radius:8px;
  background:rgba(255,255,255,.16);
  font-size:17px;
  line-height:1;
  font-weight:900;
}
.apk-download-label{line-height:1.15}
.pwa-help,.install-note,.install-update-note,.install-security-note{margin-top:12px;padding:13px 14px;border-radius:14px;background:#f6f9fc;border:1px solid #e0e9f2;color:#475569;font-size:13px;line-height:1.5}
.pwa-help span{display:block;margin-top:5px}.install-benefits{padding-left:20px;color:#475569;font-size:13px;line-height:1.8}
.apk-meta{display:flex;justify-content:space-between;gap:12px;margin-top:11px;color:#64748b;font-size:12px}
.apk-release-notes{margin-top:12px;padding:13px;border-radius:13px;background:#f8fbff;border:1px solid #e1eaf3;font-size:13px;line-height:1.55}
.apk-force-badge{margin-top:11px;padding:10px 12px;border-radius:12px;background:#fff1f2;color:#be123c;font-size:12px;font-weight:800}
.apk-hash{margin-top:10px;font-size:12px;color:#64748b}.apk-hash code{display:block;word-break:break-all;margin-top:6px}
.play-protect-guide{margin-top:16px;padding:16px;border-radius:16px;background:#fff8ed;border:1px solid #fed7aa}
.play-protect-kicker{font-size:10px;font-weight:900;color:#c2410c;letter-spacing:.6px}.play-protect-guide h3{font-size:17px;margin:5px 0 9px}.play-protect-guide p{font-size:13px;color:#7c2d12}.play-protect-guide blockquote{margin:10px 0;padding:10px 12px;background:#fff;border-left:4px solid #fb923c;font-size:13px}.play-protect-action{display:inline-block;padding:8px 12px;border-radius:10px;background:#1d4ed8;color:#fff;font-weight:800;font-size:13px}
.install-update-note,.install-security-note{margin-top:16px}.ios-hint{margin-top:10px;padding:13px;border-radius:13px;background:#f0f9ff;border:1px solid #bae6fd;color:#0c4a6e;font-size:13px;line-height:1.55}
.mobile-admin-card{margin-top:18px}.mobile-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mobile-admin-full{grid-column:1/-1}
.mobile-meta-strip{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.mobile-meta-pill{padding:6px 9px;border-radius:999px;background:#eef6ff;color:#31506f;font-size:11px;font-weight:800}
@media(max-width:760px){.install-choice-grid{grid-template-columns:1fr}.install-brand-row{align-items:flex-start}.install-app-logo{width:64px;height:64px}.install-app-hero{padding:22px}.install-app-hero h1{font-size:25px}.install-choice-card{padding:19px}.mobile-admin-grid{grid-template-columns:1fr}.apk-download-btn{width:100%;min-width:0}}

/* =========================================================
   R7.2 - Android APK panel polish + responsive mobile layout
   ========================================================= */
.apk-download-panel{
  margin-top:16px;
  padding:16px;
  border:1px solid #e1eaf3;
  border-radius:18px;
  background:linear-gradient(180deg,#fbfdff 0%,#f7fbff 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
.apk-download-panel .apk-download-btn{
  width:100%;
  min-width:0;
  margin:0;
  min-height:58px;
  padding:10px 16px;
  border-radius:14px;
  gap:12px;
  white-space:normal;
}
.apk-download-panel .apk-download-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  border-radius:10px;
  background:rgba(255,255,255,.16);
}
.apk-download-panel .apk-download-icon svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.apk-download-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;text-align:left}
.apk-download-copy strong{font-size:14px;line-height:1.2}
.apk-download-copy small{margin-top:3px;color:rgba(255,255,255,.82);font-size:11px;font-weight:650}

.apk-info-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  margin-top:12px;
}
.apk-info-item{
  min-width:0;
  padding:10px 11px;
  border:1px solid #e2eaf2;
  border-radius:12px;
  background:#fff;
}
.apk-info-label{display:block;margin-bottom:3px;color:#7b8b9d;font-size:10px;font-weight:800;letter-spacing:.35px;text-transform:uppercase}
.apk-info-item strong{display:block;overflow-wrap:anywhere;color:#17324a;font-size:12px;line-height:1.35}
.apk-info-updated{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}
.apk-info-updated .apk-info-label{margin:0;flex:0 0 auto}
.apk-info-updated strong{text-align:right;color:#52677b;font-weight:750}

.apk-download-panel .apk-release-notes{
  margin-top:12px;
  padding:13px 14px;
  border:1px solid #dce8f5;
  border-radius:14px;
  background:#fff;
}
.apk-section-heading{display:flex;align-items:center;gap:8px;color:#17324a;font-size:12px}
.apk-section-dot{width:8px;height:8px;border-radius:50%;background:#1677ff;box-shadow:0 0 0 4px rgba(22,119,255,.10)}
.apk-release-copy{margin-top:7px;color:#52677b;font-size:12px;line-height:1.55}

.apk-download-panel .apk-force-badge{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:11px;
  padding:10px 12px;
  border:1px solid #fecdd3;
  border-radius:12px;
  background:#fff1f2;
  color:#be123c;
  font-size:12px;
  font-weight:800;
}
.apk-download-panel .apk-force-badge>span{
  width:20px;height:20px;display:grid;place-items:center;flex:0 0 20px;border-radius:50%;background:#be123c;color:#fff;font-size:11px
}

.apk-download-panel .apk-hash{
  margin-top:11px;
  border:1px solid #e2eaf2;
  border-radius:12px;
  background:#fff;
  overflow:hidden;
  color:#64748b;
}
.apk-download-panel .apk-hash summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 12px;
  cursor:pointer;
  list-style:none;
  color:#40566d;
  font-size:12px;
  font-weight:800;
}
.apk-download-panel .apk-hash summary::-webkit-details-marker{display:none}
.apk-download-panel .apk-hash summary::after{content:'⌄';color:#8494a6;font-size:15px;transition:transform .18s ease}
.apk-download-panel .apk-hash[open] summary::after{transform:rotate(180deg)}
.apk-download-panel .apk-hash summary small{margin-left:auto;color:#8a99aa;font-size:10px;font-weight:800;letter-spacing:.3px}
.apk-download-panel .apk-hash code{
  display:block;
  margin:0;
  padding:11px 12px;
  border-top:1px solid #edf2f7;
  background:#f8fafc;
  color:#516273;
  font-size:10px;
  line-height:1.5;
  word-break:break-all;
}

.apk-download-panel .play-protect-guide{
  margin-top:12px;
  padding:14px;
  border-radius:14px;
  background:linear-gradient(180deg,#fffaf2,#fff7e8);
  border:1px solid #fed7aa;
}
.play-protect-heading{display:flex;align-items:flex-start;gap:10px}
.play-protect-shield{
  width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border-radius:10px;background:#fff;color:#c2410c;border:1px solid #fed7aa;font-size:14px;font-weight:900
}
.apk-download-panel .play-protect-kicker{display:block;font-size:9px;line-height:1.2}
.apk-download-panel .play-protect-guide h3{margin:3px 0 0;font-size:15px;line-height:1.3}
.apk-download-panel .play-protect-guide p{margin:9px 0 0;font-size:12px;line-height:1.5}
.apk-download-panel .play-protect-action{margin-top:8px;padding:7px 11px;border-radius:9px;font-size:12px}
.apk-download-panel .play-protect-last{margin-bottom:7px}
.apk-download-panel .play-protect-guide small{display:block;color:#8a4b20;font-size:10.5px;line-height:1.45}

@media(max-width:760px){
  .install-app-shell{width:min(100% - 20px,680px);padding:16px 0 34px}
  .install-app-hero{padding:20px;border-radius:20px}
  .install-brand-row{gap:13px;margin-top:14px}
  .install-app-logo{width:58px;height:58px;padding:7px;border-radius:16px}
  .install-app-hero h1{font-size:24px;line-height:1.15}
  .install-app-hero p{font-size:13px;line-height:1.45}
  .install-choice-grid{gap:14px;margin-top:14px}
  .install-choice-card{padding:17px;border-radius:18px}
  .install-choice-icon{width:42px;height:42px;border-radius:12px;font-size:20px}
  .install-choice-card h2{font-size:19px}
  .install-choice-card>p{font-size:13px;line-height:1.5}
  .install-qr{min-height:168px;margin:12px 0;padding:7px;border-radius:14px}
  .install-qr img,.install-qr canvas{max-width:152px!important}
  .nx-install-btn{min-height:48px}
  .apk-download-panel{margin-top:13px;padding:13px;border-radius:15px}
  .apk-download-panel .apk-download-btn{min-height:58px;padding:10px 13px}
  .apk-info-grid{grid-template-columns:1fr 1fr;gap:8px}
  .apk-info-updated{grid-column:1/-1}
  .pwa-help,.install-note,.install-update-note,.install-security-note,.ios-hint{font-size:12px}
  .install-benefits{font-size:12px;line-height:1.7}
  .install-update-note,.install-security-note{margin-top:12px}
}

@media(max-width:430px){
  .install-app-shell{width:calc(100% - 14px);padding:10px 0 26px}
  .install-app-hero{padding:16px;border-radius:17px}
  .install-back{font-size:12px}
  .install-brand-row{gap:10px;margin-top:12px}
  .install-app-logo{width:52px;height:52px;border-radius:14px}
  .eyebrow,.section-kicker{font-size:9.5px;letter-spacing:.4px}
  .install-app-hero h1{font-size:21px;margin-top:3px}
  .install-app-hero p{font-size:12px}
  .install-choice-card{padding:14px;border-radius:16px}
  .install-choice-top{gap:10px}
  .install-choice-icon{width:38px;height:38px;flex:0 0 38px;border-radius:11px;font-size:18px}
  .install-choice-card h2{font-size:18px}
  .install-qr{min-height:154px}
  .install-qr img,.install-qr canvas{max-width:142px!important}
  .apk-download-panel{padding:11px}
  .apk-download-copy strong{font-size:13px}
  .apk-download-copy small{font-size:10px}
  .apk-info-grid{grid-template-columns:1fr 1fr}
  .apk-info-item{padding:9px 10px}
  .apk-info-updated{display:block}
  .apk-info-updated strong{margin-top:3px;text-align:left;font-size:11px}
  .apk-download-panel .apk-release-notes{padding:11px 12px}
  .apk-download-panel .play-protect-guide{padding:12px}
  .play-protect-heading{gap:8px}
  .play-protect-shield{width:27px;height:27px;flex-basis:27px;border-radius:9px}
  .apk-download-panel .play-protect-guide h3{font-size:14px}
}

@media(max-width:340px){
  .apk-info-grid{grid-template-columns:1fr}
  .apk-info-updated{grid-column:auto}
  .install-brand-row{align-items:flex-start}
}


/* =========================================================
   R7.3 - APK download button alignment fix
   Fixes 100% width + padding overflow and keeps the button
   visually centered on desktop, tablet, and mobile.
   ========================================================= */
.nx-install-btn{
  box-sizing:border-box;
  max-width:100%;
}

.apk-download-panel{
  box-sizing:border-box;
  overflow:hidden;
}

.apk-download-panel .apk-download-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  margin:0;
  padding:10px 16px;
  left:auto;
  right:auto;
  transform:none;
}

.apk-download-panel .apk-download-btn:hover{
  transform:translateY(-1px);
}

.apk-download-panel .apk-download-btn:active{
  transform:translateY(0);
}

.apk-download-panel .apk-download-copy{
  flex:0 1 auto;
  min-width:0;
  align-items:flex-start;
  text-align:left;
}

@media(max-width:430px){
  .apk-download-panel .apk-download-btn{
    min-height:56px;
    padding:9px 11px;
    gap:9px;
  }
  .apk-download-panel .apk-download-icon{
    width:32px;
    height:32px;
    flex-basis:32px;
  }
  .apk-download-panel .apk-download-copy strong{
    font-size:12.5px;
  }
}
