/* Scoped to the public prophecy register; existing artwork and shared pages stay intact. */
.history-prophecies { background: #FAF8F4; color: #202631; padding: 3.5rem 0; scroll-margin-top: 7rem; }
.history-prophecies .pf-intro-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-bottom: 1.75rem; }
.history-prophecies h2 { margin: 0; color: #202631; font: 400 clamp(2rem, 3vw, 2.5rem)/1.3 "Libre Baskerville", Georgia, serif; overflow-wrap: anywhere; }
.history-prophecies .pf-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; list-style: none; margin: 0; padding: 1rem; background: #F4F1EB; border: 1px solid #E4DFD6; border-radius: 6px; font-size: .9rem; line-height: 1.5; }
.history-prophecies .pf-legend li, .history-prophecies .pf-status { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.history-prophecies .pf-legend-copy { display: grid; gap: .25rem; }
.history-prophecies .pf-bulk-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1rem; }
.history-prophecies .pf-bulk-actions button { border: 1px solid #97743A; border-radius: 5px; background: #FFFFFF; color: #5B421E; padding: .6rem .9rem; font: inherit; cursor: pointer; }
.history-prophecies .pf-bulk-actions button:hover { background: #F4F1EB; }
.history-prophecies .pf-cards { display: grid; gap: 1rem; }
.history-prophecies .pf-card { margin: 0; border: 1px solid #E4DFD6; border-radius: 8px; background: #FFFFFF; box-shadow: 0 1px 3px rgba(32, 38, 49, .06); scroll-margin-top: 7rem; }
.history-prophecies .pf-card-heading { padding: 1rem 1.5rem; background: #F4F1EB; border-radius: 7px 7px 0 0; border-bottom: 1px solid #E4DFD6; }
.history-prophecies .pf-card[data-pf-expanded="false"] .pf-card-heading { border-radius: 7px; border-bottom: 0; }
.history-prophecies .pf-card-title { margin: 0; min-width: 0; color: #202631; font: 400 1.3rem/1.45 "Libre Baskerville", Georgia, serif; }
.history-prophecies .pf-toggle { display: grid; grid-template-columns: 30px minmax(0, 1fr) 12px; gap: .75rem 1rem; align-items: center; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 3px; background: transparent; box-shadow: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.history-prophecies .pf-toggle:disabled { opacity: 1; color: inherit; cursor: default; }
.history-prophecies .pf-toggle > span { min-width: 0; overflow-wrap: anywhere; }
.history-prophecies .pf-toggle:focus-visible, .history-prophecies .pf-bulk-actions button:focus-visible { outline: 3px solid #725321; outline-offset: 5px; }
.history-prophecies .pf-number { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #97743A; color: #FFFFFF; font: 400 1rem/1 sans-serif; }
.history-prophecies .pf-group-counts { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: .65rem 0 0 46px; color: #59616B; font-size: .875rem; line-height: 1.5; }
.history-prophecies .pf-count { white-space: nowrap; }
.history-prophecies .pf-status-counts { display: flex; flex-wrap: wrap; gap: .25rem .85rem; padding: 0; margin: 0; list-style: none; }
.history-prophecies .pf-status-total { font-weight: 700; }
.history-prophecies .pf-chevron { width: 8px; height: 8px; border: solid #97743A; border-width: 0 2px 2px 0; transform: rotate(-45deg); }
.history-prophecies .pf-toggle[aria-expanded="true"] .pf-chevron { transform: rotate(45deg); }
.history-prophecies .pf-rows { list-style: none; padding: 0; margin: 0; }
.history-prophecies .pf-row { padding: 1.1rem 1.5rem; margin: 0; font-size: 1rem; line-height: 1.65; scroll-margin-top: 7rem; }
.history-prophecies .pf-row + .pf-row { border-top: 1px solid #E4DFD6; }
.history-prophecies .pf-row-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(10rem, auto); gap: .5rem 1.5rem; align-items: start; }
.history-prophecies .pf-label { margin: 0; color: #202631; font: 600 1.05rem/1.6 "Source Sans 3", "Segoe UI", sans-serif; overflow-wrap: anywhere; }
.history-prophecies .pf-status { margin: 0; color: #202631; font-size: .9375rem; line-height: 1.6; }
.history-prophecies .pf-summary { margin: .65rem 0 0; }
.history-prophecies .pf-anchor { display:block; scroll-margin-top:7rem; }
.history-prophecies .pf-fulfillment-dates { margin:.65rem 0 1rem; color:#59616B; font-size:.9375rem; }
.history-prophecies .pf-fulfillment-dates span { display:block; }
.history-prophecies .pf-explanation { max-width:78ch; }
.history-prophecies .pf-explanation blockquote {
  margin:1rem 0; padding:.85rem 1rem .85rem 1.15rem;
  border-inline-start:4px solid var(--blue-700); border-radius:0 6px 6px 0;
  background:#f4f7fa; color:#2b3d52;
}
.history-prophecies .pf-explanation blockquote p { margin:0; }
.history-prophecies .pf-explanation cite { display:block; margin-top:.5rem; font-size:.9375rem; font-style:normal; }
.history-prophecies .pf-source { margin: .5rem 0 0; color: #59616B; font-size: .9375rem; overflow-wrap: anywhere; }
.history-prophecies .pf-source-label { font-weight: 600; }
.history-prophecies .pf-dot { box-sizing: border-box; flex: 0 0 12px; width: 12px; height: 12px; margin-top: .4em; border: 1.5px solid #737D88; border-radius: 50%; background: transparent; }
.history-prophecies .pf-dot--fulfilled { background: #2E7D32; border-color: #2E7D32; }
.history-prophecies .pf-dot--in_progress { background: #E2B607; border-color: #8A6900; }
.history-prophecies .pf-bulk-actions[hidden], .history-prophecies .pf-panel[hidden] { display: none !important; }
@media (max-width: 48rem) {
  .history-prophecies .pf-legend { grid-template-columns: minmax(0, 1fr); }
  .history-prophecies .pf-row-heading { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .history-prophecies { padding: 2.5rem 0; }
  .history-prophecies .pf-card-heading, .history-prophecies .pf-row { padding: 1rem; }
  .history-prophecies .pf-toggle { gap: .5rem .75rem; }
  .history-prophecies .pf-group-counts { margin-left: 42px; }
}
@media (max-width: 24rem) {
  .history-prophecies .pf-card-heading, .history-prophecies .pf-row { padding: .85rem .75rem; }
  .history-prophecies .pf-group-counts { margin-left: 0; }
}
@media print {
  .history-prophecies { background: white; padding: 1rem 0; }
  .history-prophecies .pf-card { box-shadow: none; break-inside: auto; margin-bottom: 1rem; }
  .history-prophecies .pf-card-heading { break-after: avoid; }
  .history-prophecies .pf-row { break-inside: avoid; }
  .history-prophecies .pf-panel[hidden] { display: block !important; }
  .history-prophecies .pf-toggle { display: grid !important; color: #000000; }
  .history-prophecies .pf-bulk-actions, .history-prophecies .pf-chevron { display: none !important; }
}
