/* JMV 0.7.55: consistent published-article reading and manuscript-preview typography.
   Scope strictly to public article pages. Do not alter stored rich text or editorial previews. */
body.jmv720-article-body #jmv-article-root.jmv-reader {
  --jmv-navy:#12344E; --jmv-heading:#173B5A; --jmv-ink:#263238;
  --jmv-teal:#006C72; --jmv-muted:#546E7A; --jmv-line:#DCE3E9;
  --jmv-pale:#F7F9FB; --jmv-table-head:#EDF2F6;
}
body.jmv720-article-body #jmv-article-root .jmv-article-main {
  width:100%; min-width:0; max-width:none;
}
body.jmv720-article-body #jmv-article-root .jmv-article-body {
  min-width:0; max-width:100%; font-family:Inter,"Segoe UI",Arial,sans-serif;
  font-size:15.5px; line-height:1.75; font-weight:400; color:#263238 !important;
  overflow-wrap:break-word; word-break:normal;
}
body.jmv720-article-body #jmv-article-root .jmv-article-heading h1 {
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  font-size:clamp(28px,2.55vw,40px); line-height:1.2; font-weight:750;
  letter-spacing:-.025em; max-width:1050px;
}
/* The submitted manuscript preview uses a compact three-level text hierarchy. */
body.jmv720-article-body #jmv-article-root .jmv-article-body h2,
body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-manual-section > h2 {
  font-family:Inter,"Segoe UI",Arial,sans-serif; font-size:clamp(21px,1.5vw,25px);
  font-weight:750; line-height:1.35; margin:32px 0 12px; letter-spacing:-.016em;
  color:#173B5A !important; break-after:avoid;
}
body.jmv720-article-body #jmv-article-root .jmv-article-body h3,
body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-manual-table h3 {
  font-family:Inter,"Segoe UI",Arial,sans-serif; font-size:18px; font-weight:720;
  line-height:1.42; margin:25px 0 10px; color:#173B5A !important; break-after:avoid;
}
body.jmv720-article-body #jmv-article-root .jmv-article-body h4,
body.jmv720-article-body #jmv-article-root .jmv-article-body h5,
body.jmv720-article-body #jmv-article-root .jmv-article-body h6 {
  font-family:Inter,"Segoe UI",Arial,sans-serif; font-size:15.5px; font-weight:700;
  line-height:1.45; margin:19px 0 8px; color:#334E63 !important; break-after:avoid;
}
body.jmv720-article-body #jmv-article-root .jmv-article-body :is(p,li) {
  font-size:inherit; line-height:inherit; word-spacing:normal; letter-spacing:normal;
  white-space:normal; overflow-wrap:break-word;
}
body.jmv720-article-body #jmv-article-root .jmv-article-body p { margin:0 0 14px; }
body.jmv720-article-body #jmv-article-root .jmv-article-body :is(ul,ol) { margin:0 0 17px; padding-left:27px; }
body.jmv720-article-body #jmv-article-root .jmv-article-body :is(.jmv-manual-section,.jmv-abstract) { min-width:0; }
body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-abstract { padding:0; border:0; background:#fff !important; }
/* Compact responsive scientific tables; do not apply imported Word fixed heights/widths. */
body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-table-scroller {
  display:block; width:100%; max-width:100%; overflow-x:auto; overflow-y:hidden;
  margin:14px 0 18px; border:1px solid #DCE3E9; border-radius:7px;
  -webkit-overflow-scrolling:touch;
}
body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-table-scroller table,
body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-inline-record table {
  width:100% !important; min-width:100% !important; max-width:none !important;
  table-layout:auto !important; border-collapse:collapse; border-spacing:0;
  font-family:Inter,"Segoe UI",Arial,sans-serif; font-size:13px; line-height:1.45;
}
body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-table-scroller table.jmv-table-medium { min-width:660px !important; }
body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-table-scroller table.jmv-table-wide { min-width:900px !important; }
body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-table-scroller :is(th,td) {
  min-width:0 !important; width:auto !important; max-width:360px; height:auto !important;
  padding:8px 10px !important; text-align:left !important; vertical-align:top;
  font-size:13px; line-height:1.47; white-space:normal !important;
  overflow-wrap:break-word !important; word-break:normal !important;
  hyphens:none !important; border:1px solid #DCE3E9;
}
body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-table-scroller :is(th,td) :is(p,div) {
  margin:0 0 4px !important; padding:0; text-align:left !important; white-space:normal !important;
  line-height:1.45; font-size:inherit;
}
body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-table-scroller :is(th,td) :is(p,div):last-child { margin-bottom:0 !important; }
body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-table-scroller th { background:#EDF2F6 !important; color:#173B5A !important; font-weight:700; }
body.jmv720-article-body #jmv-article-root .jmv-article-body :is(.jmv-manual-table,.jmv-inline-record) { width:100%; min-width:0; }
/* Uniform figure labels, image sizing and captions. Full-resolution zoom stays available. */
body.jmv720-article-body #jmv-article-root .jmv-article-body :is(.jmv-embedded-figure,.jmv-figure-card,figure) { max-width:100%; min-width:0; }
body.jmv720-article-body #jmv-article-root .jmv-article-body :is(figure img,.jmv-embedded-figure img,.jmv-figure-card img,.wp-block-image img) {
  display:block; max-width:100% !important; width:auto !important; height:auto !important;
  max-height:min(520px,58vh); object-fit:contain; margin-inline:auto;
}
body.jmv720-article-body #jmv-article-root .jmv-article-body :is(.jmv-figure-number,.jmv-manual-figure-title) {
  font-size:16px; font-weight:750; line-height:1.45; color:#173B5A !important;
}
body.jmv720-article-body #jmv-article-root .jmv-article-body :is(figcaption,.jmv-figure-caption,.jmv-table-legend) {
  font-family:Inter,"Segoe UI",Arial,sans-serif; font-size:13.5px;
  line-height:1.55; text-align:left; margin:9px 0; color:#546E7A !important;
}
/* Reference list: one citation per row, aligned number / hanging-indent effect. */
body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-references-list,
body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-references ol {
  list-style:decimal outside; padding-left:2.1em; margin:12px 0;
}
body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-references-list > li,
body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-references ol > li {
  font:400 13.5px/1.65 Inter,"Segoe UI",Arial,sans-serif;
  padding:0 0 10px 3px; margin:0 0 10px; border-bottom:1px solid #EDF2F6;
  text-align:left !important; hyphens:none; overflow-wrap:anywhere;
}
body.jmv720-article-body #jmv-article-root .jmv-article-body :is(.jmv-references-list,.jmv-references ol) > li::marker { font-weight:700; color:#173B5A; }
/* Preserve the existing full-viewport reader, contents navigation and citation tools. */
@media(max-width:700px){
 body.jmv720-article-body #jmv-article-root .jmv-article-body {font-size:15px;line-height:1.68;}
 body.jmv720-article-body #jmv-article-root .jmv-article-body h2 {font-size:21px;}
 body.jmv720-article-body #jmv-article-root .jmv-article-body h3 {font-size:17px;}
 body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-table-scroller :is(th,td) {font-size:12px; padding:7px 8px !important;}
 body.jmv720-article-body #jmv-article-root .jmv-article-body :is(figure img,.jmv-embedded-figure img,.jmv-figure-card img,.wp-block-image img) {max-height:350px;}
}
@media print {
 @page {size:A4;margin:16mm 15mm;}
 body.jmv720-article-body #jmv-article-root .jmv-article-body {font-size:10.5pt;line-height:1.5;}
 body.jmv720-article-body #jmv-article-root .jmv-article-body h2 {font-size:15pt;}
 body.jmv720-article-body #jmv-article-root .jmv-article-body h3 {font-size:12pt;}
 body.jmv720-article-body #jmv-article-root .jmv-article-body h4 {font-size:10.5pt;}
 body.jmv720-article-body #jmv-article-root .jmv-article-body :is(figure img,.jmv-embedded-figure img,.jmv-figure-card img,.wp-block-image img) {max-height:190mm;}
 body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-table-scroller {overflow:visible !important;border:0;}
 body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-table-scroller table,
 body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-table-scroller table.jmv-table-medium,
 body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-table-scroller table.jmv-table-wide {width:100% !important;min-width:0 !important;max-width:100% !important;table-layout:fixed !important;font-size:8pt;}
 body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-table-scroller :is(th,td) {min-width:0 !important;max-width:none !important;overflow-wrap:anywhere !important;font-size:8pt;padding:5px 6px !important;}
 body.jmv720-article-body #jmv-article-root .jmv-article-body :is(h2,h3,h4,figure,.jmv-manual-table) {break-inside:avoid-page;}
 body.jmv720-article-body #jmv-article-root .jmv-article-body .jmv-references-list > li {break-inside:avoid-page;}
}


/* v0.7.56 — default Word-style Justify for article prose.
   Keep tabular values, headings, references and figure captions left aligned.
   Does not edit the stored manuscript or override intentionally centered figures. */
body.jmv720-article-body #jmv-article-root .jmv-article-body :is(
  .jmv-manual-section, .jmv-manuscript-content, #jmv-manuscript-content,
  .jmv-abstract, .jmv-section-content, .entry-content
) :is(p, li, blockquote):not(:is(
  td *, th *, figcaption *, .jmv-references *, .jmv-references-list *,
  .jmv-table-scroller *, .jmv-inline-record *, .jmv-figure-caption *,
  .jmv-publication-info *, .jmv-keywords *
)) {
  text-align:justify !important;
  text-justify:inter-word;
  hyphens:auto;
  overflow-wrap:break-word;
  text-align-last:auto;
}
body.jmv720-article-body #jmv-article-root .jmv-article-body > p {
  text-align:justify !important; text-justify:inter-word; hyphens:auto;
}
@media (max-width:700px) {
  body.jmv720-article-body #jmv-article-root .jmv-article-body :is(p,li,blockquote) {
    word-spacing:normal; text-align-last:auto;
  }
}

/* v0.7.57 — uniform Word-style Justify, matching the JMV published scoping review.
   Scope: scholarly body prose only; ignore imported inline left-alignment.
   Do not justify tables, bibliographies, captions or application controls. */
body.jmv720-article-body #jmv-article-root .jmv-article-body #jmv-manuscript-content :is(.jmv-manual-section,.entry-content,.wp-block-group,.wp-block-column) {
  text-align:justify; text-justify:inter-word; text-align-last:auto;
}
body.jmv720-article-body #jmv-article-root .jmv-article-body :is(
  #jmv-manuscript-content,.jmv-manual-section,.jmv-abstract,.entry-content
) :is(p,blockquote,li):not(:is(
  .jmv-manual-table *, .jmv-manual-tables *, .jmv-table-scroller *,
  .jmv-inline-record *, table *, .jmv-references *, .jmv-references-list *,
  .jmv-supplementary-materials *, figure *, figcaption *,
  .jmv-table-legend,.jmv-table-comments,.jmv-figure-caption,.jmv-figure-comments,
  .jmv-publication-info *, .jmv-keywords *, .wp-block-image *
)) {
  text-align:justify !important; text-justify:inter-word !important;
  text-align-last:auto !important; hyphens:auto; overflow-wrap:break-word;
  white-space:normal;
}
/* Scope overrides for labels and data, including when inherited from .entry-content. */
body.jmv720-article-body #jmv-article-root .jmv-article-body :is(
  .jmv-manual-tables,.jmv-table-scroller,.jmv-inline-record,.jmv-references,
  .jmv-references-list,.jmv-supplementary-materials,figcaption,
  .jmv-figure-caption,.jmv-figure-comments,.jmv-table-legend,.jmv-table-comments
) {text-align:left !important; hyphens:manual;}
body.jmv720-article-body #jmv-article-root .jmv-article-body :is(
  .jmv-manual-tables,.jmv-table-scroller,.jmv-inline-record,.jmv-references,
  .jmv-references-list,.jmv-supplementary-materials,figure
) :is(p,li,blockquote,th,td,figcaption) {text-align:left !important;hyphens:manual;}
@media print {
  body.jmv720-article-body #jmv-article-root .jmv-article-body #jmv-manuscript-content :is(p,blockquote,li):not(:is(table *,figure *,.jmv-references *)) {text-align:justify !important;}
}


/* v0.7.84: fit normal scientific tables within the reading column. */
#jmv-article-root .jmv-article-body .jmv-table-scroller,
#jmv-article-root .jmv-article-body .jmv-manual-table {min-width:0!important;max-width:100%!important;}
#jmv-article-root .jmv-article-body .jmv-table-scroller table,
#jmv-article-root .jmv-article-body .jmv-table-scroller table.jmv-table-medium,
#jmv-article-root .jmv-article-body .jmv-table-scroller table.jmv-table-wide {
 width:100%!important;max-width:100%!important;min-width:0!important;
 table-layout:fixed!important; border-collapse:collapse!important;
}
#jmv-article-root .jmv-article-body .jmv-table-scroller :is(th,td),
#jmv-article-root .jmv-article-body .jmv-table-scroller :is(th,td):first-child {
 box-sizing:border-box!important;width:auto!important;min-width:0!important;max-width:none!important;
 padding:7px 8px!important;font-size:clamp(10.5px,.77vw,12.5px)!important;
 white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;
 vertical-align:top!important;height:auto!important;
}
#jmv-article-root .jmv-article-body .jmv-table-scroller :is(th,td) :is(p,div,span) {
 width:auto!important;max-width:100%!important;min-width:0!important;
 white-space:normal!important;overflow-wrap:anywhere!important;text-align:left!important;
}
@media(max-width:700px){
 #jmv-article-root .jmv-article-body .jmv-table-scroller table.jmv-table-medium,
 #jmv-article-root .jmv-article-body .jmv-table-scroller table.jmv-table-wide{min-width:580px!important;max-width:none!important;}
 #jmv-article-root .jmv-article-body .jmv-table-scroller :is(th,td){font-size:11px!important;padding:6px!important;}
}
/* Full-window editorial table reader. Scoped to our own overlay, never alters the source table. */
.jmv-table-fullscreen{position:fixed;inset:0;z-index:2147483000;background:rgba(15,35,50,.78);display:flex;justify-content:center;align-items:center;padding:clamp(8px,2vw,28px);box-sizing:border-box;}
.jmv-table-fullscreen-panel{width:100%;max-width:1600px;max-height:96vh;max-height:96dvh;display:flex;flex-direction:column;background:#fff;color:#263238;border-radius:10px;overflow:hidden;box-shadow:0 14px 60px #101d2b66;}
.jmv-table-fullscreen-header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0;padding:14px 20px;background:#f4f8fb;border-bottom:1px solid #dce3e9;font:600 16px/1.5 Arial,sans-serif;color:#12344e;}
.jmv-table-fullscreen-header button{flex-shrink:0;padding:9px 14px;border:1px solid #a5bdc9;background:#fff;color:#12344e;border-radius:6px;font:bold 13px Arial,sans-serif;cursor:pointer;}
.jmv-table-fullscreen-content{overflow:auto;padding:14px;overscroll-behavior:contain;}
.jmv-table-fullscreen-content table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important;font:13px/1.46 Arial,sans-serif!important;}
.jmv-table-fullscreen-content :is(td,th){border:1px solid #dce3e9!important;padding:9px 11px!important;width:auto!important;min-width:0!important;max-width:none!important;white-space:normal!important;overflow-wrap:anywhere!important;vertical-align:top!important;text-align:left!important;}
.jmv-table-fullscreen-content :is(td,th) *{max-width:100%!important;width:auto!important;white-space:normal!important;overflow-wrap:anywhere!important;}
.jmv-table-fullscreen-content th{background:#edf2f6!important;color:#173b5a!important;}
@media(max-width:650px){.jmv-table-fullscreen-header{padding:10px;font-size:13px;}.jmv-table-fullscreen-content table{min-width:660px!important;max-width:none!important;}}
@media print{.jmv-table-fullscreen{display:none!important;}}

/* Keep explicitly saved paragraph alignment on the published screen. */
@media screen{
body.jmv720-article-body #jmv-article-root .jmv-article-body #jmv-manuscript-content :is(p,div,li,blockquote,h3,h4,h5):is([style*="text-align: left"],[style*="text-align:left"],[align="left"]){text-align:left!important}
body.jmv720-article-body #jmv-article-root .jmv-article-body #jmv-manuscript-content :is(p,div,li,blockquote,h3,h4,h5):is([style*="text-align: center"],[style*="text-align:center"],[align="center"]){text-align:center!important}
body.jmv720-article-body #jmv-article-root .jmv-article-body #jmv-manuscript-content :is(p,div,li,blockquote,h3,h4,h5):is([style*="text-align: right"],[style*="text-align:right"],[align="right"]){text-align:right!important}
body.jmv720-article-body #jmv-article-root .jmv-article-body #jmv-manuscript-content :is(p,div,li,blockquote,h3,h4,h5):is([style*="text-align: justify"],[style*="text-align:justify"],[align="justify"]){text-align:justify!important}
}
