/* JASSH v0.3.29 — MOBILE READABILITY + ABOUT NAV ONLY.
   Deliberately leaves all approved v0.3.25/28 desktop design, masthead,
   For Authors hero, card illustrations and reviewer design untouched. */
html .jassh-ui .jassh-about-mobile-navigation {display:none;}
@media (max-width:767px) {
  /* Replace invisible horizontal About navigation with explicit, tap-friendly links. */
  html .jassh-ui .jassh-about-layout {grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;}
  html .jassh-ui .jassh-about-layout > .jassh-about-nav {display:none!important;}
  html .jassh-ui .jassh-about-mobile-navigation {
    box-sizing:border-box;display:block;min-width:0;width:100%;max-width:100%;overflow:hidden;
    padding:15px;margin:0 0 7px;border:1px solid #c9e4ef;border-radius:16px;
    background:linear-gradient(130deg,#eefaff 0%,#fff 85%);
    box-shadow:0 6px 17px rgba(9,49,89,.055);
    font-family:Arial,Helvetica,sans-serif;
  }
  html .jassh-ui .jassh-about-mobile-navigation *,
  html .jassh-ui .jassh-about-mobile-navigation *:before,
  html .jassh-ui .jassh-about-mobile-navigation *:after {box-sizing:border-box;}
  html .jassh-ui .jassh-about-mobile-header {display:grid;gap:4px;margin:0 0 12px;padding:0 2px;}
  html .jassh-ui .jassh-about-mobile-kicker {color:#008198;font:bold 10px/1.5 Arial,sans-serif;letter-spacing:1.8px;}
  html .jassh-ui .jassh-about-mobile-heading-row {display:flex;align-items:center;justify-content:space-between;gap:8px;}
  html .jassh-ui .jassh-about-mobile-current {font:700 clamp(19px,5vw,23px)/1.2 Georgia,serif;color:#082f65;overflow-wrap:break-word;}
  html .jassh-ui .jassh-about-mobile-page-indicator {font-size:11px;color:#0babb0;background:#ddf7f2;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;flex:0 0 28px;}
  html .jassh-ui .jassh-about-mobile-help {color:#48657b;font:400 12px/1.5 Arial,sans-serif;margin:2px 0 0;text-align:left!important;hyphens:none!important;}
  html .jassh-ui .jassh-about-mobile-quick {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-width:0;}
  html .jassh-ui .jassh-about-mobile-quick a {
    display:flex;align-items:center;gap:9px;min-height:53px;min-width:0;padding:11px 10px;
    border:1px solid #d0e5ef;border-radius:10px;background:#fff;text-decoration:none!important;
    color:#08486f;font:700 13px/1.28 Arial,sans-serif;text-align:left;overflow-wrap:break-word;
    box-shadow:0 1px 2px rgba(13,53,92,.025);
  }
  html .jassh-ui .jassh-about-mobile-item-icon {flex:0 0 23px;color:#008b9e;font:700 20px/1 Arial,sans-serif;text-align:center;}
  html .jassh-ui .jassh-about-mobile-quick a[aria-current='page'] {
    color:#064b58;background:#e6f8f3;border-color:#58bdaf;box-shadow:inset 0 -3px 0 #099e99;
  }
  html .jassh-ui .jassh-about-mobile-disclosure {min-width:0;margin:11px 0 0;border:1px solid #c3dfe9;border-radius:10px;background:#f8fcfe;overflow:hidden;}
  html .jassh-ui .jassh-about-mobile-disclosure>summary {
    display:flex;align-items:center;gap:11px;list-style:none;cursor:pointer;
    min-height:53px;padding:11px 13px;color:#07476f;font:bold 13px/1.3 Arial,sans-serif;
  }
  html .jassh-ui .jassh-about-mobile-disclosure>summary::-webkit-details-marker {display:none;}
  html .jassh-ui .jassh-about-mobile-disclosure>summary small {display:block;font:400 11px/1.3 Arial,sans-serif;color:#637e8d;margin-top:3px;}
  html .jassh-ui .jassh-about-menu-icon {color:#00829b;font:700 21px/1 Arial,sans-serif;flex:0 0 22px;text-align:center;}
  html .jassh-ui .jassh-about-mobile-chevron {margin-left:auto;font-size:23px;line-height:1;transition:transform .2s ease;}
  html .jassh-ui .jassh-about-mobile-disclosure[open] .jassh-about-mobile-chevron {transform:rotate(180deg);}
  html .jassh-ui .jassh-about-mobile-all {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:7px;gap:5px;border-top:1px solid #d7e9f2;}
  html .jassh-ui .jassh-about-mobile-all a {
    display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;min-height:49px;
    padding:10px;border:1px solid #e2edf3;border-radius:7px;background:#fff;
    color:#0b547a;font:600 12.5px/1.35 Arial,sans-serif;text-decoration:none;overflow-wrap:break-word;
  }
  html .jassh-ui .jassh-about-mobile-all a span {color:#00899e;flex:0 0 auto;}
  html .jassh-ui .jassh-about-mobile-all a[aria-current='page'] {background:#e5f7f2;border-color:#61beae;color:#063f55;font-weight:800;}
  html .jassh-ui .jassh-about-mobile-navigation :is(a,summary):focus-visible {outline:3px solid #0096b6;outline-offset:2px;}

  /* Legible prose. No automatic hyphenation (man-uscript, sub-mission),
     preserved word boundaries and clean left/right edges. Exclude headings,
     navigation, chips, citations, tables, numbered steps and action labels. */
  html .jassh-ui .jassh-about-layout :is(.jassh-info-page,.jassh-content-body,.vl-about-intro) p:not(.jassh-eyebrow):not(.jassh-card-link):not(.jassh-reviewer-affiliation):not(.jassh-reviewer-meta):not(.vl-tagline),
  html .jassh-ui .jassh-author-resource-page :is(.jassh-resource-hero,.jassh-resource-panel,.jassh-review-steps,.jassh-submit-prep-grid,.jassh-section-policy-body) p:not(.jassh-resource-eyebrow):not(.jassh-resource-note):not(.jassh-section-note),
  html .jassh-ui .jassh-reviewer-detail p:not(.jassh-reviewer-note),
  html .jassh-ui .jassh-about-layout .page_about > .jassh-demo-block > p {
    text-align:justify!important;text-align-last:left;text-justify:inter-word;
    -webkit-hyphens:none!important;hyphens:none!important;
    word-break:normal!important;overflow-wrap:break-word;
    letter-spacing:normal;word-spacing:normal;line-height:1.7;
  }
  /* Keep all labels, bullets and compact explanatory copy naturally left aligned. */
  html .jassh-ui .jassh-about-layout :is(.jassh-eyebrow,.jassh-info-card h3,.jassh-info-card h4,.jassh-about-mobile-navigation p),
  html .jassh-ui .jassh-author-resource-page :is(.jassh-resource-eyebrow,.jassh-resource-note,.jassh-section-meta,.jassh-fee-free-badge,.jassh-author-breadcrumb,.jassh-section-cta),
  html .jassh-ui .jassh-about-layout :is(.jassh-profile-facts dt,.jassh-profile-facts dd) {
    text-align:left!important;-webkit-hyphens:none!important;hyphens:none!important;
  }
  /* Vertical margin, safe content width and readable About content on phones. */
  html .jassh-ui .jassh-about-layout > :is(.page,.jassh-about-subpage) {min-width:0;max-width:100%;}
  html .jassh-ui .jassh-about-layout .jassh-info-page {min-width:0;max-width:100%;}
  html .jassh-ui .jassh-about-layout .jassh-info-hero {max-width:100%;min-width:0;}
  html .jassh-ui .jassh-about-layout .jassh-info-page :is(h2,h3,h4) {overflow-wrap:break-word;word-break:normal;text-wrap:balance;}
  html .jassh-ui .jassh-about-layout .jassh-info-page :is(.jassh-info-hero,.jassh-info-card) p {overflow-wrap:break-word;word-break:normal;-webkit-hyphens:none;hyphens:none;}
  html .jassh-ui .jassh-author-resource-page :is(.jassh-resource-hero,.jassh-resource-panel) p {word-break:normal!important;-webkit-hyphens:none!important;hyphens:none!important;}
  html .jassh-ui .jassh-author-resource-page :is(.jassh-resource-hero,.jassh-resource-panel) h2 {overflow-wrap:break-word;word-break:normal;}
}
@media (max-width:355px) {
  html .jassh-ui .jassh-about-mobile-navigation {padding:12px;}
  html .jassh-ui .jassh-about-mobile-quick {gap:7px;}
  html .jassh-ui .jassh-about-mobile-quick a {font-size:12px;padding:10px 7px;gap:5px;}
  html .jassh-ui .jassh-about-mobile-all a {font-size:12px;padding:8px;}
}
@media (prefers-reduced-motion:reduce) {
  html .jassh-ui .jassh-about-mobile-chevron {transition:none;}
}
