/* ASR public polish v13.17.4
   Final institutional header, login redesign, publication-view readability,
   and DINAV product-link presentation. Loaded after all previous public CSS. */

/* --------------------------------------------------------------------------
   HEADER — clean institutional navigation
   -------------------------------------------------------------------------- */
body.asr-public-v13174 .asr-header-v13174{
  position:sticky!important;
  top:0!important;
  z-index:1200!important;
  width:100%!important;
  background:rgba(250,251,252,.97)!important;
  border-bottom:1px solid #dbe2e9!important;
  box-shadow:0 5px 18px rgba(16,35,58,.045)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  color:#10233a!important;
}
body.asr-public-v13174 .asr-header-shell-v13174{
  min-height:72px!important;
  display:flex!important;
  align-items:center!important;
  gap:30px!important;
  position:relative!important;
}
body.asr-public-v13174 .asr-header-brand-v13174{
  display:inline-flex!important;
  align-items:center!important;
  gap:11px!important;
  flex:0 0 auto!important;
  min-width:0!important;
  color:#10233a!important;
  text-decoration:none!important;
  font-weight:780!important;
  letter-spacing:-.022em!important;
}
body.asr-public-v13174 .asr-header-brand-v13174 img{
  width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
  object-fit:contain!important;
}
body.asr-public-v13174 .asr-header-brand-v13174>span{
  display:block!important;
  color:#10233a!important;
  font-size:16px!important;
  line-height:1.08!important;
  white-space:nowrap!important;
}
body.asr-public-v13174 .asr-header-nav-v13174{
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:24px!important;
  min-width:0!important;
}
body.asr-public-v13174 .asr-header-primary-v13174{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
}
body.asr-public-v13174 .asr-header-link-v13174{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:42px!important;
  padding:0 10px!important;
  border:0!important;
  background:transparent!important;
  color:#465b70!important;
  text-decoration:none!important;
  font-size:13.5px!important;
  font-weight:680!important;
  letter-spacing:-.005em!important;
  border-radius:8px!important;
  transition:color .18s ease,background .18s ease!important;
}
body.asr-public-v13174 .asr-header-link-v13174:hover{
  color:#10233a!important;
  background:#f0f3f6!important;
}
body.asr-public-v13174 .asr-header-link-v13174[aria-current="page"]{
  color:#10233a!important;
  font-weight:800!important;
}
body.asr-public-v13174 .asr-header-link-v13174[aria-current="page"]::after{
  content:""!important;
  position:absolute!important;
  left:10px!important;
  right:10px!important;
  bottom:2px!important;
  height:2px!important;
  border-radius:2px!important;
  background:#c18a35!important;
}
body.asr-public-v13174 .asr-header-actions-v13174{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  padding-left:14px!important;
  border-left:1px solid #dbe2e9!important;
}
body.asr-public-v13174 .asr-header-apply-v13174,
body.asr-public-v13174 .asr-header-login-v13174{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:40px!important;
  padding:0 15px!important;
  border-radius:8px!important;
  text-decoration:none!important;
  font-size:13.5px!important;
  font-weight:780!important;
  white-space:nowrap!important;
  transition:transform .18s ease,background .18s ease,border-color .18s ease!important;
}
body.asr-public-v13174 .asr-header-apply-v13174{
  color:#203a54!important;
  background:#fff!important;
  border:1px solid #cfd8e1!important;
}
body.asr-public-v13174 .asr-header-apply-v13174:hover{
  background:#f5f7f9!important;
  border-color:#b9c6d2!important;
}
body.asr-public-v13174 .asr-header-login-v13174{
  color:#fff!important;
  background:#10233a!important;
  border:1px solid #10233a!important;
  box-shadow:0 6px 15px rgba(16,35,58,.12)!important;
}
body.asr-public-v13174 .asr-header-login-v13174:hover{
  background:#173754!important;
  border-color:#173754!important;
  transform:translateY(-1px)!important;
}
body.asr-public-v13174 .asr-header-login-v13174[aria-current="page"]{
  box-shadow:0 0 0 3px rgba(193,138,53,.16)!important;
}
body.asr-public-v13174 .asr-header-menu-v13174{
  display:none!important;
  margin-left:auto!important;
  min-height:42px!important;
  padding:0 14px!important;
  border:1px solid #cfd8e1!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#10233a!important;
  font-size:13.5px!important;
  font-weight:800!important;
}

/* --------------------------------------------------------------------------
   PUBLICATIONS — views must read as a metric, not disappear in metadata
   -------------------------------------------------------------------------- */
body.asr-public-v13174 .publication-view-stat{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  margin-left:8px!important;
  padding:5px 8px!important;
  border:1px solid #d6dfe7!important;
  border-radius:999px!important;
  background:#f2f5f8!important;
  color:#4c6075!important;
  font-size:12px!important;
  font-weight:720!important;
  line-height:1!important;
  white-space:nowrap!important;
  vertical-align:middle!important;
}
body.asr-public-v13174 .publication-view-stat svg{
  width:14px!important;
  height:14px!important;
  color:#31516e!important;
  opacity:1!important;
}
body.asr-public-v13174 .publication-view-stat b{
  color:#10233a!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1!important;
  font-variant-numeric:tabular-nums!important;
}
body.asr-public-v13174 .publication-view-stat>span:last-child{
  color:#4f6479!important;
  font-weight:720!important;
}

/* --------------------------------------------------------------------------
   LOGIN — same design language as the public website, auth logic unchanged
   -------------------------------------------------------------------------- */
body.asr-public-v13174.portal-body{
  background:#f3f6f8!important;
  color:#10233a!important;
}
body.asr-public-v13174 .asr-login-main-v13174{
  min-height:calc(100vh - 72px)!important;
  padding:64px 0 76px!important;
  background:
    radial-gradient(circle at 8% 5%,rgba(193,138,53,.08),transparent 28%),
    linear-gradient(180deg,#f7f9fb 0%,#eef2f5 100%)!important;
}
body.asr-public-v13174 .asr-login-shell-v13174{
  width:min(1080px,100%)!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr)!important;
  overflow:hidden!important;
  border:1px solid #d6dee6!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 24px 65px rgba(16,35,58,.11)!important;
}
body.asr-public-v13174 .asr-login-intro-v13174{
  min-height:610px!important;
  padding:56px 54px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  color:#fff!important;
  background:
    radial-gradient(circle at 90% 12%,rgba(193,138,53,.18),transparent 30%),
    linear-gradient(145deg,#07182c 0%,#0e2946 60%,#153855 100%)!important;
}
body.asr-public-v13174 .asr-login-intro-v13174 .asr-login-mark-v13174{
  width:48px!important;
  height:48px!important;
  object-fit:contain!important;
  margin-bottom:34px!important;
}
body.asr-public-v13174 .asr-login-eyebrow-v13174{
  display:block!important;
  margin-bottom:16px!important;
  color:#e2b861!important;
  font-size:12px!important;
  font-weight:850!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}
body.asr-public-v13174 .asr-login-intro-v13174 h1{
  max-width:520px!important;
  margin:0!important;
  color:#f8fafc!important;
  font-size:clamp(42px,5vw,66px)!important;
  line-height:.98!important;
  letter-spacing:-.048em!important;
}
body.asr-public-v13174 .asr-login-intro-v13174>div>p{
  max-width:500px!important;
  margin:24px 0 0!important;
  color:#bac7d4!important;
  font-size:16px!important;
  line-height:1.7!important;
}
body.asr-public-v13174 .asr-login-scopes-v13174{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin-top:42px!important;
}
body.asr-public-v13174 .asr-login-scopes-v13174 span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:32px!important;
  padding:0 10px!important;
  border:1px solid rgba(255,255,255,.13)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.045)!important;
  color:#d9e2ea!important;
  font-size:11.5px!important;
  font-weight:730!important;
}
body.asr-public-v13174 .asr-login-intro-foot-v13174{
  padding-top:34px!important;
  border-top:1px solid rgba(255,255,255,.1)!important;
  color:#93a7ba!important;
  font-size:12px!important;
  line-height:1.55!important;
}
body.asr-public-v13174 .asr-login-card-v13174{
  padding:58px 50px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  background:#fff!important;
  color:#10233a!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.asr-public-v13174 .asr-login-card-v13174 .portal-kicker{
  margin:0 0 10px!important;
  color:#8a6125!important;
  font-size:12px!important;
  font-weight:850!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
body.asr-public-v13174 .asr-login-card-v13174 h2{
  margin:0!important;
  color:#10233a!important;
  font-size:35px!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
}
body.asr-public-v13174 .asr-login-card-v13174 .asr-login-card-intro-v13174{
  margin:12px 0 28px!important;
  color:#5c6f82!important;
  font-size:14.5px!important;
  line-height:1.6!important;
}
body.asr-public-v13174 .asr-login-card-v13174 form{
  display:block!important;
  width:100%!important;
}
body.asr-public-v13174 .asr-login-card-v13174 .field{
  display:block!important;
}
body.asr-public-v13174 .asr-login-card-v13174 label{
  display:block!important;
  margin:0 0 8px!important;
  color:#243d56!important;
  font-size:13px!important;
  font-weight:760!important;
}
body.asr-public-v13174 .asr-login-card-v13174 .portal-muted{
  color:#718295!important;
  font-weight:600!important;
}
body.asr-public-v13174 .asr-login-card-v13174 input{
  width:100%!important;
  height:52px!important;
  padding:0 14px!important;
  border:1px solid #cbd5df!important;
  border-radius:10px!important;
  background:#f8fafb!important;
  color:#10233a!important;
  font-size:15px!important;
  outline:none!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
body.asr-public-v13174 .asr-login-card-v13174 input:focus{
  background:#fff!important;
  border-color:#7c93aa!important;
  box-shadow:0 0 0 3px rgba(38,74,108,.10)!important;
}
body.asr-public-v13174 .asr-login-card-v13174 .button-primary{
  width:100%!important;
  min-height:50px!important;
  margin-top:22px!important;
  border:1px solid #10233a!important;
  border-radius:10px!important;
  background:#10233a!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:820!important;
  box-shadow:0 8px 18px rgba(16,35,58,.13)!important;
}
body.asr-public-v13174 .asr-login-card-v13174 .button-primary:hover{
  background:#173754!important;
  border-color:#173754!important;
}
body.asr-public-v13174 .asr-login-card-v13174 .form-note,
body.asr-public-v13174 .asr-login-card-v13174 .form-status{
  color:#65778a!important;
  font-size:12.5px!important;
  line-height:1.55!important;
}
body.asr-public-v13174 .asr-login-card-v13174 .form-note a{
  color:#173f67!important;
  font-weight:760!important;
}
body.asr-public-v13174 .asr-login-card-v13174 .guest-login-note{
  margin:14px 0 0!important;
  padding:11px 12px!important;
  border:1px solid #d8e1e9!important;
  border-radius:9px!important;
  background:#f3f6f8!important;
  color:#435a70!important;
}
body.asr-public-v13174 .asr-login-card-v13174 .portal-setup{
  margin-top:18px!important;
  padding:14px!important;
  border:1px solid #ead7b7!important;
  border-radius:10px!important;
  background:#fff9ef!important;
  color:#654b25!important;
}
body.asr-public-v13174 .asr-login-support-v13174{
  margin-top:26px!important;
  padding-top:20px!important;
  border-top:1px solid #e2e7ec!important;
}

/* --------------------------------------------------------------------------
   DINAV — product CTAs now point to the product site
   -------------------------------------------------------------------------- */
body.asr-public-v13174 .products-actions-v13169 .secondary[href*="dinav.asr-lab.online"],
body.asr-public-v13174 .products-cta-panel-v13169>a[href*="dinav.asr-lab.online"]{
  font-weight:820!important;
}

@media(max-width:1120px){
  body.asr-public-v13174 .asr-header-shell-v13174{gap:18px!important}
  body.asr-public-v13174 .asr-header-nav-v13174{gap:14px!important}
  body.asr-public-v13174 .asr-header-primary-v13174{gap:0!important}
  body.asr-public-v13174 .asr-header-link-v13174{padding:0 8px!important;font-size:13px!important}
  body.asr-public-v13174 .asr-header-brand-v13174>span{font-size:15px!important}
}
@media(max-width:920px){
  body.asr-public-v13174 .asr-header-shell-v13174{min-height:68px!important}
  body.asr-public-v13174 .asr-header-menu-v13174{display:inline-flex!important;align-items:center!important;justify-content:center!important}
  body.asr-public-v13174 .asr-header-nav-v13174{
    display:none!important;
    position:absolute!important;
    top:62px!important;
    left:16px!important;
    right:16px!important;
    margin:0!important;
    padding:14px!important;
    border:1px solid #d5dde5!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 22px 55px rgba(16,35,58,.16)!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:12px!important;
  }
  body.asr-public-v13174 .asr-header-nav-v13174.open{display:flex!important}
  body.asr-public-v13174 .asr-header-primary-v13174{display:grid!important;grid-template-columns:1fr 1fr!important;gap:4px!important}
  body.asr-public-v13174 .asr-header-link-v13174{min-height:44px!important;padding:0 12px!important}
  body.asr-public-v13174 .asr-header-actions-v13174{padding:12px 0 0!important;border-left:0!important;border-top:1px solid #e0e6eb!important;display:grid!important;grid-template-columns:1fr 1fr!important}
  body.asr-public-v13174 .asr-header-apply-v13174,body.asr-public-v13174 .asr-header-login-v13174{min-height:44px!important}
  body.asr-public-v13174 .asr-login-shell-v13174{grid-template-columns:1fr!important}
  body.asr-public-v13174 .asr-login-intro-v13174{min-height:auto!important;padding:42px 38px!important}
  body.asr-public-v13174 .asr-login-intro-foot-v13174{display:none!important}
  body.asr-public-v13174 .asr-login-card-v13174{padding:42px 38px!important}
}
@media(max-width:620px){
  body.asr-public-v13174 .asr-header-shell-v13174{min-height:64px!important}
  body.asr-public-v13174 .asr-header-brand-v13174 img{width:32px!important;height:32px!important;flex-basis:32px!important}
  body.asr-public-v13174 .asr-header-brand-v13174>span{font-size:13.5px!important;max-width:185px!important;white-space:normal!important;line-height:1.08!important}
  body.asr-public-v13174 .asr-header-nav-v13174{top:58px!important;left:10px!important;right:10px!important}
  body.asr-public-v13174 .asr-header-primary-v13174,body.asr-public-v13174 .asr-header-actions-v13174{grid-template-columns:1fr!important}
  body.asr-public-v13174 .asr-login-main-v13174{padding:28px 0 48px!important}
  body.asr-public-v13174 .asr-login-shell-v13174{border-radius:16px!important}
  body.asr-public-v13174 .asr-login-intro-v13174{padding:34px 26px!important}
  body.asr-public-v13174 .asr-login-intro-v13174 h1{font-size:43px!important}
  body.asr-public-v13174 .asr-login-card-v13174{padding:34px 26px!important}
  body.asr-public-v13174 .asr-login-card-v13174 h2{font-size:30px!important}
  body.asr-public-v13174 .publication-view-stat{margin-left:4px!important}
}
