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

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

/* Resist host/theme bleed on shared CMS installs. */
body[class*="-page"] {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body[class*="-page"] > [class$="-header"],
body[class*="-page"] > [class$="-main"],
body[class*="-page"] > [class$="-footer"] {
  display: block !important;
  float: none !important;
  clear: both !important;
  margin-left: auto !important;
  margin-right: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

      .hl-main h1, .hl-main h2, .hl-main h3 { font-weight: 600; color: color-mix(in srgb, var(--hl-text) 86%, #223); }
    

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

      .hl-footer { border-top: 0; opacity: .9; }
    
/* ---- End Dynamic Site Style Profile ---- */

