:root{font-family:Arial,Helvetica,sans-serif;color:#171717;background:#fff;color-scheme:light;font-size:17px;line-height:1.65}
*{box-sizing:border-box}body{margin:0}main{width:min(100% - 44px,630px);margin:42px auto 100px;min-height:60vh}main.empty{margin-top:clamp(90px,25vh,205px)}h1,h2,h3,p{font-weight:400}input,select{width:100%;font:inherit;color:inherit;background:#fff;border:1px solid #a8a8a8;border-radius:0;padding:10px 14px;min-height:48px}input[type=search]{appearance:none;-webkit-appearance:none}input::placeholder{color:#666;opacity:1}.version-label{display:block;margin:14px 0 5px}select{padding:8px 14px;min-height:48px;text-align:left;text-align-last:left;direction:ltr}input:focus-visible,select:focus-visible,a:focus-visible,button:focus-visible{outline:2px solid #343434;outline-offset:3px}#status:empty{display:none}#status{margin:20px 0}#results{margin-top:18px}h2{font-size:1.15rem;margin:0 0 12px}.bible-text{padding:16px 18px;background:#f5f5f5;overflow-wrap:anywhere}.bible-heading{font-size:1rem;margin:0 0 10px}.bible-version-name{font-size:.85rem;color:#555}.bible-text p{margin:0 0 8px}.verse-number{font-size:.8em;color:#555;margin-right:8px}.comment{padding-bottom:20px;margin:0 0 20px;border-bottom:1px solid #e3e3e3}.comment:last-of-type{border-bottom:0}.meta{margin:0 0 6px}.quote{margin:0;white-space:pre-line;overflow-wrap:anywhere}.source{font-size:.8rem;color:#555;margin:7px 0 0}.source a,footer a{color:inherit}a{color:#333;text-underline-offset:3px}.note{color:#555;font-size:.85rem}.commentary-notes{margin-top:24px}.comment-heading{display:flex;align-items:center;gap:12px;font-size:1rem;margin:0 0 20px}.comment-heading::after{content:"";height:1px;flex:1;background:#aaa}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}footer{text-align:center;font-size:12px;color:#666;padding:15px 22px 25px}.empty+footer{position:fixed;bottom:0;left:0;right:0}details{margin:14px 0}summary{cursor:pointer}ul{padding-left:24px}li{margin:10px 0}article{overflow-wrap:anywhere}body.document main{margin-top:40px;max-width:760px;width:min(100% - 44px,760px)}body.document h1{font-size:1.5rem}body.document h2{font-size:1.1rem;margin-top:30px}@media(max-width:580px){main{margin-top:30px}main.empty{margin-top:clamp(80px,22vh,180px)}:root{font-size:16px}}
.lang-switch{position:absolute;top:14px;right:22px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:14px;max-width:calc(100% - 44px);font-size:.8rem;z-index:2}
.lang-switch a{color:#555;text-decoration:none}
.lang-switch a:hover{text-decoration:underline}
.lang-switch a[aria-current=page]{color:#171717;font-weight:700;text-decoration:underline;text-underline-offset:3px}
body.document .lang-switch{position:static;margin:0 0 10px}
@media(max-width:580px){.lang-switch{position:static;margin:14px 22px 0;justify-content:flex-start}}

#search-form > .search-submit {
  display: block;
  min-height: 44px;
  margin: 12px 0 0 auto;
  padding: 7px 20px;
  font: inherit;
  font-size: .9rem;
  color: #171717;
  background: #f6f6f6;
  border: 1px solid #a8a8a8;
  border-radius: 4px;
  cursor: pointer;
}

#search-form > .search-submit:hover {
  background: #eee;
  border-color: #737373;
}

#results {
  --verse-accent: #775017;
  --verse-muted: #645c51;
  --verse-line: #dfd8cc;
  margin-top: 23px;
  padding-top: 16px;
  border-top: 1px solid var(--verse-line);
  overflow-wrap: anywhere;
}

#results a {
  color: var(--verse-accent);
  text-underline-offset: .17em;
}

#results .verse-heading {
  margin: 0 0 2px;
  font: 30px/1.2 Georgia, serif;
}

#results .result-verse {
  margin: 8px 0;
  font: 20px/1.6 Georgia, serif;
  white-space: pre-wrap;
}

#results .phrase-tone-0 { --group-fill: #f6ecd8; --group-accent: #775017; }
#results .phrase-tone-1 { --group-fill: #f3ead4; --group-accent: #72561d; }
#results .phrase-tone-2 { --group-fill: #f7f0e2; --group-accent: #745a29; }
#results .phrase-tone-3 { --group-fill: #eee1c5; --group-accent: #704d18; }
#results .phrase-tone-4 { --group-fill: #f8edda; --group-accent: #795824; }
#results .phrase-tone-5 { --group-fill: #f1e7d0; --group-accent: #6c5224; }
#results .phrase-tone-whole { --group-fill: #efede8; --group-accent: #544c41; }

#results a.verse-words,
#results a.source-jump {
  color: var(--group-accent);
  background-color: var(--group-fill);
}

#results .verse-words:hover,
#results .source-jump:hover {
  text-decoration-thickness: .14em;
}

#results .source-meta,
#results .source-credits,
#results .source-full {
  margin: 0;
  color: var(--verse-muted);
  font: 13px/1.5 Arial, Helvetica, sans-serif;
}

#results .sources-heading {
  margin: 0 0 7px;
  font: 24px/1.25 Georgia, serif;
}

#results .source-category {
  margin-top: 32px;
  padding-top: 15px;
  border-top: 4px solid #3d3428;
}

#results .no-verse-sources {
  margin-top: 17px;
}

#results .timeline-order {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 12px;
  margin-top: 18px;
}

#results .timeline-order-label {
  color: var(--verse-muted);
  font-size: 13px;
}

#results .timeline-order-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

#results .timeline-order-choices button {
  min-height: 36px;
  padding: 5px 10px;
  border: 1px solid var(--verse-line);
  border-radius: 2px;
  background: #fff;
  color: #3d3428;
  font: inherit;
  font-size: 13px;
}

#results .timeline-order-choices button[aria-pressed="true"] {
  border-color: #3d3428;
  background: #3d3428;
  color: #fff;
}

#results .sources-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 19px;
  font-size: 13px;
}

#results .source-jump {
  max-width: 100%;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  padding: 5px 9px;
  border-left: 3px solid var(--group-accent);
  border-radius: 2px;
  line-height: 1.4;
}

#results .source-group-count {
  font-variant-numeric: tabular-nums;
}

#results .source-timeline {
  margin: 10px 0 0 5px;
  border-left: 1px solid var(--verse-line);
}

#results .source-phrase-tag {
  margin: 0 0 7px;
  padding: 5px 8px;
  border-left: 3px solid var(--group-accent);
  background-color: var(--group-fill);
  font: 16px/1.35 Georgia, serif;
}

#results .source-entry {
  position: relative;
  margin-left: 13px;
  padding: 11px 10px 11px 3px;
  scroll-margin-top: 14px;
}

#results .source-entry::before {
  position: absolute;
  top: 17px;
  left: -17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--verse-muted);
  content: "";
}

#results .source-entry + .source-entry {
  border-top: 1px solid var(--verse-line);
}

#results .source-quotation {
  margin: 5px 0;
  color: #221e18;
  font: 18px/1.45 Georgia, serif;
  white-space: pre-wrap;
}

#results .source-credits summary,
#results .source-full summary {
  color: var(--verse-accent);
}

#results .source-credits p {
  margin: 4px 0;
}

#results .source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}

@media (max-width: 460px) {
  #results .result-verse { font-size: 18px; }
  #results .source-quotation { font-size: 17px; }
}

@media (pointer: coarse) {
  #results .timeline-order-choices button { min-height: 44px; }
  #results .source-jump {
    min-height: 44px;
    align-content: center;
  }
}

html {
  --testimonia-footer-clearance: 54px;
  scroll-padding-bottom: var(--testimonia-footer-clearance);
}

body {
  padding-bottom: var(--testimonia-footer-clearance);
}

footer .testimonia-footer-nav {
  position: fixed;
  inset: auto 0 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px 18px;
  margin: 0;
  padding: 7px 14px;
  border-top: 1px solid #dfd8cc;
  background-color: #faf8f3;
  font: 13px/1.5 system-ui, sans-serif;
}

.testimonia-footer-nav a {
  color: #775017;
  padding: 4px 0;
  text-underline-offset: 3px;
}

.testimonia-footer-nav a:hover,
.testimonia-footer-nav a:focus-visible {
  color: #493316;
}

.testimonia-footer-version {
  color: #5f513f;
  white-space: nowrap;
}

main.empty + footer {
  position: static;
}

@media (max-width: 670px) {
  html {
    --testimonia-footer-clearance: 82px;
  }

  footer .testimonia-footer-nav {
    column-gap: 12px;
  }
}

@media (max-width: 380px) {
  html {
    --testimonia-footer-clearance: 112px;
  }
}

.testimonia-home {
  display: flow-root;
  min-height: 100vh;
  color: #24201a;
  background-color: #f7f4ed;
}

.testimonia-home #main {
  margin-top: clamp(76px, 11vh, 108px);
}

.testimonia-intro {
  margin-bottom: 30px;
  text-align: center;
}

.testimonia-intro h1 {
  margin: 0;
  font: 700 clamp(2.8rem, 8vw, 4.4rem)/1.05 Georgia, "Times New Roman", serif;
}

.testimonia-intro h1::after {
  display: block;
  width: 42px;
  height: 2px;
  margin: 17px auto 16px;
  background-color: #b39359;
  content: "";
}

.testimonia-description {
  max-width: 46ch;
  margin: 0 auto;
  font: 1.17rem/1.45 Georgia, "Times New Roman", serif;
}

.testimonia-instructions {
  margin: 9px 0 0;
  color: #5f513f;
  font-size: .88rem;
  line-height: 1.5;
}

.testimonia-home #search-form input,
.testimonia-home #search-form select {
  border-color: #b8aa96;
}

.testimonia-home #search-form > .search-submit {
  border-color: #745820;
  background-color: #745820;
  color: #fff;
}

.testimonia-home #search-form > .search-submit:hover {
  border-color: #583f17;
  background-color: #583f17;
}

@media (max-width: 580px) {
  .testimonia-home #main {
    margin-top: 37px;
  }

  .testimonia-intro {
    margin-bottom: 24px;
  }
}
