/* Anthrovia Bible — concept design foundation.
   The approved design (Anthrovia Bible Website Design space):
   Deep Navy, Ivory Paper, Antique Gold, Olive; EB Garamond for
   headings and Scripture, Karla for UI. Pages opt in by loading
   this file after their existing stylesheets. Sections are added
   per page as each stage is approved; this file currently carries
   the Scripture (Read + Reading Plans) implementation. */

@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Karla:wght@400;500;600;700&display=swap");

:root {
  --concept-navy: #16283f;
  --concept-ivory: #faf6ec;
  --concept-cream: #f3ecdc;
  --concept-gold: #b0872a;
  --concept-gold-soft: #f2e3c2;
  --concept-olive: #5d6d45;
  --concept-olive-deep: #47543a;
  --concept-olive-tint: #e4e9d8;
  --concept-clay: #8a5a2b;
  --av-font-display: "EB Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --av-font-body: "Karla", -apple-system, "Segoe UI", sans-serif;
}

/* ---- Scripture: page frame ---- */

.scripture-page {
  max-width: 1180px;
  margin: 1.5rem auto 2.5rem;
  background: #fffdf7;
  border: 1px solid var(--av-line);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(22, 40, 63, 0.08);
  padding: 2rem 2.2rem;
}

.scripture-read-column {
  max-width: none;
}

/* The view switch: the concept pill bar. */
.scripture-switch-wrap {
  margin-bottom: 1.6rem;
}

.scripture-views {
  display: flex;
  width: 100%;
  background: #f1e8d2;
  border: 1px solid var(--av-line);
  border-radius: 999px;
  padding: 0.35rem;
  gap: 0.35rem;
}

.scripture-views button {
  flex: 1 1 0;
  white-space: nowrap;
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font: inherit;
  font-weight: 700;
  color: var(--av-muted);
  cursor: pointer;
}

.scripture-views .concept-switch-sub {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
}

.scripture-views button[aria-selected="true"] {
  background: var(--concept-navy);
  color: #ffffff;
}

.scripture-views button[aria-selected="true"] .concept-switch-sub {
  color: #d9b96a;
}

/* Intro */
.scripture-intro .av-eyebrow {
  color: var(--concept-gold);
}

.scripture-intro h1 {
  font-family: var(--av-font-display);
  font-size: 2.1rem;
  color: var(--concept-navy);
}

.scripture-note {
  color: var(--av-muted);
}

/* Buttons on this page, in the design's terms. */
.scripture-page .btn-theme {
  background: var(--concept-gold);
  border-color: var(--concept-gold);
  color: #ffffff;
  border-radius: 10px;
  font-weight: 600;
}

.scripture-page .btn-theme-ghost {
  background: transparent;
  border: 1px solid var(--av-line);
  color: var(--concept-navy);
  border-radius: 10px;
  font-weight: 600;
}

/* Tools: one white card. */
.scripture-tools {
  background: #ffffff;
  border: 1px solid var(--av-line);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
}

.scripture-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--av-muted);
  font-weight: 700;
}

.scripture-lookup input {
  border: 1px solid var(--av-line);
  border-radius: 10px;
  background: #fffdf7;
  font-style: italic;
}

.scripture-picks select {
  border: 1px solid var(--av-line);
  border-radius: 10px;
  background: #fffdf7;
  font: inherit;
}

.scripture-size {
  border: 1px solid var(--av-line);
  border-radius: 10px;
  overflow: hidden;
}

.scripture-size button {
  background: #ffffff;
  color: var(--av-muted);
  border: none;
}

.scripture-size button[aria-pressed="true"] {
  background: var(--concept-navy);
  color: #ffffff;
}

/* The in-plan banner: an olive strip. */
.scripture-journey {
  background: var(--concept-olive-tint);
  border: none;
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
}

.scripture-journey-plan {
  font-family: var(--av-font-display);
  font-size: 1.15rem;
  color: var(--concept-olive-deep);
}

/* The reading column: a book page. */
.scripture-reading {
  max-width: 680px;
  margin: 0 auto;
}

.scripture-verse {
  font-family: var(--av-font-display);
  line-height: 1.85;
  color: var(--av-ink);
}

.scripture-verse-no {
  color: var(--concept-gold);
  font-family: var(--av-font-body);
  font-weight: 700;
  font-size: 0.68rem;
  vertical-align: super;
  margin-right: 0.3em;
}

.scripture-verse.is-focus,
.scripture-verse.is-selected {
  background: var(--concept-gold-soft);
}

/* Chapter nav */
.scripture-chapter-nav {
  max-width: 680px;
  margin: 1.8rem auto 0;
  border-top: 1px solid var(--av-line);
  padding-top: 1.2rem;
}

/* ---- Reading Plans ---- */

.scripture-plans-intro .av-eyebrow {
  color: var(--concept-gold);
}

.scripture-plans-intro h2 {
  font-family: var(--av-font-display);
  font-size: 2rem;
  color: var(--concept-navy);
}

.scripture-plan-copy {
  color: var(--av-muted);
  max-width: 64ch;
}

.scripture-plan-group h2 {
  font-family: var(--av-font-display);
  font-size: 1.55rem;
  color: var(--concept-navy);
  border-bottom: 1px solid var(--av-line);
  padding-bottom: 0.4rem;
}

.scripture-plan-card {
  background: #ffffff;
  border: 1px solid var(--av-line);
  border-radius: 16px;
  overflow: hidden;
  padding-bottom: 1.15rem;
}

.scripture-plan-media img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.scripture-plan-card > p,
.scripture-plan-card > h3,
.scripture-plan-card > .scripture-plan-actions {
  margin-left: 1.15rem;
  margin-right: 1.15rem;
}

.scripture-plan-tier {
  display: inline-block;
  background: var(--concept-olive-tint);
  color: var(--concept-olive-deep);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
}

.scripture-plan-tier-plus {
  background: var(--concept-navy);
  color: #e9ce8c;
}

.scripture-plan-tier-quarter {
  background: var(--concept-gold);
  color: #ffffff;
}

.scripture-plan-card h3 {
  font-family: var(--av-font-display);
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--concept-navy);
}

.scripture-plan-meta {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--concept-navy);
}

/* Continue your journey */
.scripture-continue h2 {
  font-family: var(--av-font-display);
  font-size: 1.55rem;
  color: var(--concept-navy);
}

.scripture-continue-card {
  background: var(--concept-olive-tint);
  border: none;
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
}

.scripture-continue-card h3 {
  font-family: var(--av-font-display);
  font-size: 1.35rem;
  color: var(--concept-navy);
}

.scripture-plan-progress {
  height: 5px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 3px;
  max-width: 340px;
}

.scripture-plan-progress > span {
  display: block;
  height: 100%;
  background: var(--concept-gold);
  border-radius: 3px;
}

/* ---- Guided Studies: the designed Paths page ----
   study.html is built to the design's Paths screen: intro, the
   Continue panel (kept at the user's request, in the design's olive
   panel style), Free / "Open to everyone", Anthrovia+ / "The full
   library", and the rotation note. Card anatomy comes from
   study.js: topline (badge + lesson count), title, description,
   progress, then a footer row with the meta line and the gold CTA.
   Selectors are weighted against css/study-guided.css, which carries
   strong rules of its own for these cards. */

.study-guided-main {
  background: #fffdf7;
  border: 1px solid var(--av-line);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(22, 40, 63, 0.08);
  padding: 2rem 2.2rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.study-guided-main .av-eyebrow {
  color: var(--concept-gold);
  letter-spacing: 0.14em;
}

.study-guided-main .study-hero-title {
  font-size: 2.6rem;
  line-height: 1.08;
  color: var(--concept-navy);
  max-width: 16ch;
}

.study-guided-main .study-hero-lede {
  color: var(--av-muted);
  max-width: 62ch;
  font-size: 1.02rem;
  line-height: 1.55;
}

/* Continue Studying: the olive panel, gold meter. */
.study-guided .study-continue-panel {
  background: var(--concept-olive-tint);
  border: none;
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
}

.study-continue-thumb img {
  border-radius: 12px;
  object-fit: cover;
}

.study-continue-kicker {
  color: var(--concept-gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.study-guided .study-continue-title {
  font-family: var(--av-font-display);
  font-size: 1.5rem;
  color: var(--concept-navy);
}

.study-guided .study-progress {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 3px;
}

.study-guided .study-progress-bar {
  background: var(--concept-gold);
}

/* Section heads */
.study-section-head {
  margin-bottom: 1.1rem;
}

.study-guided-main .study-eyebrow-free {
  color: var(--concept-olive-deep);
}

.study-section-title {
  font-family: var(--av-font-display);
  font-size: 2rem;
  line-height: 1.15;
  color: var(--concept-navy);
  margin: 0;
}

/* Card grids: 3 across, then 2, then 1 (the page's own breakpoints). */
.study-guided .study-featured-grid,
.study-guided .study-plus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

@media (max-width: 980px) {
  .study-guided .study-featured-grid,
  .study-guided .study-plus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .study-guided .study-featured-grid,
  .study-guided .study-plus-grid {
    grid-template-columns: 1fr;
  }
}

/* Study cards */
.study-guided .study-path-card {
  background: #ffffff;
  border: 1px solid var(--av-line);
  border-radius: 18px;
  overflow: hidden;
}

.study-guided .study-featured-card {
  display: flex;
  flex-direction: column;
}

.study-guided .study-featured-media {
  margin: 0.9rem 0.9rem 0;
  border-radius: 12px;
  max-height: none;
}

.study-guided .study-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.study-guided .study-featured-card .study-featured-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.1rem 1.25rem 1.25rem;
}

.study-card-topline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
}

.study-card-lessons {
  color: var(--av-muted);
  font-size: 0.92rem;
}

.study-guided .study-path-card--primary .study-path-status--always-free {
  background: var(--concept-olive-tint);
  color: var(--concept-olive-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.study-guided .study-path-card--primary .study-path-status--featured-free {
  background: var(--concept-gold);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.study-guided .study-path-card--primary .study-path-status--available {
  background: var(--concept-navy);
  color: #e9ce8c;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.study-guided .study-featured-card .study-primary-title {
  font-size: 1.5rem;
  line-height: 1.22;
}

.study-guided .study-featured-card .study-primary-desc {
  -webkit-line-clamp: 3;
}

.study-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.85rem;
}

.study-guided .study-featured-card .study-primary-meta {
  margin: 0;
  color: var(--av-muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.study-guided .study-featured-card .study-path-card-foot {
  margin-top: 0;
  padding-top: 0;
}

.study-guided .study-path-link--primary {
  background: var(--concept-gold);
  color: #ffffff;
  border-radius: 10px;
  padding: 0.5rem 1.05rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.study-guided .study-featured-card .study-path-link--primary {
  background: var(--concept-gold);
  color: #ffffff;
  border-radius: 10px;
  padding: 0.5rem 1.05rem;
  box-shadow: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.study-guided .study-featured-card .study-path-link--primary::after {
  content: none;
}

.study-guided .study-featured-card .study-path-link--primary:hover {
  background: var(--concept-gold);
  color: #ffffff;
}

.study-guided .study-path-card-progress {
  background: #efe7d2;
  border-radius: 3px;
  height: 5px;
}

.study-guided .study-path-card-progress-bar {
  background: var(--concept-gold);
  border-radius: 3px;
  height: 100%;
}

.study-primary-progress-label {
  color: var(--av-muted);
  font-size: 0.85rem;
}

/* ---- My Walk: the designed two-layer page ----
   Structure: a photo rail beside the main panel (300px + 1fr,
   stacking at 820px), the navy and gold pill layer switch, the
   Today layer (intro, rhythms, quickline, prayer list, the tan
   closing panel, journal and week actions, the week and grow
   panels), the Along the Path layer (the account evidence mounts,
   the two designed evidence cards in preview, history, the quiet
   note), and the Journal tab restyled as the design's ruled sheet.
   All production element hooks are unchanged; the layer switch
   still runs on data-active-layer via my-walk-layers.js. Page
   background is the shared cream standard. */

.concept-walk-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: stretch;
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}

.concept-walk-rail {
  position: relative;
  min-height: 640px;
  border-radius: 18px 0 0 18px;
  overflow: hidden;
}

.concept-walk-rail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.concept-walk-quote {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 3.2rem 1.5rem 1.4rem;
  background: linear-gradient(transparent, rgba(22, 40, 63, 0.88));
  color: #ffffff;
  font-family: var(--av-font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.35;
}

.concept-walk-quote p {
  margin: 0;
}

.concept-walk-layout .my-walk-journey {
  max-width: none;
  width: auto;
  margin: 0;
}

.concept-walk-main {
  background: var(--concept-ivory);
  border: 1px solid var(--av-line);
  border-left: none;
  border-radius: 0 18px 18px 0;
  padding: 2rem 2.1rem 2.2rem;
}

.concept-walk-main .av-eyebrow {
  color: var(--concept-gold);
}

.concept-walk-title {
  font-family: var(--av-font-display);
  font-size: 2rem;
  line-height: 1.15;
  color: var(--concept-navy);
  margin: 0;
}

/* The pill layer switch */
.concept-walk-main .my-walk-layer-nav {
  display: flex;
  background: #f1e8d2;
  border-radius: 999px;
  padding: 5px;
  margin: 1.4rem 0 1.6rem;
  gap: 4px;
}

.concept-walk-main .my-walk-layer-nav .av-tab {
  flex: 1 1 0;
  min-height: 56px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--av-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  cursor: pointer;
  font-family: inherit;
}

.concept-switch-label {
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
}

.concept-switch-sub {
  font-size: 0.8rem;
  line-height: 1.2;
}

.concept-walk-main .my-walk-layer-nav .av-tab.is-active {
  background: var(--concept-navy);
  color: #ffffff;
}

.concept-walk-main .my-walk-layer-nav .av-tab.is-active .concept-switch-sub {
  color: var(--concept-gold-soft);
}

/* Layer intros */
.concept-walk-main .concept-intro-eyebrow {
  color: var(--concept-olive-deep);
}

.concept-intro-copy {
  color: var(--av-muted);
  line-height: 1.55;
  max-width: 62ch;
}

/* Quickline */
.concept-quickline {
  display: flex;
  gap: 0.5rem;
  background: #fffdf7;
  border: 1px solid var(--av-line);
  border-radius: 14px;
  padding: 0.45rem;
  margin-top: 1.1rem;
}

.concept-quickline input {
  flex: 1 1 220px;
  border: none;
  background: transparent;
  padding: 0.5rem 0.6rem;
  font: inherit;
  color: var(--av-ink, #2a2a26);
}

.concept-quickline input::placeholder {
  font-style: italic;
  color: var(--av-muted);
}

.concept-quickline-btn {
  background: var(--concept-gold);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0.45rem 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.concept-quickline-note {
  color: var(--av-muted);
  font-size: 0.94rem;
  line-height: 1.5;
  margin-top: 0.6rem;
}

/* Prayer list (Today) */
.concept-prayer-card {
  background: #fffdf7;
  border: 1px solid var(--av-line);
  border-radius: 18px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 0.8rem;
}

.concept-prayer-quote p {
  font-family: var(--av-font-display);
  font-size: 1.18rem;
  color: var(--concept-navy);
  margin: 0 0 0.4rem;
}

.concept-prayer-meta {
  color: var(--av-muted);
  font-size: 0.88rem;
  margin: 0 0 0.7rem;
}

.concept-mark-answered {
  background: #ffffff;
  border: 1.5px solid var(--concept-olive);
  color: var(--concept-olive-deep);
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

/* The tan closing panel and the Today actions */
.concept-today-panel {
  background: var(--concept-gold-soft);
  border-radius: 14px;
  padding: 1.2rem 1.35rem;
  margin-top: 1.2rem;
  color: #5c4a17;
}

.concept-today-panel p {
  margin: 0;
  line-height: 1.55;
}

.concept-today-panel-title {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8f6e1f;
  margin: 0 0 0.45rem;
}

.concept-today-actions,
.concept-along-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.concept-btn-gold {
  background: var(--concept-gold);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.concept-btn-gold:hover {
  background: #8f6e1f;
}

.concept-btn-outline {
  background: transparent;
  color: var(--concept-navy);
  border: 1.5px solid var(--concept-navy);
  border-radius: 10px;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.concept-week-slot {
  margin-top: 1rem;
}

.concept-grow-toggle {
  margin-top: 0.6rem;
}

/* Along the Path evidence cards */
.concept-evidence {
  background: #fffdf7;
  border: 1px solid var(--av-line);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.1rem;
}

.concept-evidence-tag {
  display: inline-block;
  background: var(--concept-olive-tint);
  color: var(--concept-olive-deep);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
}

.concept-evidence-title {
  font-family: var(--av-font-display);
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--concept-navy);
  margin: 0 0 0.9rem;
}

.concept-quote-block {
  background: #faf3e3;
  border-left: 3px solid var(--concept-gold);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}

.concept-quote-text {
  font-family: var(--av-font-display);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--concept-navy);
  margin: 0 0 0.35rem;
}

.concept-quote-src {
  color: var(--av-muted);
  font-size: 0.82rem;
  margin: 0;
}

.concept-timeline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--av-muted);
  margin-bottom: 0.9rem;
}

.concept-tl-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: none;
}

.concept-tl-dot--start {
  border: 2px solid var(--concept-gold);
  background: transparent;
}

.concept-tl-dot--end {
  background: var(--concept-olive);
}

.concept-tl-line {
  flex: 1;
  height: 2px;
  background: var(--concept-gold-soft);
}

.concept-evidence-close {
  color: var(--av-muted);
  line-height: 1.55;
  margin: 0;
}

.concept-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 52px;
}

.concept-bars span {
  flex: 1;
  background: var(--concept-gold);
  border-radius: 3px 3px 0 0;
}

.concept-bars .concept-bar-flat {
  flex: 2.2;
  height: 3px;
}

.concept-bar-labels {
  display: flex;
  justify-content: space-between;
  color: var(--av-muted);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.45rem 0 0.8rem;
}

/* The quiet note */
.concept-quiet-note {
  border: 1.5px dashed #c9b98a;
  border-radius: 14px;
  padding: 1.15rem 1.3rem;
  color: var(--av-muted);
  font-size: 0.96rem;
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

.concept-quiet-note p {
  margin: 0;
}

.concept-quiet-note strong {
  color: var(--concept-navy);
}

/* Journal: the ruled sheet */
#my-walk-journal-panel {
  position: relative;
  background: #fffdf7;
  border: 1px solid var(--av-line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(22, 40, 63, 0.13);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 3.2rem 2.4rem 4.6rem;
}

#my-walk-journal-panel::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 52px;
  width: 1px;
  background: #ebc9c4;
}

@media (max-width: 820px) {
  .concept-walk-layout {
    grid-template-columns: 1fr;
  }

  .concept-walk-rail {
    min-height: 230px;
    border-radius: 18px 18px 0 0;
  }

  .concept-walk-main {
    border-left: 1px solid var(--av-line);
    border-radius: 0 0 18px 18px;
    padding: 1.4rem 1.15rem;
  }
}

@media (max-width: 620px) {
  #my-walk-journal-panel {
    padding: 2rem 1.3rem 1.8rem 2.2rem;
  }

  #my-walk-journal-panel::before {
    left: 22px;
  }
}

@media (max-width: 560px) {
  .concept-switch-sub {
    display: none;
  }

  .concept-walk-main .my-walk-layer-nav .av-tab {
    min-height: 48px;
  }
}

/* My Walk Today rhythm cards (Dec 3, 2026, design rebuild). */
body[data-av-nav="my-walk"] .concept-rhythm-cards {
  display: grid;
  gap: .8rem;
  margin: 0 0 1.6rem;
}
body[data-av-nav="my-walk"] .concept-rhythm-card {
  display: flex;
  gap: .95rem;
  align-items: flex-start;
  background: #FFFDF7;
  border: 1px solid #E7E0D3;
  border-radius: 16px;
  padding: 1rem 1.1rem;
}
body[data-av-nav="my-walk"] .concept-rhythm-check {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--concept-gold);
  background: transparent;
  color: var(--concept-gold);
  font-family: var(--av-font-body);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
body[data-av-nav="my-walk"] .concept-rhythm-card.is-done .concept-rhythm-check {
  background: var(--concept-gold);
  border-color: var(--concept-gold);
  color: #fff;
}
body[data-av-nav="my-walk"] .concept-rhythm-card-copy h3 {
  font-family: var(--av-font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--concept-navy);
  margin: .2rem 0 .2rem;
}
body[data-av-nav="my-walk"] .concept-rhythm-card-copy p {
  color: #6E6A5E;
  font-size: .88rem;
  margin: 0;
}
body[data-av-nav="my-walk"] #my-walk-week-panel .my-walk-rhythm-list {
  margin-bottom: 1.4rem;
}

/* My Walk journal view fix (Dec 3, 2026): the rail belongs to the
   walk view only. In Journal view the layout collapses, the sheet
   stands on its own at the design's 880px, the margin rule reads,
   and the writing sits on ruled lines. */
body[data-av-nav="my-walk"] .concept-walk-layout:has(#my-walk-panel[hidden]) {
  display: block;
}
body[data-av-nav="my-walk"] .concept-walk-layout:has(#my-walk-panel[hidden]) .concept-walk-rail {
  display: none;
}
#my-walk-journal-panel {
  width: min(880px, 100%);
}
#my-walk-journal-panel::before {
  width: 2px;
}
#my-walk-journal-panel .my-walk-journal-privacy {
  border-bottom: 1px solid #EFE7D3;
  padding-bottom: 1.1rem;
  margin-bottom: 1.5rem;
}
#my-walk-journal-panel .my-walk-journal-privacy-copy {
  color: #6E6A5E;
  max-width: 34rem;
}
#my-walk-journal-panel .my-walk-journal-body {
  border: 0;
  background-color: transparent;
  line-height: 2rem;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(2rem - 1px), #E7DFC9 calc(2rem - 1px), #E7DFC9 2rem);
  background-attachment: local;
  padding-left: 0;
  padding-right: 0;
}
#my-walk-journal-panel .my-walk-journal-title {
  border: 0;
  border-bottom: 1px solid #E7DFC9;
  background-color: transparent;
  border-radius: 0;
  padding-left: 0;
}
#my-walk-journal-panel .my-walk-entry-list > * {
  border-bottom: 1px solid #EFE7D3;
}

/* Anthrovia+ */
.concept-plus {
  padding: 2.6rem 0 3.4rem;
}
.concept-plus-intro {
  text-align: center;
  margin-bottom: 2.4rem;
}
.concept-plus-eyebrow {
  color: var(--concept-gold);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 700;
  margin: 0 0 .9rem;
}
.concept-plus-title {
  font-family: var(--av-font-display);
  font-weight: 600;
  font-size: 2.7rem;
  line-height: 1.15;
  color: var(--concept-navy);
  margin: 0 0 1rem;
}
.concept-plus-lede {
  color: #6E6A5E;
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.06rem;
  line-height: 1.65;
}
.concept-plus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  max-width: 1060px;
  margin: 0 auto;
  align-items: start;
}
.concept-plus-card {
  background: #FFFDF7;
  border: 1px solid #E7E0D3;
  border-radius: 18px;
  padding: 2rem 2.1rem 2.1rem;
}
.concept-plus-card-plus {
  border: 2px solid var(--concept-gold);
}
.concept-plus-badge {
  display: inline-flex;
  align-items: center;
  padding: .38rem .75rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.concept-plus-badge[hidden],
.concept-plus-note[hidden] {
  display: none;
}
.concept-plus-badges {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.concept-plus-badges .concept-plus-badge {
  margin-bottom: 1.1rem;
}
.concept-plus-badge-free {
  background: var(--concept-olive-tint);
  color: var(--concept-olive-deep);
}
.concept-plus-badge-plus {
  background: var(--concept-navy);
  color: var(--concept-gold-soft);
}
.concept-plus-badge-quarter {
  background: var(--concept-gold);
  color: #fff;
}
.concept-plus-card-title {
  font-family: var(--av-font-display);
  font-weight: 600;
  font-size: 1.9rem;
  color: var(--concept-navy);
  margin: 0 0 1.2rem;
}
.concept-plus-list {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.concept-plus-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.55;
  color: #4A586C;
}
.concept-plus-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--concept-gold);
}
.concept-plus-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: .95rem 1rem;
  border-radius: 10px;
}
.concept-plus-btn-outline {
  border: 1.5px solid var(--concept-navy);
  color: var(--concept-navy);
  background: transparent;
}
.concept-plus-btn-gold {
  border: 1.5px solid var(--concept-gold);
  background: var(--concept-gold);
  color: #fff;
}
@media (max-width: 860px) {
  .concept-plus-grid {
    grid-template-columns: 1fr;
  }
  .concept-plus-title {
    font-size: 2.1rem;
  }
}

/* ---- Research: the answer view (bible.html + index.html) ----
   Presentation only: js/research-view.js groups each answer's server
   sections into these cards and mounts the follow-up bar. Scoped to
   the chat shell, which exists only on the two app pages. */

body:has(#bible-chat-shell .concept-q-headline) {
  background-color: var(--av-bg, #faf9f6);
  background-image: none;
}

/* The live app pages style the question as a dark bubble with rules
   stronger than the ones in the Dec 2 copy (body.bible-mode chains and
   ID chains), so this override carries the heaviest selector shape the
   pages use, plus !important on the properties that visibly survived:
   the gradient, the right alignment, and the width cap. */
#bible-chat-shell #bible-chat-messages .message-question,
body.bible-mode #bible-chat-shell:not(.is-empty) #bible-chat-messages .message-question {
  align-self: stretch !important;
  max-width: none !important;
  margin: 1.6rem 0 0.4rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0;
  background: none !important;
  background-image: none !important;
  color: var(--concept-navy);
  border-radius: 0;
  box-shadow: none !important;
  text-align: left;
}

#bible-chat-shell .concept-q-eyebrow {
  display: block;
  font-family: var(--av-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--concept-gold);
  margin-bottom: 0.45rem;
}

#bible-chat-shell .concept-q-headline {
  display: block;
  font-family: var(--av-font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--concept-navy);
}

#bible-chat-shell .concept-q-lede {
  max-width: 62ch;
  margin: 0.7rem 0 0;
  font-family: var(--av-font-display);
  font-size: 1.12rem;
  line-height: 1.55;
  color: #4c463c;
}

#bible-chat-shell #bible-chat-messages .message-answer {
  align-self: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

body.bible-mode #bible-chat-shell:not(.is-empty) #bible-chat-messages .message-answer.concept-enhanced {
  background: transparent;
}

#bible-chat-shell .message-answer .study-path {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.8rem;
  margin: 0 0 1rem;
  font-family: var(--av-font-body);
  font-size: 0.85rem;
}

#bible-chat-shell .message-answer .study-path-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--concept-gold);
}

#bible-chat-shell .message-answer .bible-ref-link {
  color: var(--concept-olive-deep);
  font-weight: 600;
}

#bible-chat-shell #bible-chat-messages .message-answer.bible-study-pending {
  background: #fffdf7;
  border: 1px solid #e3d9c2;
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
}

#bible-chat-shell #bible-chat-messages .concept-answer-card {
  background: #fffdf7;
  border: 1px solid #e3d9c2;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(22, 40, 63, 0.06);
  padding: 1.35rem 1.6rem 1.45rem;
  margin: 0 0 1.1rem;
  font-family: var(--av-font-body);
  font-size: 0.98rem;
  line-height: 1.62;
  color: #33302a;
}

.concept-answer-card .concept-card-title {
  margin: 0 0 0.8rem;
  font-family: var(--av-font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--concept-navy);
}

.concept-answer-card p {
  margin: 0 0 0.8rem;
}

.concept-answer-card p:last-child {
  margin-bottom: 0;
}

.concept-answer-card h3 {
  font-family: var(--av-font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--concept-navy);
  margin: 1.1rem 0 0.45rem;
}

.concept-answer-card ul,
.concept-answer-card ol {
  margin: 0 0 0.8rem;
  padding-left: 1.25rem;
}

.concept-answer-card li {
  margin-bottom: 0.4rem;
}

.concept-card-scripture ul {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0 0.35rem 1.1rem;
}

.concept-card-scripture li {
  margin-bottom: 0.6rem;
  font-family: var(--av-font-display);
  font-size: 1.08rem;
  line-height: 1.55;
  color: #2c2a26;
}

.concept-card-scripture li:last-child {
  margin-bottom: 0;
}

.concept-card-scripture li a,
.concept-card-scripture li button {
  font-family: var(--av-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--concept-gold);
}

.concept-card-deep {
  background: var(--concept-ivory);
}

.concept-card-deep details.bible-deep-study {
  margin: 0;
}

.concept-card-deep details.bible-deep-study > summary {
  font-family: var(--av-font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concept-navy);
  cursor: pointer;
}

.concept-followup {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.1rem 0 2rem;
  padding: 0.45rem 0.45rem 0.45rem 1.2rem;
  background: #fffdf7;
  border: 1px solid #e3d9c2;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(22, 40, 63, 0.06);
}

.concept-followup[hidden] {
  display: none;
}

.concept-followup-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--av-font-body);
  font-size: 0.98rem;
  color: var(--concept-navy);
  outline: none;
}

.concept-followup-button {
  flex: 0 0 auto;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.45rem;
  background: var(--concept-gold);
  color: #fffdf7;
  font-family: var(--av-font-body);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.concept-followup-button:hover {
  background: #9a7626;
}

@media (max-width: 700px) {
  #bible-chat-shell #bible-chat-messages .concept-answer-card {
    padding: 1.1rem 1.15rem 1.2rem;
  }

  #bible-chat-shell .concept-q-headline {
    font-size: 1.8rem;
  }
}

/* ---- Sign in: the auth panel on bible.html + index.html ----
   Production's panel (#bibleAuthPanel) with its login / signup /
   forgot modes, dressed by js/auth-view.js. The stage ground is
   #FAF9F6 per Tricia's instruction for this stage. */

.bible-home-auth {
  background: #faf9f6;
  padding: 2.6rem 1rem 3rem;
}

#bibleAuthPanel.bible-auth-panel {
  max-width: 32rem;
  margin: 0 auto;
  padding: 2.1rem 2.2rem 1.8rem;
  background: #fffdf7;
  border: 1px solid #e3d9c2;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(22, 40, 63, 0.1);
  font-family: var(--av-font-body);
  font-size: 0.98rem;
  color: #33302a;
}

.concept-auth-head {
  margin-bottom: 0.4rem;
}

.concept-auth-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--concept-olive);
  color: #fffdf7;
  font-size: 1.4rem;
  font-weight: 700;
}

.concept-auth-check[hidden] {
  display: none;
}

.concept-auth-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--concept-gold);
}

.concept-auth-title {
  margin: 0 0 0.5rem;
  font-family: var(--av-font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--concept-navy);
}

.concept-auth-lede {
  margin: 0 0 0.6rem;
  line-height: 1.55;
  color: #5c574d;
}

#bibleAuthPanel.concept-auth-sent .concept-auth-head {
  text-align: center;
}

#bibleAuthPanel.concept-auth-sent .concept-auth-check {
  margin: 0 auto 0.9rem;
}

#bibleAuthForm label {
  display: block;
  margin: 1rem 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d675c;
}

#bibleAuthForm label[hidden],
#bibleAuthForm input[hidden] {
  display: none;
}

#bibleAuthForm input[type="email"],
#bibleAuthForm input[type="password"],
#bibleAuthForm input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.78rem 1rem;
  border: 1px solid #d8cfb8;
  border-radius: 10px;
  background: #ffffff;
  font-family: var(--av-font-body);
  font-size: 0.98rem;
  color: var(--concept-navy);
}

#bibleAuthForm input:focus {
  border-color: var(--concept-gold);
  outline: 2px solid var(--concept-gold-soft);
  outline-offset: 0;
}

#bibleAuthPanel .bible-auth-forgot-wrap {
  margin: 0.55rem 0 0;
  text-align: right;
}

#bibleAuthPanel .bible-auth-forgot-link {
  padding: 0;
  background: none;
  border: none;
  font-family: var(--av-font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--concept-gold);
  cursor: pointer;
}

#bibleAuthPanel .bible-auth-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.3rem;
}

#bibleAuthSubmit {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--concept-gold);
  color: #fffdf7;
  border: none;
  border-radius: 10px;
  font-family: var(--av-font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

#bibleAuthSubmit:hover {
  background: #9a7626;
}

#bibleAuthCancel {
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  font-family: var(--av-font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: #6d675c;
  cursor: pointer;
}

#bibleAuthPanel #bibleAuthStatus {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #5c574d;
}

#bibleAuthPanel #bibleAuthStatus:empty {
  display: none;
}

#bibleAuthPanel #bibleAuthStatus.is-error {
  padding: 0.8rem 1rem;
  background: #f9e9e2;
  border: 1px solid #e5c4b4;
  border-radius: 10px;
  color: #8a4a2b;
}

#bibleAuthPanel.concept-auth-sent #bibleAuthStatus {
  text-align: center;
  color: #4c463c;
}

#bibleAuthPanel.concept-auth-sent #bibleAuthEmail,
#bibleAuthPanel.concept-auth-sent label[for="bibleAuthEmail"],
#bibleAuthPanel.concept-auth-sent #bibleAuthSubmit,
#bibleAuthPanel.concept-auth-sent .bible-auth-forgot-wrap,
#bibleAuthPanel.concept-auth-sent .concept-auth-foot {
  display: none;
}

.concept-auth-foot {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.92rem;
  color: #6d675c;
}

.concept-auth-foot[hidden] {
  display: none;
}

.concept-auth-foot-button {
  padding: 0;
  background: none;
  border: none;
  font-family: var(--av-font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--concept-gold);
  cursor: pointer;
}

@media (max-width: 700px) {
  #bibleAuthPanel.bible-auth-panel {
    padding: 1.5rem 1.2rem 1.3rem;
  }
}

/* ---- Admin: design frame + dashboard (admin.html) ----
   The frame re-skins the admin's existing views; the dashboard
   block at the top of Overview is rendered by js/admin-dashboard.js
   from the admin's own endpoints. Page ground is #FAF9F6 per
   Tricia's instruction for this stage.

   Selectors are doubled on purpose. Production's own admin.css
   scopes its rules to body.bible-mode[data-bible-nav="admin"]
   (the bible-mode class is added by the workspace shell script),
   so the frame uses that same heavy scope to stand level with it,
   plus an .admin-page scope that matches the page's own container
   wherever the markup is rendered. */

body.bible-mode[data-bible-nav="admin"],
body[data-bible-nav="admin"] {
  background: #faf9f6;
}

.admin-page {
  background: #faf9f6;
}

/* The design's slim header bar replaces the old page-title head. */

.concept-admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0 1.1rem;
  font-family: var(--av-font-body);
}

.concept-admin-wordmark {
  margin: 0;
  font-family: var(--av-font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--concept-navy);
}

.concept-admin-wordmark a {
  color: inherit;
  text-decoration: none;
}

.concept-admin-wordmark-gold {
  color: var(--concept-gold);
}

.concept-admin-bar-label {
  margin-left: 0.45rem;
  font-family: var(--av-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #8a8378;
}

.concept-admin-bar-actions {
  display: flex;
  gap: 0.6rem;
}

.concept-admin-bar-btn {
  padding: 0.5rem 1.15rem;
  border: 1.5px solid var(--concept-navy);
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--concept-navy);
  text-decoration: none;
}

.concept-admin-bar-btn:hover {
  background: var(--concept-ivory);
}

body.bible-mode[data-bible-nav="admin"] .admin-status,
.admin-page .admin-status {
  color: #6d675c;
  font-size: 0.92rem;
}

body.bible-mode[data-bible-nav="admin"] .admin-layout,
.admin-page .admin-layout {
  align-items: stretch;
}

body.bible-mode[data-bible-nav="admin"] .admin-rail,
.admin-page .admin-rail {
  flex: 0 0 212px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 0.8rem 1.3rem;
  background: var(--concept-navy);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(22, 40, 63, 0.18);
}

body.bible-mode[data-bible-nav="admin"] .admin-rail::before,
.admin-page .admin-rail::before {
  content: "Anthrovia Bible";
  display: block;
  padding: 0.2rem 0.6rem 1rem;
  font-family: var(--av-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--concept-ivory);
}

body.bible-mode[data-bible-nav="admin"] .admin-rail-item,
.admin-page .admin-rail-item {
  padding: 0.65rem 0.8rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-family: var(--av-font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  color: #e9e2cf;
  cursor: pointer;
}

body.bible-mode[data-bible-nav="admin"] .admin-rail-item:hover,
.admin-page .admin-rail-item:hover {
  background: rgba(255, 253, 247, 0.08);
}

body.bible-mode[data-bible-nav="admin"] .admin-rail-item.is-active,
.admin-page .admin-rail-item.is-active {
  background: rgba(255, 253, 247, 0.16);
  color: #fffdf7;
}

body.bible-mode[data-bible-nav="admin"] .admin-section,
body.bible-mode[data-bible-nav="admin"] .admin-table-wrap,
.admin-page .admin-section,
.admin-page .admin-table-wrap {
  background: #fffdf7;
  border: 1px solid #e3d9c2;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(22, 40, 63, 0.05);
}

body.bible-mode[data-bible-nav="admin"] .admin-section-kicker,
.admin-page .admin-section-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--concept-gold);
}

body.bible-mode[data-bible-nav="admin"] .admin-section h3,
body.bible-mode[data-bible-nav="admin"] .admin-devotional-collapse-heading h3,
body.bible-mode[data-bible-nav="admin"] .admin-reflections-heading,
.admin-page .admin-section h3,
.admin-page .admin-devotional-collapse-heading h3,
.admin-page .admin-reflections-heading {
  font-family: var(--av-font-display);
  font-weight: 600;
  color: var(--concept-navy);
}

body.bible-mode[data-bible-nav="admin"] .admin-card,
.admin-page .admin-card {
  background: var(--concept-ivory);
  border: 1px solid #e3d9c2;
  border-radius: 14px;
}

/* The Today strip keeps production's white divided layout; only
   its typography takes the design's treatment. */
body.bible-mode[data-bible-nav="admin"] .admin-today-primary > .admin-metric,
.admin-page .admin-today-primary > .admin-metric {
  background: transparent;
  border: none;
  border-radius: 0;
}

body.bible-mode[data-bible-nav="admin"] .admin-card-value,
.admin-page .admin-card-value {
  font-family: var(--av-font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--concept-navy);
}

body.bible-mode[data-bible-nav="admin"] .admin-card-label,
.admin-page .admin-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d675c;
}

body.bible-mode[data-bible-nav="admin"] .admin-table th,
.admin-page .admin-table th {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d675c;
  border-bottom: 1px solid #e3d9c2;
}

body.bible-mode[data-bible-nav="admin"] .admin-table td,
.admin-page .admin-table td {
  border-bottom: 1px solid #f0e8d4;
}

/* The dashboard block */

.concept-dash {
  margin-bottom: 1.25rem;
  font-family: var(--av-font-body);
}

.concept-dash-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--concept-gold);
}

.concept-dash-title {
  margin: 0 0 1.2rem;
  font-family: var(--av-font-display);
  font-size: 2.35rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--concept-navy);
}

.concept-dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.concept-dash-stat {
  padding: 1.1rem 1.25rem;
  background: #fffdf7;
  border: 1px solid #e3d9c2;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(22, 40, 63, 0.05);
}

.concept-dash-stat-value {
  display: block;
  font-family: var(--av-font-display);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--concept-navy);
}

.concept-dash-stat-label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d675c;
}

.concept-dash-panel {
  padding: 1.2rem 1.3rem 1.3rem;
  background: #fffdf7;
  border: 1px solid #e3d9c2;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(22, 40, 63, 0.05);
}

.concept-dash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.concept-dash-panel-title {
  margin: 0;
  font-family: var(--av-font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--concept-navy);
}

.concept-dash-new {
  padding: 0.55rem 1.1rem;
  background: var(--concept-gold);
  color: #fffdf7;
  border: none;
  border-radius: 9px;
  font-family: var(--av-font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.concept-dash-new:hover {
  background: #9a7626;
}

.concept-dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.concept-dash-table th {
  padding: 0.5rem 0.5rem;
  text-align: left;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d675c;
  border-bottom: 1px solid #e3d9c2;
}

.concept-dash-table td {
  padding: 0.65rem 0.5rem;
  color: #4c463c;
  border-bottom: 1px solid #f0e8d4;
  vertical-align: middle;
}

.concept-dash-table tr:last-child td {
  border-bottom: none;
}

.concept-dash-cell-title {
  font-weight: 600;
  color: var(--concept-navy);
}

.concept-dash-pill {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: var(--concept-olive-tint);
  color: var(--concept-olive-deep);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.concept-dash-empty {
  margin: 0.6rem 0 0;
  color: #6d675c;
  font-size: 0.92rem;
}

.concept-dash-note {
  margin: 1rem 0 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #4c463c;
}

@media (max-width: 900px) {
  body.bible-mode[data-bible-nav="admin"] .admin-rail::before,
  .admin-page .admin-rail::before {
    display: none;
  }

  .concept-dash-stats {
    grid-template-columns: 1fr;
  }
}

/* Keep the admin workspace on its own navigation rail. */
body[data-bible-nav="admin"] #bible-sidebar-mount,
body.bible-mode[data-bible-nav="admin"] .bible-app-shell > .bible-sidebar,
body[data-bible-nav="admin"]:has(#adminDashboard[hidden]) #adminSignOut,
body[data-bible-nav="admin"]:has(#adminDashboard:not([hidden])) .concept-admin-bar-btn[href*="auth_intent"] {
  display: none;
}
body[data-bible-nav="admin"] .admin-rail {
  align-self: start;
  box-shadow: none;
}
body[data-bible-nav="admin"] .admin-rail::before {
  content: none;
}
body[data-bible-nav="admin"] .admin-view > .concept-dash-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 2.65rem);
}
body[data-bible-nav="admin"] .admin-view > .concept-dash {
  margin-top: 1rem;
}
@media (max-width: 900px) {
  body[data-bible-nav="admin"] .admin-page .admin-rail {
    flex: 0 1 auto;
    align-self: stretch;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

body.bible-mode[data-bible-nav="admin"] .admin-page .admin-rail {
  align-self: start;
  box-shadow: none;
  position: sticky;
  top: 1rem;
}
body.bible-mode[data-bible-nav="admin"] .admin-page .admin-rail::before {
  content: none;
}
body.bible-mode[data-bible-nav="admin"] .admin-page .admin-rail-item[aria-current="true"] {
  background: var(--concept-gold);
  color: var(--concept-navy);
}
#adminSignOut { font: inherit; cursor: pointer; }
@media (max-width: 900px) {
  body.bible-mode[data-bible-nav="admin"] .admin-page .admin-rail {
    position: static;
    flex: 0 1 auto;
    align-self: stretch;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

body.bible-mode[data-bible-nav="admin"] .bible-app-shell {
  grid-template-columns: minmax(0, 1fr);
}
body[data-bible-nav="admin"] .concept-admin-bar,
body[data-bible-nav="admin"] .concept-admin-bar-actions,
body[data-bible-nav="admin"] .concept-dash-panel-head {
  flex-wrap: wrap;
}
body[data-bible-nav="admin"] .concept-admin-bar-btn {
  white-space: nowrap;
}
body[data-bible-nav="admin"] .concept-dash-panel {
  overflow-x: auto;
}

#bible-chat-shell #bible-chat-messages .concept-answer-card {
  background: #fff;
  box-shadow: none;
}
#bible-chat-shell #bible-chat-messages .concept-answer-card > .concept-card-eyebrow {
  display: inline-block;
  margin: 0 0 .65rem;
  box-sizing: border-box;
  max-width: 100%;
  padding: .28rem .75rem;
  overflow-wrap: anywhere;
  border: 0;
  border-radius: 999px;
  background: #efe4c6;
  color: #644907;
  font: 700 .72rem/1.35 var(--av-font-body, sans-serif);
  letter-spacing: .075em;
  text-transform: uppercase;
}
#bible-chat-shell #bible-chat-messages .concept-card-commentary > .concept-card-eyebrow {
  background: #e3ead9;
  color: #384b2a;
}
#bible-chat-shell #bible-chat-messages :is(.concept-card-words, .concept-card-takeaways) > .concept-card-eyebrow {
  background: #e9e2f3;
  color: #493867;
}
#bible-chat-shell #bible-chat-messages .concept-card-scripture ul {
  background: #faf7ef;
  padding: .75rem 1rem;
}
#bible-chat-shell .concept-followup {
  background: #fff;
}

/* Keep the original form available until the follow-up form is ready. */
#bible-chat-shell:not(.is-empty):has(.concept-followup:not([hidden])) #bibleQueryForm,
#bible-chat-shell:not(.is-empty):has(.concept-followup:not([hidden])) .bible-dashboard-explore-subtitle {
  display: none;
}
