/* YEHAVHA NEXUS Visual Standard v2 */
:root{
  --project-font:Pretendard,"Noto Sans KR","Apple SD Gothic Neo",system-ui,-apple-system,sans-serif;
  --project-max:1160px;
  --nxs-bg:#071225;
  --nxs-panel:rgba(8,18,38,.78);
  --nxs-panel-solid:#0b1d33;
  --nxs-panel-strong:#0d2948;
  --nxs-text:#f2f6ff;
  --nxs-muted:#b8c9df;
  --nxs-accent:#7ab8ff;
  --nxs-line:rgba(255,255,255,.10);
  --project-h1:clamp(34px,4.8vw,52px);
  --project-h2:clamp(22px,3vw,28px);
  --project-h3:18px;
}

html,body,button,input,select,textarea{font-family:var(--project-font)!important}
html,body{background:var(--nxs-bg)!important}
body{font-size:15px!important;line-height:1.76!important;letter-spacing:-.016em!important;word-break:keep-all;color:var(--nxs-text)!important}
.wrap{width:min(var(--project-max),calc(100% - 48px))!important}
h1,h2,h3,h4,.row-main h3,.article-header h3,.article-section-body h4{font-family:var(--project-font)!important;color:var(--nxs-text)!important}
h1{font-size:var(--project-h1)!important;font-weight:780!important;line-height:1.16!important;letter-spacing:-.04em!important}
.method-head h2,.browser-head h2,.section-title h2,.thesis-box h2{font-size:var(--project-h2)!important;font-weight:760!important;line-height:1.3!important;letter-spacing:-.032em!important}
.row-main h3{font-size:var(--project-h3)!important;font-weight:750!important;line-height:1.45!important}
.article-header h3{font-size:clamp(24px,3vw,30px)!important;font-weight:760!important;line-height:1.35!important}
.lead{font-size:15px!important;line-height:1.78!important;color:var(--nxs-muted)!important}
.method-head>p,.browser-head p,.section-title p,.thesis-box p,.row-summary,.research-question,.index-card p,.index-card li,.article-lead,.article-question p,.forecast-warning p,.article-note p,.article-section-body p,.article-section-body li{font-size:14.5px!important;line-height:1.76!important;color:var(--nxs-muted)!important}
.eyebrow,.panel-label,.row-meta span,.row-tags span,.chip-grid span,.mini-chips span,.article-tags span{font-size:11px!important}
.flow span,.principle-line span{font-size:13.5px!important;line-height:1.65!important}
.browser-section,.index-section{padding-top:56px!important;padding-bottom:56px!important}
.ai-disclosure{line-height:1.7}
.stats{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.stat{min-width:0;padding:6px 9px;border-radius:8px;background:var(--nxs-panel)!important;border:1px solid var(--nxs-line)!important}
.stat strong{display:none}
.stat span{display:block;margin:0;font-size:11px;color:var(--nxs-muted)!important}

.site-header{background:linear-gradient(180deg,#081a30,#071225)!important;color:var(--nxs-text)!important;border-color:var(--nxs-line)!important}
main,.method-bar,.browser-section,.index-section{background:transparent!important}
.controls,.research-row,.index-card,.thesis-box,.research-question,.article-shell,.article-question,.forecast-warning,.article-note,.article-section,.empty{
  background:var(--nxs-panel)!important;
  border-color:var(--nxs-line)!important;
  color:var(--nxs-text)!important;
  box-shadow:none!important;
}
.research-row:hover{transform:none!important;border-color:rgba(122,184,255,.35)!important}
.row-summary,.row-meta,.row-tags,.index-card p,.index-card li,.research-question,.article-lead,.article-question p,.forecast-warning p,.article-note p,.article-section-body p,.article-section-body li{color:var(--nxs-muted)!important}
.row-tags span,.chip-grid span,.mini-chips span,.article-tags span{background:rgba(122,184,255,.08)!important;border-color:rgba(122,184,255,.18)!important;color:#a9d0ff!important}
.controls input,.controls select,.article-controls button,.row-action button,.row-action a{
  background:var(--nxs-panel-strong)!important;
  color:var(--nxs-text)!important;
  border-color:var(--nxs-line)!important;
}
.flow,.principle-line{background:var(--nxs-panel-solid)!important;border-color:var(--nxs-line)!important}

.site-footer{background:#06111d!important;color:#8fa1b3!important;border-top:1px solid var(--nxs-line)!important}
.site-footer strong{color:#d7e1ea!important}
.site-footer p,.site-footer a{font-size:11.5px!important;color:#a9bfd2!important}

@media(max-width:900px){.stats{justify-content:flex-start}}
@media(max-width:680px){
  body{font-size:15px!important;line-height:1.76!important}
  .wrap{width:calc(100% - 32px)!important}
  .browser-section,.index-section{padding-top:46px!important;padding-bottom:46px!important}
  .method-head>p,.browser-head p,.section-title p,.thesis-box p,.row-summary,.research-question,.index-card p,.index-card li,.article-lead,.article-question p,.forecast-warning p,.article-note p,.article-section-body p,.article-section-body li{font-size:14.5px!important;line-height:1.76!important}
  .controls,.stats,.research-grid,.thesis-box{grid-template-columns:1fr!important}
  .research-row{grid-template-columns:30px 1fr!important}
  .row-action{grid-column:2!important}
}
