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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

      .ts-nav a { text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 2px; }
      .ts-nav a:hover { border-bottom-color: var(--ts-primary); }
    

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

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

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

