/* SCIFN Research Frontiers v1.0 — protected, reading-oriented paper pathway. */
.research-frontier-page { background: #f4f7fa; }
.research-frontier-main { width: min(100% - 36px, 1120px); margin: 0 auto; padding: 34px 0 72px; }
.research-frontier-hero,
.research-path-section,
.research-papers-section { border: 1px solid var(--sc-line); background: #fff; }
.research-frontier-hero { padding: clamp(28px, 4vw, 46px); border-radius: 20px; }
.research-frontier-hero h1 { margin-top: 9px; font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.035em; }
.research-frontier-intro { max-width: 880px; margin-top: 14px; color: var(--sc-muted); font-size: 1rem; line-height: 1.72; }
.research-direction-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.research-direction-list span { padding: 5px 9px; border: 1px solid #d9e2e8; border-radius: 8px; color: #3e586b; background: #f7f9fa; font-size: .74rem; font-weight: 720; line-height: 1.35; }
.research-path-section,
.research-papers-section { margin-top: 18px; padding: clamp(24px, 3vw, 34px); border-radius: 18px; }
.research-path-section .module-section-head { margin: 0 0 18px; }
.research-path-section h2,
.research-papers-section h2 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); letter-spacing: -.025em; }
.research-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.research-path-card { display: grid; gap: 8px; min-height: 150px; padding: 18px; border: 1px solid #dce4e9; border-radius: 13px; color: inherit; background: #fff; cursor: pointer; text-align: left; transition: border-color .15s ease, background .15s ease; }
.research-path-card:hover { border-color: #9fb4c2; background: #f8fafb; }
.research-path-card.is-active { border-color: #6d938e; background: #f0f7f5; box-shadow: inset 0 0 0 1px #6d938e; }
.research-path-number { color: #758695; font-size: .72rem; font-weight: 820; letter-spacing: .08em; }
.research-path-card strong { color: var(--sc-navy-900); font-size: 1rem; }
.research-path-card > span:last-child { color: var(--sc-muted); font-size: .83rem; line-height: 1.55; }
.research-papers-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.research-view-toggle { display: inline-flex; padding: 3px; border: 1px solid #d6e0e6; border-radius: 9px; background: #f5f7f8; }
.research-view-toggle button { min-height: 34px; padding: 5px 11px; border: 0; border-radius: 6px; color: #536879; background: transparent; cursor: pointer; font: 740 .76rem/1 var(--sc-font); }
.research-view-toggle button[aria-pressed="true"] { color: #fff; background: var(--sc-navy-800); }
.research-search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; margin-top: 20px; }
.research-search-form input { min-width: 0; min-height: 48px; padding: 10px 13px; border: 1px solid var(--sc-line-strong); border-radius: 10px; color: var(--sc-ink); background: #fff; font: 650 .9rem/1.2 var(--sc-font); }
.research-search-form input:focus { outline: 3px solid rgba(23,107,145,.12); border-color: #6e9db7; }
.research-filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.research-filter-row button { min-height: 34px; padding: 6px 10px; border: 1px solid #d9e2e8; border-radius: 8px; color: #4d6272; background: #fff; cursor: pointer; font: 710 .75rem/1.2 var(--sc-font); }
.research-filter-row button[aria-pressed="true"] { color: #0e5f57; border-color: #8eb1aa; background: #eef7f4; }
.research-result-summary { margin: 17px 0 8px; color: #687886; font-size: .78rem; font-weight: 720; }
.research-paper-list { border-top: 1px solid #dfe6ea; }
.research-paper-card { color: var(--sc-ink); }
.research-paper-card.is-list { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 22px 0; border-bottom: 1px solid #e2e8ec; }
.research-paper-order { padding-top: 4px; color: #8b98a3; font-size: .75rem; font-weight: 840; font-variant-numeric: tabular-nums; }
.research-paper-list-body { min-width: 0; }
.research-paper-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; color: #667887; font-size: .71rem; font-weight: 720; }
.research-paper-meta > * + *::before { content: "·"; margin-right: 12px; color: #b1bbc2; }
.research-paper-card h3 { max-width: 900px; margin: 8px 0 0; color: #182b3c; font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.36; letter-spacing: -.012em; }
.research-paper-original-title { margin: 5px 0 0; color: #526878; font-size: .83rem; font-weight: 650; line-height: 1.48; }
.research-paper-authors { margin: 8px 0 0; color: #506272; font-size: .82rem; }
.research-paper-card.is-list .research-paper-list-body > p:not(.research-paper-original-title) { max-width: 880px; margin: 10px 0 0; color: #4e5f6e; font-size: .88rem; line-height: 1.62; }
.research-paper-links,
.research-paper-card footer nav { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 12px; }
.research-paper-links a,
.research-paper-card footer a { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; color: #176b91; font-size: .77rem; font-weight: 740; text-decoration: none; }
.research-paper-links a:hover,
.research-paper-card footer a:hover { text-decoration: underline; text-underline-offset: .2em; }
.research-paper-card.is-report { padding: 25px 0 27px; border-bottom: 1px solid #dfe6ea; }
.research-paper-report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 17px; }
.research-paper-report-grid section { padding-top: 11px; border-top: 2px solid #d7e1e6; }
.research-paper-report-grid h4 { margin: 0; color: #2a4355; font-size: .8rem; }
.research-paper-report-grid p { margin: 8px 0 0; color: #4d5e6d; font-size: .88rem; line-height: 1.65; }
.research-paper-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.research-paper-tags span { padding: 4px 7px; border-radius: 6px; color: #476373; background: #f0f4f6; font-size: .69rem; font-weight: 700; }
.research-paper-card footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 15px; }
.research-paper-card footer nav { margin-top: 0; justify-content: flex-end; }
.research-paper-status { color: #677887; font-size: .73rem; font-weight: 720; }
.research-empty { padding: 30px 0; color: var(--sc-muted); }
.research-frontier-disclaimer { margin: 22px 0 0; padding-top: 15px; border-top: 1px solid #e1e7eb; color: #6e7c87; font-size: .75rem; line-height: 1.55; }
@media (max-width: 820px) {
  .research-path-grid { grid-template-columns: 1fr; }
  .research-path-card { min-height: 0; }
  .research-paper-report-grid { grid-template-columns: 1fr; gap: 12px; }
  .research-paper-card footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .research-frontier-main { width: min(100% - 24px, 1120px); padding-top: 22px; }
  .research-frontier-hero,
  .research-path-section,
  .research-papers-section { padding: 22px 18px; border-radius: 16px; }
  .research-papers-head { align-items: flex-start; flex-direction: column; }
  .research-search-form { grid-template-columns: 1fr; }
  .research-search-form button { width: 100%; }
  .research-paper-card.is-list { grid-template-columns: 30px minmax(0, 1fr); gap: 8px; }
  .research-paper-meta > * + *::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .research-path-card { transition: none; } }
