:root {
  --jj-primary: #2563eb;
  --jj-primary-hover: #1d4ed8;
  --jj-secondary: #1e40af;
  --jj-text: #1e293b;
  --jj-muted: #64748b;
  --jj-bg: #ffffff;
  --jj-border: #e2e8f0;
  --jj-radius: 8px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--jj-text);
  background: var(--jj-bg);
  -webkit-font-smoothing: antialiased;
}

.jj-page { min-height: 100vh; display: flex; flex-direction: column; }
.jj-main { flex: 1; }

.jj-header,
.jj-main,
.jj-footer {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 1.25rem;
}
@media (min-width: 640px) {
  .jj-header,
  .jj-main,
  .jj-footer { padding: 1.5rem 2rem; }
}

.jj-header {
  border-bottom: 1px solid var(--jj-border);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.jj-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.jj-nav a {
  color: var(--jj-primary);
  text-decoration: none;
  font-weight: 500;
}
.jj-nav a:hover { color: var(--jj-primary-hover); text-decoration: underline; }

.jj-breadcrumb {
  font-size: 0.813rem;
  color: var(--jj-muted);
  margin-bottom: 1rem;
}
.jj-breadcrumb a {
  color: var(--jj-primary);
  text-decoration: none;
}
.jj-breadcrumb a:hover { text-decoration: underline; }

.jj-main h1 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1rem 0;
}
@media (min-width: 640px) {
  .jj-main h1 { font-size: 1.75rem; }
}

.jj-main h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem 0;
}
@media (min-width: 640px) {
  .jj-main h2 { font-size: 1.25rem; }
}

.jj-main h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem 0;
}

.jj-main p { margin: 0 0 1rem 0; }
.jj-intro { margin-bottom: 1.5rem; }

.jj-sbody ul,
.jj-sbody ol {
  margin: 0.75rem 0 1rem 1.25rem;
  padding-left: 1.25rem;
}
.jj-sbody li { margin-bottom: 0.4rem; }

.jj-sbody table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
  overflow-x: auto;
  display: block;
}
@media (min-width: 480px) {
  .jj-sbody table { display: table; }
}
.jj-sbody th,
.jj-sbody td {
  border: 1px solid var(--jj-border);
  padding: 0.6rem 0.75rem;
  text-align: left;
}
.jj-sbody th {
  background: var(--jj-border);
  font-weight: 600;
}

.jj-faq { margin-top: 2rem; }
.jj-faq h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--jj-text);
}

.jj-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jj-related li {
  margin: 0.5rem 0;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--jj-border);
}
.jj-related li:last-child { border-bottom: none; }
.jj-related a {
  color: var(--jj-primary);
  text-decoration: none;
}
.jj-related a:hover { text-decoration: underline; }

.jj-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--jj-border);
  font-size: 0.875rem;
  color: var(--jj-muted);
}
.jj-footer a {
  color: var(--jj-primary);
  text-decoration: none;
}
.jj-footer a:hover { text-decoration: underline; }

.jj-hubinfo {
  color: var(--jj-muted);
  margin-bottom: 1.5rem;
}
.jj-plist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jj-plist li {
  margin: 0;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--jj-border);
}
.jj-plist li:last-child { border-bottom: none; }
.jj-plist a {
  color: var(--jj-primary);
  text-decoration: none;
  display: block;
}
.jj-plist a:hover { text-decoration: underline; }

.jj-pager {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.jj-pager a {
  color: var(--jj-primary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  background: var(--jj-bg);
  border: 1px solid var(--jj-border);
  border-radius: var(--jj-radius);
}
.jj-pager a:hover {
  background: var(--jj-primary);
  color: white;
  border-color: var(--jj-primary);
}
.jj-pginfo {
  color: var(--jj-muted);
  font-size: 0.875rem;
}


/* ---- Dynamic Site Style Profile ---- */
:root { --jj-radius: 12px; }
.jj-header, .jj-main, .jj-footer { max-width: 820px; }
body { font-size: 16px; line-height: 1.62; }
.jj-header, .jj-main, .jj-footer { padding: 1rem 1.25rem; }
.jj-main h2 { margin-top: 1.8rem; }
.jj-pager a, .jj-sbody th, .jj-sbody td { border-radius: var(--jj-radius); }

      .jj-nav a { text-decoration: none; border: 1px solid var(--jj-border); border-radius: 999px; padding: .25rem .65rem; background: #fff; }
    

      .jj-main h1, .jj-main h2, .jj-main h3 { letter-spacing: 0; font-weight: 650; }
    

      .jj-header, .jj-footer, .jj-related li, .jj-plist li { border-width: 2px; }
    

      .jj-footer { border-top-style: solid; background: transparent; }
    
/* ---- End Dynamic Site Style Profile ---- */

