:root {
  color-scheme: light;
  --ink: #101923;
  --muted: #68798d;
  --green: #245c50;
  --green-hover: #194a3f;
  --line: #e3e9ee;
  --panel: #f7f9f9;
  --selected: #eaf3ef;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; color: #b0bac5; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; }
button, a, input, textarea, select { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--green); }
[hidden] { display: none !important; }
.icon { width: 21px; height: 21px; display: inline-block; flex: 0 0 auto; vertical-align: middle; opacity: .88; }
.icon-button { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; }
.icon-button:hover, .text-button:hover { background: #edf2f0; }
.text-button { min-height: 40px; padding: 6px 8px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 5px; white-space: nowrap; }
.site-header { height: 64px; padding: 0 40px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; background: #fdfefe; }
.brand { display: inline-flex; align-items: center; gap: 14px; font-size: 24px; font-weight: 700; letter-spacing: .5px; }
.brand-mark { object-fit: contain; width: 48px; height: 48px; }
.header-actions { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.header-separator { width: 1px; height: 17px; background: var(--line); }
.account-button { color: var(--green); font-weight: 500; }
.workspace { display: grid; grid-template-columns: minmax(350px, 34%) minmax(0, 1fr); height: calc(100dvh - 64px); }
.news-panel { position: relative; background: var(--panel); border-right: 1px solid var(--line); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d9e1df transparent; }
.list-toolbar { padding: 26px 36px 0; }
.toolbar-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.date-control, .filter-control { position: relative; }
.date-toggle { display: inline-flex; min-height: 44px; align-items: center; gap: 14px; padding: 9px 16px; border: 1px solid #dae3e8; border-radius: 7px; background: #fcfdfd; font-size: 16px; font-weight: 500; white-space: nowrap; }
.date-toggle:hover { border-color: #a5bdb4; }
.date-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.list-summary { color: var(--muted); font-size: 14px; margin: 15px 0 13px; min-height: 20px; }
.news-list { padding: 0 18px 0 32px; }
.news-item { position: relative; padding: 24px 16px 22px 22px; border-bottom: 1px solid var(--line); }
.news-item.selected { background: var(--selected); border-bottom-color: #dfece6; border-radius: 2px; }
.news-item.selected::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; border-radius: 2px; background: var(--green); }
.news-title { display: block; font-size: 20px; font-weight: 700; line-height: 1.55; letter-spacing: -.15px; }
.news-title:hover { color: var(--green); }
.news-meta { margin-top: 7px; display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--muted); }
.news-meta time { padding-left: 14px; border-left: 1px solid #bfcbd3; line-height: 1; }
.engagement { display: flex; align-items: center; gap: 22px; font-size: 14px; color: #41576a; font-variant-numeric: tabular-nums; }
.news-item .engagement { justify-content: flex-end; margin-top: 13px; }
.metric { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 0; }
.metric .icon { width: 19px; height: 19px; }
button.metric:hover, a.metric:hover { color: var(--green); }
.metric[aria-pressed="true"] { color: var(--green); font-weight: 700; }
.metric[aria-pressed="true"] .icon { filter: invert(26%) sepia(15%) saturate(1300%) hue-rotate(111deg); }
.demo-note { color: #8c99a7; font-size: 11px; padding: 20px 36px; margin: 0; }
.reading-panel { overflow-y: auto; min-width: 0; padding: 30px 36px 48px; scrollbar-width: thin; }
.reading-panel:focus, .workspace:focus { outline: none; }
.article { max-width: 920px; margin: 0 auto; }
.article-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.article h1 { font-size: clamp(25px, 2.45vw, 36px); font-weight: 700; line-height: 1.4; letter-spacing: -.7px; margin: 0; }
.share-button { flex-shrink: 0; margin-top: 3px; font-size: 14px; }
.article-image { width: 100%; height: clamp(210px, 20vw, 294px); object-fit: cover; object-position: center; border-radius: 6px; display: block; background: #f1f4f3; }
.article-lead { font-size: 21px; line-height: 1.6; font-weight: 700; margin: 20px 0 13px; letter-spacing: -.25px; }
.article-copy { color: #536171; font-size: 18px; line-height: 1.85; }
.article-copy > p { margin: 0 0 17px; }
.article-section { margin-top: 20px; }
.article-section h2 { position: relative; font-size: 22px; line-height: 1.5; color: var(--ink); margin: 0 0 9px; padding-left: 24px; font-weight: 700; }
.article-section h2::before { content: ""; position: absolute; width: 5px; height: 24px; background: var(--green); border-radius: 2px; left: 0; top: 5px; }
.article-section p { margin: 0; padding-left: 24px; }
.article-footer { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.reference-link { color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; gap: 5px; }
.reference-link .icon { height: 15px; width: 15px; }
.reference-link:hover { color: var(--green); }
.discussion { margin-top: 23px; padding-top: 14px; border-top: 1px solid var(--line); }
.discussion h2 { font-size: 21px; line-height: 1.5; margin: 0 0 12px; }
.comment-form { display: flex; align-items: flex-start; gap: 13px; }
.avatar { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%; background: #d8e1e8; color: #335564; font-size: 18px; font-weight: 500; }
.avatar.sage { background: #d4e1d0; color: #316045; }
.avatar.blue { background: #d1dfeb; color: #385e78; }
.comment-field { flex: 1; min-width: 0; }
.comment-form textarea { width: 100%; min-height: 44px; max-height: 180px; resize: vertical; border: 1px solid #dce4ec; border-radius: 6px; padding: 11px 14px; font-size: 14px; line-height: 1.5; display: block; color: var(--ink); background: #fff; }
textarea::placeholder, input::placeholder { color: #8c9aab; }
.primary-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 6px; background: var(--green); color: white; font-size: 14px; white-space: nowrap; }
.primary-button:hover { background: var(--green-hover); }
.reply-target { display: flex; gap: 8px; align-items: center; margin-bottom: 7px; color: var(--muted); font-size: 12px; }
.reply-target button { text-decoration: underline; padding: 2px; }
.comment-list { list-style: none; padding: 0; margin: 20px 0 0; }
.comment { display: flex; align-items: flex-start; gap: 13px; margin-top: 20px; }
.comment-content { flex: 1; min-width: 0; font-size: 14px; }
.comment-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-height: 22px; }
.comment-heading strong { font-size: 13px; font-weight: 600; }
.comment-heading time { color: #8191a3; font-size: 12px; }
.comment-content p { color: #627181; line-height: 1.75; margin: 3px 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.reply-button { color: var(--muted); font-size: 12px; gap: 5px; min-height: 30px; padding: 3px 0; }
.reply-button .icon { height: 17px; width: 17px; }
.empty-state { padding: 65px 25px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.8; }
.empty-state h2 { font-size: 20px; color: var(--ink); margin: 0 0 9px; }
.empty-state p { margin: 0; }
.list-empty { padding: 45px 12px; }
.popover { z-index: 10; position: absolute; background: #fff; border: 1px solid #dce4e9; border-radius: 8px; box-shadow: 0 7px 24px #172e2a0d; }
.calendar { top: calc(100% + 8px); left: 0; width: 348px; padding: 14px 16px 20px; }
.calendar-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.calendar-heading h2 { font-size: 16px; font-weight: 600; margin: 0; }
.weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.weekdays { color: var(--muted); font-size: 13px; margin-bottom: 9px; text-align: center; }
.weekdays span { padding: 8px 0; }
.calendar-day { position: relative; height: 40px; width: 100%; border-radius: 6px; font-size: 14px; font-variant-numeric: tabular-nums; }
.calendar-day:not(:disabled):hover { background: var(--selected); }
.calendar-day[aria-current="date"] { box-shadow: inset 0 0 0 1px #b8cdc5; }
.calendar-day[aria-pressed="true"] { background: var(--green); color: white; }
.calendar-day[aria-pressed="true"]:hover { background: var(--green-hover); }
.calendar-day.has-news::after { content: ""; position: absolute; width: 3px; height: 3px; bottom: 4px; left: calc(50% - 1.5px); border-radius: 50%; background: var(--green); }
.calendar-day[aria-pressed="true"]::after { background: #fff; }
.filter-menu { right: 0; top: calc(100% + 8px); padding: 16px; width: 204px; }
.filter-menu label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.filter-menu select { width: 100%; padding: 9px; border: 1px solid var(--line); border-radius: 4px; background: white; font-size: 14px; color: var(--ink); }
#filter-toggle.active { color: var(--green); }
.search-area { display: flex; align-items: center; gap: 9px; border: 1px solid #d6e1de; background: #fff; border-radius: 6px; padding: 3px 6px 3px 12px; margin-top: 17px; }
.search-area .icon { width: 18px; height: 18px; }
.search-area input { width: 100%; min-width: 0; height: 34px; border: 0; outline-offset: 0; font-size: 14px; background: none; }
.search-area input:focus { outline: none; }
.search-area:focus-within { outline: 2px solid #9ab9ac; outline-offset: 2px; }
.search-area .icon-button { width: 30px; height: 30px; }
.back-button { display: none; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 24px; min-height: 32px; }
.workspace.permalink { display: block; }
.workspace.permalink .news-panel { display: none; }
.workspace.permalink .reading-panel { height: 100%; padding-top: 24px; }
.workspace.permalink .article { max-width: 800px; }
.workspace.permalink .back-button { display: inline-flex; }
.workspace.permalink .article-footer { border-block: 1px solid var(--line); padding: 14px 0; }
.workspace.permalink .discussion { border-top: 0; margin-top: 0; padding-top: 15px; }
.workspace.permalink .article-image { height: 270px; }
.account-dialog { width: min(420px, calc(100% - 40px)); padding: 36px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.account-dialog::backdrop { background: #122c2540; }
.dialog-close { position: absolute; right: 10px; top: 10px; }
.account-dialog h2 { font-size: 22px; margin: 0 0 14px; }
.account-dialog p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0 0 24px; }
.account-dialog .primary-button { width: 100%; }
.toast { position: fixed; z-index: 100; bottom: 28px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 40px); padding: 12px 20px; background: #234b40; color: #fff; border-radius: 6px; font-size: 13px; text-align: center; }
.sr-only { position: absolute; height: 1px; width: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 99; top: 8px; left: 15px; transform: translateY(-160%); padding: 10px; background: white; color: var(--green); border: 1px solid var(--green); }
.skip-link:focus { transform: translateY(0); }
.noscript { margin: 24px; }
@media (min-width: 1700px) { .reading-panel { padding-inline: 64px; } .news-list { padding-left: 40px; padding-right: 24px; } .list-toolbar { padding-inline: 44px; } }
@media (max-width: 1100px) and (min-width: 761px) {
  .workspace { grid-template-columns: 330px minmax(0, 1fr); }
  .site-header { padding-inline: 28px; }
  .list-toolbar { padding-inline: 22px; }
  .news-list { padding-inline: 15px; }
  .news-item { padding-inline: 17px; }
  .news-title { font-size: 16px; }
  .engagement { gap: 16px; }
  .reading-panel { padding-inline: 26px; }
  .article h1 { font-size: 26px; }
  .article-lead { font-size: 19px; }
  .article-copy { font-size: 15px; }
  .article-image { height: 220px; }
  .comment-form { flex-wrap: wrap; }
  .comment-form .primary-button { margin-left: auto; }
  .calendar { width: 286px; padding-inline: 10px; }
}
@media (max-width: 760px) {
  .site-header { padding-inline: 20px; height: 64px; }
  .brand { font-size: 22px; gap: 9px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-actions { gap: 10px; }
  #search-toggle span { display: none; }
  #search-toggle { width: 36px; padding: 0; }
  .header-separator { height: 16px; }
  .workspace { display: block; height: auto; min-height: calc(100dvh - 64px); }
  .news-panel { border: 0; background: #fff; overflow: visible; }
  .list-toolbar { padding: 24px 20px 0; }
  .date-toggle { font-size: 15px; gap: 12px; padding-inline: 12px; }
  .list-summary { margin-block: 16px 6px; font-size: 13px; }
  .news-list { padding-inline: 20px; }
  .news-item { padding: 27px 0 22px; min-height: 137px; }
  .news-title { font-size: 19px; line-height: 1.6; letter-spacing: -.2px; }
  .news-meta { font-size: 13px; margin-top: 10px; gap: 10px; }
  .news-meta time { padding-left: 10px; }
  .news-item .engagement { margin-top: 10px; gap: 21px; font-size: 12px; }
  .metric .icon { height: 18px; width: 18px; }
  button.metric, a.metric { min-height: 32px; }
  .news-item.selected { background: none; }
  .news-item.selected::before { display: none; }
  .demo-note { padding: 22px 20px; text-align: center; }
  .reading-panel { display: none; position: relative; padding: 19px 20px 40px; overflow: visible; }
  .workspace.mobile-reading .news-panel { display: none; }
  .workspace.mobile-reading .reading-panel { display: block; }
  .back-button { display: inline-flex; margin-bottom: 18px; }
  .article-top { display: block; margin-bottom: 20px; }
  .article h1 { font-size: 26px; letter-spacing: -.5px; text-wrap: balance; }
  .share-button span { display: none; }
  .share-button { position: absolute; top: 17px; right: 20px; width: 32px; padding: 0; min-height: 36px; margin: 0; }
  .article-image, .workspace.permalink .article-image { height: 180px; }
  .article-lead { font-size: 19px; margin-top: 20px; }
  .article-copy { font-size: 15px; line-height: 1.9; }
  .article-section h2 { font-size: 20px; padding-left: 18px; }
  .article-section h2::before { height: 22px; width: 4px; }
  .article-section p { padding-left: 18px; }
  .article-footer { margin-top: 22px; }
  .article-footer .engagement { gap: 16px; font-size: 12px; }
  .discussion { margin-top: 24px; }
  .discussion h2 { font-size: 20px; }
  .comment-form { gap: 10px; flex-wrap: wrap; }
  .avatar { height: 34px; width: 34px; font-size: 16px; }
  .comment-field { flex-basis: calc(100% - 44px); }
  .comment-form .primary-button { margin-left: auto; min-height: 40px; padding: 8px 15px; font-size: 13px; }
  .comment { gap: 10px; }
  .comment-heading { gap: 6px; }
  .reply-button span { display: none; }
  .calendar { width: min(348px, calc(100vw - 40px)); }
  .calendar-day { height: 42px; }
  .workspace.permalink .reading-panel { padding-top: 19px; }
  .account-dialog { padding: 32px 25px; }
}
@media (prefers-reduced-motion: no-preference) { button, a { transition: color .12s, background-color .12s, border-color .12s; } }
