  :root {
    --accent: #0b5394;
    --border: #e2e2e2;
    --muted: #666;
  }
  #stack-pubs {
    /*font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;*/
    /*max-width: 860px;*/
    margin: 0 auto;
    color: #222;
    line-height: 1.5;
  }
  #stack-pubs #pub-list {
	display: none; /* un-hidden when the JS loads */
	max-height: 30em;
    overflow-y: scroll;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.5em;
  }
  #stack-pubs .controls {
	display: none; /* un-hidden when the JS loads */
    position: sticky;
    top: 0;
    background: #fff;
    padding: 0 0 12px;
    z-index: 5;
  }
  #stack-pubs input[type="search"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    font-size: 1rem;
    border: 1px solid #bbb;
    border-radius: 6px;
  }
  #stack-pubs input[type="search"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(11,83,148,.15);
  }
  #stack-pubs .meta {
    font-size: .85rem;
    color: var(--muted);
    margin: 6px 2px 0;
  }
  #stack-pubs h2.year {
    font-size: 1.15rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 4px;
    margin: 28px 0 10px;
  }
  #stack-pubs .pub {
    padding: 0 4px 10px 0;
    font-size: .95rem;
  }
  /* citation.js wraps each entry in .csl-entry */
  #stack-pubs .csl-entry {
	display: block;
	text-indent: -2em;
    margin-left: 2em;
  }
  #stack-pubs .pub a {
    color: var(--accent);
    word-break: break-word;
  }
  #stack-pubs mark {
    background: #fff3b0;
    padding: 0 1px;
  }
  #stack-pubs .status {
    padding: 20px 4px;
    color: var(--muted);
    font-style: italic;
  }
  #stack-pubs .status.error { color: #b00020; font-style: normal; }