/* NOPH v80 — primary navigation and dedicated Deep Scan entry. */
@media(min-width:960px){
  .topbar .desktop-menu>.desktop-menu-item[data-route="deep"]{
    color:#c6b2ff!important;
  }
  body.light .topbar .desktop-menu>.desktop-menu-item[data-route="deep"]{
    color:#6248a0!important;
  }
  .topbar .desktop-menu>.desktop-menu-item[data-route="deep"].active{
    color:#e6d7ff!important;
    background:rgba(140,93,229,.20)!important;
    border-color:rgba(165,128,236,.32)!important;
  }
  body.light .topbar .desktop-menu>.desktop-menu-item[data-route="deep"].active{
    color:#6845a8!important;
    background:#efe9fd!important;
    border-color:#cdbbed!important;
  }
}
@media(min-width:960px) and (max-width:1200px){
  .topbar .desktop-menu{gap:0!important;padding:3px!important}
  .topbar .desktop-menu>.desktop-menu-item{
    padding:9px 5px!important;font-size:10.5px!important;letter-spacing:-.012em!important;
    white-space:nowrap!important;
  }
  .topbar .topbar-inner{gap:6px!important}
}
/* The existing fourth mobile entry (Tips) stays hidden as before; Deep replaces History. */
@media(max-width:959px){
  .bottom-nav .nav-item[data-route="deep"] .nav-icon{
    color:#c8aeff!important;
    background:rgba(142,98,241,.15)!important;
    border:1px solid rgba(167,129,241,.20)!important;
    box-shadow:none!important;
  }
  .bottom-nav .nav-item[data-route="deep"].active{color:#d2baff!important}
  .bottom-nav .nav-item[data-route="deep"].active .nav-icon{
    color:#f2e6ff!important;
    background:linear-gradient(135deg,#8359ea,#6741bc)!important;
    border-color:rgba(193,166,255,.55)!important;
    box-shadow:0 4px 15px rgba(104,70,194,.22)!important;
  }
  body.light .bottom-nav .nav-item[data-route="deep"]{color:#65518e!important}
  body.light .bottom-nav .nav-item[data-route="deep"] .nav-icon{
    color:#7250b1!important;background:#f0eafd!important;
    border-color:#d7c8f2!important;
  }
  body.light .bottom-nav .nav-item[data-route="deep"].active{color:#59359a!important}
  body.light .bottom-nav .nav-item[data-route="deep"].active .nav-icon{
    color:#fff!important;background:linear-gradient(135deg,#8b60ec,#7245c7)!important;
    border-color:#8d65d5!important;
  }
  .bottom-nav .nav-item[data-route="deep"] .nav-icon .ic{color:inherit!important;stroke:currentColor!important}
}
/* Dedicated Deep landing reuses the existing confirmed scanner form and privacy model. */
.n60-deep-page #n60-home-entry{max-width:760px;margin:0 auto 22px}
.n60-deep-page #n60-entry-close{display:none!important}
.n60-deep-page .n60-deep-heading:not(:has(+.n60-deep-results)) {max-width:710px}
.n60-deep-page .n60-deep-empty{margin-top:24px}
@media(min-width:701px){.n60-deep-page #n60-home-entry{padding:30px}}
@media(max-width:700px){
  .n60-deep-page #n60-home-entry{margin:0 auto 17px!important}
  .n60-deep-page .n60-deep-heading{margin-bottom:20px!important}
  .n60-deep-page .n60-deep-heading h1{font-size:clamp(25px,7.5vw,32px)!important}
}
/* History is secondary but always accessible from the profile, on both themes. */
.page.auth-page .auth-card .n80-profile-history{
  display:flex;align-items:center;gap:13px;width:100%;min-height:70px;
  margin:18px 0 0;padding:13px 14px;
  border:1px solid rgba(129,162,213,.29);border-radius:15px;
  background:rgba(53,78,130,.16);color:#eaf2ff;
  text-align:left;cursor:pointer;
  transition:background .16s,border-color .16s,transform .16s;
}
.page.auth-page .auth-card .n80-profile-history:hover{
  background:rgba(67,97,160,.29);border-color:rgba(143,173,229,.46);
}
.page.auth-page .n80-history-icon{
  width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;
  border:1px solid rgba(144,132,241,.32);border-radius:13px;
  background:rgba(111,91,210,.18);color:#c4b5fd;
}
.page.auth-page .n80-history-icon .ic{width:21px;height:21px}
.page.auth-page .n80-history-copy{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.page.auth-page .n80-history-copy strong{color:#e6eeff;font:780 13px/1.3 Manrope,Inter,sans-serif}
.page.auth-page .n80-history-copy small{color:#9fb2cf;font:500 11px/1.4 Inter,sans-serif}
.page.auth-page .n80-profile-history>.ic{color:#a7bee1;width:17px;height:17px;flex:none}
body.light .page.auth-page .auth-card .n80-profile-history{
  background:#eef4ff;border-color:#cadbf0;color:#244568;
}
body.light .page.auth-page .auth-card .n80-profile-history:hover{
  background:#e5eeff;border-color:#afc9e8;
}
body.light .page.auth-page .n80-history-icon{
  background:#e8e2fa;border-color:#cebef0;color:#6c49a5;
}
body.light .page.auth-page .n80-history-copy strong{color:#264466}
body.light .page.auth-page .n80-history-copy small{color:#597493}
body.light .page.auth-page .n80-profile-history>.ic{color:#637fa1}
.page.auth-page .n80-profile-history:focus-visible{
  outline:3px solid #80b7f5;outline-offset:3px
}
@media(prefers-reduced-motion:reduce){
  .page.auth-page .auth-card .n80-profile-history{transition:none}
}
