:root {
  --paper: #f4f1e9;
  --surface: #fffdf7;
  --ink: #152e2b;
  --muted: #66726f;
  --line: #d7d9d1;
  --accent: #b45435;
  --teal: #1e6158;
  --soft-teal: #e5eeea;
  --radius: 14px;
  --shadow: 0 20px 60px rgba(27, 53, 48, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  text-rendering: optimizeLegibility;
}

button, input, select { font: inherit; }
button, select { color: inherit; }
a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 76px;
  padding: 12px clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  background: rgba(244, 241, 233, .94);
  border-bottom: 1px solid rgba(21, 46, 43, .13);
  backdrop-filter: blur(12px);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-logo { display: block; width: 36px; height: 36px; flex: none; }

.brand strong {
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.035em;
}

.mode-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, .65);
}

.mode-tab {
  padding: 8px 17px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}

.mode-tab.is-active {
  color: var(--surface);
  background: var(--ink);
}

.search {
  justify-self: end;
  width: min(100%, 300px);
  height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 247, .7);
}

.search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30, 97, 88, .1); }
.search svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; }
.search input::placeholder { color: #89928f; }
.search kbd { padding: 2px 6px; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; font-size: 11px; }

main {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}

.content,
.card-list,
.card-body { min-width: 0; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.workspace {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 78px);
  padding: 58px 0 80px;
}

.filters {
  align-self: start;
  position: sticky;
  top: 108px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.filter-list { margin-top: 10px; }

.filter-button {
  width: 100%;
  padding: 9px 2px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.filter-button:hover, .filter-button.is-active { color: var(--ink); }
.filter-button.is-active { font-weight: 700; }
.filter-button.is-active::before { content: "—"; color: var(--accent); }
.filter-button.is-active span:first-of-type { margin-right: auto; }

.filter-count {
  min-width: 26px;
  padding: 2px 7px;
  color: var(--muted);
  background: rgba(21, 46, 43, .07);
  border-radius: 99px;
  text-align: center;
  font-size: 11px;
}

.distribution-card {
  margin-top: 20px;
  padding: 14px;
  display: grid;
  grid-template-areas: "head head" "chart legend";
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  background: var(--soft-teal);
  border-radius: 10px;
}

.distribution-head {
  grid-area: head;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
}

.distribution-head > span {
  padding: 3px 7px;
  color: var(--muted);
  border: 1px solid rgba(21, 46, 43, .14);
  border-radius: 99px;
  font-size: 10px;
}

.distribution-kicker {
  margin: 0 0 3px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}

.distribution-head strong { color: var(--ink); font-size: 12px; font-weight: 650; }

.distribution-chart {
  grid-area: chart;
  position: relative;
  width: 68px;
  aspect-ratio: 1;
  margin: 14px 0 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.distribution-chart::after {
  content: "";
  position: absolute;
  inset: 9px;
  background: var(--soft-teal);
  border-radius: 50%;
}

.distribution-chart > span {
  position: relative;
  z-index: 1;
  display: grid;
  color: var(--ink);
  text-align: center;
  line-height: 1;
}

.distribution-chart b { font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.distribution-chart small { margin-top: 4px; color: var(--muted); font-size: 10px; }

.distribution-legend {
  grid-area: legend;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 5px;
  list-style: none;
}

.distribution-legend li {
  min-width: 0;
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) auto 25px;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
}

.distribution-legend i { width: 7px; height: 7px; border-radius: 2px; }
.distribution-legend span { overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.distribution-legend b { color: var(--ink); font-family: Georgia, serif; font-size: 12px; font-weight: 500; }
.distribution-legend small { text-align: right; }

.content-header {
  min-height: 72px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--ink);
}

.content-header h2 {
  margin: 0 0 20px;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -.035em;
}

#sortSelect {
  padding: 8px 28px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 12px;
}

.content-controls { display: flex; align-items: center; gap: 8px; }

.paper-view-tabs {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 253, 247, .65);
}

.paper-view-tabs[hidden] { display: none; }

.paper-view-tab {
  padding: 6px 11px;
  color: var(--muted);
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.paper-view-tab.is-active {
  color: var(--surface);
  background: var(--teal);
}

#academicYear {
  padding: 8px 28px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 12px;
}

.paper-card {
  position: relative;
  padding: 28px 52px 28px 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.paper-card:hover .paper-title-button { color: var(--accent); }
.paper-card::after {
  content: "↗";
  position: absolute;
  top: 30px;
  right: 5px;
  font-size: 20px;
  transition: transform .18s ease;
}
.paper-card:hover::after { transform: translate(3px, -3px); }

.card-meta { color: var(--muted); font-size: 12px; line-height: 1.7; }
.card-meta strong { display: block; margin-bottom: 7px; color: var(--teal); font-weight: 700; }
.card-body h3 { max-width: 850px; margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(19px, 2vw, 25px); font-weight: 500; line-height: 1.35; }
.card-body h3,
.dialog-title,
.glossary-section dt { overflow-wrap: anywhere; }
.paper-title-button {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}
.paper-author-list { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.card-summary { max-width: 850px; margin: 13px 0 0; color: var(--muted); font-size: 14px; line-height: 1.72; }

.tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 9px; color: var(--teal); border: 1px solid #b9ccc6; border-radius: 99px; font-size: 11px; }
.tag.domain { color: var(--surface); background: var(--teal); border-color: var(--teal); }
.tag.status { color: var(--accent); border-color: #dec0b5; }

.viewpoint-card { grid-template-columns: 150px minmax(0, 1fr); cursor: default; }
.viewpoint-card::after { content: none; }
.viewpoint-card h3 a { text-decoration: none; }
.viewpoint-card h3 a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.viewpoint-evidence { margin: 18px 0 0; display: grid; gap: 8px; }
.viewpoint-evidence div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
.viewpoint-evidence dt { color: var(--ink); font-size: 12px; font-weight: 700; }
.viewpoint-evidence dd { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.highlights { margin: 17px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.highlights li + li { margin-top: 5px; }
.source-link { display: inline-block; margin-top: 17px; color: var(--teal); font-size: 13px; font-weight: 700; text-underline-offset: 4px; }

.subsection-heading h3,
.network-detail h3 {
  margin: 0;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: clamp(23px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.3;
}

.network-section { margin-top: 12px; }

.subsection-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
}

.subsection-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.subsection-heading.compact { align-items: start; }

.network-detail {
  margin-top: 12px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  gap: 28px;
  background: var(--soft-teal);
  border-radius: 11px;
}

.network-detail h3 { font-size: 23px; }
.network-detail p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.network-detail strong { font-size: 12px; }

.rankings {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.ranking-list { margin: 10px 0 0; padding: 0; list-style: none; }
.ranking-list li {
  min-height: 66px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.ranking-list li > span { color: var(--accent); font-family: Georgia, serif; font-size: 13px; }
.ranking-list strong,
.ranking-list small { display: block; }
.ranking-list strong { font-size: 13px; }
.ranking-list small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.ranking-list b { font-family: Georgia, serif; font-size: 24px; font-weight: 500; }

.scholar-link {
  padding: 0;
  color: var(--teal);
  background: none;
  border: 0;
  border-bottom: 1px dotted #8db3aa;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}
.scholar-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.ranking-scholar-link { color: var(--ink); font-weight: 700; text-align: left; }

.empty-state { padding: 70px 0; text-align: center; color: var(--muted); }
.empty-state button { padding: 8px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; }

.paper-dialog {
  width: min(820px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.paper-dialog::backdrop { background: rgba(10, 31, 28, .58); backdrop-filter: blur(3px); }
.paper-dialog article { padding: clamp(28px, 6vw, 64px); }
.dialog-close { position: sticky; top: 14px; float: right; z-index: 2; width: 38px; height: 38px; margin: 14px 14px 0 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; font-size: 24px; }
.dialog-back { position: sticky; top: 14px; float: left; z-index: 2; width: 38px; height: 38px; margin: 14px 0 0 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 20px; }
.dialog-title { max-width: 650px; margin: 12px 0 18px; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(28px, 4vw, 42px); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; }
.dialog-byline { padding-bottom: 24px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.6; }
.detail-section { margin-top: 26px; }
.detail-section h3 { margin: 0 0 9px; color: var(--accent); font-size: 12px; letter-spacing: .1em; }
.detail-section p,
.glossary-section dl {
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: 16px;
  line-height: 1.85;
}
.detail-section p { margin: 0; }
.glossary-section dl { margin: 0; display: grid; gap: 10px; }
.glossary-section dl div { display: grid; grid-template-columns: minmax(110px, .3fr) minmax(0, 1fr); gap: 18px; }
.glossary-section dt { font-weight: 600; line-height: inherit; }
.glossary-section dd { margin: 0; color: var(--ink); line-height: inherit; }
.affiliation-list { margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.85; }
.affiliation-list li + li { margin-top: 6px; }
.dialog-scholar-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0 0; padding: 18px 0; border-block: 1px solid var(--line); }
.dialog-scholar-stats div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.dialog-scholar-stats dt { color: var(--muted); font-size: 11px; }
.dialog-scholar-stats dd { margin: 4px 0 0; font-family: Georgia, serif; font-size: 26px; }
.dialog-recent-papers { margin: 0; padding-left: 20px; }
.dialog-recent-papers li + li { margin-top: 13px; }
.dialog-recent-papers button { padding: 0; color: var(--ink); background: none; border: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: 16px; line-height: 1.45; text-align: left; text-decoration: underline; text-decoration-color: #a9c1ba; text-underline-offset: 4px; cursor: pointer; }
.dialog-recent-papers button:hover { color: var(--accent); }
.dialog-recent-papers small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.homepage-pending { color: var(--muted); font-size: 13px; }
.dialog-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.dialog-actions a { padding: 10px 14px; color: var(--surface); background: var(--ink); border-radius: 8px; text-decoration: none; font-size: 13px; }
.dialog-actions a.secondary { color: var(--ink); background: transparent; border: 1px solid var(--line); }

footer {
  padding: 30px clamp(20px, 4vw, 64px) 34px;
  color: #9fb1ac;
  background: var(--ink);
  font-size: 12px;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand { color: var(--surface); font-family: Georgia, serif; font-size: 22px; }

.privacy-note {
  max-width: 760px;
  margin: 14px 0 0;
  color: #b8c6c2;
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 26px 0 0;
  border-top: 1px solid rgba(255, 253, 247, .24);
}

.stat {
  padding: 18px 18px 0;
  border-left: 1px solid rgba(255, 253, 247, .14);
}

.stat:first-child { padding-left: 0; border-left: 0; }
.stat dt { color: #9fb1ac; font-size: 12px; }
.stat dd { margin: 5px 0 0; color: var(--surface); font-family: Georgia, serif; font-size: 31px; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; }
  .mode-tabs { order: 3; grid-column: 1 / -1; justify-self: center; }
  .search { width: 240px; }
}

@media (max-width: 720px) {
  .site-header { gap: 12px; }
  .brand small, .search kbd { display: none; }
  .search { width: 44px; padding: 0 12px; }
  .search:focus-within { position: absolute; right: 20px; width: calc(100% - 40px); background: var(--surface); }
  .search input { width: 0; }
  .search:focus-within input { width: auto; }
  .mode-tabs { width: 100%; }
  .mode-tab { flex: 1; padding-inline: 8px; }
  .workspace { grid-template-columns: minmax(0, 1fr); padding-top: 28px; }
  .filters { position: static; }
  .filter-list { display: flex; overflow-x: auto; gap: 8px; padding: 2px 0 8px; scrollbar-width: thin; }
  .filter-button { width: auto; min-width: max-content; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; }
  .filter-button.is-active::before { display: none; }
  .distribution-card {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    column-gap: 18px;
  }
  .distribution-chart { width: 76px; }
  .content-header { align-items: stretch; flex-direction: column; gap: 8px; }
  .content-controls { margin-bottom: 12px; flex-wrap: wrap; }
  .paper-card, .viewpoint-card { grid-template-columns: minmax(0, 1fr); gap: 9px; padding-right: 34px; }
  .glossary-section dl div { grid-template-columns: 1fr; gap: 1px; }
  .card-meta strong { display: inline; margin-right: 8px; }
  .footer-meta { align-items: flex-start; flex-direction: column; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .network-detail, .rankings { grid-template-columns: 1fr; }
  .dialog-scholar-stats { grid-template-columns: 1fr; gap: 12px; }
  .dialog-scholar-stats div + div { padding: 12px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .network-detail { gap: 16px; }
  .subsection-heading { align-items: start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Global research atlas */
.map-scope { margin: 20px 0 0; color: var(--teal); font-size: 12px; }
.filter-toggle { width: 100%; margin: 10px 0 0; padding: 11px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--teal); cursor: pointer; font: inherit; font-size: 12px; }
.network-section { margin-top: 12px; }
.world-map-board { margin-top: 22px; border: 1px solid var(--line); border-radius: 12px; background: #f3f6f0; overflow: hidden; }
.map-summary { padding: 18px 22px 0; font-size: 12px; color: var(--muted); }
.map-summary strong { color: var(--ink); font: 26px Georgia, serif; margin-right: 6px; }
.map-summary span { padding: 0 10px; }
.world-map { width: 100%; height: auto; display: block; }
.map-grid path { stroke: #dce3dd; stroke-width: .5; fill: none; stroke-dasharray: 3 5; }
.map-land { stroke: #f8faf6; stroke-width: .65; stroke-linejoin: round; }
.map-land[role="button"] { cursor: pointer; }
.map-land:hover[role="button"], .map-land.is-selected, .map-land:focus { stroke: #b36c35; stroke-width: 2; outline: none; }
.map-routes path { fill: none; stroke: #000; stroke-linecap: round; stroke-dasharray: 4 5; }
.map-legend { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 6px 22px 18px; color: var(--muted); font-size: 11px; }
.map-legend span { display: inline-flex; align-items: center; gap: 5px; }
.no-data { display: inline-block; width: 12px; height: 12px; background: #e4e9e2; border: 1px solid #ccd5cc; }
.color-scale { width: 100px; height: 9px; border-radius: 4px; background: linear-gradient(90deg,hsl(165 32% 83%),hsl(165 32% 31%)); }
.route-key { margin-left: auto; color: #000; }
.map-note { font-size: 11px; color: var(--muted); line-height: 1.8; }
.map-controls { display: grid; grid-template-columns: auto minmax(150px, .7fr) minmax(250px, 1.3fr); gap: 12px 16px; align-items: end; margin: 20px 0; }
.map-controls-title { align-self: center; font-size: 12px; }
.map-controls label { display: grid; gap: 6px; font-size: 11px; min-width: 0; color: var(--muted); }
.map-controls select { width: 100%; min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); }
@media (max-width: 700px) { .map-summary { padding: 12px 12px 0; } .map-legend { padding: 8px 12px 12px; gap: 7px; } .route-key { margin-left: 0; } .network-section .subsection-heading { align-items: start; flex-direction: column; gap: 12px; } .map-controls { grid-template-columns: 1fr; align-items: stretch; } .map-controls-title { margin-bottom: 2px; } }

.map-routes { pointer-events: none; }
.map-routes path { opacity: 0; visibility: hidden; transition: opacity .18s ease; }
.map-routes path.is-visible { opacity: .3; visibility: visible; }
.rankings > div { min-width: 0; }
.rankings .subsection-heading h3 { font-size: clamp(21px, 2vw, 28px); }
.ranking-list strong { overflow-wrap: anywhere; }
@media (max-width: 900px) { .rankings { grid-template-columns: 1fr; } }

.load-status { padding: 18px 0; color: var(--muted); font-size: 13px; }

.map-small-country { fill: var(--ink); font-size: 9px; cursor: pointer; paint-order: stroke; stroke: #f3f6f0; stroke-width: 2px; }
.map-small-country:focus { outline: 1px solid var(--teal); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: inherit; text-underline-offset: 4px; }
.privacy-page { max-width: 760px; padding: 72px 28px; margin: 0 auto; }
.privacy-page p { line-height: 2; margin: 28px 0; }
.privacy-page a { color: var(--teal); }

.dialog-affiliations { margin: 16px 0 12px; overflow-wrap: anywhere; }
.easycatch { padding: 20px 22px; background: var(--soft-teal); border-radius: 10px; }
.easycatch h3 { color: var(--teal); font-size: 15px; letter-spacing: .02em; }
.easycatch p + p { margin-top: 12px; }
@media (max-width: 700px) { .easycatch { padding: 16px; } }

/* Compact annual week navigation. */
.filter-list.is-week-calendar { display: block; overflow: visible; padding: 0; }
.week-calendar + .week-calendar { margin-top: 20px; }
.week-year { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 10px; color: var(--ink); font-size: 14px; font-weight: 700; }
.week-year span { color: var(--muted); font-size: 11px; font-weight: 400; }
.week-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.week-cell { min-width: 0; aspect-ratio: 1; border: 1px solid transparent; border-radius: 7px; font: inherit; font-size: 12px; font-variant-numeric: tabular-nums; cursor: pointer; }
.week-cell.has-content, .week-legend .has-content { background: #c6dfd1; color: #234c3d; }
.week-cell.is-empty, .week-legend .is-empty { background: #e1e3df; color: #626962; }
.week-cell.is-future, .week-legend .is-future { background: #f6f5ef; color: #8a8d85; border: 1px dashed #cdd0c6; }
.week-cell:disabled { cursor: default; opacity: 1; }
.week-cell.has-content:hover { background: #a9cdb9; }
.week-cell.is-active { border-color: #234c3d; box-shadow: inset 0 0 0 1px #234c3d; font-weight: 750; }
.week-cell:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.week-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 10px; }
.week-legend span { display: inline-flex; align-items: center; gap: 4px; }
.week-legend i { width: 10px; height: 10px; border-radius: 3px; }
@media (max-width: 720px) {
  .week-grid { grid-template-columns: repeat(auto-fill, minmax(32px, 1fr)); }
  .week-cell { min-height: 32px; }
}
