/* Research Rebel V23 — premium interaction + responsive polish */
:root{--rr-purple:#a638f0;--rr-lav:#d8a0ff;--rr-ink:#08060b;--rr-panel:#121017;--rr-line:rgba(216,160,255,.16);--rr-glow:0 22px 70px rgba(112,30,170,.22)}
body{overflow-x:hidden}.nav{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.brand i{font-size:0!important;background:linear-gradient(180deg,#fff,#d8a0ff)!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M8 47h48l-4 9H12l-4-9Zm3-5L7 18l15 13L32 7l10 24 15-13-4 24H11Zm21-7a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M8 47h48l-4 9H12l-4-9Zm3-5L7 18l15 13L32 7l10 24 15-13-4 24H11Zm21-7a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z'/%3E%3C/svg%3E") center/contain no-repeat}
/* Desktop nav: elegant single-row bar */
@media(min-width:981px){.nav{padding-inline:max(24px,calc((100vw - 1280px)/2))!important}.nav nav{gap:5px!important}.nav nav a{font-size:12px!important;padding:9px 10px!important;border-radius:10px}.nav nav a:hover{background:rgba(184,76,255,.08)}.rr-controls{margin-left:6px!important}}
/* Mobile drawer */
@media(max-width:980px){.nav nav{position:fixed!important;top:72px!important;left:14px!important;right:14px!important;max-height:calc(100dvh - 92px);overflow:auto;padding:12px!important;border:1px solid var(--rr-line)!important;border-radius:20px!important;background:rgba(9,7,12,.98)!important;box-shadow:0 24px 80px rgba(0,0,0,.55)!important;z-index:1000}.nav nav a{display:block!important;padding:13px 14px!important;border-radius:12px!important;color:#f5eff8!important}.nav nav a:hover{background:rgba(184,76,255,.09)!important}}
/* Make every dense content surface feel intentional */
.compound-card,.resource-card,.utility-card,.deep-card,.dash-card,.calc-card,.quote-card,.protocol,.sourcebox,.know-grid>*,.rule-grid>*{border-radius:18px!important;border:1px solid var(--rr-line)!important;background:linear-gradient(145deg,rgba(22,17,28,.96),rgba(11,9,14,.96))!important;box-shadow:0 14px 40px rgba(0,0,0,.16)!important}
.compound-card,.resource-card,.utility-card,.deep-card,.dash-card{transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.compound-card:hover,.resource-card:hover,.utility-card:hover,.deep-card:hover,.dash-card:hover{transform:translateY(-3px);border-color:rgba(184,76,255,.42)!important;box-shadow:var(--rr-glow)!important}
.compound-card h3,.resource-card h3,.deep-card h3,.dash-card h3{color:#fbf8fd!important}.data-row{border-color:rgba(255,255,255,.07)!important}.data-row span,.compound-card>p,.resource-card p{color:#b9b0bf!important}.expand-btn,.ghost-btn,.filter{border-radius:999px!important}.expand-btn{width:100%;margin-top:16px;padding:11px 14px!important;border:1px solid rgba(184,76,255,.24)!important;background:rgba(184,76,255,.07)!important;color:#e3baff!important;font-weight:800!important}.expand-btn:hover{background:rgba(184,76,255,.13)!important}.full-dossier-link{display:inline-flex!important;margin:0 0 10px!important;font-size:11px!important;letter-spacing:.08em!important;color:var(--rr-lav)!important}.sourcebox a{display:inline-flex!important;margin:5px 7px 0 0!important;padding:8px 10px!important;border:1px solid rgba(184,76,255,.18)!important;border-radius:10px!important;background:rgba(184,76,255,.05)!important;color:#dcb2fa!important}
/* Search/filter bars */
.section-head{gap:24px!important}.mega-search{border-radius:16px!important;background:rgba(255,255,255,.035)!important;border:1px solid var(--rr-line)!important;box-shadow:inset 0 1px rgba(255,255,255,.03)}.filterbar{gap:8px!important;overflow:auto;padding-bottom:5px;scrollbar-width:none}.filterbar::-webkit-scrollbar{display:none}.filter{white-space:nowrap!important;background:rgba(255,255,255,.035)!important;color:#bdb3c3!important;border:1px solid rgba(255,255,255,.08)!important}.filter.active{background:linear-gradient(135deg,#a638f0,#6f1bad)!important;color:#fff!important;border-color:transparent!important}
/* Subpages */
.subhero{min-height:390px!important}.subhero .shade{background:linear-gradient(90deg,rgba(6,4,9,.96),rgba(8,5,12,.73),rgba(8,5,12,.25))!important}.subhero-copy h1{font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif!important;text-transform:uppercase!important;line-height:.92!important;letter-spacing:.01em!important}.subhero-copy h1 em{color:var(--rr-lav)!important;font-style:normal}.subhero-copy>p:last-child{color:#c9c0ce!important;max-width:700px}
/* GBK hero gets commerce separation without losing brand */
.gbk-hero,.gbk-cta{border:1px solid rgba(184,76,255,.22)!important;border-radius:24px!important;box-shadow:var(--rr-glow)!important}.gbk-section{scroll-margin-top:100px}.resource-grid{gap:14px!important}.resource-card{padding:22px!important}.resource-card .num{color:var(--rr-lav)!important;font-size:11px!important;letter-spacing:.16em!important;font-weight:900!important}
/* Theme light: still Research Rebel, not generic white */
html[data-theme="light"] .compound-card,html[data-theme="light"] .resource-card,html[data-theme="light"] .utility-card,html[data-theme="light"] .deep-card,html[data-theme="light"] .dash-card,html[data-theme="light"] .calc-card,html[data-theme="light"] .quote-card,html[data-theme="light"] .protocol,html[data-theme="light"] .sourcebox{background:linear-gradient(145deg,#fff,#f7f0fb)!important;border-color:rgba(104,38,143,.14)!important;box-shadow:0 14px 35px rgba(69,27,92,.07)!important}html[data-theme="light"] .compound-card h3,html[data-theme="light"] .resource-card h3,html[data-theme="light"] .deep-card h3,html[data-theme="light"] .dash-card h3{color:#211727!important}html[data-theme="light"] .data-row span,html[data-theme="light"] .compound-card>p,html[data-theme="light"] .resource-card p{color:#655b69!important}
/* Mobile precision */
@media(max-width:700px){.brand{white-space:nowrap}.brand span{letter-spacing:.03em}.subhero{min-height:320px!important}.subhero-copy{padding:72px 22px 42px!important}.subhero-copy h1{font-size:48px!important}.section-head{display:block!important}.mega-search{margin-top:18px!important;width:100%!important}.compound-grid,.resource-grid,.deep-grid,.utility-grid,.dash-grid{grid-template-columns:1fr!important}.compound-card,.resource-card,.deep-card,.utility-card,.dash-card{padding:20px!important}.cardtop{gap:8px!important;align-items:flex-start!important}.cardtop>span:last-child{font-size:10px!important;text-align:right}.data-row{grid-template-columns:1fr!important;gap:4px!important}.gbk-hero{padding:26px 20px!important}.gbk-hero h1{font-size:42px!important}.gbk-cta{padding:22px!important}.rr-featurepanel{box-shadow:0 18px 55px rgba(0,0,0,.26)!important}}
@media(prefers-reduced-motion:reduce){.compound-card,.resource-card,.utility-card,.deep-card,.dash-card{transition:none!important}}

/* V24 — legibility + amber nasal container refinement */
html,body,button,input,select,textarea{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body,p,li,label,input,select,textarea,button,.premium-nav nav a,.nav-search,.protocol-grid p,.utility-card p,.quick-card a{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important}
p,li,.hero-lead,.protocol-grid p,.utility-card p{line-height:1.65!important;letter-spacing:.005em}
.premium-nav nav a{font-weight:650!important;letter-spacing:.01em!important;text-transform:none!important}
/* Reserve display treatment for major brand/hero moments only */
h1,.display-title,.nasal-hero h1{font-family:Impact,"Arial Narrow",ui-sans-serif,sans-serif!important;letter-spacing:.015em}
h2,h3,h4,.card-title,.section-title{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-weight:800!important;letter-spacing:-.015em}
.eyebrow,.mini-label,.research-mantra,.hero-kicker{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-weight:800!important;letter-spacing:.14em!important}
/* Amber, unbranded nasal spray containers — no printed words on bottles */
.snoot-visual i,.snoot-mini i{border-color:#7d552d!important;background:linear-gradient(90deg,#2a1207 0%,#8b470d 18%,#d9871c 43%,#6b3108 72%,#1d0d05 100%)!important;box-shadow:inset 5px 0 8px rgba(255,189,79,.16),inset -5px 0 8px rgba(20,6,0,.45),0 0 18px rgba(185,91,255,.2)!important}
.snoot-visual i:before,.snoot-mini i:before{background:linear-gradient(90deg,#e6e4e7,#fff,#c9c7ce)!important;border:1px solid rgba(255,255,255,.65);box-sizing:border-box}
.snoot-visual i:after,.snoot-mini i:after{content:''!important;display:none!important}
