/* quotelinks.com — list pages (/lists/*.html) and the list hubs (/stocks.html, /etfs.html). Loaded after ql1.css (+ ql-screener.css on list pages). */
.ls-main { margin-top: 14px; margin-bottom: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.ls-asof { margin: 0 0 -8px; color: var(--muted); font-size: 13px; }

/* hub tiles */
.ls-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ls-tile { display: flex; flex-direction: column; height: 100%; padding: 16px 18px 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.ls-tile:hover { text-decoration: none; border-color: var(--accent); box-shadow: 0 4px 14px rgba(29,78,216,.10); transform: translateY(-1px); }
.ls-tt { font-size: 17px; font-weight: 650; color: var(--accent); }
.ls-td { margin: 6px 0 14px; color: #4b5563; font-size: 14px; line-height: 1.45; flex: 1; }
.ls-tm { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 10px; }
.ls-n { font-weight: 600; font-size: 13.5px; }
.ls-sy { display: flex; gap: 4px; }
.ls-sy span { padding: 2px 7px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 600; }

/* list pages */
.ls-table thead th button { all: unset; cursor: pointer; }
.ls-table thead th button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ls-table thead th[aria-sort="descending"] button::after { content: " ▾"; color: var(--accent); }
.ls-table thead th[aria-sort="ascending"] button::after { content: " ▴"; color: var(--accent); }
.ls-jump { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 12px; }
.ls-jump a { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.ls-jump a small { color: var(--muted); font-size: 12px; }
.ls-jump a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.ls-gh { font-size: 16px; padding: 18px 18px 8px; scroll-margin-top: calc(var(--nav-h) + 8px); border-top: 1px solid var(--line); }
.ls-gh small { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 6px; }
.ls-gnote, .ls-more { margin: 0; padding: 10px 18px 0; font-size: 13.5px; color: var(--muted); }
.ls-more a { font-weight: 600; }

@media (max-width: 767.98px) {
  .ls-tiles { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ls-tile { padding: 14px 14px 12px; }
  .ls-gh { padding: 16px 14px 8px; }
  .ls-jump { padding: 0 14px 10px; }
}
