:root {
  font-family: "DM Sans", sans-serif;
  color: #20231d;
  background: #f4f3ed;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --paper: #f4f3ed;
  --ink: #20231d;
  --muted: #77796f;
  --line: #d8d9cf;
  --green: #3e673f;
  --green-dark: #24462e;
  --yellow: #d9ed68;
  --red: #b34f38;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  margin: 0;
  background-image: radial-gradient(#7e806e14 0.7px, transparent 0.7px);
  background-size: 7px 7px;
}

a { color: inherit; }

.topbar {
  height: 72px;
  padding: 0 clamp(22px, 6vw, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 243, 237, .94);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--green-dark);
  font: 700 11px "Manrope", sans-serif;
  letter-spacing: .12em;
  text-decoration: none;
}

.wordmark-mark {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--yellow);
  font: 800 15px "Manrope", sans-serif;
  letter-spacing: 0;
}

.wordmark-light { color: #828476; font-weight: 500; }
.source-link { font-size: 12px; color: #55584d; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.source-link span { color: var(--green); }

main { max-width: 1440px; margin: 0 auto; padding: 0 clamp(22px, 9.5vw, 148px); }

.intro {
  min-height: 300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 44px;
  padding: 64px 0 68px;
  border-bottom: 1px solid var(--line);
  animation: rise-in .55s ease-out both;
}

.intro-copy { max-width: 660px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: var(--green); font: 700 10px "Manrope", sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.live-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 3px #3e673f20; animation: pulse 2s ease-out infinite; }
h1 { margin: 0; color: var(--green-dark); font: 700 clamp(68px, 8vw, 108px)/.94 "Manrope", sans-serif; letter-spacing: 0; }
.title-period { color: var(--red); }
.intro-text { max-width: 470px; margin: 25px 0 0; color: #5e6156; font-size: 15px; line-height: 1.7; }

.intro-note {
  width: 210px;
  min-width: 175px;
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--green-dark);
  font: 600 12px "Manrope", sans-serif;
}

.note-index { color: var(--red); font: 600 10px "DM Sans", sans-serif; letter-spacing: .09em; }
.note-rule { width: 100%; height: 1px; background: #a5aa96; }
.note-small { color: var(--muted); font: 400 11px/1.5 "DM Sans", sans-serif; }

.results-section { padding-top: 47px; animation: rise-in .65s .08s ease-out both; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.section-eyebrow { margin-bottom: 9px; color: var(--muted); }
h2 { margin: 0; color: var(--ink); font: 700 27px/1.2 "Manrope", sans-serif; letter-spacing: 0; }
.count { margin-left: 5px; color: var(--red); font: 600 14px "DM Sans", sans-serif; vertical-align: 4px; }
.refresh-button { min-height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid #b7b9ac; border-radius: 3px; background: transparent; color: var(--green-dark); font: 600 11px "DM Sans", sans-serif; cursor: pointer; transition: background .18s, border-color .18s; }
.refresh-button:hover { border-color: var(--green); background: #e6e9dc; }
.refresh-button:disabled { opacity: .55; cursor: progress; }
.refresh-icon { color: var(--green); font-size: 19px; line-height: 1; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 25px 0 0; }
.filter-controls { display: flex; align-items: center; gap: 10px; width: min(100%, 620px); }
.search-field { width: min(100%, 430px); height: 43px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border: 1px solid var(--line); background: #fbfaf6; }
.search-symbol { width: 13px; height: 13px; flex: 0 0 13px; border: 1.5px solid #77796f; border-radius: 50%; position: relative; }
.search-symbol::after { content: ""; position: absolute; width: 5px; height: 1.5px; right: -4px; bottom: -2px; transform: rotate(45deg); background: #77796f; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: 400 12px "DM Sans", sans-serif; }
.search-field input::placeholder { color: #939488; }
.category-field select { width: 170px; height: 43px; padding: 0 10px; border: 1px solid var(--line); border-radius: 0; background: #fbfaf6; color: #55584d; font: 400 11px "DM Sans", sans-serif; }
.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; }
kbd { min-width: 19px; height: 20px; display: grid; place-items: center; border: 1px solid #dedfd5; color: #87897d; font: 11px "DM Sans", sans-serif; }
.sync-state { margin: 0; color: var(--muted); font-size: 11px; text-align: right; }
.progress-track { height: 2px; margin-top: 17px; overflow: hidden; background: #e2e2d9; }
.progress-track span { width: 34%; height: 100%; display: block; transform: translateX(-120%); background: var(--green); }
.progress-track.is-active span { animation: loading 1.1s ease-in-out infinite; }

.table-wrap { min-height: 100px; margin-top: 0; }
table { width: 100%; border-collapse: collapse; text-align: left; }
thead { border-top: 2px solid var(--green); border-bottom: 1px solid var(--line); }
th { padding: 15px 14px 13px; color: #898b80; font: 600 9px "Manrope", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
td { padding: 18px 14px; border-bottom: 1px solid #ddded5; color: #5d6055; font-size: 11px; line-height: 1.55; vertical-align: top; }
tbody tr { transition: background .16s; animation: row-in .35s ease-out both; }
tbody tr:hover { background: #eceee5; }
td.date-col { width: 132px; color: #77796f; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.document-title { width: 52%; color: var(--ink); font: 600 13px/1.5 "Manrope", sans-serif; }
td.issuer-col { width: 23%; }
td.category-col { width: 17%; color: #77796f; font-size: 10px; }
.file-link { display: inline-flex; align-items: center; gap: 7px; padding: 5px 7px; border: 1px solid #d5ddcf; border-radius: 2px; background: #f0f3e9; color: var(--green); font: 600 10px "DM Sans", sans-serif; text-decoration: none; white-space: nowrap; }
.file-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.file-mark { width: 14px; height: 17px; display: inline-block; border: 1px solid #92a28a; position: relative; }
.file-mark::before, .file-mark::after { content: ""; position: absolute; left: 3px; right: 3px; height: 1px; background: #92a28a; }
.file-mark::before { top: 6px; box-shadow: 0 3px #92a28a; }
.file-mark::after { top: 12px; right: 5px; }
.empty-state { padding: 48px 12px; text-align: center; color: var(--muted); font-size: 13px; }
.empty-mark { display: block; margin-bottom: 6px; color: var(--red); font: 600 28px "Manrope", sans-serif; }
.results-footer { display: flex; justify-content: space-between; gap: 12px; padding: 17px 0 34px; color: #85877c; font-size: 10px; }
.page-end { min-height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 9.5vw, 148px); border-top: 1px solid var(--line); color: #888a7e; font: 600 9px "Manrope", sans-serif; letter-spacing: .1em; }
.page-end span:last-child { color: var(--green-dark); }

@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes row-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes loading { to { transform: translateX(400%); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px #3e673f08; } }

@media (max-width: 700px) {
  .topbar { height: 62px; padding: 0 19px; }
  .wordmark-light { display: none; }
  .source-link { max-width: 145px; font-size: 10px; text-align: right; }
  main { padding: 0 20px; }
  .intro { min-height: unset; align-items: flex-start; flex-direction: column; gap: 30px; padding: 48px 0 38px; }
  .eyebrow { margin-bottom: 18px; }
  h1 { font-size: clamp(68px, 20vw, 96px); }
  .intro-text { max-width: 410px; margin-top: 16px; font-size: 13px; }
  .intro-note { width: 100%; align-self: stretch; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 12px; margin: 0; }
  .note-index { grid-row: span 2; }
  .note-rule { display: none; }
  .note-small { grid-column: 2; }
  .results-section { padding-top: 34px; }
  .section-head { align-items: center; }
  h2 { font-size: 23px; }
  .refresh-button { padding: 0 10px; font-size: 10px; }
  .toolbar { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 20px; }
  .filter-controls { width: 100%; flex-direction: column; align-items: stretch; }
  .search-field, .category-field select { width: 100%; }
  .sync-state { min-height: 15px; text-align: left; }
  .table-wrap { overflow-x: auto; }
  table { min-width: 600px; }
  th { padding-top: 13px; }
  td { padding-top: 15px; padding-bottom: 15px; }
  td.document-title { font-size: 12px; }
  .results-footer { align-items: flex-start; flex-direction: column; gap: 7px; }
  .page-end { min-height: 58px; padding: 0 20px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}