/* ═══════════════════════════════
   WELL SIGNAL — Research Page
   ═══════════════════════════════ */

/* 모바일 가로 넘침 방지 */
.keyword-section, .kw-groups, .kw-group, .kw-tags, .search-box, .results-grid { max-width:100%; overflow-x:hidden; }

/* ── Page Wrapper ── */
.research-page { background:#f5f3ee; padding:50px 0 80px; min-height:80vh; }

/* ── Page Header ── */
.research-header { text-align:center; margin-bottom:40px; }
.research-eyebrow { font-size:11px; letter-spacing:4px; color:#16a34a; font-weight:700; text-transform:uppercase; margin-bottom:14px; }
.research-title { font-family:'Playfair Display',serif; font-size:44px; font-weight:900; color:#0f1a0f; line-height:1.2; margin-bottom:14px; }
.research-desc { font-size:14px; color:#6b7280; line-height:1.9; }

/* ── Search Box ── */
.search-box { background:#fff; border:1px solid #e5e7eb; border-top:4px solid #16a34a; padding:28px 32px; margin-bottom:40px; }
.search-input-wrap { display:flex; gap:0; margin-bottom:18px; }
.search-icon { display:flex; align-items:center; padding:0 14px; background:#f9fafb; border:1px solid #d1d5db; border-right:none; font-size:16px; border-radius:2px 0 0 2px; }
.search-input-wrap input { flex:1; min-width:0; padding:14px 16px; border:1px solid #d1d5db; border-right:none; font-size:15px; font-family:inherit; outline:none; color:#111; background:#fff; overflow:hidden; text-overflow:ellipsis; }
.search-input-wrap input:focus { border-color:#16a34a; }
.search-input-wrap input::placeholder { color:#9ca3af; }
#search-btn { background:#0f1a0f; color:#4ade80; border:none; padding:14px 28px; font-weight:900; font-size:14px; cursor:pointer; font-family:inherit; letter-spacing:.5px; border-radius:0 2px 2px 0; white-space:nowrap; transition:background .2s; }
#search-btn:hover { background:#16a34a; color:#fff; }
#search-btn:disabled { opacity:.5; cursor:not-allowed; }

/* ── Preset Buttons ── */
.search-presets { display:flex; flex-wrap:wrap; gap:8px; }
.preset-btn { background:#f0fdf4; color:#166534; border:1px solid #bbf7d0; padding:6px 14px; font-size:12px; cursor:pointer; border-radius:20px; font-family:inherit; font-weight:600; transition:all .2s; white-space:nowrap; }
.preset-btn:hover { background:#16a34a; color:#fff; border-color:#16a34a; }

/* ── Welcome State ── */
.research-welcome { text-align:center; padding:80px 20px; }
.welcome-icon { font-size:60px; margin-bottom:16px; }
.welcome-text { font-size:18px; font-weight:700; color:#374151; margin-bottom:8px; }
.welcome-sub { font-size:13px; color:#9ca3af; }

/* ── Loading ── */
.loading-wrap { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:60px; gap:16px; }
.loading-spinner { width:40px; height:40px; border:3px solid #e5e7eb; border-top-color:#16a34a; border-radius:50%; animation:spin .8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.loading-text { font-size:14px; color:#6b7280; }

/* ── Results Meta ── */
.results-meta { font-size:13px; color:#6b7280; margin-bottom:20px; padding-bottom:14px; border-bottom:1px solid #e5e7eb; }
.results-meta strong { color:#0f1a0f; }
.results-meta em { color:#16a34a; font-style:normal; font-weight:600; }
.search-error { text-align:center; padding:40px; color:#ef4444; font-size:14px; }

/* ── Results Grid ── */
.results-grid { display:flex; flex-direction:column; gap:16px; }

/* ── Paper Card ── */
.paper-card { background:#fff; border:1px solid #e5e7eb; border-left:4px solid #16a34a; padding:24px 28px; transition:box-shadow .2s; }
.paper-card:hover { box-shadow:0 4px 20px rgba(0,0,0,.08); }

.paper-meta-top { display:flex; gap:12px; align-items:center; margin-bottom:10px; flex-wrap:wrap; }
.paper-journal { font-size:11px; font-weight:700; letter-spacing:1px; color:#16a34a; text-transform:uppercase; background:#f0fdf4; padding:2px 8px; border-radius:2px; }
.paper-year { font-size:11px; color:#9ca3af; }
.paper-pmid { font-size:10px; color:#d1d5db; font-family:monospace; margin-left:auto; }

.paper-title-en { font-size:16px; font-weight:700; color:#111; line-height:1.45; margin-bottom:8px; }
.paper-title-ko { font-size:14px; color:#374151; line-height:1.55; margin-bottom:10px; background:#f8f7f4; padding:8px 12px; border-left:2px solid #d1d5db; font-weight:500; }

.paper-authors { font-size:12px; color:#9ca3af; margin-bottom:14px; }

.paper-insight { font-size:12px; color:#166534; background:#f0fdf4; padding:10px 14px; border:1px solid #bbf7d0; border-radius:2px; margin-bottom:16px; display:flex; gap:8px; line-height:1.7; }
.insight-badge { font-size:10px; font-weight:900; letter-spacing:1px; color:#16a34a; white-space:nowrap; background:#dcfce7; padding:2px 6px; border-radius:2px; height:fit-content; flex-shrink:0; }

.paper-actions { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.paper-link { font-size:12px; font-weight:600; padding:6px 14px; border-radius:2px; cursor:pointer; border:none; font-family:inherit; transition:all .2s; }
.pubmed-link { background:#0f1a0f; color:#4ade80; }
.pubmed-link:hover { background:#16a34a; color:#fff; }
.doi-link { background:#1e3a5f; color:#93c5fd; }
.doi-link:hover { background:#1d4ed8; color:#fff; }
.pdf-link { background:#7c2d12; color:#fca5a5; }
.pdf-link:hover { background:#dc2626; color:#fff; }
.abstract-btn { background:#f0fdf4; color:#166534; border:1px solid #bbf7d0 !important; }
.abstract-btn:hover { background:#16a34a; color:#fff; }

/* ── Pagination ── */
.pagination { display:flex; align-items:center; justify-content:center; gap:16px; padding:30px 0; }
.pagination button { background:#0f1a0f; color:#4ade80; border:none; padding:10px 24px; font-weight:700; cursor:pointer; font-family:inherit; font-size:13px; border-radius:2px; }
.pagination button:hover { background:#16a34a; color:#fff; }
.pagination span { font-size:13px; color:#6b7280; }

/* ── Modal ── */
.modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.7); z-index:1000; align-items:center; justify-content:center; padding:20px; }
.modal-box { background:#fff; max-width:780px; width:100%; max-height:88vh; overflow-y:auto; position:relative; border-top:4px solid #16a34a; }
.modal-close { position:sticky; top:0; float:right; background:#f9fafb; border:none; font-size:18px; cursor:pointer; padding:10px 16px; color:#374151; z-index:10; font-family:inherit; }
.modal-close:hover { background:#fee2e2; color:#ef4444; }
.modal-loading, .modal-error { padding:60px; text-align:center; font-size:14px; color:#9ca3af; }
.modal-error { color:#ef4444; }

.modal-header { padding:28px 32px 20px; border-bottom:1px solid #f3f4f6; }
.modal-journal { font-size:11px; font-weight:700; letter-spacing:1px; color:#16a34a; text-transform:uppercase; margin-bottom:10px; }
.modal-title-en { font-family:'Playfair Display',serif; font-size:22px; font-weight:700; color:#111; line-height:1.35; margin-bottom:10px; }
.modal-title-ko { font-size:15px; color:#374151; padding:10px 14px; background:#f8f7f4; border-left:3px solid #16a34a; margin-bottom:10px; font-weight:500; }
.modal-authors { font-size:12px; color:#9ca3af; }

.modal-section { padding:20px 32px; border-bottom:1px solid #f3f4f6; }
.modal-section-label { font-size:10px; letter-spacing:2px; color:#6b7280; text-transform:uppercase; font-weight:700; margin-bottom:10px; }
.modal-abstract-en { font-size:14px; color:#374151; line-height:1.9; }
.modal-abstract-ko { font-size:14px; color:#1a1a1a; line-height:1.9; background:#f0fdf4; padding:14px 16px; border-left:3px solid #22c55e; }

.modal-insight-box { margin:20px 32px; background:#0f1a0f; padding:20px 24px; border-radius:2px; }
.modal-insight-label { font-size:10px; letter-spacing:2px; color:#4ade80; text-transform:uppercase; margin-bottom:8px; }
.modal-insight-text { font-size:15px; color:#fff; font-weight:700; line-height:1.6; }

.modal-links { padding:16px 32px 28px; display:flex; gap:10px; flex-wrap:wrap; }

/* ── Responsive ── */
@media(max-width:768px) {
  /* 헤더/타이틀 */
  .research-hero { padding:24px 0 20px; }
  .research-title { font-size:22px; letter-spacing:1px; }
  .research-subtitle { font-size:12px; margin-bottom:8px; }
  .db-count-badge { font-size:11px; }

  /* DB 뱃지 줄이기 */
  .db-badges { gap:5px; margin-top:10px; }
  .db-badge { font-size:9px; padding:2px 7px; }

  /* 검색박스 */
  .search-box { padding:14px; }
  .search-tabs { width:100%; margin-bottom:10px; }
  .src-tab { flex:1; padding:9px 6px; font-size:11px; }
  .search-input-wrap { width:100%; overflow:hidden; }
  .search-input-wrap input { font-size:13px; padding:11px 10px; min-width:0; }
  .search-input-wrap input::placeholder { font-size:12px; overflow:hidden; text-overflow:ellipsis; }

  /* 프리셋 버튼 — 3열 */
  .search-presets { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; margin-top:10px; }
  .preset-btn { font-size:11px; padding:7px 4px; text-align:center; border-radius:16px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

  /* Browse Categories */
  .keyword-section { padding:20px 0; margin-bottom:20px; }
  .kw-section-title { margin-bottom:14px; }
  .kw-section-title span:first-child { font-size:15px; }
  .kw-groups { display:flex; flex-direction:column; gap:16px; }
  .kw-group { display:flex; flex-direction:column !important; align-items:flex-start !important; gap:8px; width:100%; }
  .kw-group-title { min-width:unset !important; white-space:normal !important; padding-top:0; font-size:12px; font-weight:700; letter-spacing:0; color:#374151; }
  .kw-tags { display:flex !important; flex-wrap:wrap !important; gap:6px; width:100%; }
  .kw-tag { display:inline-flex !important; width:auto !important; padding:6px 12px; font-size:12px; white-space:nowrap; border-radius:999px; flex-shrink:0; }
  .kw-tag::after { display:none; }

  /* 논문 카드 */
  .paper-card { padding:14px; }
  .paper-meta-top { flex-wrap:wrap; gap:4px; }
  .paper-pmid { margin-left:0; }
  .results-grid { grid-template-columns:1fr; gap:12px; }
  .paper-actions { flex-wrap:wrap; gap:6px; }
  .paper-link { font-size:11px; padding:5px 10px; }

  /* 모달 */
  .modal-box { max-height:95vh; }
  .modal-header, .modal-section, .modal-links { padding-left:16px; padding-right:16px; }
}

/* ── SOURCE TABS ── */
.search-tabs { display:flex; gap:0; margin-bottom:14px; border:1px solid #e5e7eb; border-radius:4px; overflow:hidden; width:fit-content; }
.src-tab { background:#f9fafb; color:#6b7280; border:none; padding:8px 20px; font-size:12px; font-weight:600; cursor:pointer; font-family:inherit; border-right:1px solid #e5e7eb; transition:all .2s; }
.src-tab:last-child { border-right:none; }
.src-tab.active { background:#0f1a0f; color:#4ade80; }

/* ── DB BADGES ── */
.db-badges { display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin-top:16px; }
.db-badge { font-size:10px; font-weight:700; letter-spacing:1px; color:#16a34a; background:#f0fdf4; border:1px solid #bbf7d0; padding:3px 10px; border-radius:20px; }

/* ── KEYWORD SECTION (Browse categories style) ── */
.keyword-section { background:#f8f7f4; padding:36px 0; margin-bottom:32px; }
.kw-section-title { display:flex; align-items:center; gap:16px; margin-bottom:24px; flex-wrap:wrap; }
.kw-section-title span:first-child { font-size:18px; font-weight:900; color:#0f1a0f; }
.kw-section-sub { font-size:12px; color:#9ca3af; }
.kw-lang-note { font-size:11px; color:#d97706; background:#fffbeb; border:1px solid #fde68a; padding:3px 10px; border-radius:20px; }
.kw-groups { display:flex; flex-direction:column; gap:20px; }
.kw-group { display:flex; align-items:flex-start; gap:16px; }
.kw-group-title { font-size:12px; font-weight:700; color:#6b7280; white-space:nowrap; min-width:90px; padding-top:9px; text-transform:uppercase; letter-spacing:.5px; }
.kw-tags { display:flex; flex-wrap:wrap; gap:10px; }
.kw-tag {
  background:#fff;
  color:#1a1a1a;
  border:1px solid #d1d5db;
  padding:8px 18px;
  font-size:13px;
  cursor:pointer;
  border-radius:999px;
  font-family:inherit;
  font-weight:500;
  transition:all .18s;
  line-height:1.4;
  display:inline-flex;
  align-items:center;
  gap:6px;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
}
.kw-tag:hover { background:#0f1a0f; color:#4ade80; border-color:#0f1a0f; box-shadow:0 3px 10px rgba(0,0,0,.12); transform:translateY(-1px); }
.kw-tag .kw-en { font-size:11px; color:#9ca3af; font-weight:400; margin-left:2px; }
.kw-tag:hover .kw-en { color:#86efac; }

/* ── CITE BADGE ── */
.cite-badge { font-size:10px; background:#eff6ff; color:#1d4ed8; padding:2px 7px; border-radius:10px; font-weight:700; }

/* ── DBPIA LINK ── */
.search-lang-note { font-size:12px; color:#d97706; background:#fffbeb; border:1px solid #fde68a; padding:3px 10px; border-radius:20px; display:inline-block; margin-top:6px; }

/* ── 전략 시그널 ── */
.paper-signal {
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-top:10px;
  padding:10px 14px;
  background:linear-gradient(135deg, #0f1a0f 0%, #111827 100%);
  border-left:3px solid #4ade80;
  border-radius:0 4px 4px 0;
  font-size:12.5px;
  color:#d1fae5;
  line-height:1.65;
}
.signal-badge {
  font-size:11px;
  font-weight:800;
  color:#4ade80;
  white-space:nowrap;
  letter-spacing:.3px;
  padding-top:1px;
}

/* ── 모달 시그널 ── */
.modal-signal-label {
  font-size:11px;
  font-weight:800;
  color:#4ade80;
  letter-spacing:.5px;
  text-transform:uppercase;
  margin-top:14px;
  margin-bottom:6px;
}
.modal-signal-text {
  font-size:13.5px;
  color:#d1fae5;
  background:linear-gradient(135deg, #0f1a0f 0%, #111827 100%);
  border-left:3px solid #4ade80;
  padding:12px 16px;
  border-radius:0 4px 4px 0;
  line-height:1.7;
}

/* ── 나에게 적용하기 버튼 ── */
.apply-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
  padding: 13px 20px;
  background: linear-gradient(135deg, #052e16 0%, #14532d 100%);
  color: #4ade80;
  border: 1.5px solid #16a34a;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: .3px;
  transition: all .2s;
}
.apply-btn:hover {
  background: linear-gradient(135deg, #14532d 0%, #166534 100%);
  border-color: #4ade80;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(74,222,128,.25);
}
.apply-sub {
  font-size: 11px;
  color: #86efac;
  font-weight: 400;
  background: rgba(74,222,128,.12);
  padding: 2px 8px;
  border-radius: 10px;
}
.apply-btn:hover .apply-sub { color: #d1fae5; }

/* ── 프로토콜 모달 ── */
.protocol-box { max-width: 600px; max-height: 88vh; overflow-y: auto; }

.proto-header { border-bottom: 2px solid #f3f4f6; padding-bottom: 18px; margin-bottom: 22px; }
.proto-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 2px; color: #4ade80; margin-bottom: 8px; }
.proto-paper-title { font-size: 15px; font-weight: 700; color: #0f1923; line-height: 1.5; margin-bottom: 14px; }
.proto-progress-label { font-size: 12px; color: #6b7280; margin-bottom: 6px; }
.proto-progress-label strong { color: #0f1923; font-size: 16px; }
.proto-progress-bar { height: 6px; background: #f3f4f6; border-radius: 99px; overflow: hidden; }
.proto-progress-fill { height: 100%; background: linear-gradient(90deg, #4ade80, #22c55e); border-radius: 99px; transition: width .5s ease; }

.proto-section-label { font-size: 12px; font-weight: 800; color: #374151; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 12px; }

.proto-summary { background: #f8fdf8; border: 1px solid #bbf7d0; border-radius: 8px; padding: 16px 18px; margin-bottom: 22px; }
.proto-summary-text { font-size: 14px; color: #166534; font-weight: 600; line-height: 1.6; margin-bottom: 10px; }
.proto-insight { font-size: 12.5px; color: #374151; line-height: 1.65; padding-top: 10px; border-top: 1px solid #d1fae5; }

.proto-routines { margin-bottom: 22px; }
.proto-routine { display: flex; gap: 14px; margin-bottom: 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 14px 16px; }
.proto-time { font-size: 13px; font-weight: 700; color: #0f1923; white-space: nowrap; min-width: 60px; padding-top: 2px; }
.proto-actions { list-style: none; padding: 0; margin: 0; flex: 1; }
.proto-actions li { font-size: 13px; color: #374151; padding: 3px 0 3px 16px; position: relative; line-height: 1.5; }
.proto-actions li::before { content: '→'; position: absolute; left: 0; color: #4ade80; font-weight: 700; }

.proto-changes { margin-bottom: 24px; }
.proto-change-list { display: flex; flex-direction: column; gap: 10px; }
.proto-change { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #374151; }
.proto-day-dot { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; flex-shrink: 0; }
.proto-day-dot.active { background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.2); }

.proto-cta-wrap { background: linear-gradient(135deg, #0f1923 0%, #111827 100%); border-radius: 10px; padding: 22px; text-align: center; }
.proto-cta-title { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.proto-cta-sub { font-size: 12px; color: #9ca3af; margin-bottom: 18px; }
.proto-cta-btns { display: flex; gap: 10px; flex-direction: column; }
.proto-btn-free { background: transparent; border: 1.5px solid #4b5563; color: #d1d5db; padding: 12px 20px; border-radius: 6px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; transition: all .2s; }
.proto-btn-free:hover { border-color: #9ca3af; color: #fff; }
.proto-btn-pro { display: flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, #16a34a 0%, #4ade80 100%); color: #052e16; padding: 14px 20px; border-radius: 6px; font-size: 14px; font-weight: 900; text-decoration: none; transition: all .2s; }
.proto-btn-pro:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(74,222,128,.4); }
.proto-btn-badge { background: #052e16; color: #4ade80; font-size: 10px; padding: 2px 7px; border-radius: 4px; font-weight: 800; letter-spacing: 1px; }

/* ── 7일 루틴 트래커 ── */
.day-nav { display:flex; gap:8px; margin:14px 0 10px; }
.day-btn {
  width:36px; height:36px; border-radius:50%; border:2px solid #e5e7eb;
  background:#fff; color:#374151; font-size:13px; font-weight:700;
  cursor:pointer; font-family:inherit; transition:all .18s;
}
.day-btn.active { background:#0f1923; color:#4ade80; border-color:#0f1923; transform:scale(1.1); }
.day-btn.done { background:#d1fae5; color:#166534; border-color:#4ade80; }
.day-btn:hover:not(.active) { border-color:#9ca3af; }

.proto-check { display:flex; align-items:flex-start; gap:9px; cursor:pointer; }
.proto-check input[type=checkbox] { width:17px; height:17px; margin-top:2px; accent-color:#16a34a; cursor:pointer; flex-shrink:0; }
.proto-check span { font-size:13px; color:#374151; line-height:1.5; transition:all .18s; }
.proto-check input:checked + span { text-decoration:line-through; color:#9ca3af; }
.proto-actions li { padding:4px 0 4px 0 !important; }
.proto-actions li::before { display:none !important; }

/* ── AI 검색 탭 ── */
.ai-tab-btn { background:#0f1923 !important; color:#4ade80 !important; border-color:#0f1923 !important; }
.ai-tab-btn.active { background:#4ade80 !important; color:#0f1923 !important; }
.ai-tab-badge { background:#4ade80; color:#0f1923; font-size:9px; font-weight:900; padding:2px 6px; border-radius:10px; margin-left:4px; vertical-align:middle; }

/* AI 검색 입력창 */
.ai-search-box { background:#fff; border:2px solid #0f1923; border-radius:8px; overflow:hidden; margin-top:4px; }
.ai-search-box textarea { width:100%; border:none; outline:none; padding:14px 16px; font-size:14px; font-family:'Noto Sans KR',sans-serif; color:#111; resize:none; line-height:1.7; }
.ai-search-box textarea::placeholder { color:#9ca3af; }
.ai-search-footer { display:flex; align-items:center; justify-content:space-between; padding:10px 14px; background:#f9fafb; border-top:1px solid #f3f4f6; }
.ai-free-badge { font-size:11px; font-weight:700; background:#fef3c7; color:#d97706; padding:3px 10px; border-radius:10px; }
#ai-search-btn { background:#0f1923; color:#4ade80; border:none; padding:9px 20px; font-size:13px; font-weight:700; border-radius:6px; cursor:pointer; font-family:inherit; }
#ai-search-btn:disabled { opacity:.5; cursor:not-allowed; }

/* AI 로딩 */
.ai-thinking-box { display:flex; align-items:center; gap:10px; padding:20px; background:#f0fdf4; border-radius:8px; font-size:13px; color:#166534; }
.ai-thinking-dots { display:flex; gap:5px; }
.ai-dot { width:7px; height:7px; background:#4ade80; border-radius:50%; animation:blink 1.2s infinite; }
.ai-dot:nth-child(2) { animation-delay:.2s; }
.ai-dot:nth-child(3) { animation-delay:.4s; }
@keyframes blink { 0%,100%{opacity:.2} 50%{opacity:1} }

/* AI 답변 */
.ai-answer-wrap { background:#fff; border:1px solid #e5e7eb; border-top:3px solid #4ade80; border-radius:6px; padding:24px; }
.ai-answer-header { display:flex; align-items:center; gap:8px; margin-bottom:16px; }
.ai-answer-icon { font-size:20px; }
.ai-answer-title { font-size:13px; font-weight:700; color:#0f1923; }
.ai-answer-text { font-size:14px; color:#1a1a1a; line-height:1.9; }
.ai-answer-text p { margin-bottom:10px; }
.ai-inline-cite { background:#f0fdf4; border-left:3px solid #4ade80; padding:8px 12px; margin:8px 0; border-radius:0 4px 4px 0; font-size:12px; color:#374151; }
.ai-note { background:#fffbeb; border:1px solid #fde68a; border-radius:6px; padding:12px 14px; font-size:12px; color:#92400e; margin-top:12px; }
.ai-papers-section { margin-top:16px; padding-top:16px; border-top:1px solid #f3f4f6; }
.ai-papers-label { font-size:11px; font-weight:700; color:#6b7280; letter-spacing:1px; margin-bottom:10px; }
.ai-paper-chip { background:#f9fafb; border:1px solid #e5e7eb; border-radius:6px; padding:10px 14px; margin-bottom:8px; }
.ai-paper-chip-title { font-size:13px; font-weight:700; color:#0f1923; margin-bottom:3px; }
.ai-paper-chip-meta { font-size:11px; color:#6b7280; }
.ai-paper-chip-link { font-size:11px; color:#16a34a; font-weight:700; text-decoration:none; margin-top:4px; display:inline-block; }
.ai-answer-footer { display:flex; align-items:center; justify-content:space-between; margin-top:16px; padding-top:16px; border-top:1px solid #f3f4f6; font-size:11px; color:#9ca3af; flex-wrap:wrap; gap:8px; }
.ai-pro-btn { background:#0f1923; color:#4ade80; padding:7px 16px; border-radius:4px; font-size:12px; font-weight:700; text-decoration:none; white-space:nowrap; }
