:root {
  color-scheme: light;
  --paper: #f9f8f4;
  --ink: #243b3c;
  --muted: #677270;
  --accent: #356c72;
  --line: #dedfd6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--accent);
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
.table-wrap:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 2px;
}
.page {
  max-width: 1512px;
  margin: auto;
  padding: 0 64px;
}
main {
  padding-top: 36px;
  padding-bottom: 38px;
  scroll-margin-top: 20px;
}
.search-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}
#updated {
  margin: 0 0 0 auto;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.filter-panels {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 18px;
}
.filter-panel {
  min-width: 0;
  margin: 0;
  padding: 14px 16px 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefa;
  position: relative;
}
.filter-panel legend {
  padding: 0 7px;
  margin-left: -3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.check-all {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 12px 3px;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
}
.checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px 12px;
}
#category-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.check-option {
  display: flex;
  align-items: center;
  border-radius: 4px;
}
.check-option:hover {
  background: #eff2eb;
}
.check-option label {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1;
  min-width: 0;
  min-height: 34px;
  padding: 5px 3px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.4;
}
.filter-panel input[type="checkbox"] {
  accent-color: var(--accent);
  width: 14px;
  height: 14px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}
.option-name {
  overflow-wrap: anywhere;
}
.option-count {
  margin-left: auto;
  font-size: 10px;
  color: #78847c;
  font-variant-numeric: tabular-nums;
}
.source-link {
  padding: 6px 3px 6px 6px;
  font-size: 11px;
  color: #668479;
  text-decoration: none;
}
.source-link:hover {
  color: var(--accent);
}
.loading-text {
  font-size: 12px;
  color: var(--muted);
}
.search-field {
  position: relative;
  flex: 1;
  max-width: 540px;
  min-width: 160px;
}
.search-field svg {
  position: absolute;
  left: 14px;
  top: 15px;
  color: #7b8984;
  pointer-events: none;
}
.search-field input {
  width: 100%;
  height: 48px;
  padding: 10px 14px 10px 42px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffefa;
  color: var(--ink);
  font-size: 13px;
}
.search-field input::placeholder {
  color: #79827d;
}
.reset {
  border: none;
  background: none;
  font-size: 11px;
  color: var(--accent);
  padding: 10px;
  white-space: nowrap;
}
.reset:disabled {
  color: #89908a;
  cursor: default;
}
.reset:not(:disabled):hover {
  text-decoration: underline;
}
.table-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  padding: 15px 0 10px;
}
.table-meta p {
  margin: 0;
}
.sort-hint span {
  margin-left: 6px;
}
.table-wrap {
  overflow: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 1100px;
  text-align: left;
}
.col-title {
  width: 22%;
}
.col-date {
  width: 8%;
}
.col-source {
  width: 10%;
}
.col-category {
  width: 11%;
}
.col-summary {
  width: 28%;
}
.col-why {
  width: 21%;
}
thead {
  background: #eeefe8;
}
th {
  padding: 0;
  text-align: left;
  font-weight: 500;
}
th button {
  width: 100%;
  margin: 0;
  justify-content: flex-start;
  text-indent: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 13px 14px;
  font-size: 10px;
  letter-spacing: 0.035em;
  white-space: nowrap;
  color: #53615c;
}
th button:hover {
  background: #e4e9e1;
}
th button span {
  color: #98a19a;
  font-size: 13px;
}
th[aria-sort="ascending"] button,
th[aria-sort="descending"] button {
  color: var(--accent);
}
th[aria-sort="ascending"] button span,
th[aria-sort="descending"] button span {
  color: var(--accent);
}
th button:focus-visible {
  outline-offset: -3px;
}
td {
  vertical-align: top;
  padding: 24px 14px 25px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
tbody tr:first-child td {
  border-top: 0;
}
tbody tr:hover {
  background: #f0f2eb;
}
.post-title {
  font: normal 20px/1.4 var(--serif);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline;
}
.post-title:hover {
  text-decoration: underline;
}
.post-title .arrow {
  display: inline-block;
  font: 12px var(--sans);
  color: #6d9387;
  margin-left: 6px;
  vertical-align: middle;
}
td.date {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  line-height: 1.65;
}
td.source {
  font-size: 11px;
  font-weight: 500;
}
td.category {
  font-size: 10px;
}
.tag {
  display: inline-block;
  line-height: 1.55;
  padding: 4px 7px;
  background: #e8eee7;
  border-radius: 3px;
  color: #3d6253;
}
.tag[data-topic="Mathematics"] {
  background: #e9edf2;
  color: #526684;
}
.tag[data-topic="Research & creativity"] {
  background: #eee8de;
  color: #7c6647;
}
.tag[data-topic="Interpretability"] {
  background: #eae7ef;
  color: #6c5e83;
}
.tag[data-topic="Algorithms & computing"] {
  background: #e5edec;
  color: #426e70;
}
.tag[data-topic="AI & society"] {
  background: #f1e8e3;
  color: #88634b;
}
td.summary {
  color: #465953;
}
td.why {
  color: #637269;
  font-size: 11px;
}
details {
  margin-top: 9px;
  font-size: 10px;
  color: var(--muted);
}
details summary {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #b8c3b8;
  text-underline-offset: 3px;
  list-style: none;
}
details summary::before {
  content: "+ ";
  color: var(--accent);
}
details[open] summary::before {
  content: "− ";
}
details p {
  margin: 6px 0 0;
}
.empty {
  text-align: center;
  padding: 54px 16px;
  color: var(--muted);
}
.empty p {
  font: 24px var(--serif);
  color: var(--ink);
  margin: 0 0 10px;
}
.empty span {
  font-size: 13px;
}
[hidden] {
  display: none !important;
}
.mobile-hint {
  display: none;
}
.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-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--ink);
  color: white;
  padding: 10px 18px;
  z-index: 10;
}
.skip-link:focus {
  top: 10px;
}
@media (min-width: 1600px) {
  .page {
    padding: 0 70px;
  }
}
@media (max-width: 1100px) {
  .page {
    padding: 0 34px;
  }
  .filter-panels {
    grid-template-columns: 1.5fr 1fr;
  }
  .checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #category-options {
    grid-template-columns: 1fr;
  }
  .mobile-hint {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin: 0 0 10px;
  }
}
@media (max-width: 700px) {
  .page {
    padding: 0 22px;
  }
  main {
    padding-top: 24px;
  }
  .search-row {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
  }
  .search-field {
    flex-basis: 100%;
    max-width: none;
  }
  #updated {
    font-size: 10px;
  }
  .reset {
    font-size: 10px;
    padding: 0;
  }
  .filter-panels {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .filter-panel {
    padding: 10px 12px 12px;
  }
  .checklist,
  #category-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
  }
  .check-option label {
    font-size: 11px;
    min-height: 36px;
  }
  .source-link {
    padding-left: 4px;
  }
  .table-meta {
    font-size: 10px;
    padding: 18px 0 8px;
    gap: 12px;
  }
  .sort-hint {
    font-size: 9px;
    text-align: right;
  }
  .table-wrap {
    margin-right: -22px;
  }
  table {
    min-width: 1080px;
  }
  .col-title {
    width: 21%;
  }
  .col-date {
    width: 8%;
  }
  .col-source {
    width: 10%;
  }
  .col-category {
    width: 12%;
  }
  .col-summary {
    width: 28%;
  }
  .col-why {
    width: 21%;
  }
  .post-title {
    font-size: 20px;
  }
  td {
    padding-top: 22px;
    padding-bottom: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media (min-width: 1230px) {
  .table-wrap {
    overflow: visible;
  }
  th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #eeefe8;
  }
}
