:root {
  --year-page: #f4f5f7;
  --year-paper: #fff;
  --year-ink: #202328;
  --year-muted: #687078;
  --year-line: #e4e7ea;
  --year-accent: #2f7b5c;
  --year-soft: #edf5f1;
  --year-surface: var(--year-paper);
  --year-fs: 20px;
  --rcv-paper:#fbf7ee;--rcv-ink:#24201c;--rcv-soft:#645d55;--rcv-gold:#805716;--rcv-line:#e6dcc8;
}
html[data-sv-theme="sepia"] { --rcv-paper:#fdf8ee;--rcv-ink:#553617;--rcv-soft:#745b36;--rcv-gold:#8f5b0e;--rcv-line:#e6d9c1; }
html[data-sv-theme="green"] { --rcv-paper:#f0f6ec;--rcv-ink:#183f2a;--rcv-soft:#46604d;--rcv-gold:#3d692d;--rcv-line:#d5e1ce; }
html[data-sv-theme="night"] { --rcv-paper:#22262c;--rcv-ink:#e8e1d6;--rcv-soft:#aaa294;--rcv-gold:#d0af68;--rcv-line:#31353c; }

.year-reader-multi-reference{margin:0 0 14px;color:var(--year-muted);font-size:14px;line-height:1.6}
.year-reader-multi-list{display:grid}
.year-reader-multi-list label{display:flex;align-items:flex-start;gap:12px;min-height:48px;padding:14px 0;border-bottom:1px solid var(--year-line);font-size:17px;line-height:1.8;color:var(--year-ink);cursor:pointer}
.year-reader-multi-list input{flex:0 0 auto;width:20px;height:20px;margin:6px 0 0;accent-color:var(--year-accent)}
.year-reader-multi-controls{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0 calc(10px + env(safe-area-inset-bottom));background:var(--year-paper);color:var(--year-muted);font-size:15px}
.year-reader-multi-controls button{min-height:44px;padding:10px 18px;border:0;border-radius:9px;background:var(--year-accent);color:#fff;font:inherit;font-weight:600}
.year-reader-multi-controls button:disabled{opacity:.45}

html[data-sv-theme="paper"] {
  --year-page: #f4f5f7;
  --year-paper: #fff;
  --year-ink: #202328;
  --year-muted: #687078;
  --year-line: #e4e7ea;
  --year-accent: #2f7b5c;
  --year-soft: #edf5f1;
}

html[data-sv-theme="sepia"] {
  --year-page: #f3ecda;
  --year-paper: #fdf8ee;
  --year-ink: #553617;
  --year-muted: #745b36;
  --year-line: #e6d9c1;
  --year-accent: #8f5b0e;
  --year-soft: #f4ead6;
}

html[data-sv-theme="green"] {
  --year-page: #e6efe0;
  --year-paper: #f0f6ec;
  --year-ink: #183f2a;
  --year-muted: #526c59;
  --year-line: #d5e1ce;
  --year-accent: #3d692d;
  --year-soft: #e2edde;
}

html[data-sv-theme="night"] {
  color-scheme: dark;
  --year-page: #15171b;
  --year-paper: #22262c;
  --year-ink: #e8e1d6;
  --year-muted: #aaa294;
  --year-line: #343941;
  --year-accent: #d0af68;
  --year-soft: #2a3036;
}

html[data-sv-theme] body {
  background: var(--year-page) !important;
  color: var(--year-ink) !important;
}

html[data-sv-theme] .wrap,
html[data-sv-theme] .card,
html[data-sv-theme] #daycard,
html[data-sv-theme] .psg,
html[data-sv-theme] .psg-b,
html[data-sv-theme] .nbabody,
html[data-sv-theme] .hhbbody {
  color: var(--year-ink) !important;
}

html[data-sv-theme] .nbabody,
html[data-sv-theme] .hhbbody,
html[data-sv-theme] .psg-b {
  font-size: var(--year-fs) !important;
}

html[data-sv-theme] .card,
html[data-sv-theme] #daycard,
html[data-sv-theme] .psg,
html[data-sv-theme] .aud {
  background: transparent !important;
}

html[data-sv-theme] .aud,
html[data-sv-theme] .nbabody .o0,
html[data-sv-theme] .nbabody .o1,
html[data-sv-theme] .nbabody .o2,
html[data-sv-theme] .nbabody .o3 {
  border-color: var(--year-line) !important;
  background: var(--year-soft) !important;
  color: var(--year-ink) !important;
}

html[data-sv-theme="night"] .nbabody,
html[data-sv-theme="night"] .nbabody p,
html[data-sv-theme="night"] .nbabody div,
html[data-sv-theme="night"] .nbabody span,
html[data-sv-theme="night"] .hhbbody,
html[data-sv-theme="night"] .hhbbody p,
html[data-sv-theme="night"] .hhbbody div,
html[data-sv-theme="night"] .hhbbody span,
html[data-sv-theme="night"] .psg-b,
html[data-sv-theme="night"] .psg-b .verse,
html[data-sv-theme="night"] .psg-h,
html[data-sv-theme="night"] .psg-h b,
html[data-sv-theme="night"] .aud,
html[data-sv-theme="night"] .aud-ch,
html[data-sv-theme="night"] .aud-time {
  color: var(--year-ink) !important;
}

html[data-sv-theme="night"] .top {
  border-color: var(--year-line) !important;
  background: var(--year-paper) !important;
  color: var(--year-ink) !important;
}

html[data-sv-theme="night"] .dnav button,
html[data-sv-theme="night"] .back,
html[data-sv-theme="night"] .psg-h .meta,
html[data-sv-theme="night"] .psg-load {
  color: var(--year-muted) !important;
}

.year-reader-toolbar {
  position: static;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 0 3px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--rcv-line);
  background: var(--rcv-paper);
  color: var(--rcv-ink);
}

.year-reader-tool {
  position: relative;
  flex: 1 1 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 43px;
  height: 54px;
  min-height: 54px;
  padding: 0 1px;
  border: 0;
  border-radius: 11px;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 10.5px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.year-reader-tool:first-child {
  border-left: 0;
}

.year-reader-tool svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
}
.year-reader-tool > span { color:var(--rcv-soft);font-weight:500;line-height:1;white-space:nowrap; }
.year-reader-tool.is-active > span { color:var(--rcv-gold); }
.year-reader-toolbar .year-reader-tool > .year-reader-note-badge { position:absolute;top:3px;left:auto;right:max(3px,calc(50% - 23px));display:flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 3px;border-radius:8px;background:#aa503b;color:#fff;font:700 10px/1 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;white-space:nowrap; }
.year-reader-toolbar .year-reader-tool > .year-reader-note-badge[hidden] { display:none; }
.year-reader-sheet--tools { background:var(--rcv-paper);color:var(--rcv-ink); }
.year-reader-more-menu { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
.year-reader-more-menu[hidden] { display:none; }
.year-reader-more-menu .year-reader-tool { min-height:84px;height:auto;padding:14px 8px;gap:8px;border:1px solid var(--rcv-line);color:var(--rcv-ink); }
.year-reader-more-menu .year-reader-tool svg { width:26px;height:26px; }
.year-reader-more-menu .year-reader-tool > span { font-size:13px;font-weight:600;white-space:normal;line-height:1.3; }

.year-reader-tool.is-active svg {
  --reader-bookmark-fill: currentColor;
  fill: currentColor;
}

.year-reader-tool.is-active,
.year-reader-tool:focus-visible,
.year-reader-tool:active {
  color: var(--rcv-gold);
}

.year-reader-tool:active {
  background: transparent;
}

/* Calendar opts in; the other Year readers keep their existing navigation. */
html.year-reader-reading #dayview > .card { overflow:visible; }
[data-year-reader-dock] { position:sticky;top:var(--year-reader-tools-top,0px);padding-top:env(safe-area-inset-top,0px);z-index:10050; }
[data-year-reader-header] { background:var(--rcv-paper);color:var(--rcv-ink); }
[data-year-reader-header] .year-reader-toolbar { width:100%;margin-left:0;margin-right:0; }
html.year-reader-reading.year-reader-sheet-open [data-year-reader-dock],
html.year-reader-reading.nba-note-modal-open [data-year-reader-dock],
html.year-reader-reading.sc-modal [data-year-reader-dock],
html.year-reader-reading:has([data-year-reader-report]) [data-year-reader-dock],
html.year-reader-reading:has(input:not([type=range]):not([type=checkbox]):not([type=radio]):focus,textarea:focus,[contenteditable="true"]:focus) [data-year-reader-dock] { visibility:hidden; }
html.year-reader-reading:has([data-year-reader-report]) #_bnav,
html.year-reader-reading:has([data-year-reader-report]) .btm-nav { visibility:hidden; }
@media(max-width:899px) {
  [data-year-reader-dock] .year-reader-toolbar > .year-reader-tool,
  [data-year-reader-dock] > .year-reader-tool { flex:1 1 0; }
  html.year-reader-reading:has(.year-reader-passage-actions) [data-year-reader-dock] { visibility:hidden; }
}

.year-reader-tool:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}

.year-reader-search__form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.year-reader-search__form input {
  min-width: 0;
  flex: 1;
  height: 48px;
  border: 1.5px solid var(--year-line);
  border-radius: 15px;
  outline: 0;
  background: var(--year-surface);
  color: var(--year-ink);
  padding: 0 16px;
  font: inherit;
  font-size: 15px;
}

.year-reader-search__form input:focus {
  border-color: var(--year-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--year-accent) 14%, transparent);
}

.year-reader-search__form button {
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 15px;
  background: var(--year-accent);
  color: #fff;
  padding: 0;
  font: inherit;
  font-weight: 750;
}

.year-reader-search__form button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
}

.year-reader-search__scope,
.year-reader-search__count,
.year-reader-search__empty {
  margin: 10px 2px 0;
  color: var(--year-muted);
  font-size: 13px;
  line-height: 1.55;
}

.year-reader-search__results {
  display: grid;
  gap: 0;
  margin-top: 10px;
}

.year-reader-search-result {
  display: grid;
  gap: 5px;
  width: 100%;
  min-height: 66px;
  border: 0;
  border-top: 1px solid var(--year-line);
  border-radius: 0;
  background: transparent;
  color: var(--year-ink);
  padding: 12px 2px;
  text-align: left;
  font: inherit;
}

.year-reader-search-result strong {
  color: var(--year-accent);
  font-size: 13px;
}

.year-reader-search-result span {
  font-size: 14px;
  line-height: 1.55;
}

.year-reader-search-result:focus-visible {
  outline: 2px solid var(--year-accent);
  outline-offset: 2px;
}

.year-reader-search-hit {
  border-radius: 8px;
  color: #171717;
  background: #ffeb3b !important;
  box-shadow: 0 0 0 4px #ffeb3b;
  animation: year-reader-search-pulse .72s ease-in-out 3;
}

.year-reader-search-range span {
  color: #171717;
  background: #ffeb3b;
  box-shadow: 0 0 0 3px #ffeb3b;
  animation: year-reader-search-pulse .72s ease-in-out 3;
}

.year-reader-passage-highlight-layer.year-reader-search-range {
  position: absolute;
}

@keyframes year-reader-search-pulse {
  50% { filter: brightness(1.12); opacity: .56; }
}

::highlight(year-search-hit) {
  color: #171717;
  background: #ffeb3b;
}

.year-reader-sheet-scrim {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: transparent;
  touch-action: pan-y;
}

.year-reader-sheet {
  position: fixed;
  right: 0;
  bottom: var(--bottom-nav, 56px);
  left: 0;
  z-index: 9999;
  width: min(720px, 100%);
  max-height: min(76vh, calc(100vh - 120px));
  max-height: min(76dvh, calc(100dvh - 120px));
  margin: 0 auto;
  overflow: auto;
  border: 0;
  border-radius: 20px 20px 0 0;
  background: var(--year-paper);
  color: var(--year-ink);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, .2);
  padding: 8px 22px calc(22px + env(safe-area-inset-bottom, 0px));
  overscroll-behavior: contain;
  animation: year-reader-sheet-in .2s ease-out;
}

.year-reader-sheet--search {
  top: 0;
  bottom: 0;
  height: 100dvh;
  max-height: none;
  border-radius: 0;
  touch-action: pan-y;
  overscroll-behavior: contain;
}

html.year-reader-search-open #_bnav {
  display: none !important;
}

html.year-reader-search-open .year-reader-sheet--search {
  bottom: 0;
  max-height: none;
}

@keyframes year-reader-sheet-in {
  from { transform: translateY(22px); opacity: .72; }
  to { transform: translateY(0); opacity: 1; }
}

.year-reader-sheet__panel {
  font-size: 16px;
}

html[data-sv-theme="night"] .year-reader-sheet__panel {
  background: var(--year-surface);
  color: var(--year-ink);
}

html[data-sv-theme="night"] .year-reader-note {
  background: var(--year-page);
  color: var(--year-ink);
}

.year-reader-sheet__grabber {
  display: block;
  width: 38px;
  height: 20px;
  margin: 0 auto 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.year-reader-sheet__grabber::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: var(--year-line);
}

.year-reader-sheet > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  border-bottom: 1px solid var(--year-line);
}

.year-reader-sheet > header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 780;
  letter-spacing: .01em;
}

.year-reader-sheet__close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--year-soft);
  color: var(--year-muted);
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.year-reader-sheet__content {
  padding-top: 10px;
}

.year-reader-sheet--settings .year-reader-sheet__content,
.year-reader-sheet--stats .year-reader-sheet__content,
.year-reader-sheet--notes .year-reader-sheet__content {
  padding-top: 0;
}

.year-reader-setting-section {
  margin: 0 0 20px;
}

.year-reader-setting-section:last-child {
  margin-bottom: 2px;
}

.year-reader-setting-section h2,
.year-reader-stats__heading,
.year-reader-stats__version {
  margin: 0 2px 12px;
  color: var(--year-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
}

.year-reader-stats__heading,
.year-reader-stats__version {
  text-align: center;
}

.year-reader-stats__version {
  margin-bottom: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.year-reader-note {
  display: block;
  width: 100%;
  min-height: 160px;
  padding: 13px;
  border: 1px solid var(--year-line);
  border-radius: 12px;
  outline: 0;
  background: var(--year-page);
  color: var(--year-ink);
  font: inherit;
  line-height: 1.7;
  resize: vertical;
}

.year-reader-sheet__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.year-reader-sheet__actions button,
.year-reader-font-controls button {
  min-width: 72px;
  min-height: 44px;
  border: 1px solid var(--year-line);
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
}

.year-reader-sheet__actions button:last-child {
  border-color: var(--year-accent);
  background: var(--year-accent);
  color: #fff;
}

.year-reader-font-controls {
  display: flex;
  align-items: stretch;
  min-height: 52px;
  overflow: hidden;
  border-radius: 13px;
  background: var(--year-soft);
}

.year-reader-font-controls button {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  border: 0;
  background: transparent;
}

.year-reader-font-controls strong {
  display: flex;
  flex: 0 0 auto;
  min-width: 86px;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.year-reader-font-controls .is-small { font-size: 16px; }
.year-reader-font-controls .is-large { font-size: 24px; }
.year-reader-font-controls button:disabled { opacity: .32; }

.year-reader-sheet__actions button,
.year-reader-font-controls button {
  color: inherit;
  font: inherit;
  font-weight: 700;
}

.year-reader-theme-choices {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.year-reader-theme-choice {
  flex: 1;
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 72px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--year-ink);
  font: inherit;
}

.year-reader-theme-choice[aria-pressed="true"] {
  color: var(--year-accent);
}

.year-reader-theme-choice > span {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--year-line);
  border-radius: 50%;
}

.year-reader-theme-choice[aria-pressed="true"] > span {
  border: 3px solid var(--year-accent);
}

.year-reader-search-history {
  margin-top: 24px;
  border-top: 1px solid var(--year-line);
  padding-top: 14px;
}

.year-reader-search-history > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.year-reader-search-history h3 {
  margin: 0;
  font-size: 15px;
}

.year-reader-search-history__clear,
.year-reader-search-history__delete,
.year-reader-search-history__term {
  border: 0;
  background: transparent;
  color: var(--year-muted);
  font: inherit;
}

.year-reader-search-history__clear {
  color: var(--year-accent);
  font-size: 13px;
}

.year-reader-search-history__list > div {
  display: flex;
  align-items: center;
  min-height: 46px;
  border-bottom: 1px solid var(--year-line);
}

.year-reader-search-history__term {
  flex: 1;
  color: var(--year-ink);
  text-align: left;
}

.year-reader-search-history__delete {
  width: 44px;
  height: 44px;
  font-size: 22px;
}

.year-reader-search-confirm {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: grid;
  place-content: center;
  background: rgba(18, 25, 30, .48);
  padding: 22px;
}

.year-reader-search-confirm > p {
  width: min(340px, calc(100vw - 44px));
  margin: 0;
  border-radius: 18px 18px 0 0;
  background: var(--year-paper);
  padding: 24px 22px 18px;
  color: var(--year-ink);
  font-weight: 700;
}

.year-reader-search-confirm > div {
  display: flex;
  width: min(340px, calc(100vw - 44px));
  border-radius: 0 0 18px 18px;
  overflow: hidden;
  background: var(--year-paper);
  padding: 0 16px 16px;
}

.year-reader-search-confirm button {
  flex: 1;
  min-height: 44px;
  border: 0;
  background: var(--year-soft);
  color: var(--year-ink);
  font: inherit;
  font-weight: 700;
}

.year-reader-search-confirm button:last-child {
  background: var(--year-accent);
  color: #fff;
}

.year-reader-theme-choice.is-paper > span { background: #fff; }
.year-reader-theme-choice.is-sepia > span { background: #efdcae; }
.year-reader-theme-choice.is-green > span { background: #cfe2c5; }
.year-reader-theme-choice.is-night > span { background: #22262c; }

.year-reader-stats {
  display: flex;
  margin: 4px 0 6px;
  text-align: center;
}

.year-reader-stats > div { flex: 1; }

.year-reader-stats strong {
  display: block;
  color: var(--year-ink);
  font-size: 26px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.year-reader-stats strong span {
  margin-left: 2px;
  color: var(--year-muted);
  font-size: 13px;
  font-weight: 600;
}

.year-reader-stats em {
  display: block;
  margin-top: 5px;
  color: var(--year-muted);
  font-size: 12.5px;
  font-style: normal;
}

.year-reader-stats__note {
  margin: 12px 6px 2px;
  color: var(--year-muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.year-reader-stats__more {
  display: block;
  margin-top: 16px;
  padding: 13px;
  border-radius: 12px;
  background: var(--year-soft);
  color: var(--year-accent);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.year-reader-notes__header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  margin: 2px 0 12px;
}

.year-reader-notes__header strong {
  color: var(--year-ink);
  font-size: 17px;
  text-align: center;
}

.year-reader-notes__header button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--year-muted);
  font: inherit;
  font-size: 27px;
}

.year-reader-notes__header button svg {
  width: 24px;
  height: 24px;
}

.year-reader-notes__tabs {
  display: flex;
  margin: 4px 0 18px;
  padding: 3px;
  border-radius: 11px;
  background: var(--year-soft);
}

.year-reader-notes__tabs button {
  flex: 1;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--year-muted);
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
}

.year-reader-notes__tabs button.is-active {
  background: var(--year-paper);
  color: var(--year-ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}

.year-reader-notes__list {
  max-height: 52vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.year-reader-note-card {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 13px 14px;
  border: 1px solid var(--year-line);
  border-radius: 14px;
  background: var(--year-paper);
  color: var(--year-ink);
  font: inherit;
  text-align: left;
}

.year-reader-note-card__top {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.year-reader-note-card__top strong {
  flex: 1;
  color: #c0392b;
  font-size: 13px;
}

.year-reader-note-card__top time {
  color: var(--year-muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.year-reader-note-card__label {
  display: block;
  margin-bottom: 4px;
  color: #6f4f91;
  font-size: 11px;
  font-weight: 800;
}

.year-reader-note-card__quote {
  display: block;
  margin: 0 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--year-line);
  color: var(--year-muted);
  font-size: 13px;
  line-height: 1.65;
}

.year-reader-note-card__copy {
  display: block;
  color: #563b78;
  font-size: 15px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.year-reader-notes__empty {
  padding: 30px 0;
  color: var(--year-muted);
  text-align: center;
}

.year-reader-notes__write {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--year-soft);
  color: var(--year-accent);
  font: inherit;
  font-weight: 700;
}



.year-reader-passage-target {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.nbabody p,
.nbabody .o0,
.nbabody .o1,
.nbabody .o2,
.nbabody .o3,
.psg-b .verse {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.year-reader-passage-picked {
  border-radius: 4px;
  background: rgba(47, 110, 84, .10) !important;
  outline: 2px solid rgba(47, 110, 84, .34);
  outline-offset: 2px;
}

::highlight(year-passage-picked) {
  background: rgba(47, 110, 84, .14);
  color: inherit;
  text-decoration: underline rgba(47, 110, 84, .46) 2px;
}

.year-reader-passage-highlight-layer {
  position: fixed;
  inset: 0;
  z-index: 10010;
  pointer-events: none;
}

.year-reader-passage-highlight-layer span {
  position: absolute;
  border-radius: 3px;
  background: rgba(47, 110, 84, .14);
  box-shadow: inset 0 -2px rgba(47, 110, 84, .46);
}

.year-reader-passage-actions {
  position: fixed;
  z-index: 10020;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: calc(100vw - 20px);
  overflow: visible;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f4eee3;
  box-shadow: none;
  pointer-events: none;
  touch-action: manipulation;
}

.year-reader-passage-actions__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  padding: 3px 4px;
  overflow: hidden;
  border-radius: 14px;
  background: #232120;
  box-shadow: none;
  pointer-events: auto;
}

/* A/union actions have no separate bar or color palette. */
.year-reader-passage-actions:not(.year-reader-passage-actions--b){flex-direction:row;overflow:hidden;min-width:210px;border-radius:12px;background:#24282d;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.28);pointer-events:auto}
.year-reader-passage-actions:not(.year-reader-passage-actions--b) button{flex:1 1 70px;width:70px;min-width:0;min-height:62px;padding:8px 16px 7px;border-left:1px solid rgba(255,255,255,.14);border-radius:0;font-weight:650}

.year-reader-passage-actions button {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 52px;
  min-height: 0;
  padding: 9px 13px 8px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.year-reader-passage-actions__bar button + button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: rgba(255, 255, 255, .14);
}

.year-reader-passage-actions button svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.year-reader-passage-actions button:first-child {
  border-left: 0;
}

.year-reader-passage-actions button:active {
  background: rgba(255, 255, 255, .12);
}

.b-reading.year-reader-selecting,
.b-reading.year-reader-selecting [data-year-passage],
.year-reader-selecting.year-reader-passage-target {
  -webkit-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: none;
}

.year-reader-selecting sup,
.year-reader-selecting button,
.year-reader-selecting a,
.year-reader-selecting input,
.year-reader-selecting textarea,
.year-reader-selecting [contenteditable] {
  -webkit-user-select: none !important;
  user-select: none !important;
}

.year-reader-selection-handle {
  position: fixed;
  z-index: 10030;
  width: 34px;
  height: 40px;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.year-reader-selection-handle--start { transform: translateX(-100%); }
.year-reader-selection-handle::before {
  content: '';
  position: absolute;
  top: -2px;
  width: 2px;
  height: 14px;
  background: var(--year-accent, #376b50);
}
.year-reader-selection-handle::after {
  content: '';
  position: absolute;
  top: 10px;
  width: 17px;
  height: 17px;
  border-radius: 0 50% 50%;
  background: var(--year-accent, #376b50);
}
.year-reader-selection-handle--start::before { right: 0; }
.year-reader-selection-handle--start::after { right: 0; border-radius: 50% 0 50% 50%; }
.year-reader-selection-handle--end::before,
.year-reader-selection-handle--end::after { left: 0; }

/* Calendar A uses the Recovery Bible annotation presentation. Its Range is
   painted by the reader, never submitted to the browser's native handles. */
.year-reader-rcv-selecting,
.year-reader-rcv-selecting [data-year-passage] {
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none;
}
.year-reader-rcv-selection { position:absolute; }
.year-reader-rcv-selection span { background:rgba(201,164,92,.42); box-shadow:none; }
.year-reader-selection-handle--rcv {
  width:34px;height:34px;margin:-17px 0 0 -17px;transform:none;
  pointer-events:none;touch-action:none;-webkit-tap-highlight-color:transparent;
}
.year-reader-selection-handle--rcv::before { display:none; }
.year-reader-selection-handle--rcv::after {
  width:17px;height:17px;top:17px;bottom:auto;background:#c08b2d;
  box-shadow:0 1px 5px rgba(0,0,0,.3);
}
.year-reader-selection-handle--rcv.year-reader-selection-handle--start::after { left:0;right:auto;border-radius:50% 2px 50% 50%; }
.year-reader-selection-handle--rcv.year-reader-selection-handle--end::after { left:17px;right:auto;border-radius:2px 50% 50% 50%; }
.year-reader-passage-actions--rcv { transition:none; }
.year-reader-passage-actions__card { position:relative;max-width:100%;background:#232120;border-radius:14px;pointer-events:auto; }
.year-reader-passage-actions--rcv .year-reader-passage-actions__note-preview {
  display:block;width:calc(100% - 24px);max-width:330px;min-width:0;min-height:0;
  margin:9px 12px 3px;padding:9px 11px;overflow:hidden;border:0;border-left:3px solid #7c3aed;border-radius:9px;
  background:#f6f3ec;color:#2b2924;text-align:left;font-size:13.5px;font-weight:400;line-height:1.65;overflow-wrap:anywhere;
}
.year-reader-passage-actions__note-preview strong { display:block;color:#7c3aed;font-size:11px;font-weight:700; }
.year-reader-passage-actions__note-preview > span { display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.year-reader-passage-actions--rcv.is-compact .year-reader-passage-actions__note-preview { display:flex;flex-direction:row;gap:6px;margin:4px 12px 2px;padding:2px 8px;font-size:12px;line-height:1.4; }
.year-reader-passage-actions--rcv.is-compact .year-reader-passage-actions__note-preview strong { flex:none; }
.year-reader-passage-actions--rcv.is-compact .year-reader-passage-actions__note-preview > span { display:block;min-width:0;white-space:nowrap;text-overflow:ellipsis; }
.year-reader-passage-actions--rcv.is-compact .year-reader-passage-actions__mark-tools { gap:4px;margin-top:4px; }
.year-reader-passage-actions__caret { position:absolute;top:-7px;width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid #232120; }
.year-reader-passage-actions.is-above .year-reader-passage-actions__caret { top:auto;bottom:-7px;border-bottom:0;border-top:8px solid #232120; }
.year-reader-passage-actions--rcv .year-reader-passage-actions__bar { position:relative;padding:3px 4px;background:#232120;border-radius:14px; }
.year-reader-passage-actions--rcv .year-reader-passage-actions__bar button {
  padding:9px 13px 8px;min-width:44px;min-height:0;gap:4px;font-size:11.5px;font-weight:600;white-space:nowrap;color:#f4eee3;
}
.year-reader-passage-actions--rcv .year-reader-passage-actions__mark-tools { gap:8px;margin-top:9px; }
.year-reader-passage-actions--rcv .year-reader-passage-actions__style {
  position:relative;width:38px;height:38px;min-width:38px;padding:0;border:2px solid transparent;border-radius:50%;background:#232120;
}
.year-reader-passage-actions--rcv .year-reader-passage-actions__style::before { content:"";position:absolute;inset:-6px;border-radius:50%; }
.year-reader-passage-actions--rcv .year-reader-passage-actions__style.is-active { border-color:#e8b74a; }
.year-reader-passage-actions--rcv .year-reader-passage-actions__style svg { width:25px;height:25px; }
.year-reader-passage-actions--rcv .year-reader-passage-actions__colors { gap:10px;padding:8px 13px;border-radius:22px;background:#232120; }
.year-reader-passage-actions--rcv .year-reader-passage-actions__colors button { width:23px;height:23px;min-width:23px;padding:0;border:0;border-radius:50%;background:var(--mark-color); }
.year-reader-passage-actions--rcv .year-reader-passage-actions__colors button::before { content:"";position:absolute;inset:-10px;border-radius:50%; }
.year-reader-passage-actions--rcv .year-reader-passage-actions__colors button.is-active::after { content:"✓";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#2b2115;font-size:13px;font-weight:800; }
.year-reader-sheet--rcv-note-editor {
  --rcv-paper:#fbf7ee;--rcv-ink:#24201c;--rcv-gold:#805716;--rcv-line:#e6dcc8;
  left:50%;right:auto;bottom:auto;top:14vh;transform:translateX(-50%);
  width:min(680px,calc(100vw - 24px));margin:0;padding:16px;box-sizing:border-box;
  background:var(--rcv-paper);color:var(--rcv-ink);border-radius:16px;
  box-shadow:0 18px 50px rgba(0,0,0,.3);animation:none;
}
.year-reader-sheet--rcv-note-editor > .year-reader-sheet__grabber { display:none; }
.year-reader-sheet--rcv-note-editor .year-reader-sheet__content { padding:0; }
.year-reader-sheet--rcv-note-editor .year-reader-passage-note__quote {
  font-size:18px;color:var(--rcv-ink);line-height:1.7;margin:0 0 12px;
  max-height:24vh;overflow-y:auto;overflow-wrap:anywhere;padding:0 0 0 12px;
  border-left:3px solid var(--rcv-gold);background:transparent;
}
.year-reader-sheet--rcv-note-editor .year-reader-note {
  width:100%;min-height:104px;max-height:34vh;box-sizing:border-box;border:1px solid var(--rcv-line);
  border-radius:10px;padding:11px;font-size:19px;line-height:1.75;font-family:inherit;color:var(--rcv-ink);background:#fff;resize:none;
}
.year-reader-sheet--rcv-note-editor .year-reader-sheet__actions { margin-top:12px;gap:10px; }
.year-reader-sheet--rcv-note-editor .year-reader-sheet__actions button {
  min-width:0;min-height:0;border:1px solid var(--rcv-line);background:#fff;color:var(--rcv-ink);
  border-radius:9px;padding:8px 18px;font-size:14.5px;font-weight:600;
}
.year-reader-sheet--rcv-note-editor .year-reader-sheet__actions button:last-child { background:var(--rcv-gold);border-color:var(--rcv-gold);color:var(--rcv-paper); }
html[data-sv-theme="sepia"] .year-reader-sheet--rcv-note-editor { --rcv-paper:#fdf8ee;--rcv-ink:#553617;--rcv-gold:#8f5b0e;--rcv-line:#e6d9c1; }
html[data-sv-theme="green"] .year-reader-sheet--rcv-note-editor { --rcv-paper:#f0f6ec;--rcv-ink:#183f2a;--rcv-gold:#3d692d;--rcv-line:#d5e1ce; }
html[data-sv-theme="night"] .year-reader-sheet--rcv-note-editor { --rcv-paper:#22262c;--rcv-ink:#e8e1d6;--rcv-gold:#d0af68;--rcv-line:#31353c;background:var(--rcv-paper);color:var(--rcv-ink); }
html[data-sv-theme="night"] .year-reader-sheet--rcv-note-editor .year-reader-note { background:#1b1e23;color:#cfc9bb;border-color:#3a3f48; }

.year-reader-passage-note__reference {
  display: block;
  margin: 2px 0 8px;
  color: var(--year-accent);
  font-size: 14px;
}

.year-reader-passage-note__quote {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-left: 4px solid var(--year-line);
  background: var(--year-soft);
  color: var(--year-muted);
  font-size: 14px;
  line-height: 1.7;
}

.year-reader-note-view__reference,
.year-reader-note-view__time {
  display: block;
}

.year-reader-note-view__reference {
  margin: 2px 0 4px;
  color: var(--year-accent);
  font-size: 16px;
}

.year-reader-note-view__time {
  margin-bottom: 16px;
  color: var(--year-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.year-reader-note-view__quote {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 4px solid var(--year-line);
  background: var(--year-soft);
  color: var(--year-muted);
  font-size: 14px;
  line-height: 1.75;
}

.year-reader-note-view__copy {
  min-height: 100px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--year-line);
  border-radius: 14px;
  background: var(--year-paper);
  color: var(--year-ink);
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.year-reader-note-view__actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 10px;
  margin-top: 18px;
}

.year-reader-note-view__actions button {
  min-height: 46px;
  border: 1px solid var(--year-line);
  border-radius: 12px;
  background: var(--year-paper);
  color: #b33a32;
  font: inherit;
  font-weight: 800;
}

.year-reader-note-view__actions button:last-child {
  border-color: var(--year-accent);
  background: var(--year-accent);
  color: #fff;
}

.year-reader-note-confirm {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 21, 25, .55);
  touch-action: none;
}

.year-reader-note-confirm section {
  width: min(360px, 100%);
  padding: 22px 20px 18px;
  border-radius: 18px;
  background: var(--year-paper);
  color: var(--year-ink);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.year-reader-note-confirm h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.year-reader-note-confirm p {
  margin: 0 0 20px;
  color: var(--year-muted);
}

.year-reader-note-confirm section > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.year-reader-note-confirm button {
  min-height: 44px;
  border: 1px solid var(--year-line);
  border-radius: 11px;
  background: var(--year-paper);
  color: var(--year-ink);
  font: inherit;
  font-weight: 800;
}

.year-reader-note-confirm button.is-danger {
  border-color: #b33a32;
  background: #b33a32;
  color: #fff;
}

.year-reader-report {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 21, 25, .55);
  touch-action: none;
}

.year-reader-report__panel {
  width: min(420px, 100%);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 22px 20px 18px;
  border-radius: 18px;
  background: var(--year-paper);
  color: var(--year-ink);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.year-reader-report__panel h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.year-reader-report__reference {
  display: block;
  color: var(--year-accent);
  font-size: 13px;
}

.year-reader-report__panel blockquote {
  margin: 9px 0 12px;
  padding: 9px 11px;
  border-left: 4px solid var(--year-line);
  color: var(--year-muted);
  font-size: 14px;
  line-height: 1.65;
}

.year-reader-report__panel textarea {
  display: block;
  width: 100%;
  min-height: 104px;
  resize: vertical;
  border: 1px solid var(--year-line);
  border-radius: 12px;
  background: var(--year-page);
  color: var(--year-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
  padding: 11px 12px;
}

.year-reader-report__error {
  min-height: 20px;
  margin: 7px 0 0;
  color: #b43b31;
  font-size: 13px;
}

.year-reader-report__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.year-reader-report__actions button {
  min-height: 46px;
  border: 1px solid var(--year-line);
  border-radius: 12px;
  background: var(--year-soft);
  color: var(--year-muted);
  font: inherit;
  font-weight: 700;
}

.year-reader-report__actions button:last-child {
  border-color: var(--year-accent);
  background: var(--year-accent);
  color: #fff;
}

.year-reader-sheet--notes.is-full {
  top: 0;
  bottom: 0;
  width: 100%;
  max-height: none;
  border-radius: 0;
}

.year-reader-sheet--notes.is-full .year-reader-notes__list {
  max-height: calc(100dvh - 240px);
}

@media (max-width: 380px) {
  .year-reader-theme-choices { gap: 6px; }
  .year-reader-theme-choice > span { width: 42px; height: 42px; }
}

@media (max-width: 899px) {
  .year-reader-toolbar {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

@media (min-width: 900px) {
  .year-reader-sheet:not(.year-reader-sheet--rcv-note-editor) {
    right: 16px;
    bottom: 16px;
    left: auto;
    width: 380px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .year-reader-sheet { animation: none; }
}

.year-reader-text-mark{position:fixed;inset:0;z-index:10005;pointer-events:none}
.year-reader-text-mark span{position:absolute;box-sizing:border-box;pointer-events:none}
.year-reader-text-mark--hl span{background:var(--year-mark-color);opacity:.28}
.year-reader-text-mark--line span{border-bottom:2px solid var(--year-mark-color)}
.year-reader-text-mark--wave span{background:radial-gradient(ellipse at center,var(--year-mark-color) 1px,transparent 2px) left bottom/6px 3px repeat-x}
.year-reader-passage-actions button[hidden]{display:none!important}
.year-reader-passage-actions__mark-tools{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;width:100%;margin-top:9px;pointer-events:auto}
.year-reader-passage-actions__style{position:relative;flex:none!important;width:38px;min-width:38px!important;height:38px;min-height:38px!important;padding:0!important;border:2px solid transparent!important;border-radius:50%;background:#232120!important;color:#fff!important;font-family:Georgia,serif!important;font-size:18px!important;font-weight:700!important}
.year-reader-passage-actions .year-reader-passage-actions__style svg{display:block;width:25px;height:25px}
.year-reader-passage-actions__style::before{content:"";position:absolute;inset:-6px;border-radius:50%}
.year-reader-passage-actions__style.is-active{border-color:#e8b74a!important}
.year-reader-passage-actions__style[data-year-b-style="hl"] span{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:4px;background:#e8b74a;color:#2b2115}
.year-reader-passage-actions__style[data-year-b-style="line"] span{text-decoration:underline;text-underline-offset:3px}
.year-reader-passage-actions__style[data-year-b-style="wave"] span{text-decoration:underline wavy;text-underline-offset:3px}
.year-reader-passage-actions__colors{display:flex;align-items:center;gap:10px;width:max-content;max-width:100%;margin:0;padding:8px 13px;border-radius:22px;background:#232120;box-shadow:none}
.year-reader-passage-actions__colors button{position:relative;flex:none!important;width:23px;min-width:23px!important;height:23px;min-height:23px!important;padding:0!important;border:0!important;border-radius:50%;background:var(--mark-color);box-shadow:none}
.year-reader-passage-actions__colors button::before{content:"";position:absolute;inset:-10px;border-radius:50%}
.year-reader-passage-actions__colors button.is-active::after{content:"✓";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#2b2115;font-size:13px;font-weight:800}

/* Calendar A: a real mouse gesture restores ordinary selection before its default. */
.nbabody p,
.nbabody [data-year-passage] {
  -webkit-user-select: text;
  user-select: text;
}
.nbabody sup,
.year-reader-calendar-selecting .nbabody p,
.year-reader-calendar-selecting .nbabody [data-year-passage] {
  -webkit-user-select: none;
  user-select: none;
}
.nbabody .year-reader-native-touch,
.nbabody .year-reader-native-touch * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.nbabody .year-reader-native-touch:read-write,
.nbabody .year-reader-native-touch :read-write,
.nbabody .year-reader-native-touch :is(input,textarea,select,option,button,a,audio,video,summary,[role="button"]) {
  -webkit-touch-callout: default;
  -webkit-user-select: text;
  user-select: text;
}
.year-reader-calendar-multi-entry {
  min-width: 52px;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--year-accent);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  touch-action: manipulation;
}
.year-reader-calendar-multi-entry[aria-pressed="true"] { background: var(--year-soft); }
.year-reader-calendar-multi-entry:disabled { opacity: .45; cursor: default; }
.year-reader-calendar-multi-entry:focus-visible { outline: 2px solid var(--year-accent); outline-offset: 2px; }
.year-reader-calendar-multi {
  position: fixed;
  z-index: 190;
  left: 10px;
  right: 10px;
  bottom: calc(var(--bottom-nav, 56px) + env(safe-area-inset-bottom, 0px) + 10px);
  max-width: 600px;
  max-height: 40vh;
  margin-inline: auto;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 10px 12px 7px;
  border-radius: 15px;
  background: #2b2824;
  color: #f4eee3;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .42);
}
.year-reader-calendar-multi__header {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0 2px 8px;
}
.year-reader-calendar-multi strong { color: #f0c452; font-size: 14.5px; font-weight: 800; white-space: nowrap; }
.year-reader-calendar-multi__header > span { overflow: hidden; color: rgba(244, 238, 227, .7); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.year-reader-calendar-multi__row { display: flex; align-items: stretch; justify-content: space-around; }
.year-reader-calendar-multi button {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  min-width: 44px;
  padding: 9px 13px 8px;
  border: 0;
  border-radius: 11px;
  background: none;
  color: #f4eee3;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.year-reader-calendar-multi button + button::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(255, 255, 255, .14); }
.year-reader-calendar-multi button svg { width: 21px; height: 21px; stroke-width: 1.8; }
.year-reader-calendar-multi button > span { white-space: nowrap; }
.year-reader-calendar-multi button:active { background: rgba(255, 255, 255, .1); }
.year-reader-calendar-multi button[aria-pressed="true"] { color: #f0c452; }
.year-reader-calendar-multi button:disabled { opacity: .4; cursor: default; }
.year-reader-calendar-multi :focus-visible { outline: 2px solid #f0c452; outline-offset: 2px; }
/* Decorations belong to existing verse numbers; scripture text/layout stays intact. */
.nbabody [data-year-calendar-choice] { position: relative; cursor: pointer; scroll-margin-bottom: 180px; }
.nbabody [data-year-calendar-choice]:focus-visible { outline: 2px solid #c9a45c; outline-offset: 2px; }
.nbabody [data-year-calendar-choice]::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 3px;
  width: 13px;
  height: 13px;
  box-sizing: border-box;
  border: 2px solid var(--year-muted);
  border-radius: 5px;
  background: var(--year-paper);
  color: #fff;
  font: 800 11px/10px sans-serif;
  text-align: center;
}
.nbabody [data-year-calendar-choice]::after { content: ""; position: absolute; left: -16px; top: -12px; width: 44px; height: 44px; }
.year-reader-calendar-selecting .nbabody :is(a,button,input,textarea,select,[contenteditable]) { position: relative; z-index: 1; -webkit-touch-callout: default; -webkit-user-select: text; user-select: text; }
.nbabody [data-year-calendar-choice][aria-checked="true"]::before { content: "✓"; border-color: #c9a45c; background: #c9a45c; }
.year-reader-calendar-picked { z-index: 1; }
.year-reader-calendar-picked span { background: rgba(201, 164, 92, .22); box-shadow: inset 0 -2px #c9a45c; }
