:root {
  --nq-primary: #2563eb;
  --nq-primary-hover: #1d4ed8;
  --nq-secondary: #1e40af;
  --nq-text: #1e293b;
  --nq-muted: #64748b;
  --nq-bg: #ffffff;
  --nq-border: #e2e8f0;
  --nq-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(--nq-text);
  background: var(--nq-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

      .nq-nav a { text-decoration: none; border: 0; padding: 0; }
    

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

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

      .nq-footer { border: 1px solid var(--nq-border); border-radius: var(--nq-radius); padding: .9rem 1rem; margin-bottom: 1rem; }
    
/* ---- End Dynamic Site Style Profile ---- */

