/* Academic chat: ask simply, share evidence, keep the reading space clear. */
.ac-my { display:inline-flex;align-items:center;justify-content:center;gap:5px; }
.ac-my svg { width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round; }
#page-academic .academic-messages { background:#f5f8fa;padding:16px 14px; }
#page-academic .ac-welcome {
  padding:13px 15px 14px;margin:2px 0 18px;border:1px solid #dceceb;border-radius:18px;
  background:linear-gradient(135deg,#fff 15%,#f0f9f7 100%);
  box-shadow:0 7px 22px #123f5010;
}
.ac-welcome-top { display:flex;align-items:center;justify-content:space-between;gap:10px; }
#page-academic .ac-eyebrow { color:#527c82;font-size:11px;font-weight:600;letter-spacing:1px; }
.ac-welcome-mark {
  display:grid;place-items:center;width:30px;height:30px;flex:0 0 auto;
  background:#e1f2ee;color:#268680;border:1px solid #d0e9e3;border-radius:10px;
}
.ac-welcome-mark svg { width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round; }
#page-academic .ac-welcome h2 { margin:7px 0;font-size:19px;font-weight:700;line-height:1.5;letter-spacing:0;color:#1a4350; }
#page-academic .ac-welcome h2 span { color:#177e7d; }
#page-academic .ac-welcome p { margin:0;font-size:13px;line-height:1.85;color:#617d84; }
.ac-contribute-entry { width:100%;display:flex;align-items:center;gap:10px;min-height:54px;margin-top:12px;padding:10px 12px;border:0;border-radius:12px;background:linear-gradient(110deg,#147e7b,#26958b);color:#fff;text-align:left;cursor:pointer;box-shadow:0 4px 11px #17867d20; }
.ac-entry-plus { font-size:24px;line-height:1; }
.ac-contribute-entry b { display:block;font-size:14px;font-weight:650;line-height:1.4; }
.ac-contribute-entry small { display:block;font-size:11px;line-height:1.4;color:#e2f3ef;margin-top:2px; }
.ac-entry-arrow { margin-left:auto;font-size:25px;line-height:1; }
.ac-contribute-entry:focus-visible { outline:2px solid #1c8b88;outline-offset:3px; }
.ac-contribute-types { display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 18px; }
.ac-contribute-types button { min-height:44px;padding:10px;border:1px solid #d3e5e4;border-radius:12px;background:#f5faf9;color:#5c7d81;font-size:14px;cursor:pointer; }
.ac-contribute-types button[aria-pressed=true] { border-color:#328e86;background:#e5f4ef;color:#146f65;font-weight:650; }
.ac-contribute-types button:disabled { cursor:default; }
.ac-contribute-form [hidden] { display:none!important; }
.ac-dialog { margin:auto; }
.ac-contribute-more { margin:13px 0;padding:11px;border:1px solid #dce8e8;border-radius:10px;background:#f8fbfa; }
.ac-contribute-more>summary { color:#4c7b7e;font-size:13px;cursor:pointer; }
.ac-contribute-form input:disabled,.ac-contribute-form textarea:disabled { background:#f5f7f7;color:#627e82;opacity:1; }
.ac-contribute-form>.ac-primary { width:100%;margin-top:8px; }
.ac-dialog-body>h4,#academicCommunityManage h4 { font-size:14px;margin:16px 0 10px;color:#326d74; }
.ac-answer-actions { margin:12px 0 18px;padding-top:12px;border-top:1px solid #e1ecee; }
.ac-answer-actions>div { display:flex;flex-wrap:wrap;gap:7px;margin-top:0; }
.ac-answer-actions .ac-action {
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  min-height:44px;padding:9px;border:1px solid;border-radius:12px;
  font:600 12px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  cursor:pointer;transition:background .15s,border-color .15s;
}
.ac-answer-actions .ac-action>span { white-space:nowrap; }
.ac-action svg { width:16px;height:16px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
.ac-answer-actions .ac-action--incorrect { background:#fff6ed;border-color:#f0dfce;color:#93602f; }
.ac-answer-actions .ac-action--supplement { background:#edf7f3;border-color:#d1e8df;color:#27796a; }
.ac-answer-actions .ac-action--followup { background:#eef4fc;border-color:#d6e3f3;color:#426f9c; }
.ac-answer-actions .ac-action:active { filter:brightness(.96); }
.ac-answer-actions .ac-action:focus-visible { outline:2px solid #1c8b88;outline-offset:3px; }
@media (max-width:359px) {
  #page-academic .ac-welcome { padding:12px 13px; }
  #page-academic .ac-welcome h2 { font-size:18px; }
}
@media (prefers-reduced-motion:reduce) {
  .ac-answer-actions .ac-action { transition:none; }
}
.ac-publication{border:1px solid #cce5df;background:#eff8f4;border-radius:14px;padding:13px;margin:14px 0;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.ac-publication>b{color:#246c60}.ac-publication .ac-files:empty{display:none}
