:root {
  --bg: #f7f7f5;
  --surface: #fff;
  --ink: #25272c;
  --muted: #86878d;
  --line: #e8e8e5;
  --purple: #7560a8;
  --purple-dark: #58437e;
  --lavender: #f1edf8;
  --green: #4a8166;
  --sidebar: 222px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #bcaadb;
  outline-offset: 3px;
}
input:focus,
select:focus {
  outline: 2px solid #c5b5e0;
  outline-offset: 1px;
}
.hidden {
  display: none !important;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  padding: 32px 21px;
  background: #fcfcfb;
  border-right: 1px solid var(--line);
  z-index: 10;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  line-height: 1.25;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.5px;
}
.brand-icon {
  width: 39px;
  height: 41px;
  background: #7560a8;
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
}
.brand-icon span {
  color: #d6e4b4;
  font-size: 31px;
  margin: 8px -2px 0 0;
}
.brand-small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.7px;
  font-weight: 500;
  color: #99969f;
  margin-top: 7px;
}
.workspace-label {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.6px;
  color: #aaa9af;
  margin: 47px 11px 17px;
}
.nav-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  margin-bottom: 7px;
  border-radius: 8px;
  background: none;
  color: #75757d;
  text-align: left;
  font-size: 13px;
}
.nav-button.active {
  background: var(--lavender);
  color: var(--purple-dark);
  font-weight: 600;
}
.nav-button:hover {
  background: #f1f0ef;
}
.nav-icon {
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  color: #9685b5;
  background: #fff9;
  padding: 1px 6px;
  border-radius: 4px;
}
.sidebar-divider {
  height: 1px;
  background: var(--line);
  margin: 22px 10px 0;
}
.sidebar-divider + .workspace-label {
  margin-top: 26px;
}
.sidebar-note {
  font-size: 12px;
  color: #94949a;
  line-height: 2.1;
  margin: 0 11px;
}
.sidebar-bottom {
  margin-top: auto;
}
.local-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #92968e;
  padding: 12px 10px;
}
.dot,
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #80a58e;
  border-radius: 100%;
}
.settings-button {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #7b7b84;
  padding: 13px 9px;
  background: none;
  font-size: 12px;
  border-top: 1px solid var(--line);
  width: 100%;
}
.settings-button span:last-child {
  margin-left: auto;
}
.workspace {
  margin-left: var(--sidebar);
}
.topbar {
  height: 75px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 43px;
  font-size: 11px;
  color: #65656d;
  letter-spacing: 0.2px;
}
.topbar-prefix {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #a2a1a8;
}
.slash {
  margin: 0 16px;
  color: #d0cfd3;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 10px;
  color: #8d8e92;
}
.avatar {
  width: 29px;
  height: 29px;
  background: #e9e5df;
  border: 3px solid white;
  border-radius: 100%;
  font-family: Georgia, serif;
  display: grid;
  place-items: center;
  color: #7d756b;
  font-size: 12px;
}
main {
  max-width: 1510px;
  margin: auto;
  padding: 0 43px;
}
.hero {
  min-height: 252px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 1.7px;
  font-size: 9px;
  color: var(--purple);
  font-weight: 650;
}
.tiny-spark {
  font-size: 17px;
  line-height: 1;
}
.hero h1 {
  font-size: 36px;
  letter-spacing: 1px;
  line-height: 1.35;
  font-weight: 600;
  margin: 17px 0 10px;
}
.hero p {
  color: #77777f;
  font-size: 13px;
  letter-spacing: 0.3px;
  margin: 0;
}
.serif {
  font-family: Georgia, serif;
  font-size: 16px;
  font-style: italic;
  color: #615776;
}
.hero-meta {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: #a1a1a6;
  margin-top: 23px;
}
.meta-separator {
  margin: 0 5px;
  color: #d2d0d4;
}
.hero-right {
  display: flex;
  align-items: center;
  gap: 25px;
}
.primary-button {
  background: #7560a8;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  border: 1px solid #7560a8;
  padding: 11px 17px;
  border-radius: 8px;
  font-size: 12px;
  box-shadow: 0 3px 5px #7560a812;
  white-space: nowrap;
  transition: 0.2s;
}
.primary-button:hover {
  background: var(--purple-dark);
}
#refresh-icon {
  font-size: 17px;
  line-height: 1;
}
.orbit-art {
  width: 180px;
  height: 160px;
  position: relative;
  opacity: 0.8;
}
.orbit {
  position: absolute;
  top: 45px;
  left: 15px;
  width: 148px;
  height: 66px;
  border: 1px solid #c6badb;
  border-radius: 100%;
  transform: rotate(-30deg);
}
.orbit.two {
  transform: rotate(30deg);
}
.orbit.three {
  transform: rotate(90deg);
}
.orbit-core {
  position: absolute;
  left: 73px;
  top: 56px;
  font-size: 37px;
  color: #9981b8;
  line-height: 1;
}
.orbit-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a0b48c;
  border: 2px solid var(--bg);
}
.n1 {
  left: 30px;
  top: 101px;
}
.n2 {
  left: 140px;
  top: 43px;
  background: #bca7d2;
}
.art-label {
  position: absolute;
  font-family: monospace;
  color: #a8a1b3;
  font-size: 7px;
  letter-spacing: 1px;
}
.a1 {
  top: 30px;
  left: 1px;
}
.a2 {
  bottom: 24px;
  right: 7px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 21px 0 22px;
  margin-bottom: 37px;
}
.stats > div {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #eeedeb;
}
.stats > div:first-child {
  border: 0;
}
.stat-label {
  font-size: 10px;
  color: #81818a;
}
.stat-value {
  font-size: 32px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -1.3px;
  font-variant-numeric: tabular-nums;
  margin: 5px 0;
}
.stat-unit {
  font-size: 9px;
  color: #aaa7ae;
  letter-spacing: 0.5px;
  margin-left: 8px;
  font-weight: 400;
}
.stat-hint {
  font-size: 9px;
  color: #a1a0a8;
}
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 273px;
  gap: 27px;
}
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 20px;
}
.section-title-row h2 {
  font-size: 16px;
  letter-spacing: 0.3px;
  font-weight: 600;
  margin: 0;
}
.section-en {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #a5a3ac;
  margin-left: 12px;
  font-weight: 400;
}
.filter-tabs {
  display: flex;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 17px;
  flex-wrap: wrap;
}
.filter-tab {
  background: none;
  padding: 7px 11px;
  border-radius: 6px;
  color: #909098;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.filter-tab.active {
  color: var(--purple-dark);
  background: #eae5f2;
  font-weight: 600;
}
.filter-tab:hover {
  background: #efeeef;
}
.source-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.source-dot.arxiv {
  background: #b2675f;
}
.source-dot.xiaohongshu {
  background: #e5798a;
}
.x-mark {
  color: #53565c;
  font-size: 12px;
}
.search-row {
  display: flex;
  gap: 10px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  padding: 0 12px;
  flex: 1;
  min-width: 0;
  height: 39px;
  color: #96949d;
}
.search-box > span {
  font-size: 23px;
  line-height: 1;
  margin-top: -3px;
}
.search-box input {
  border: 0;
  background: none;
  min-width: 0;
  width: 100%;
  font-size: 11px;
  color: #4e4e56;
  padding: 7px 0;
  outline: 0;
}
.search-box:focus-within {
  border-color: #b49bd3;
}
.search-box input::placeholder {
  color: #a6a4ad;
}
.search-row select {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 10px;
  color: #7b7982;
  font-size: 10px;
  max-width: 110px;
}
.secondary-filters {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 9px;
  color: #a2a0a8;
  margin: 13px 0 19px;
  flex-wrap: wrap;
}
.secondary-filters select {
  background: none;
  border: 0;
  color: #8e8b95;
  font-size: 10px;
  max-width: 105px;
}
.date-filter {
  display: flex;
  gap: 4px;
  align-items: center;
}
.date-filter input {
  border: 0;
  background: none;
  font-size: 9px;
  color: #9a96a2;
  width: 107px;
}
.secondary-filters #results-count {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.text-button {
  background: none;
  font-size: 10px;
  color: var(--purple);
  padding: 0;
}
.paper-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 14px;
  padding: 22px 23px 19px;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.paper-card:hover {
  border-color: #cfc5dd;
  box-shadow: 0 4px 18px #43355805;
}
.paper-card.featured {
  background: linear-gradient(125deg, #f5f2fa, white 85%);
  border-color: #dcd3e9;
}
.pick-label {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #8a74aa;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 15px;
}
.pick-label span {
  color: #b6a8ca;
  font-size: 8px;
  letter-spacing: 0.2px;
}
.card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: #a09ca7;
}
.source-label {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1px;
}
.source-label.arxiv {
  background: #f8edeb;
  color: #a86660;
}
.source-label.x {
  background: #eff0f0;
  color: #62666c;
}
.source-label.xiaohongshu {
  background: #fcecf0;
  color: #d67286;
}
.source-label.web {
  background: #eaf4ef;
  color: #689481;
}
.card-date {
  margin-left: auto;
  font-size: 9px;
  white-space: nowrap;
}
.save-button {
  background: none;
  color: #b2abbc;
  font-size: 20px;
  line-height: 1;
  padding: 0 0 0 8px;
}
.save-button.saved {
  color: var(--purple);
}
.title-button {
  display: block;
  padding: 0;
  text-align: left;
  background: none;
  color: #303139;
  line-height: 1.5;
  font-size: 17px;
  font-weight: 570;
  letter-spacing: -0.3px;
  margin: 12px 0 6px;
  overflow-wrap: anywhere;
}
.title-button:hover {
  color: var(--purple-dark);
}
.chinese-title {
  font-size: 11px;
  color: #82798f;
  margin: 0 0 10px;
}
.paper-summary {
  font-size: 12px;
  color: #7e7b85;
  line-height: 1.9;
  margin: 10px 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pending-label {
  color: #9990a5;
  background: #f7f5fa;
  border-radius: 4px;
  font-size: 9px;
  padding: 2px 6px;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 12px 0 17px;
}
.tag {
  font-size: 9px;
  padding: 2px 7px;
  background: #f5f4f6;
  color: #8c8597;
  border-radius: 4px;
}
.card-bottom {
  border-top: 1px solid #eeebf2;
  padding-top: 12px;
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 10px;
}
.read-more {
  color: #82719a;
  background: none;
  padding: 0;
  font-size: 10px;
}
.original-link {
  color: #aaa4b2;
  font-size: 10px;
}
.score {
  color: #a39aaa;
  font-size: 8px;
  margin-left: auto;
}
.score b {
  color: #8c76a9;
  font-size: 10px;
  font-weight: 500;
}
.right-column {
  padding-top: 0;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 18px;
  margin-bottom: 20px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.panel h2 {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
}
.mono {
  font-family: monospace;
  font-size: 7px;
  letter-spacing: 1px;
  color: #b1aab8;
}
.source-status-row {
  display: grid;
  grid-template-columns: 29px 1fr auto;
  gap: 9px;
  margin-bottom: 18px;
  align-items: start;
}
.source-symbol {
  width: 29px;
  height: 29px;
  border: 1px solid #eae5ec;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #8a6e77;
  font-size: 12px;
  background: #fcfbfc;
}
.source-symbol.xiaohongshu {
  font-size: 9px;
  color: #cb7383;
}
.source-symbol.x {
  color: #30333a;
  font-size: 16px;
}
.status-name {
  font-size: 11px;
  line-height: 1.6;
  font-weight: 500;
}
.status-description {
  font-size: 8px;
  color: #aba5b2;
  line-height: 1.8;
  margin-top: 3px;
  word-break: break-word;
}
.status-chip {
  font-size: 8px;
  color: #76a288;
  background: #eff6f1;
  padding: 2px 5px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 1px;
}
.status-chip.error {
  color: #b08d57;
  background: #faf3e7;
}
.status-chip.empty,
.status-chip.pending {
  color: #a19aa9;
  background: #f3f1f5;
}
.panel-footnote {
  font-size: 8px;
  color: #aaa5b2;
  border-top: 1px solid #f0edf3;
  padding-top: 13px;
  line-height: 1.8;
}
.focus-panel {
  background: #f0f1eb;
  border-color: #e7e9de;
  padding-bottom: 0;
  overflow: hidden;
}
.focus-panel .panel-heading {
  margin-bottom: 9px;
}
.little-star {
  color: #9faaa0;
  font-size: 20px;
  line-height: 1;
}
.focus-panel > p {
  font-size: 10px;
  color: #8e9686;
  margin: 0 0 19px;
}
.focus-flow {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 9px;
  color: #b5baae;
}
.focus-flow > span:nth-child(odd) {
  background: #fafbf7;
  padding: 5px 10px;
  border: 1px solid #e2e5d9;
  border-radius: 4px;
  color: #8c9582;
}
.focus-flow .flow-active {
  background: #e0e7d6 !important;
  color: #6f8557 !important;
  border-color: #d2ddc5 !important;
}
.focus-list {
  padding: 0;
  list-style: none;
  font-size: 9px;
  color: #8c9483;
  line-height: 2.8;
  margin: 14px 0 19px;
}
.focus-list li:before {
  content: "↗";
  margin-right: 8px;
  color: #a3ad98;
}
.focus-note {
  border-top: 1px solid #e0e4d9;
  margin: 0 -18px;
  background: #e9ede2;
  padding: 13px 18px;
  font-size: 9px;
  line-height: 1.9;
  color: #97a08d;
}
.model-note {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 3px 7px;
}
.model-icon {
  border: 1px solid #e4dfea;
  border-radius: 7px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: #9c88b6;
  font-size: 20px;
  background: #f1edf6;
}
.model-note strong {
  font-size: 9px;
  font-weight: 500;
  color: #93879f;
}
.model-note p {
  font-size: 8px;
  line-height: 1.8;
  margin: 4px 0;
  color: #b2a9bc;
  overflow-wrap: anywhere;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 43px;
  padding: 21px 0 30px;
  font-size: 8px;
  color: #b4b0b9;
  letter-spacing: 1px;
}
footer > span:last-child {
  letter-spacing: 0.1px;
  font-family: Georgia, serif;
  font-style: italic;
}
.footer-star {
  margin-left: 12px;
  font-size: 13px;
  color: #c2b8cf;
}
.loading-state,
.empty-state {
  padding: 65px 20px;
  text-align: center;
  color: #a39aa9;
  font-size: 12px;
  line-height: 2;
  border: 1px dashed #ded7e5;
  border-radius: 10px;
  background: #fff8;
}
.empty-symbol {
  font-family: Georgia, serif;
  font-size: 38px;
  color: #b9aacb;
  margin-bottom: 12px;
}
.empty-state h3 {
  color: #7c6e8d;
  font-size: 15px;
  font-weight: 500;
  margin: 8px;
}
.empty-state p {
  max-width: 340px;
  margin: 0 auto;
  font-size: 11px;
}
.empty-state button {
  margin: 20px auto 0;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #968d9f;
  padding: 12px 0;
}
.secondary-button {
  background: white;
  border: 1px solid #e1dce7;
  border-radius: 6px;
  padding: 7px 13px;
  font-size: 10px;
  color: #8d7c9e;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 21px;
  background: #42394e;
  color: white;
  border-radius: 8px;
  z-index: 100;
  font-size: 12px;
  box-shadow: 0 5px 25px #0002;
  max-width: 90vw;
}
.spinning {
  animation: spin 1.5s linear infinite;
}
.loading-orbit {
  width: 14px;
  height: 14px;
  border: 1px solid #c4b7d5;
  border-top-color: #7560a8;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
dialog {
  border: 1px solid #e6deed;
  border-radius: 16px;
  width: min(720px, calc(100vw - 36px));
  max-height: 88vh;
  padding: 37px 40px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 25px 90px #30233c33;
}
dialog::backdrop {
  background: #25202c66;
  backdrop-filter: blur(4px);
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 10px;
  background: none;
  font-size: 25px;
  color: #a497af;
}
.detail-title {
  font-size: 24px;
  line-height: 1.5;
  margin: 15px 0 7px;
  letter-spacing: -0.4px;
}
.detail-english {
  font-size: 13px;
  color: #aaa0b3;
  margin-bottom: 22px;
}
.detail-section {
  margin: 24px 0;
}
.detail-section h3 {
  font-size: 12px;
  font-weight: 600;
  color: #88719d;
  margin: 0 0 8px;
}
.detail-section p,
.detail-section li {
  font-size: 13px;
  color: #777080;
  line-height: 2;
}
.detail-section ul {
  padding-left: 20px;
}
.detail-evidence {
  background: #f6f3f8;
  border-radius: 8px;
  padding: 14px 17px;
  color: #93889e;
  font-size: 11px;
  line-height: 1.9;
}
.detail-original {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  color: #8d8299;
  line-height: 1.9;
}
details {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  font-size: 12px;
  color: #9e8cae;
  margin-top: 24px;
}
summary {
  cursor: pointer;
}
.detail-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 24px;
}
.setting-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #f0ecf3;
  font-size: 12px;
}
.setting-row > span:first-child {
  color: #a39aa9;
}
.settings-note {
  background: #f7f4fa;
  border-radius: 8px;
  padding: 17px;
  margin-top: 23px;
  font-size: 12px;
  color: #93829f;
  line-height: 2;
}
.settings-note code {
  font-size: 11px;
}
.activity-card {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 15px;
}
.activity-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.activity-card p {
  font-size: 11px;
  color: #9a8fa4;
  margin: 11px 0;
}
.activity-source {
  border-top: 1px solid #f0edf3;
  padding: 9px 0;
  font-size: 11px;
  color: #9a90a3;
}
.activity-source b {
  font-weight: 500;
  color: #877991;
}
.activity-error {
  color: #b38d62 !important;
}
@media (min-width: 1500px) {
  .hero h1 {
    font-size: 42px;
  }
  .hero {
    min-height: 275px;
  }
  .content-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
  }
  .paper-card {
    padding: 25px 28px;
  }
  .title-button {
    font-size: 19px;
  }
  .paper-summary {
    font-size: 13px;
  }
  .sidebar {
    width: 240px;
  }
  :root {
    --sidebar: 240px;
  }
  .orbit-art {
    margin-right: 32px;
  }
}
@media (max-width: 1180px) {
  :root {
    --sidebar: 190px;
  }
  .sidebar {
    padding: 28px 15px;
  }
  .brand {
    font-size: 16px;
  }
  .brand-small {
    font-size: 7px;
  }
  .topbar {
    padding: 0 28px;
  }
  main {
    padding: 0 28px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .orbit-art {
    display: none;
  }
  .hero {
    min-height: 240px;
  }
  .content-layout {
    grid-template-columns: minmax(0, 1fr) 237px;
    gap: 20px;
  }
  .stats > div {
    padding: 0 19px;
  }
  .stat-hint {
    font-size: 8px;
  }
  .section-en {
    display: none;
  }
  .panel {
    padding: 18px 15px;
  }
  .focus-note {
    margin: 0 -15px;
  }
  .card-date {
    font-size: 8px;
  }
  .title-button {
    font-size: 16px;
  }
}
@media (max-width: 960px) {
  :root {
    --sidebar: 170px;
  }
  .sidebar {
    padding: 25px 12px;
  }
  .brand {
    font-size: 14px;
    gap: 8px;
  }
  .brand-icon {
    width: 33px;
    height: 36px;
    font-size: 35px;
  }
  .brand-small {
    font-size: 6px;
  }
  .workspace-label {
    font-size: 8px;
    margin-left: 7px;
    letter-spacing: 1px;
  }
  .sidebar-note {
    font-size: 11px;
    margin-left: 7px;
  }
  .nav-button {
    font-size: 12px;
    padding: 10px;
  }
  .content-layout {
    grid-template-columns: 1fr;
  }
  .right-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 20px;
  }
  .model-note {
    grid-column: 1/-1;
  }
  .stats > div {
    padding: 0 15px;
  }
  .stat-hint {
    display: none;
  }
  .stat-value {
    font-size: 28px;
  }
  .hero-meta {
    font-size: 9px;
  }
  .hero p {
    font-size: 11px;
  }
  .stat-unit {
    font-size: 8px;
  }
  .hero h1 {
    font-size: 30px;
  }
}
@media (max-width: 680px) {
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 17px 20px 10px;
    display: block;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 18px;
  }
  .brand-icon {
    width: 35px;
    height: 38px;
  }
  .brand-small {
    font-size: 7px;
  }
  .sidebar .workspace-label,
  .sidebar-divider,
  .sidebar-note,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    margin-top: 18px;
    gap: 8px;
  }
  .nav-button {
    margin: 0;
    padding: 8px 10px;
    font-size: 11px;
    justify-content: center;
    width: auto;
    flex: 1;
    gap: 7px;
  }
  .nav-count {
    margin-left: 1px;
  }
  .nav-icon {
    font-size: 15px;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 49px;
    padding: 0 21px;
  }
  .topbar-right {
    gap: 12px;
  }
  .topbar-prefix {
    font-size: 8px;
  }
  .topbar {
    font-size: 10px;
  }
  .avatar {
    width: 23px;
    height: 23px;
  }
  main {
    padding: 0 20px;
  }
  .hero {
    min-height: 231px;
    gap: 6px;
  }
  .hero h1 {
    font-size: 29px;
    margin-top: 13px;
  }
  .hero p {
    font-size: 11px;
    max-width: 235px;
    line-height: 1.9;
  }
  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 1.2px;
  }
  .hero-meta {
    font-size: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
    gap: 5px;
    max-width: 225px;
  }
  .primary-button {
    padding: 10px 11px;
    font-size: 10px;
    gap: 6px;
  }
  .hero-right {
    align-self: flex-end;
    margin-bottom: 38px;
  }
  .stats {
    padding: 16px 0;
    margin-bottom: 28px;
    grid-template-columns: 1fr 1fr;
    row-gap: 17px;
  }
  .stats > div {
    padding: 0 18px;
  }
  .stats > div:nth-child(3) {
    border-left: 0;
  }
  .stat-label {
    font-size: 9px;
  }
  .stat-value {
    font-size: 29px;
    margin: 2px 0;
  }
  .stat-hint {
    display: block;
    font-size: 8px;
  }
  .stat-unit {
    font-size: 8px;
  }
  .right-column {
    grid-template-columns: 1fr;
  }
  .model-note {
    grid-column: auto;
  }
  .section-title-row {
    margin-bottom: 16px;
  }
  .section-title-row h2 {
    font-size: 15px;
  }
  .filter-tabs {
    gap: 2px;
  }
  .filter-tab {
    padding: 6px 8px;
    font-size: 10px;
  }
  .paper-card {
    padding: 19px 17px;
  }
  .title-button {
    font-size: 16px;
  }
  .paper-summary {
    font-size: 11px;
  }
  .secondary-filters {
    gap: 8px;
  }
  .secondary-filters #results-count {
    font-size: 8px;
  }
  .score {
    font-size: 7px;
  }
  .card-bottom {
    gap: 12px;
  }
  .card-top {
    font-size: 8px;
    gap: 6px;
  }
  .source-label {
    font-size: 8px;
  }
  .card-date {
    font-size: 8px;
  }
  .panel {
    margin-bottom: 0;
  }
  .right-column {
    margin-top: 24px;
  }
  footer {
    margin-top: 32px;
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  footer > span:last-child {
    font-size: 8px;
    max-width: 145px;
    text-align: right;
  }
  dialog {
    padding: 30px 23px;
  }
  .detail-title {
    font-size: 21px;
  }
  .detail-section p {
    font-size: 12px;
  }
  .detail-actions {
    flex-wrap: wrap;
  }
  .sidebar .brand:after {
    content: "● LOCAL";
    font-size: 8px;
    font-weight: 400;
    color: #87a58c;
    letter-spacing: 1px;
    margin-left: auto;
  }
  .empty-state {
    padding: 45px 16px;
  }
  .search-row select {
    font-size: 9px;
    width: 95px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Keep research text readable in both the desktop desk and the narrow app panel. */
.stat-label {
  font-size: 11px;
}
.stat-hint {
  font-size: 10px;
}
.source-label,
.card-date,
.card-top {
  font-size: 10px;
}
.filter-tab {
  font-size: 12px;
}
.search-box input {
  font-size: 12px;
}
.tag {
  font-size: 10px;
}
.paper-summary {
  font-size: 13px;
}
.chinese-title {
  font-size: 12px;
}
.status-description,
.panel-footnote {
  font-size: 10px;
}
.status-chip {
  font-size: 9px;
}
.focus-list {
  font-size: 11px;
}
.focus-panel > p,
.focus-note {
  font-size: 11px;
}
.model-note strong {
  font-size: 11px;
}
.model-note p {
  font-size: 10px;
}
.card-bottom .read-more,
.card-bottom .original-link {
  font-size: 11px;
}
.hero-meta {
  font-size: 11px;
}
.secondary-filters,
.secondary-filters select,
.date-filter input {
  font-size: 10px;
}
.score {
  font-size: 9px;
}
.right-column .panel-heading .mono {
  font-size: 8px;
}
@media (max-width: 680px) {
  .hero {
    min-height: 220px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 12px;
    max-width: 250px;
  }
  .hero-meta {
    font-size: 10px;
    max-width: 260px;
  }
  .hero-right {
    margin-bottom: 35px;
  }
  .filter-tab {
    font-size: 11px;
    padding: 7px 8px;
  }
  .stat-hint {
    font-size: 10px;
  }
  .paper-summary {
    font-size: 13px;
  }
  .title-button {
    font-size: 18px;
  }
  .chinese-title {
    font-size: 12px;
  }
  .tag {
    font-size: 11px;
  }
  .card-date {
    font-size: 10px;
  }
  .secondary-filters #results-count {
    font-size: 10px;
  }
  .card-bottom .read-more,
  .card-bottom .original-link {
    font-size: 12px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .search-row select {
    font-size: 11px;
  }
  .source-status-row {
    grid-template-columns: 29px 1fr auto;
  }
  .source-label {
    font-size: 10px;
  }
  .score {
    font-size: 9px;
  }
  .hero-meta .meta-separator {
    display: none;
  }
  .hero-meta > span:last-child {
    width: 100%;
    margin-left: 11px;
  }
}

.priority-note {
  margin: -5px 0 17px;
  color: #88749c;
  font-size: 11px;
  line-height: 1.8;
}
.focus-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 8px;
  border-radius: 5px;
  background: #f3f2f4;
  color: #918897;
  font-size: 10px;
}
.focus-badge.direct {
  background: #eee8f7;
  color: #71528f;
}
.search-row select {
  max-width: 135px;
}
.secondary-filters select {
  max-width: 160px;
}
@media (max-width: 680px) {
  .search-row select {
    width: 125px;
  }
  .focus-badge {
    font-size: 11px;
  }
}

.feed-column { min-width: 0; }
.paper-summary { overflow-wrap: anywhere; }
.benchmark-evidence { margin: 10px 0 16px; padding: 12px 14px; background: #f2f5ee; border-radius: 8px; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.benchmark-evidence strong { display: block; color: #3f5848; }
.benchmark-evidence small { color: #687368; }
.benchmark-evidence p { margin: 6px 0; }

/* Dedicated research sections and readable, named filters. */
.nav-button { gap: 9px; font-size: 13px; }
.direct-nav.active { background: #e9e1f4; box-shadow: inset 3px 0 #7560a8; }
.nav-count { color: #65527e; font-size: 11px; }
.hero { min-height: 160px; padding: 25px 0; gap: 20px; }
.hero h1 { font-size: 30px; margin: 10px 0 8px; }
.hero p { color: #62626c; font-size: 14px; max-width: 560px; }
.hero .eyebrow { font-size: 10px; }
.hero-meta { margin-top: 14px; color: #676770; }
.orbit-art { display: none; }
.hero-right { align-self: center; margin: 0; }
.stats { padding: 18px 0; margin-bottom: 25px; }
.stat-value { font-size: 26px; margin: 1px 0; }
.stat-label, .stat-hint { color: #696974; }
.section-title-row h2 { font-size: 19px; }
.filter-panel { padding: 20px; background: #fff; border: 1px solid #dedde4; border-radius: 12px; }
#search-form { display: flex; gap: 8px; margin-bottom: 18px; }
#search-form .search-box { min-height: 46px; border: 1px solid #cbc3d7; background: #faf9fc; }
#search-form input { font-size: 14px; color: #31313a; }
#search-form input::placeholder { color: #77727f; }
.search-submit { background: #68508d; color: #fff; border-radius: 7px; padding: 0 18px; font-size: 14px; }
.filter-group { display: grid; grid-template-columns: 68px minmax(0, 1fr); align-items: start; gap: 12px; margin-top: 14px; }
.filter-label { font-size: 12px; font-weight: 600; color: #625d6a; padding-top: 7px; white-space: nowrap; }
.filter-options { display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; }
.filter-chip { display: inline-flex; gap: 7px; align-items: center; min-height: 34px; padding: 5px 10px; font-size: 12px; line-height: 1.5; color: #57525e; background: #f6f5f8; border: 1px solid #e7e4eb; border-radius: 6px; overflow-wrap: anywhere; max-width: 100%; text-align: left; }
.filter-chip:hover, .tag-button:hover { border-color: #9e89bc; background: #f1ebf8; }
.filter-chip.active, .tag-button.active { background: #eee6f7; border-color: #9273b3; color: #52346f; font-weight: 600; }
.filter-chip:disabled { opacity: 1; color: #939099; background: #fbfbfc; border-color: #efedf2; }
.chip-count { font-size: 11px; font-variant-numeric: tabular-nums; color: #7d7487; }
.filter-empty { color: #77717e; font-size: 12px; padding: 7px 0; }
.tag-options { min-width: 0; }
#more-tags { display: block; font-size: 12px; margin-top: 10px; min-height: 28px; color: #684b87; }
.filter-settings { display: flex; gap: 12px; flex-wrap: wrap; border-top: 1px solid #eeeaf2; margin-top: 18px; padding-top: 16px; }
.filter-settings label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #625d6a; }
.filter-settings select, .filter-settings input { color: #494450; background: #fff; border: 1px solid #dcd7e3; border-radius: 6px; padding: 6px 8px; min-height: 34px; font-size: 12px; max-width: 150px; }
.active-filters { display: flex; align-items: start; flex-wrap: wrap; gap: 7px; padding-top: 14px; margin-top: 14px; border-top: 1px dashed #d9d0e3; }
.active-filters .filter-label { margin-right: 5px; }
.selected-filter { background: #ece5f5; color: #52346f; padding: 5px 9px; border-radius: 5px; font-size: 12px; max-width: 100%; overflow-wrap: anywhere; text-align: left; }
.selected-filter span { font-size: 16px; margin-left: 4px; }
.results-toolbar { display: flex; justify-content: space-between; gap: 15px; margin: 17px 0 10px; align-items: center; }
#results-count { font-size: 13px; color: #4c4655; font-weight: 600; }
#reset-filters { font-size: 12px; color: #6a4b8a; min-height: 30px; }
.priority-note { color: #706678; font-size: 12px; line-height: 1.8; margin: 0 0 18px; }
.paper-card .title-button { font-size: 19px; font-weight: 600; }
.chinese-title { font-size: 12px; color: #77717e; line-height: 1.7; }
.paper-summary { color: #55515d; font-size: 14px; }
.tag-button { color: #675775; border: 1px solid #e6deed; background: #f6f2f9; font-size: 12px; padding: 4px 9px; max-width: 100%; overflow-wrap: anywhere; text-align: left; }
.control-link { font-size: 12px; background: none; padding: 0; color: #62536f; }
.control-link:hover { text-decoration: underline; }
.source-label, .card-date { font-size: 11px; }
.focus-badge { font-size: 11px; color: #706777; }
@media (max-width: 680px) {
  .sidebar { padding: 13px 16px 10px; }
  .sidebar nav { flex-wrap: wrap; gap: 6px; margin-top: 14px; }
  .nav-button { flex: 1 0 auto; font-size: 12px; padding: 9px 8px; white-space: nowrap; }
  .nav-count { padding: 0 4px; }
  .hero { padding: 20px 0; min-height: 0; align-items: start; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 13px; max-width: none; }
  .hero-right { align-self: start; margin-top: 34px; flex-shrink: 0; }
  .hero-meta { max-width: none; }
  .hero-meta > span:last-child { display: none; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 13px 0; gap: 0; margin-bottom: 23px; }
  .stats > div { padding: 0 12px; }
  .stats > div:nth-child(3) { border-left: 1px solid #eeedeb; }
  .stat-label { font-size: 10px; }
  .stat-value { font-size: 24px; }
  .stat-hint { display: none; }
  .filter-panel { padding: 16px; }
  .filter-group { grid-template-columns: 1fr; gap: 6px; margin-top: 13px; }
  .filter-label { padding-top: 0; }
  .filter-chip { font-size: 12px; min-height: 36px; }
  #search-form input { font-size: 13px; }
  .filter-settings { gap: 10px 14px; }
  .paper-card .title-button { font-size: 19px; }
}
@media (max-width: 420px) {
  main { padding: 0 14px; }
  .hero { gap: 10px; }
  .hero h1 { font-size: 23px; }
  .hero .eyebrow { display: none; }
  .hero-right { margin-top: 12px; }
  .hero p { font-size: 12px; }
  .filter-panel { padding: 13px; }
  .search-submit { padding: 0 12px; }
  .filter-settings label { flex: 1 1 135px; }
  .filter-settings select, .filter-settings input { flex: 1; min-width: 0; }
}
