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

.wt-page { min-height: 100vh; display: flex; flex-direction: column; }
.wt-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

      .wt-nav { gap: .45rem .75rem; }
      .wt-nav a { text-decoration: none; font-size: .9em; }
    

      .wt-main h1, .wt-main h2, .wt-main h3 { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.2px; }
    

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

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

