.lst {
  position: fixed;
  inset: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: max(8px, env(safe-area-inset-top)) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  border: 0;
  background: var(--bg, #1a1714);
  color: var(--tx, #e8e2d8);
  flex-direction: column;
  overflow: hidden;
}
.lst[open] { display: flex; }
.lst::backdrop { background: rgba(20, 16, 12, .62); }
.lst-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: none;
  padding: 8px 12px 6px;
  border-bottom: 1px solid var(--brd, #3a3428);
}
.lst-hd h2 {
  min-width: 0;
  margin: 0;
  color: var(--tx, #e8e2d8);
  font-family: var(--ser, Georgia, serif);
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.lst-close {
  flex: none;
  width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--tx2, #c4baa8);
  cursor: pointer;
  font-size: 1.1rem;
}
.lst-close:hover, .lst-close:focus-visible { background: var(--bg2, #242018); color: var(--tx, #e8e2d8); }
.lst-progress { flex: none; padding: 12px 14px 6px; }
.atlas-progress-copy { display: flex; align-items: baseline; gap: 7px; color: var(--tx2, #c4baa8); }
.atlas-progress-copy strong { color: var(--tx, #e8e2d8); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.atlas-progress-copy span, .atlas-progress-meta { font-size: .75rem; }
.atlas-progress-track { height: 3px; margin-top: 7px; overflow: hidden; background: var(--bg3, #2e2820); }
.atlas-progress-track i { display: block; height: 100%; background: var(--ac, #c49a60); transition: width .2s ease; }
.atlas-progress-meta { margin-top: 5px; color: var(--tx3, #8a7e6e); }
.atlas-title-count { margin-left: 8px; font: 500 .8rem var(--sans); color: var(--tx2); }
.atlas-status { color: var(--tx2); }
.atlas-toolbar { display: flex; align-items: stretch; gap: 7px; flex: none; padding: 6px 14px; }
.atlas-search {
  min-width: 0;
  min-height: 44px;
  flex: 1 1 12rem;
  padding: 8px 12px;
  border: 1px solid var(--brd2, #4a4236);
  border-radius: 10px;
  outline: 0;
  background: var(--card, #221e18);
  color: var(--tx, #e8e2d8);
  font-size: 16px;
}
.atlas-search::placeholder { color: var(--tx3, #8a7e6e); }
.atlas-search:focus { border-color: var(--ac, #c49a60); }
.atlas-unread, .atlas-filter, .atlas-reset {
  min-height: 44px;
  border: 1px solid var(--brd, #3a3428);
  border-radius: 9px;
  background: transparent;
  color: var(--tx2, #c4baa8);
  cursor: pointer;
  font-size: .78rem;
  line-height: 1.25;
}
.atlas-unread { flex: 0 1 auto; padding: 7px 10px; text-align: left; }
.atlas-unread:hover, .atlas-filter:hover, .atlas-reset:hover { border-color: var(--brd2, #4a4236); color: var(--tx, #e8e2d8); }
.atlas-unread.is-active, .atlas-filter[aria-pressed="true"] { border-color: var(--ac, #c49a60); background: var(--bg2, #242018); color: var(--tx, #e8e2d8); }
.lst-fc {
  display: flex;
  flex: none;
  gap: 6px;
  padding: 6px 14px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.lst-fc::-webkit-scrollbar { display: none; }
.atlas-filter { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 6px 10px; white-space: normal; text-align: left; }
.atlas-filter-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--tx3, #8a7e6e); }
.lst-body {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 12px 24px;
}
.atlas-group { margin: 0 0 16px; }
.atlas-group-heading {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  padding: 7px 3px 5px;
  color: var(--tx3, #8a7e6e);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .045em;
  line-height: 1.3;
  text-transform: uppercase;
}
.atlas-group-heading::after { height: 1px; flex: 1; content: ''; background: var(--brd, #3a3428); }
.atlas-group-heading small { flex: none; font-size: .7rem; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.atlas-grid { display: grid; grid-template-columns: 1fr; gap: 3px; }
.atlas-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  min-height: 64px;
  padding: 9px 38px 9px 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.atlas-card:hover, .atlas-card:focus-visible { border-color: var(--brd, #3a3428); background: var(--bg2, #242018); }
.atlas-card img, .atlas-initial {
  width: 42px;
  height: 42px;
  flex: none;
  border: 2px solid var(--brd, #3a3428);
  border-radius: 50%;
  background: var(--bg3, #2e2820);
  object-fit: cover;
}
.atlas-initial { display: grid; place-items: center; color: var(--tx3, #8a7e6e); font-size: .85rem; font-weight: 650; }
.atlas-card-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 3px; padding-top: 1px; }
.atlas-name { color: var(--tx, #e8e2d8); font-size: .9rem; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.atlas-street { color: var(--tx3, #8a7e6e); font-size: .73rem; line-height: 1.35; overflow-wrap: anywhere; }
.atlas-street-former { color: var(--tx2, #c4baa8); }
.atlas-read-state { position: absolute; top: 11px; right: 12px; color: var(--ac, #c49a60); font-size: .82rem; font-weight: 700; }
.atlas-empty { display: grid; justify-items: center; gap: 12px; padding: 34px 12px; color: var(--tx2, #c4baa8); text-align: center; }
.atlas-reset { padding: 7px 13px; color: var(--tx, #e8e2d8); }
@media (min-width: 680px) { .atlas-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 5px; } }
@media (max-width: 380px) { .atlas-toolbar { flex-wrap: wrap; } .atlas-search { flex-basis: 100%; } .atlas-unread { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .atlas-progress-track i { transition: none; } }
@media (min-width: 900px) {
  .lst { inset: 0; width: min(960px, calc(100% - 48px)); height: min(850px, calc(100dvh - 48px)); margin: auto; border: 1px solid var(--brd); border-radius: 14px; }
}
