:root {
  color-scheme:light;
  --paper:#f5f4ed;
  --surface:#fffef9;
  --ink:#183d37;
  --muted:#68756e;
  --line:#dddfd4;
  --accent:#b45b38;
  --soft:#e8ece1;
  --sidebar:230px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:15px
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:24px
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  line-height:1.6
}
a {
  color:inherit
}
button,input,select {
  font:inherit;
  color:inherit
}
button,a,input,select {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
button:disabled {
  cursor:wait;
  opacity:.55
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:4px
}
[hidden] {
  display:none!important
}
.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
}
.skip {
  position:fixed;
  z-index:20;
  left:20px;
  top:-100px;
  background:var(--ink);
  color:white;
  padding:12px 20px
}
.skip:focus {
  top:16px
}
.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:var(--sidebar);
  border-right:1px solid var(--line);
  padding:42px 25px 28px;
  display:flex;
  flex-direction:column;
  background:#eeefe5
}
.brand {
  display:flex;
  gap:12px;
  align-items:center;
  text-decoration:none;
  font-family:Georgia,"Times New Roman",serif;
  font-size:30px;
  font-weight:600;
  letter-spacing:-1px;
  line-height:1.25
}
.brand-mark {
  font-size:48px;
  font-style:italic;
  font-weight:400;
  line-height:1;
  letter-spacing:-5px
}
.brand-mark>span {
  color:var(--accent)
}
.brand-sub {
  display:block;
  font:9px/2.2 ui-monospace,monospace;
  letter-spacing:1.8px
}
.sidebar-label {
  margin:62px 12px 15px;
  color:var(--muted);
  font-size:11px;
  letter-spacing:1px
}
.nav-item {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:48px;
  margin:5px 0;
  padding:10px 12px;
  text-decoration:none;
  font-size:13px;
  border-radius:5px;
  color:var(--muted)
}
.nav-item.active {
  background:var(--ink);
  color:#fffef1
}
.nav-item>span:first-child {
  font-size:18px
}
.nav-arrow {
  margin-left:auto
}
.nav-item:hover {
  background:#dde4d6;
  color:var(--ink)
}
.nav-item.active:hover {
  background:#275249;
  color:white
}
.sidebar-bottom {
  margin-top:auto;
  font-size:12px;
  padding:20px 8px 0
}
.sidebar-bottom p {
  font-size:11px;
  color:var(--muted);
  margin:9px 0 30px
}
.small-mono {
  font:8px/1.5 ui-monospace,monospace;
  letter-spacing:1px;
  color:var(--muted)
}
.live-dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:#5f7961;
  border-radius:50%;
  margin-right:7px;
  vertical-align:middle
}
.workspace {
  margin-left:var(--sidebar)
}
.topline {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  border-bottom:1px solid var(--line);
  min-height:77px;
  padding:16px 52px;
  font-size:11px;
  color:var(--muted)
}
.breadcrumb>span {
  margin:0 12px;
  color:#a1aaa0
}
.breadcrumb strong {
  color:var(--ink);
  font-weight:500
}
.top-note {
  text-decoration:none
}
.top-note>span {
  margin-left:18px
}
main {
  max-width:1240px;
  margin:0 auto;
  padding:52px 52px 0
}
.intro {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  padding-bottom:35px
}
.eyebrow {
  font:10px/1.5 ui-monospace,monospace;
  letter-spacing:2px;
  margin:0 0 25px
}
.eyebrow .live-dot {
  width:5px;
  height:5px
}
h1 {
  font-family:Georgia,"Songti SC","STSong",serif;
  font-size:clamp(40px,4.5vw,62px);
  line-height:1.22;
  letter-spacing:-2.5px;
  font-weight:500;
  margin:0
}
.title-accent {
  color:var(--accent)
}
.intro-copy {
  font-size:13px;
  line-height:1.9;
  margin:20px 0 0;
  color:var(--muted)
}
.collection-note {
  width:268px;
  background:#e9ecdf;
  min-height:141px;
  padding:28px 23px;
  position:relative;
  border-top:2px solid #799174;
  display:flex;
  gap:20px;
  align-items:center;
  margin-bottom:3px
}
.note-number {
  font:56px/1 Georgia,serif;
  letter-spacing:-3px
}
.collection-note>div>span {
  font-size:13px
}
.collection-note p {
  font-size:10px;
  color:var(--muted);
  margin:8px 0 0
}
.note-symbol {
  position:absolute;
  top:9px;
  right:13px;
  font-size:21px;
  color:#61745f
}
.discovery {
  margin-top:7px
}
.search-box {
  display:flex;
  gap:15px;
  align-items:center;
  border:1px solid #cdd3c5;
  background:var(--surface);
  padding:0 20px;
  min-height:64px;
  border-radius:5px
}
.search-box:focus-within {
  border-color:#5e7963;
  box-shadow:0 0 0 2px #dce4d6
}
.search-icon {
  width:16px;
  height:16px;
  display:block;
  border:1.5px solid #718074;
  border-radius:50%;
  position:relative;
  flex-shrink:0;
  margin-right:3px
}
.search-icon:after {
  content:"";
  height:7px;
  width:1.5px;
  background:#718074;
  position:absolute;
  right:-4px;
  bottom:-5px;
  transform:rotate(-43deg)
}
#search {
  border:0;
  outline:none;
  background:none;
  width:100%;
  min-width:0;
  font-size:16px;
  height:62px
}
#search::placeholder {
  color:#899286;
  font-size:13px
}
#search::-webkit-search-cancel-button {
  display:none
}
.search-box kbd {
  font:10px ui-monospace,monospace;
  padding:3px 6px;
  border:1px solid var(--line);
  border-radius:3px;
  white-space:nowrap;
  color:#7c867b
}
#clear-search {
  border:0;
  background:none;
  font-size:22px;
  min-width:44px;
  min-height:44px
}
.toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:22px;
  border-bottom:1px solid var(--line)
}
.filters {
  display:flex;
  gap:18px;
  max-width:100%;
  overflow:auto
}
.filter {
  border:0;
  border-bottom:2px solid transparent;
  min-height:46px;
  background:none;
  padding:0 1px 13px;
  font-size:12px;
  color:var(--muted);
  white-space:nowrap
}
.filter span {
  font:9px ui-monospace,monospace;
  padding:2px 5px;
  margin-left:7px;
  border-radius:3px;
  background:#e7eadf
}
.filter.active {
  color:var(--ink);
  border-bottom-color:var(--ink);
  font-weight:600
}
.filter.active span {
  background:var(--ink);
  color:white
}
.sort-label {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:10px;
  color:var(--muted);
  white-space:nowrap;
  margin-top:-7px
}
select {
  border:0;
  background:transparent;
  font-size:12px;
  min-height:44px;
  max-width:120px;
  cursor:pointer
}
.sync-line {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  min-height:48px;
  color:var(--muted);
  font-size:10px
}
#sync-status:before {
  content:"";
  display:inline-block;
  width:5px;
  height:5px;
  background:#5f7961;
  border-radius:50%;
  margin-right:7px
}
#sync-status.has-warning:before {
  background:var(--accent)
}
.refresh {
  background:none;
  border:0;
  min-height:44px;
  white-space:nowrap;
  font-size:11px;
  padding:0 0 0 8px;
  color:var(--muted)
}
.refresh>span {
  display:inline-block;
  font-size:17px;
  margin-right:4px
}
.is-refreshing>span {
  animation:rotate 1s linear infinite
}
@keyframes rotate {
  to {
    transform:rotate(360deg)
  }
}
.notice {
  background:#f4e9d6;
  border-left:3px solid var(--accent);
  padding:13px 16px;
  font-size:12px;
  line-height:1.9;
  margin:6px 0 20px;
  color:#78492f
}
.results-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin:30px 0 20px
}
.results-heading h2 {
  font-size:17px;
  font-weight:600;
  letter-spacing:.5px;
  margin:0
}
.results-heading p {
  margin:0;
  color:var(--muted);
  font-size:11px
}
#result-count {
  font:10px ui-monospace,monospace;
  color:var(--muted);
  letter-spacing:0;
  margin-left:14px
}
.cards {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px
}
.card {
  position:relative;
  min-width:0;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:5px;
  padding:22px 25px 0;
  display:flex;
  flex-direction:column;
  transition:transform .15s,border-color .15s,box-shadow .15s
}
.card:hover {
  transform:translateY(-3px);
  border-color:#a2b29c;
  box-shadow:0 5px 14px #183d3708
}
.card:focus-within {
  border-color:var(--accent)
}
.card-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:18px
}
.card-category {
  font-size:10px;
  color:#667762;
  letter-spacing:.5px
}
.card-glyph {
  font:23px/1 Georgia,serif;
  color:#526f59;
  background:#edf0e5;
  border-radius:4px;
  min-width:35px;
  height:35px;
  display:grid;
  place-items:center
}
.card h3 {
  font-family:Georgia,"Songti SC","STSong",serif;
  font-size:23px;
  line-height:1.45;
  font-weight:500;
  margin:0 0 10px;
  overflow-wrap:anywhere
}
.card-link {
  text-decoration:none
}
.card-link:after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:5px
}
.card-summary {
  margin:0 0 23px;
  font-size:12px;
  line-height:1.8;
  color:var(--muted);
  overflow-wrap:anywhere
}
.tags {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:auto;
  margin-bottom:24px
}
.tag {
  font-size:9px;
  background:#f0f1e9;
  border:1px solid #e6e8de;
  padding:2px 7px;
  color:#64705f;
  border-radius:3px;
  overflow-wrap:anywhere
}
.card-foot {
  border-top:1px solid #e9eade;
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:10px;
  color:var(--muted)
}
.card-arrow {
  font:22px Georgia,serif;
  color:var(--ink)
}
.card-paper {
  background:#edf0e5;
  border-color:#d6ddcb
}
.card-paper .card-category {
  color:#41624b
}
.card-paper .card-glyph {
  background:#dfe7d5
}
.card-paper .tag {
  background:#e6ebdd;
  border-color:#dbe2d0
}
.card-paper .card-foot {
  border-color:#d7dfcd
}
.card-pdf {
  background:transparent
}
.card-pdf .card-glyph {
  background:#eee5d8;
  color:#976544
}
.card-pdf .card-category {
  color:#976544
}
.card-pdf h3 {
  font-size:20px
}
.stale-label {
  color:#955035
}
.empty {
  text-align:center;
  padding:48px 20px;
  border:1px dashed #bfc9b9;
  border-radius:5px
}
.empty-symbol {
  font:50px/1 Georgia,serif;
  color:#7e9278
}
.empty h2 {
  font-size:18px;
  margin:20px 0 8px
}
.empty p {
  color:var(--muted);
  font-size:13px
}
.empty button {
  background:var(--ink);
  color:white;
  border:0;
  border-radius:4px;
  min-height:44px;
  padding:9px 20px;
  margin-top:12px
}
.loading {
  color:var(--muted);
  font-size:13px
}
.about {
  border-top:1px solid #bfc9b6;
  margin-top:55px;
  padding:29px 0 38px;
  display:flex;
  gap:40px;
  scroll-margin-top:25px
}
.about-index {
  font-size:10px;
  color:var(--muted);
  min-width:112px;
  padding-top:4px
}
.about h2 {
  font-family:Georgia,"Songti SC",serif;
  font-size:19px;
  font-weight:500;
  margin:0 0 12px
}
.about p {
  font-size:11px;
  color:var(--muted);
  line-height:1.9;
  margin:6px 0
}
.about-mark {
  font:32px/1 Georgia,serif;
  margin-left:auto
}
footer {
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding:23px 52px;
  font-size:10px;
  color:var(--muted)
}
footer>span:last-child {
  font:8px/1.6 ui-monospace,monospace;
  letter-spacing:1px
}
.footer-dot {
  color:#a6aea0;
  margin:0 6px
}
@media(min-width:1500px) {
  :root {
    --sidebar:250px
  }
  .sidebar {
    padding-left:34px;
    padding-right:34px
  }
  .topline {
    padding-left:70px;
    padding-right:70px
  }
  main {
    padding-top:64px
  }
  .intro {
    padding-bottom:42px
  }
}
@media(max-width:1100px) {
  :root {
    --sidebar:190px
  }
  .sidebar {
    padding:32px 18px 22px
  }
  main {
    padding:36px 30px 0
  }
  .topline {
    padding-left:30px;
    padding-right:30px
  }
  .collection-note {
    width:225px;
    padding:24px 18px;
    gap:15px
  }
  .note-number {
    font-size:49px
  }
  .filters {
    gap:13px
  }
  .about {
    gap:22px
  }
  .about-index {
    min-width:95px
  }
  footer {
    padding-left:30px;
    padding-right:30px
  }
}
@media(max-width:800px) {
  :root {
    --sidebar:0px
  }
  .sidebar {
    position:static;
    width:auto;
    border-right:0;
    border-bottom:1px solid var(--line);
    padding:18px 24px;
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center
  }
  .brand {
    font-size:25px;
    gap:10px
  }
  .brand-mark {
    font-size:38px
  }
  .brand-sub {
    font-size:8px;
    letter-spacing:1.3px
  }
  .sidebar-label,.sidebar-bottom {
    display:none
  }
  .sidebar nav {
    display:flex;
    gap:8px
  }
  .nav-item {
    min-height:44px;
    font-size:11px;
    padding:8px 12px
  }
  .nav-item>span,.nav-arrow {
    display:none
  }
  .workspace {
    margin:0
  }
  .topline {
    min-height:50px;
    padding:10px 24px
  }
  .intro {
    gap:24px
  }
  .collection-note {
    width:230px
  }
  main {
    padding:32px 24px 0
  }
  h1 {
    font-size:50px
  }
  .eyebrow {
    margin-bottom:20px
  }
  .intro-copy {
    font-size:12px
  }
  .about {
    margin-top:40px
  }
  .about-index {
    display:none
  }
  footer {
    padding:22px 24px
  }
}
@media(max-width:540px) {
  .sidebar {
    padding:15px 18px
  }
  .sidebar nav .nav-item:not(.active) {
    display:none
  }
  .nav-item {
    margin:0;
    min-height:44px
  }
  .topline {
    padding-left:20px;
    padding-right:20px;
    font-size:10px
  }
  .top-note {
    font-size:9px
  }
  .top-note>span {
    margin-left:5px
  }
  main {
    padding:30px 20px 0
  }
  .intro {
    display:block;
    padding-bottom:24px
  }
  h1 {
    font-size:48px;
    letter-spacing:-2px
  }
  .intro-copy {
    margin-top:18px
  }
  .eyebrow {
    font-size:9px;
    letter-spacing:1.7px
  }
  .collection-note {
    width:100%;
    min-height:83px;
    margin-top:24px;
    padding:15px 20px;
    gap:19px;
    border-top-width:1px
  }
  .note-number {
    font-size:43px
  }
  .collection-note>div>span {
    font-size:12px
  }
  .collection-note p {
    font-size:10px;
    margin-top:3px
  }
  .note-symbol {
    top:24px;
    right:20px
  }
  .search-box {
    padding:0 14px;
    min-height:57px;
    gap:11px
  }
  #search {
    height:55px
  }
  #search::placeholder {
    font-size:12px
  }
  .search-box kbd {
    display:none
  }
  .toolbar {
    display:block;
    margin-top:14px;
    position:relative;
    padding-top:0
  }
  .filters {
    gap:16px
  }
  .filter {
    font-size:11px;
    padding-bottom:11px
  }
  .filter span {
    font-size:9px;
    margin-left:4px;
    padding:2px 4px
  }
  .sort-label {
    position:absolute;
    right:0;
    top:111px;
    z-index:1;
    font-size:0
  }
  .sort-label select {
    font-size:10px;
    min-height:44px;
    max-width:90px
  }
  .sync-line {
    font-size:9px;
    gap:6px;
    align-items:flex-start;
    min-height:56px
  }
  #sync-status {
    padding-top:14px;
    line-height:1.8
  }
  .refresh {
    font-size:10px;
    padding-left:3px
  }
  .results-heading {
    margin:20px 0 18px;
    min-height:30px;
    padding-right:95px
  }
  .results-heading p {
    display:none
  }
  .results-heading h2 {
    font-size:16px
  }
  #result-count {
    font-size:9px;
    margin-left:9px
  }
  .cards {
    grid-template-columns:1fr;
    gap:13px
  }
  .card {
    padding:20px 21px 0
  }
  .card h3 {
    font-size:23px
  }
  .card-top {
    margin-bottom:14px
  }
  .card-summary {
    font-size:12px;
    margin-bottom:20px
  }
  .tags {
    margin-bottom:18px
  }
  .card-foot {
    min-height:48px
  }
  .card-pdf h3 {
    font-size:21px
  }
  .about {
    gap:0;
    padding-top:24px;
    margin-top:38px
  }
  .about h2 {
    font-size:18px;
    line-height:1.7
  }
  .about-mark {
    display:none
  }
  footer {
    padding:20px;
    flex-direction:column;
    gap:6px
  }
  .notice {
    font-size:11px
  }
  .sidebar,.topline,main,footer {
    padding-left:max(20px,env(safe-area-inset-left));
    padding-right:max(20px,env(safe-area-inset-right))
  }
  footer {
    padding-bottom:max(24px,env(safe-area-inset-bottom))
  }
}
select {
  height:44px;
  appearance:none;
  -webkit-appearance:none;
  padding:0 15px 0 6px
}
.sort-label:after {
  content:"⌄";
  font-size:13px;
  margin-left:-17px;
  pointer-events:none
}
@media(max-width:540px) {
  .toolbar {
    display:flex;
    flex-direction:column;
    align-items:stretch
  }
  .sort-label {
    position:static;
    align-self:flex-end;
    font-size:10px;
    margin:3px 0 0
  }
  .sort-label select {
    font-size:16px;
    max-width:138px
  }
  .results-heading {
    padding-right:0
  }
  .filters {
    padding:0 2px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }
}
