/* =================================================================
   TeamWiki Theme – main.css
================================================================= */

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    color: #1a202c; line-height: 1.6; background: #fff;
}
a { color: var(--twt-accent, #2563eb); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ── Variables ────────────────────────────────────────────────── */
:root {
    --twt-accent:      #2563eb;
    --twt-accent-d:    #1d4ed8;
    --twt-gray:        #6b7280;
    --twt-gray-l:      #f3f4f6;
    --twt-border:      #e5e7eb;
    --twt-radius:      10px;
    --twt-shadow:      0 4px 24px rgba(0,0,0,.08);
}

/* ── Layout ───────────────────────────────────────────────────── */
.twt-container     { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.twt-container-sm  { max-width: 720px; }

/* ── Buttons ──────────────────────────────────────────────────── */
.twt-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: var(--twt-radius);
    font-size: .9rem; font-weight: 600; cursor: pointer;
    text-decoration: none; border: none; transition: all .18s;
    white-space: nowrap;
}
.twt-btn-lg { padding: 14px 28px; font-size: 1rem; }
.twt-btn-full { width: 100%; justify-content: center; }
.twt-btn-primary { background: var(--twt-accent); color: #fff; }
.twt-btn-primary:hover { background: var(--twt-accent-d); color: #fff; text-decoration: none; transform: translateY(-1px); }
.twt-btn-outline { background: #fff; color: var(--twt-accent); border: 1.5px solid var(--twt-accent); }
.twt-btn-outline:hover { background: var(--twt-accent); color: #fff; text-decoration: none; }
.twt-btn-white  { background: #fff; color: var(--twt-accent); }
.twt-btn-white:hover  { background: #f0f7ff; color: var(--twt-accent); text-decoration: none; }
.twt-btn-amber  { background: #f59e0b; color: #fff; }
.twt-btn-amber:hover  { background: #d97706; color: #fff; text-decoration: none; transform: translateY(-1px); }

/* ── Navigation ───────────────────────────────────────────────── */
.twt-nav {
    position: sticky; top: 0; z-index: 999;
    background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--twt-border);
}
.twt-nav-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 32px; height: 62px;
}
.twt-nav-logo {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 1.05rem; color: #1a202c;
    text-decoration: none; flex-shrink: 0;
}
.twt-nav-logo:hover { text-decoration: none; color: var(--twt-accent); }
.twt-nav-links { flex: 1; }
.twt-nav-menu { display: flex; list-style: none; gap: 4px; }
.twt-nav-menu a {
    padding: 6px 12px; border-radius: 7px; font-size: .875rem;
    color: #4b5563; font-weight: 500; text-decoration: none; transition: all .15s;
}
.twt-nav-menu a:hover { background: var(--twt-gray-l); color: #1a202c; }
.twt-nav-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.twt-nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.twt-nav-toggle span { display: block; width: 22px; height: 2px; background: #374151; border-radius: 2px; transition: all .2s; }

/* ── Hero ─────────────────────────────────────────────────────── */
.twt-hero {
    padding: 80px 0 72px;
    background: linear-gradient(160deg, #eff6ff 0%, #fff 60%);
    text-align: center;
}
.twt-hero-badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.twt-badge {
    background: #dbeafe; color: var(--twt-accent);
    padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600;
}
.twt-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800;
    color: #111827; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 20px;
}
.twt-hero-title span { color: var(--twt-accent); }
.twt-hero-sub { font-size: 1.1rem; color: #4b5563; max-width: 580px; margin: 0 auto 36px; }
.twt-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.twt-hero-stats { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.twt-hero-stat { text-align: center; }
.twt-hero-stat strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--twt-accent); }
.twt-hero-stat span { font-size: .78rem; color: var(--twt-gray); }

/* ── Sections ─────────────────────────────────────────────────── */
.twt-section { padding: 72px 0; }
.twt-section-gray { background: var(--twt-gray-l); }
.twt-section-label {
    font-size: .72rem; font-weight: 700; letter-spacing: .1em;
    color: var(--twt-accent); text-align: center; margin-bottom: 12px;
}
.twt-section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800;
    text-align: center; margin-bottom: 14px; color: #111827;
}
.twt-section-sub { text-align: center; color: var(--twt-gray); max-width: 560px; margin: 0 auto 48px; }

/* ── Features ─────────────────────────────────────────────────── */
.twt-features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 20px; }
.twt-feature-card {
    background: #fff; border: 1px solid var(--twt-border); border-radius: var(--twt-radius);
    padding: 24px; transition: box-shadow .2s, transform .2s;
}
.twt-feature-card:hover { box-shadow: var(--twt-shadow); transform: translateY(-2px); }
.twt-feature-icon { font-size: 1.5rem; margin-bottom: 10px; }
.twt-feature-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 7px; color: #111827; }
.twt-feature-card p { font-size: .85rem; color: var(--twt-gray); }

/* ── Pricing ──────────────────────────────────────────────────── */
.twt-pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 0 auto; }
.twt-pricing-card {
    background: #fff; border: 1px solid var(--twt-border); border-radius: 14px;
    padding: 32px; position: relative;
}
.twt-pricing-card-featured { border: 2px solid var(--twt-accent); box-shadow: 0 8px 32px rgba(37,99,235,.12); }
.twt-pricing-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--twt-accent); color: #fff;
    font-size: .68rem; font-weight: 700; letter-spacing: .08em;
    padding: 4px 14px; border-radius: 999px;
}
.twt-pricing-header { margin-bottom: 24px; }
.twt-pricing-header h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.twt-pricing-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.twt-price-amount { font-size: 2.4rem; font-weight: 800; color: #111827; }
.twt-price-period { font-size: .82rem; color: var(--twt-gray); }
.twt-pricing-header p { font-size: .82rem; color: var(--twt-gray); }
.twt-pricing-features { list-style: none; margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.twt-pricing-features li { display: flex; align-items: center; gap: 10px; font-size: .875rem; }
.twt-pricing-note { font-size: .75rem; color: var(--twt-gray); text-align: center; margin-top: 10px; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.twt-faq { display: flex; flex-direction: column; gap: 0; }
.twt-faq-item { border-bottom: 1px solid var(--twt-border); }
.twt-faq-q {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 18px 0; background: none; border: none; cursor: pointer;
    font-size: .95rem; font-weight: 600; color: #1a202c; text-align: left; gap: 12px;
}
.twt-faq-q svg { flex-shrink: 0; transition: transform .2s; }
.twt-faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }
.twt-faq-a { padding: 0 0 18px; font-size: .9rem; color: var(--twt-gray); line-height: 1.7; }

/* ── CTA ──────────────────────────────────────────────────────── */
.twt-cta { background: var(--twt-accent); padding: 64px 24px; text-align: center; }
.twt-cta-sm { padding: 48px 24px; }
.twt-cta h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 12px; }
.twt-cta p { color: rgba(255,255,255,.8); margin-bottom: 28px; font-size: 1rem; }
.twt-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────────── */
.twt-footer { background: #111827; color: #9ca3af; padding: 56px 0 0; }
.twt-footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px 40px; display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; }
.twt-footer-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; margin-bottom: 12px; text-decoration: none; }
.twt-footer-logo:hover { text-decoration: none; color: #e5e7eb; }
.twt-footer-brand p { font-size: .875rem; line-height: 1.7; margin-bottom: 20px; }
.twt-footer-social { display: flex; gap: 14px; }
.twt-footer-social a { color: #6b7280; transition: color .15s; }
.twt-footer-social a:hover { color: #fff; }
.twt-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.twt-footer-col h4 { color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.twt-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.twt-footer-col a { font-size: .85rem; color: #9ca3af; text-decoration: none; transition: color .15s; }
.twt-footer-col a:hover { color: #fff; }
.twt-footer-bottom { border-top: 1px solid #1f2937; padding: 16px 24px; text-align: center; font-size: .78rem; }

/* ── Blog ─────────────────────────────────────────────────────── */
.twt-blog-layout { padding: 48px 0; }
.twt-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 28px; }
.twt-post-card { background: #fff; border: 1px solid var(--twt-border); border-radius: var(--twt-radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.twt-post-card:hover { box-shadow: var(--twt-shadow); transform: translateY(-2px); }
.twt-post-thumb img { width: 100%; height: 200px; object-fit: cover; }
.twt-post-body { padding: 20px 22px; }
.twt-post-meta { font-size: .75rem; color: var(--twt-gray); margin-bottom: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.twt-post-meta a { color: var(--twt-accent); text-decoration: none; }
.twt-post-card h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.twt-post-card h2 a { color: #111827; text-decoration: none; }
.twt-post-card h2 a:hover { color: var(--twt-accent); }
.twt-post-card p { font-size: .875rem; color: var(--twt-gray); margin-bottom: 14px; }
.twt-read-more { font-size: .82rem; font-weight: 600; color: var(--twt-accent); text-decoration: none; }
.twt-read-more:hover { text-decoration: underline; }
.twt-pagination { margin-top: 40px; display: flex; justify-content: center; }
.twt-pagination .nav-links { display: flex; gap: 6px; }
.twt-pagination a, .twt-pagination span {
    padding: 7px 12px; border-radius: 7px; border: 1px solid var(--twt-border);
    font-size: .85rem; font-weight: 600; text-decoration: none; color: #374151;
}
.twt-pagination .current { background: var(--twt-accent); color: #fff; border-color: var(--twt-accent); }

/* ── Single post ──────────────────────────────────────────────── */
.twt-single-layout { padding: 48px 0 72px; }
.twt-single-main { max-width: 720px; }
.twt-single-header { margin-bottom: 28px; }
.twt-single-header h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; margin-top: 10px; line-height: 1.25; }
.twt-single-thumb { border-radius: 12px; overflow: hidden; margin-bottom: 32px; }
.twt-single-thumb img { width: 100%; max-height: 420px; object-fit: cover; }
.twt-single-footer { margin-top: 32px; }
.twt-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.twt-tag { background: var(--twt-gray-l); color: var(--twt-gray); padding: 4px 12px; border-radius: 999px; font-size: .78rem; text-decoration: none; }
.twt-tag:hover { background: var(--twt-accent); color: #fff; text-decoration: none; }

/* ── Post nav ─────────────────────────────────────────────────── */
.twt-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; border-top: 1px solid var(--twt-border); padding-top: 32px; }
.twt-post-nav-item { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--twt-gray-l); border-radius: var(--twt-radius); text-decoration: none; transition: background .15s; }
.twt-post-nav-item:hover { background: #e5e7eb; text-decoration: none; }
.twt-post-nav-item span { font-size: .75rem; color: var(--twt-gray); font-weight: 600; }
.twt-post-nav-item strong { font-size: .9rem; color: #1a202c; font-weight: 600; }
.twt-post-nav-next { text-align: right; }

/* ── Docs ─────────────────────────────────────────────────────── */
.twt-docs-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.twt-docs-sidebar { background: var(--twt-gray-l); border-right: 1px solid var(--twt-border); }
.twt-docs-sidebar-inner { position: sticky; top: 62px; padding: 28px 20px; max-height: calc(100vh - 62px); overflow-y: auto; }
.twt-docs-sidebar-header { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--twt-gray); margin-bottom: 16px; display: flex; align-items: center; gap: 7px; }
.twt-docs-nav-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.twt-docs-nav-list a { display: block; padding: 7px 10px; border-radius: 7px; font-size: .875rem; color: #374151; text-decoration: none; transition: all .15s; }
.twt-docs-nav-list a:hover, .twt-docs-nav-list li.current-menu-item a { background: #fff; color: var(--twt-accent); font-weight: 600; }
.twt-docs-main { padding: 40px 48px 72px; max-width: 800px; }
.twt-docs-article h1 { font-size: 1.9rem; font-weight: 800; margin-bottom: 28px; }

/* ── Prose ────────────────────────────────────────────────────── */
.twt-prose { line-height: 1.75; color: #374151; font-size: .97rem; }
.twt-prose h2 { font-size: 1.4rem; font-weight: 700; color: #111827; margin: 36px 0 12px; }
.twt-prose h3 { font-size: 1.1rem; font-weight: 700; color: #111827; margin: 28px 0 10px; }
.twt-prose p { margin-bottom: 18px; }
.twt-prose ul, .twt-prose ol { margin: 0 0 18px 24px; }
.twt-prose li { margin-bottom: 5px; }
.twt-prose code { background: #f1f5f9; border-radius: 5px; padding: 2px 6px; font-size: .85em; color: #be185d; }
.twt-prose pre { background: #0f172a; border-radius: 10px; padding: 20px; overflow-x: auto; margin-bottom: 20px; }
.twt-prose pre code { background: none; color: #e2e8f0; padding: 0; font-size: .875rem; }
.twt-prose blockquote { border-left: 4px solid var(--twt-accent); margin: 0 0 20px; padding: 14px 20px; background: #eff6ff; border-radius: 0 8px 8px 0; color: #1e40af; }
.twt-prose a { color: var(--twt-accent); font-weight: 500; }
.twt-prose img { border-radius: 10px; margin: 20px 0; }

/* ── Breadcrumb ───────────────────────────────────────────────── */
.twt-breadcrumb { font-size: .78rem; color: var(--twt-gray); margin-bottom: 20px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.twt-breadcrumb a { color: var(--twt-gray); text-decoration: none; }
.twt-breadcrumb a:hover { color: var(--twt-accent); }
.twt-breadcrumb span { color: #1a202c; font-weight: 600; }

/* ── Page hero ────────────────────────────────────────────────── */
.twt-page-hero { background: linear-gradient(135deg, #eff6ff, #fff); padding: 56px 0; text-align: center; border-bottom: 1px solid var(--twt-border); }
.twt-page-hero h1 { font-size: 2rem; font-weight: 800; color: #111827; margin-bottom: 10px; }
.twt-page-hero p { color: var(--twt-gray); font-size: 1rem; }
.twt-page-content { padding: 48px 0 72px; max-width: 760px; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 860px) {
    .twt-pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
    .twt-footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .twt-footer-cols { grid-template-columns: 1fr 1fr; }
    .twt-docs-layout { grid-template-columns: 1fr; }
    .twt-docs-sidebar { border-right: none; border-bottom: 1px solid var(--twt-border); }
    .twt-docs-sidebar-inner { position: static; max-height: none; }
    .twt-docs-main { padding: 24px; }
    .twt-post-nav { grid-template-columns: 1fr; }
    .twt-post-nav-next { text-align: left; }
}
@media (max-width: 640px) {
    .twt-nav-links, .twt-nav-actions { display: none; }
    .twt-nav-toggle { display: flex; }
    .twt-nav-inner { gap: 16px; }
    .twt-hero { padding: 48px 0 40px; }
    .twt-features-grid { grid-template-columns: 1fr; }
    .twt-footer-cols { grid-template-columns: 1fr; }
    .twt-single-layout { padding: 28px 0 48px; }
}

/* ── Compare table ────────────────────────────────────────────── */
.twt-compare-wrap { overflow-x: auto; margin-top: 32px; }
.twt-compare-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.twt-compare-table th {
    padding: 12px 16px; background: #111827; color: #fff;
    text-align: left; font-weight: 700;
}
.twt-compare-table th:not(:first-child) { text-align: center; width: 120px; }
.twt-compare-table td { padding: 11px 16px; border-bottom: 1px solid var(--twt-border); }
.twt-compare-table td:not(:first-child) { text-align: center; font-weight: 700; font-size: 1rem; }
.twt-compare-table .twt-check { color: #16a34a; }
.twt-compare-table .twt-dash  { color: #9ca3af; }
.twt-compare-table tbody tr:hover { background: #f9fafb; }

/* ── Doc sections ─────────────────────────────────────────────── */
.twt-doc-section { margin-bottom: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--twt-border); }
.twt-doc-section:last-child { border-bottom: none; }
.twt-doc-section h2 { font-size: 1.35rem; font-weight: 700; color: #111827; margin-bottom: 14px; scroll-margin-top: 80px; }
.twt-doc-section h3 { font-size: 1rem; font-weight: 700; color: #374151; margin: 18px 0 8px; }
.twt-doc-section p { color: #374151; line-height: 1.75; margin-bottom: 12px; }
.twt-doc-section ul, .twt-doc-section ol { color: #374151; line-height: 1.8; padding-left: 22px; margin-bottom: 14px; }
.twt-doc-section li { margin-bottom: 4px; }
.twt-doc-section code { background: #f1f5f9; border-radius: 5px; padding: 2px 6px; font-size: .85em; color: #be185d; }
.twt-doc-section pre { background: #0f172a; color: #e2e8f0; border-radius: 10px; padding: 18px 20px; overflow-x: auto; margin: 14px 0 18px; font-size: .85rem; line-height: 1.6; }
.twt-doc-section pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.twt-doc-note {
    background: #eff6ff; border-left: 4px solid var(--twt-accent);
    border-radius: 0 8px 8px 0; padding: 12px 16px;
    font-size: .875rem; color: #1e40af; margin-top: 14px;
}
.twt-doc-warning {
    background: #fffbeb; border-left: 4px solid #f59e0b;
    border-radius: 0 8px 8px 0; padding: 12px 16px;
    font-size: .875rem; color: #92400e; margin-top: 14px;
}

/* ── Docs nav categories ──────────────────────────────────────── */
.twt-docs-nav-list .twt-docs-cat {
    font-size: .68rem; font-weight: 700; letter-spacing: .09em;
    text-transform: uppercase; color: #9ca3af;
    padding: 14px 10px 5px; cursor: default;
}
.twt-docs-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 36px; color: #111827; }

/* ── Text link ────────────────────────────────────────────────── */
.twt-text-link {
    color: var(--twt-accent); font-weight: 600; font-size: inherit;
    text-decoration: underline; background: none; border: none;
    cursor: pointer; padding: 0;
}

/* ── Hero additions ───────────────────────────────────────────── */
.twt-hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #dbeafe; color: var(--twt-accent);
    padding: 6px 14px; border-radius: 999px;
    font-size: .78rem; font-weight: 600; margin-bottom: 20px;
}
.twt-hero-meta {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
    font-size: .82rem; color: var(--twt-gray); margin-top: 28px;
}

/* ── Mock UI ──────────────────────────────────────────────────── */
.twt-hero-screenshot {
    margin-top: 48px; background: #fff;
    border-radius: 16px; border: 1px solid var(--twt-border);
    box-shadow: 0 20px 60px rgba(0,0,0,.12); overflow: hidden;
    max-width: 820px; margin-left: auto; margin-right: auto; text-align: left;
}
.twt-mock-topbar {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    padding: 14px 20px; background: #fff;
    border-bottom: 1px solid var(--twt-border);
}
.twt-mock-title { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: .9rem; color: var(--twt-accent); flex-shrink: 0; }
.twt-mock-pills { display: flex; gap: 6px; }
.twt-mock-pill { padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 600; }
.twt-mp-all   { background: #f1f5f3; color: #4b5563; }
.twt-mp-green { background: #dcfce7; color: #15803d; }
.twt-mp-red   { background: #fee2e2; color: #dc2626; }
.twt-mock-search { display: flex; align-items: center; gap: 7px; background: #f9fafb; border: 1px solid var(--twt-border); border-radius: 8px; padding: 7px 12px; font-size: .78rem; color: #9ca3af; flex: 1; min-width: 160px; }
.twt-mock-tabs { display: flex; gap: 0; padding: 0 20px; border-bottom: 1px solid var(--twt-border); overflow-x: auto; }
.twt-mock-tab { display: flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: .78rem; font-weight: 500; color: #6b7280; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; position: relative; }
.twt-mt-active { color: var(--twt-accent); border-bottom-color: var(--twt-accent); font-weight: 700; }
.twt-mock-cnt { background: #e0f2fe; color: var(--twt-accent); border-radius: 999px; padding: 1px 7px; font-size: .68rem; font-weight: 700; }
.twt-mt-active .twt-mock-cnt { background: var(--twt-accent); color: #fff; }
.twt-mock-dot { width: 6px; height: 6px; border-radius: 50%; background: #ef4444; position: absolute; top: 8px; right: 8px; }
.twt-mock-progress { padding: 10px 20px; border-bottom: 1px solid var(--twt-border); }
.twt-mock-progress-label { display: flex; justify-content: space-between; font-size: .7rem; color: #6b7280; margin-bottom: 4px; }
.twt-mock-progress-label strong { color: #1a202c; }
.twt-mock-progress-track { height: 6px; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.twt-mock-progress-fill { height: 100%; border-radius: 999px; }
.twt-mock-list { padding: 8px 0; }
.twt-mock-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; border-bottom: 1px solid #f9fafb; gap: 12px; }
.twt-mock-row:last-child { border-bottom: none; }
.twt-mock-row-title { font-size: .82rem; font-weight: 500; color: #374151; }
.twt-mock-badge { font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.twt-mb-read   { background: #dcfce7; color: #15803d; }
.twt-mb-unread { background: #fee2e2; color: #dc2626; }

/* ── Stats ────────────────────────────────────────────────────── */
.twt-stats { background: #111827; padding: 32px 0; }
.twt-stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; }
.twt-stats-num { font-size: 1.8rem; font-weight: 800; color: var(--twt-accent); text-align: center; }
.twt-stats-label { font-size: .75rem; color: #6b7280; text-align: center; margin-top: 3px; }

/* ── Language box ─────────────────────────────────────────────── */
.twt-lang-box { margin-top: 48px; background: var(--twt-gray-l); border-radius: 14px; padding: 28px 32px; }
.twt-lang-box-text h3 { margin-bottom: 8px; }
.twt-lang-box-text p { color: var(--twt-gray); font-size: .875rem; margin-bottom: 14px; }
.twt-lang-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.twt-lang-badge { background: #fff; border: 1px solid var(--twt-border); border-radius: 999px; padding: 5px 12px; font-size: .8rem; }

/* ── Paddle dynamic price spans ──────────────────────────────── */
/* data-pdc-price wird vom Paddle Connector Plugin befüllt */
[data-pdc-price] { transition: opacity .3s; }
.pdc-price-loading [data-pdc-price] { opacity: .4; }

/* ── Block Pattern editor styles ─────────────────────────────── */
/* Damit Patterns im Editor ähnlich wie im Frontend aussehen    */
.wp-block-group.twt-hero    { padding: 48px 24px; background: linear-gradient(160deg,#eff6ff 0%,#fff 60%); }
.wp-block-group.twt-stats   { background: #111827; padding: 24px; }
.wp-block-group.twt-section { padding: 48px 24px; }
.wp-block-group.twt-cta     { background: var(--twt-accent,#2563eb); padding: 48px 24px; }
.wp-block-group.twt-cta h2,
.wp-block-group.twt-cta p   { color: #fff; text-align: center; }

.twt-section-label { font-size:.72rem; font-weight:700; letter-spacing:.1em; color:var(--twt-accent,#2563eb); text-align:center; }
.twt-section-title { font-size:clamp(1.6rem,3.5vw,2.2rem); font-weight:800; text-align:center; color:#111827; }
.twt-section-sub   { text-align:center; color:#6b7280; max-width:560px; margin:0 auto 32px; }

.twt-lang-badge { background:#fff; border:1px solid #e5e7eb; border-radius:999px; padding:5px 12px; font-size:.8rem; }
