.ach-page {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  padding: 32px 56px;
  background: #121c19;
  color: #f0f3e9;
  font-family: Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ach-page *,
.ach-page *::before,
.ach-page *::after { box-sizing: border-box; }

.ach-page :where(h1, h2, p, figure, blockquote, ol) { margin: 0; }
.ach-page :where(section, div, figure) { min-width: 0; }

.ach-kicker {
  color: #c2b8ff;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ach-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 48px;
  margin-top: 14px;
}

.ach-title {
  font-size: 80px;
  font-weight: 550;
  line-height: .99;
  letter-spacing: -.06em;
}

.ach-accent { color: #d0f5a5; }

.ach-intro {
  padding-bottom: 3px;
  color: #d5dfd7;
  font-size: 19px;
  line-height: 1.48;
  letter-spacing: -.015em;
}

.ach-page .ach-scene { margin-top: 30px; }

.ach-example {
  margin-bottom: 14px;
  color: #a2b0a8;
  font-size: 13px;
  line-height: 18px;
}

.ach-flow {
  display: grid;
  grid-template-columns: 300px 180px minmax(0, 1fr);
  align-items: start;
}

.ach-source {
  padding: 22px 20px;
  border: 1px solid #35453d;
  border-radius: 8px;
  background: #19251f;
}

.ach-file-name {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d5dfd7;
  font-size: 16px;
  line-height: 26px;
}

.ach-file-icon { width: 24px; height: 28px; color: #c2b8ff; }

.ach-page .ach-source-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 20px 0 16px;
}

.ach-count {
  font-size: 58px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.065em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ach-unit { color: #a2b0a8; font-size: 16px; line-height: 22px; }
.ach-source-list { padding: 0; list-style: none; }

.ach-source-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid #2b3a31;
  line-height: 22px;
}

.ach-line-number { color: #a2b0a8; font-size: 12px; font-variant-numeric: tabular-nums; }
.ach-source-link { color: #d5dfd7; font-family: Menlo, Consolas, monospace; font-size: 15px; }
.ach-source-spam .ach-source-link { color: #c2b8ff; }

.ach-list-tail {
  display: grid;
  gap: 11px;
  margin: 14px 0 4px 32px;
}

.ach-tail-line { width: 90%; height: 1px; background: #35453d; }
.ach-tail-line:nth-child(2) { width: 72%; }
.ach-tail-line:nth-child(3) { width: 82%; }

.ach-filter { padding-top: 84px; text-align: center; }
.ach-filter-label { color: #d0f5a5; font-size: 17px; font-weight: 500; line-height: 24px; }
.ach-filter-arrows { display: block; width: 180px; height: 124px; margin-top: 10px; }
.ach-filter-arrows-stack { display: none; }
.ach-rejected { padding: 3px 4px 0; }
.ach-rejected-name { color: #d5dfd7; font-size: 18px; font-weight: 500; line-height: 25px; }
.ach-strike { text-decoration-color: #c2b8ff; text-decoration-thickness: 2px; }
.ach-page .ach-spam-quote { margin-top: 9px; color: #a2b0a8; font-size: 15px; line-height: 23px; }
.ach-page .ach-rejected-reason { margin-top: 10px; color: #c2b8ff; font-size: 14px; line-height: 20px; }

.ach-result-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.ach-result-title {
  color: #f0f3e9;
  font-size: 29px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: -.035em;
}

.ach-ai-label { color: #c2b8ff; font-size: 16px; font-weight: 500; line-height: 24px; white-space: nowrap; }
.ach-page .ach-ai-note { margin-top: 8px; color: #a2b0a8; font-size: 15px; line-height: 22px; }

.ach-table-paper {
  margin-top: 20px;
  padding: 0 8px;
  border: 1px solid #f0f3e9;
  border-radius: 9px;
  background: #f0f3e9;
  color: #121c19;
}

.ach-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
  font-size: 16px;
  line-height: 24px;
}

.ach-col-chat { width: 26%; }
.ach-col-category { width: 25%; }
.ach-col-topics { width: 32%; }
.ach-col-language { width: 17%; }

.ach-column-heading {
  padding: 15px 12px;
  border-bottom: 1px solid #bfcbbb;
  color: #4b6150;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.ach-result-row > :where(th, td) { padding: 18px 12px; vertical-align: middle; }
.ach-result-row + .ach-result-row > :where(th, td) { border-top: 1px solid #d5ded0; }
.ach-chat-name { font-weight: 600; letter-spacing: -.025em; }
.ach-category { font-size: 15px; }

.ach-category-tag {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 4px 8px;
  border-radius: 5px;
  background: #c2b8ff;
  color: #29213f;
  font-weight: 500;
  line-height: 22px;
}

.ach-topics { color: #405344; }
.ach-language { font-size: 15px; }

@container reader (max-width: 1300px) {
  .ach-page { padding: 24px 28px 20px; }
  .ach-heading { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; margin-top: 12px; }
  .ach-title { font-size: clamp(44px, 5.5cqw, 64px); }
  .ach-intro { font-size: 16px; line-height: 1.45; }
  .ach-page .ach-scene { margin-top: 22px; }
  .ach-flow { grid-template-columns: 220px 112px minmax(0, 1fr); }
  .ach-source { padding: 18px 14px; }
  .ach-count { font-size: 44px; }
  .ach-page .ach-source-total { gap: 8px; margin: 16px 0 14px; }
  .ach-source-row { grid-template-columns: 18px minmax(0, 1fr); gap: 7px; }
  .ach-source-link { font-size: 12px; overflow-wrap: anywhere; }
  .ach-filter { padding-top: 74px; }
  .ach-filter-label { font-size: 14px; }
  .ach-filter-arrows { width: 112px; height: auto; }
  .ach-rejected-name { font-size: 15px; line-height: 21px; }
  .ach-page .ach-spam-quote { font-size: 12px; line-height: 19px; }
  .ach-page .ach-rejected-reason { font-size: 12px; }
  .ach-result-heading { flex-wrap: wrap; gap: 4px 14px; }
  .ach-result-title { font-size: 25px; line-height: 30px; }
  .ach-ai-label { font-size: 14px; line-height: 22px; }
  .ach-page .ach-ai-note { font-size: 14px; line-height: 20px; }
  .ach-table-paper { margin-top: 16px; padding: 0 6px; }
  .ach-col-chat { width: 25%; }
  .ach-col-category { width: 31%; }
  .ach-col-topics { width: 28%; }
  .ach-col-language { width: 16%; }
  .ach-column-heading { padding: 12px 8px; font-size: 13px; }
  .ach-result-row > :where(th, td) { padding: 15px 8px; overflow-wrap: anywhere; }
  .ach-table { font-size: 14px; line-height: 22px; }
  .ach-category { font-size: 14px; }
  .ach-language { font-size: 13px; }
}

@container reader (max-width: 850px) {
  .ach-heading { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ach-intro { max-width: 600px; }
  .ach-flow { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ach-source { width: 100%; max-width: 440px; justify-self: center; }
  .ach-source-link { font-size: 14px; }
  .ach-filter { display: grid; grid-template-columns: 120px minmax(0, 1fr); width: 100%; max-width: 380px; justify-self: center; padding: 0; }
  .ach-filter-label { grid-column: 1; font-size: 16px; }
  .ach-filter-arrows { display: none; }
  .ach-filter-arrows-stack { display: block; grid-column: 1; grid-row: 2; width: 120px; height: 108px; margin-top: 6px; }
  .ach-rejected { grid-column: 2; grid-row: 2; align-self: center; padding: 0 0 0 12px; text-align: left; }
  .ach-page .ach-spam-quote { margin-top: 5px; font-size: 13px; }
  .ach-page .ach-rejected-reason { margin-top: 4px; font-size: 13px; }
}

@container reader (max-width: 600px) {
  .ach-page { padding: 24px 20px 28px; }
  .ach-title { font-size: clamp(36px, 9cqw, 46px); line-height: 1.05; }
  .ach-intro { font-size: 16px; }
  .ach-count { font-size: 54px; }
  .ach-result-title { font-size: 25px; }
  .ach-result-heading { gap: 6px; }
  .ach-ai-label { width: 100%; }
  .ach-table-paper { padding: 0; }
  .ach-table { display: block; position: relative; }
  .ach-table colgroup { display: none; }
  .ach-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ach-table tbody { display: block; }
  .ach-result-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 16px; }
  .ach-result-row + .ach-result-row { border-top: 1px solid #d5ded0; }
  .ach-result-row > :where(th, td) { display: block; padding: 0; border: 0; min-width: 0; }
  .ach-result-row + .ach-result-row > :where(th, td) { border: 0; }
  .ach-chat-name { grid-column: 1 / -1; font-size: 17px; line-height: 24px; }
  .ach-category { grid-column: 1; grid-row: 2; font-size: 14px; }
  .ach-language { grid-column: 2; grid-row: 2; align-self: center; font-size: 13px; }
  .ach-topics { grid-column: 1 / -1; font-size: 14px; line-height: 22px; }
}
