@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: optional;
  src: url("fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #e6eeea;
  --ink: #15211e;
  --muted: #4c5c56;
  --line: #c9d5cf;
  --accent: #1b4f45;
  --up: #0b7a34;
  --down: #c81e1e;
  --paper: #f5f8f6;
  --field: #f5f8f6;
  --sticky: #f5f8f6;
  --head: #e3eeea;
  --hover: #e7f0ec;
  --radius: 4px;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
}

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

[hidden] { display: none !important; }

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 28px 48px;
}

.page { flex: 1 0 auto; width: 100%; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 28px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

.brand .logo {
  height: 56px;
  display: block;
}

.brand:hover { color: var(--accent); }

.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.search { display: flex; gap: 8px; }

.suggest { position: relative; }

.search input,
.home-search input {
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
}

.search input { width: 240px; }

.suggest-popup {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  margin: 0;
  padding: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(21, 33, 30, 0.12);
  text-align: left;
  max-height: 320px;
  overflow: auto;
}

.search .suggest-popup {
  right: 0;
  width: 320px;
}

.home-search .suggest-popup {
  left: 0;
  right: 0;
}

.suggest-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 13px;
}

.suggest-status .spinner { display: none; }

.suggest-status.is-busy .spinner { display: inline-block; }

.suggest-popup [role="option"] {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 3px;
  color: var(--ink);
  text-decoration: none;
}

.suggest-popup [role="option"][aria-selected="true"],
.suggest-popup [role="option"].is-pending {
  background: #d5e6df;
}

.suggest-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggest-popup mark {
  background: none;
  color: inherit;
  font-weight: 600;
}

.suggest-symbol {
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.search button,
.home-search button {
  cursor: pointer;
  border-radius: var(--radius);
  padding: 8px 14px;
  font-weight: 600;
  background: var(--accent);
  color: #f4f7f5;
  border: 1px solid var(--accent);
}

.search button:hover,
.home-search button:hover { background: #164239; }

.search input:focus-visible,
.search button:focus-visible,
.home-search input:focus-visible,
.home-search button:focus-visible,
.tab:focus-visible,
.period a:focus-visible,
.form input:focus-visible,
.form textarea:focus-visible,
.form select:focus-visible,
.form button:focus-visible,
.page-copy a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

h1 {
  margin: 0;
  font-weight: 600;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  margin: 22px 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

.ticker {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px 1px;
  border-radius: 3px;
  background: var(--accent);
  color: #f4f7f5;
  font-size: 0.5em;
  font-weight: 500;
  letter-spacing: 0.04em;
  vertical-align: 0.25em;
}

.lede {
  margin: 10px 0 0;
  color: var(--muted);
}

.period {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 3px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.period a,
.period span {
  padding: 6px 12px;
  border-radius: 3px;
  color: var(--muted);
  text-decoration: none;
}

.period a.on {
  background: var(--accent);
  color: #f4f7f5;
}

.period a.is-pending:not(.on) {
  background: var(--hover);
  color: var(--ink);
}

.period span[aria-disabled="true"] { opacity: 0.45; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 26px 0 28px;
}

.metric {
  padding: 12px 14px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.metric .k {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.metric .v {
  margin-top: 3px;
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.metric .detail { margin-top: 2px; font-size: 13px; }

.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--muted); }

.chg,
.metric .up,
.metric .down { font-weight: 600; }

.tabs {
  display: flex;
  gap: 6px;
  margin-top: 26px;
  overflow-x: auto;
}

.tab {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 4px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.tab:hover:not(.on) {
  background: var(--hover);
  color: var(--ink);
}

.tab.on {
  background: var(--accent);
  color: #f4f7f5;
}

.note {
  max-width: 78ch;
  margin: 12px 0;
  color: var(--muted);
  font-size: 13px;
}

.notice {
  margin: 0 0 16px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.notice.warn { border-color: #d7b08a; }

.next {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 4px 0 12px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.next.overdue { border-color: #e3b4ae; }

.next .k {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.next-date {
  margin: 2px 0 6px;
  font-size: 1.45rem;
  font-weight: 600;
}

.next .note { margin: 0; }

.chip {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.table-scroll {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}

th, td {
  padding: 9px 12px;
  vertical-align: top;
  white-space: nowrap;
}

th {
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--head);
}

th .sub {
  display: block;
  margin-top: 2px;
  font-weight: 400;
  color: var(--muted);
}

td {
  text-align: right;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

th.label {
  text-align: left;
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 15rem;
  background: var(--head);
  font-weight: 500;
  white-space: normal;
}

tbody th.label {
  z-index: 1;
  border-bottom: 1px solid var(--line);
}

.figure { font-weight: 600; }

.chg { font-size: 12px; font-weight: 600; }

.subline {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.15;
}

tr.em .figure,
tr.em th.label { font-weight: 600; }

tr.group th {
  text-align: left;
  padding-top: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  background: #eef4f1;
  border-bottom: 1px solid var(--line);
}

tr.group td {
  background: #eef4f1;
  border-bottom: 1px solid var(--line);
}

tbody tr:hover td,
tbody tr:hover th.label { background: var(--hover); }

tbody tr.group:hover th,
tbody tr.group:hover td { background: #eef4f1; }

tr:last-child td,
tr:last-child th.label { border-bottom: 0; }

table a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

table a:hover { text-decoration: underline; }

.ad-slot { margin: 4px 0 8px; }

.ad-slot.below { margin: 20px 0 0; }

.ad-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-slot .adsbygoogle {
  min-height: 90px;
  overflow: hidden;
}

.source {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.more {
  margin: -4px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.more summary { cursor: pointer; }

.more p {
  max-width: 78ch;
  margin: 8px 0 0;
}

.home {
  margin: 72px auto 48px;
  max-width: 36rem;
  text-align: center;
}

.home h1 { margin-top: 0; }

.home-title { white-space: normal; }

.home-browse {
  margin: 16px 0 0;
  font-size: 14px;
}

.home-browse a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.home-browse a:hover { text-decoration: underline; }

.letter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 22px;
}

.letter-nav a {
  display: inline-flex;
  min-width: 2.1rem;
  justify-content: center;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.letter-nav a:hover { background: var(--hover); }

.letter-nav a[aria-current="page"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #f4f7f5;
}

.home-browse a:focus-visible,
.letter-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.directory .lede { max-width: 42rem; }

.swap {
  display: inline-block;
  height: 1.35em;
  overflow: hidden;
  color: var(--accent);
  vertical-align: calc(-0.3em - 1px);
  text-align: left;
}

.swap-roll {
  display: flex;
  flex-direction: column;
  animation: word-roll 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.swap-roll span {
  display: block;
  height: 1.35em;
  line-height: 1.35;
}

@keyframes word-roll {
  0%, 38% { transform: translateY(0); }
  50%, 88% { transform: translateY(-1.35em); }
  100% { transform: translateY(-2.7em); }
}

@media (prefers-reduced-motion: reduce) {
  .swap { display: none; }
  .home-title::after {
    content: "company or ticker";
    color: var(--accent);
  }
}

.home .lede {
  max-width: 38rem;
  margin: 12px auto 22px;
}

.home-search {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
}

.home-search input,
.home-search button {
  padding: 12px 14px;
  font-size: 16px;
}

.home-search .suggest { flex: 1; min-width: 0; }

.home-search input { width: 100%; }

.results {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.results a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.results a:last-child { border-bottom: 0; }

.results a:hover,
.results a.is-pending { background: var(--hover); }

.results .symbol {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.page-copy { max-width: 40rem; }

.page-copy h2 { margin-top: 26px; }

.page-copy p { max-width: 65ch; }

.page-copy a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.page-copy a:hover { text-decoration: underline; }

.form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  max-width: 32rem;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-weight: 400;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form input[aria-invalid="true"],
.form textarea[aria-invalid="true"] {
  border-color: var(--down);
}

.form button {
  justify-self: start;
  cursor: pointer;
  border-radius: var(--radius);
  padding: 10px 16px;
  font-weight: 600;
  background: var(--accent);
  color: #f4f7f5;
  border: 1px solid var(--accent);
}

.form button:hover { background: #164239; }

.field-error {
  margin: -8px 0 0;
  color: var(--down);
  font-size: 13px;
}

.turnstile { min-height: 65px; }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  width: 100%;
  background: #123832;
  color: #d5e8e2;
}

.site-footer .wrap {
  padding-top: 36px;
  padding-bottom: 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) minmax(0, 0.9fr);
  gap: 28px 48px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f7fbf9;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  display: block;
}

.site-footer h2 {
  margin: 0 0 10px;
  color: #f7fbf9;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 14px 0 0;
  max-width: 36rem;
  color: #d5e8e2;
  font-size: 14px;
  line-height: 1.55;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li { margin-top: 8px; }

.footer-links a,
.footer-cta {
  color: #f7fbf9;
  font-weight: 500;
  text-decoration: none;
}

.footer-cta {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover,
.footer-cta:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer-brand:hover span { text-decoration: underline; text-underline-offset: 3px; }

.footer-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:focus-visible {
  outline: 2px solid #f7fbf9;
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(247, 251, 249, 0.18);
}

.footer-legal p {
  margin: 0;
  max-width: none;
  font-size: 12px;
}

.top-nav {
  display: flex;
  gap: 4px;
  margin-right: auto;
}

.top-nav a {
  padding: 6px 10px;
  border-radius: 4px;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}

.top-nav a:hover { background: var(--hover); color: var(--ink); }

.top-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: -12px 0 14px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.crumbs li + li::before {
  content: "/";
  margin: 0 8px;
  color: var(--line);
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover { color: var(--accent); text-decoration: underline; }

.summary {
  max-width: 78ch;
  margin: 12px 0 0;
  line-height: 1.6;
}

h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-cards a {
  display: grid;
  gap: 4px;
  height: 100%;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
}

.link-cards a:hover,
.link-cards a.is-pending { background: var(--hover); border-color: var(--accent); }

.link-title { font-weight: 600; color: var(--accent); }

.link-blurb { color: var(--muted); font-size: 13px; }

.more-link { margin: 10px 0 0; font-size: 14px; }

.more-link a,
.guide-link a,
.summary a,
.note a,
.notice a,
.profile a,
.peers a,
.feature-grid a,
.industry-list a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.more-link a:hover,
.guide-link a:hover,
.note a:hover,
.notice a:hover,
.profile a:hover,
.peers a:hover,
.feature-grid a:hover,
.industry-list a:hover { text-decoration: underline; }

.guide-link {
  margin: 16px 0 0;
  padding: 10px 12px;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 12px;
}

.chips a {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.chips a:hover { background: var(--hover); }

.chips a[aria-current="page"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #f4f7f5;
}

.count {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.chips a[aria-current="page"] .count { color: #cfe3dc; }

table.filings th.label { min-width: 7rem; }

table th.text,
table td.text {
  text-align: left;
  white-space: normal;
  min-width: 16rem;
}

.aside-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.profile,
.peers {
  padding: 4px 16px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.profile h2,
.peers h2 { margin-top: 12px; }

.profile dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
  margin: 0;
  font-size: 14px;
}

.profile dt { color: var(--muted); }

.profile dd { margin: 0; }

.peers ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.peers li { padding: 4px 0; border-bottom: 1px solid var(--line); }

.peers li:last-child { border-bottom: 0; }

.peers .symbol,
.ticker-grid .symbol {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.home-section { margin-top: 36px; }

.ticker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticker-grid a {
  display: grid;
  gap: 2px;
  height: 100%;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
}

.ticker-grid a:hover,
.ticker-grid a.is-pending { background: var(--hover); border-color: var(--accent); }

.ticker-grid .symbol { color: var(--accent); }

.ticker-grid .name {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-grid .when { color: var(--muted); font-size: 12px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.feature-grid > div {
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.feature-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.industry-list {
  columns: 3 260px;
  column-gap: 28px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.industry-list li { padding: 4px 0; break-inside: avoid; }

.results .subline { display: block; }

.guide { max-width: 44rem; }

.guide h2 { margin-top: 30px; font-size: 1.15rem; }

.guide h3 { margin-top: 20px; }

.guide p,
.guide li { line-height: 1.65; }

.guide table { margin: 12px 0; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }

.guide th,
.guide td { white-space: normal; text-align: left; }

.guide-meta { color: var(--muted); font-size: 13px; }

.toc {
  margin: 18px 0;
  padding: 4px 16px 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.toc h2 { margin: 10px 0 6px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }

.toc ol { margin: 0; padding-left: 20px; font-size: 14px; }

.top-nav a:focus-visible,
.crumbs a:focus-visible,
.link-cards a:focus-visible,
.ticker-grid a:focus-visible,
.chips a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body.is-navigating,
body.is-navigating * { cursor: progress !important; }

.page-loading {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.page-loading-track {
  overflow: hidden;
  height: 3px;
  background: rgba(27, 79, 69, 0.16);
}

.page-loading-bar {
  width: 35%;
  height: 100%;
  background: var(--accent);
  animation: page-loading-slide 0.9s ease-in-out infinite;
}

.page-loading-note {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 10px auto 0;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(21, 33, 30, 0.12);
}

.spinner {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 2px solid rgba(27, 79, 69, 0.28);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spinner 0.7s linear infinite;
}

@keyframes page-loading-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(320%); }
}

@keyframes spinner {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .spinner,
  .page-loading-bar { animation: none; }
  .page-loading-bar { width: 100%; transform: none; }
}

@media (max-width: 800px) {
  .wrap { padding: 20px 16px 36px; }
  .top { margin-bottom: 20px; padding: 0 0 14px; flex-direction: column; align-items: stretch; gap: 12px; }
  .top-nav { margin-right: 0; }
  .crumbs ol { margin-top: -6px; }
  .profile dl { grid-template-columns: 1fr; gap: 2px; }
  .profile dd { margin-bottom: 6px; }
  .head, .next { flex-direction: column; align-items: flex-start; }
  .search { width: 100%; }
  .search .suggest { flex: 1; min-width: 0; }
  .search input { width: 100%; min-width: 0; }
  .search .suggest-popup { left: 0; right: 0; width: auto; }
  .metrics { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.55rem; }
  th.label, tbody th.label { min-width: 9.5rem; }
  .site-footer .wrap { padding: 28px 16px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-legal { flex-direction: column; gap: 6px; }
}
