/* Paginuva 4.0 reading journal — incremental styles over the existing theme. */
.v4-tracker { background: #f5faf5; border-color: #cbded3; }
.v4-tracker h2 { font-size: 25px; letter-spacing: -.7px; }
.v4-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.v4-checkbox { display: flex !important; align-items: center; gap: 10px; padding: 12px 14px; margin: 16px 0 8px !important; background: #fff; border: 1px solid #bdd9c7; border-radius: 12px; cursor: pointer; }
.v4-checkbox input { margin: 0 !important; width: 19px !important; height: 19px; accent-color: #176447; flex: none; }
.v4-checkbox span { font-size: 15px; }
#reflectionField { background: #eef6ef; padding: 12px 15px; border-radius: 12px; }
#reflectionField[hidden], [hidden] { display: none !important; }
#bookReflection { width: 100%; min-height: 82px; resize: vertical; border: 1px solid #c9dcd0; border-radius: 10px; padding: 12px; margin-top: 6px; font: inherit; color: #17352f; }
.v4-earn-preview { font-weight: 750; color: #145a43; font-size: 13px; background: #e2f2e7; border-radius: 11px; padding: 12px 15px; margin: 15px 0 5px; }
.v4-section-header { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 30px 0 9px; }
.v4-section-header h2,.v4-section-header h3 { margin: 0; letter-spacing: -.5px; }
.v4-record { border: 1px solid #e0eae2; border-radius: 14px; padding: 15px; background: #fff; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 10px 0; }
.v4-record strong { display: block; font-size: 15px; }
.v4-record p { margin: 4px 0; font-size: 12px; color: #627c70; line-height: 1.6; }
.v4-record .v4-reflection { color: #3b6553; margin-top: 9px; font-style: italic; }
.v4-status { display: inline-flex; margin-top: 5px; align-items: center; padding: 5px 9px; border-radius: 20px; font-size: 11px; font-weight: 800; }
.v4-status.pending { background: #fff2d8; color: #845b16; }
.v4-status.approved { background: #e3f4e8; color: #1e6846; }
.v4-status.rejected { background: #fff0ec; color: #9b4235; }
.v4-book { background: #fff; margin: 11px 0; }
.v4-book .cover { width: 54px; height: 68px; font-size: 28px; }
.v4-book .grow { min-width: 180px; }
.v4-book .tag { margin-top: 10px; }
.v4-book button { white-space: nowrap; }
.v4-goals { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.v4-goals .tile { min-width: 0; }
.v4-goals label { color: #557669; display: block; margin: 9px 0 5px; font-size: 12px; font-weight: 750; }
.v4-select { width: 100%; min-width: 0; padding: 11px; font: inherit; color: #204f3d; border: 1px solid #c5d8ca; border-radius: 10px; background: #fff; }
.v4-goals .tile > p { color: #5d796b; font-size: 13px; }
.v4-reader-name { font-size: 11px; font-weight: 800; background: #eaf5e8; color: #315b45; border-radius: 20px; padding: 7px 10px; }
.v4-review-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.v4-review-actions .btn { padding: 10px 12px; }
.v4-vault-label { text-transform: uppercase; letter-spacing: 1.7px; font-size: 12px; color: #bce2c9; }
#v4VaultPages span { font-size: 22px; letter-spacing: normal; }
.v4-summer { background: linear-gradient(110deg, #fff7e8, #f1f8e8); margin: 18px 0; }
.v4-toast { position: fixed; z-index: 80; bottom: 19px; left: 50%; transform: translateX(-50%); max-width: min(430px, calc(100% - 30px)); background: #174b38; color: white; border-radius: 14px; padding: 14px 20px; box-shadow: 0 8px 30px #14372a38; font-size: 14px; text-align: center; }
#readingForm :focus-visible, #parent select:focus-visible, #bookReflection:focus-visible { outline: 3px solid #e69b4b; outline-offset: 2px; }
@media(max-width:740px) {
  .v4-fields,.v4-goals { grid-template-columns: 1fr; gap: 0; }
  .v4-goals { gap: 10px; }
  .v4-record { align-items: flex-start; }
  .v4-review-actions { margin-left: 0; width: 100%; }
  .v4-record > .grow { flex-basis: 100%; }
  .v4-section-header { margin-top: 24px; }
  .v4-book .grow { min-width: 120px; }
  .v4-book button { margin-left: auto; }
}
