/* The help service's own stylesheet for its article page (template hero-search, tenant babelballs), copied from the live page's inline style block on 2026-11-19 (rule for rule; only trailing spaces trimmed)
   so the help pages the shop builds (scripts/support_pages.py) draw exactly as the help service's do. help.css comes after it and wins. Do not edit: copy it again
   if the help service changes its template (docs/help-center/STATIC_PAGES.md). */
        /* Dark mode (default) */
        :root {
            --bg-color: #FFFFFF;
            --bg-secondary: #F4EFE6;
            --bg-tertiary: #F4EFE6;
            --text-color: #16130F;
            --text-muted: #16130F99;
            --accent-color: #070707;
            --accent-hover: #5F594F;
            --accent-soft: #A31621;
            --link-color: #60a5fa;
            --border-color: #16130F22;
            --border-radius: 2px;
            --success-color: #34d399;
        }



        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg-color);
            color: var(--text-color);
            line-height: 1.7;
            min-height: 100vh;
        }

        a { color: inherit; text-decoration: none; }

        .header {
            background: var(--bg-secondary);
            border-bottom: 1px solid var(--border-color);
            padding: 16px 20px;
        }

        .header-content {
            max-width: 900px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .back-link {
            color: var(--link-color);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
            transition: color 0.15s;
        }

        .back-link:hover {
            color: #93c5fd;
        }

        .breadcrumb {
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        .breadcrumb a {
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.15s;
        }

        .breadcrumb a:hover {
            color: var(--link-color);
        }

        .container {
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .article-header {
            margin-bottom: 30px;
        }

        .article-category {
            display: inline-block;
            background: var(--accent-color);
            color: white;
            padding: 4px 12px;
            border-radius: 6px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 16px;
            letter-spacing: 0.02em;
        }

        .article-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 12px;
            line-height: 1.3;
        }

        .article-meta {
            color: var(--text-muted);
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .article-meta span {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .article-content {
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            padding: 40px;
            margin-bottom: 30px;
        }

        .article-content h2 {
            font-size: 1.5rem;
            margin: 30px 0 16px;
            color: var(--text-color);
        }

        .article-content h2:first-child {
            margin-top: 0;
        }

        .article-content h3 {
            font-size: 1.2rem;
            margin: 24px 0 12px;
            color: var(--text-color);
        }

        .article-content h4 {
            color: var(--accent-text, var(--accent-soft));
            margin: 20px 0 10px;
        }

        .article-content p {
            margin-bottom: 16px;
            color: var(--text-color);
        }

        .article-content ul, .article-content ol {
            margin-bottom: 16px;
            padding-left: 24px;
        }

        .article-content li {
            margin-bottom: 8px;
        }

        .article-content code {
            background: rgba(255,255,255,0.06);
            padding: 2px 6px;
            border-radius: 4px;
            font-family: 'Fira Code', monospace;
            font-size: 0.9em;
            border: 1px solid var(--border-color);
        }

        .article-content pre {
            background: rgba(0,0,0,0.3);
            padding: 20px;
            border-radius: 8px;
            overflow-x: auto;
            margin-bottom: 16px;
            border: 1px solid var(--border-color);
        }

        .article-content pre code {
            background: none;
            padding: 0;
            border: none;
        }

        /* Links - high contrast for readability */
        .article-content a {
            color: var(--link-color);
            text-decoration: underline;
            text-decoration-color: rgba(96,165,250,0.4);
            text-underline-offset: 2px;
            transition: all 0.15s;
        }

        .article-content a:hover {
            color: #93c5fd;
            text-decoration-color: #93c5fd;
        }

        .article-content img {
            max-width: 100%;
            border-radius: 8px;
            margin: 16px 0;
            border: 1px solid var(--border-color);
        }

        .article-content blockquote {
            border-left: 4px solid var(--accent-soft);
            padding-left: 20px;
            margin: 20px 0;
            color: var(--text-muted);
            font-style: italic;
        }

        .article-content strong {
            color: var(--text-color);
        }

        .helpful-section {
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            padding: 30px;
            text-align: center;
        }

        .helpful-section h3 {
            margin-bottom: 16px;
            font-size: 1.1rem;
        }

        .helpful-buttons {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 16px;
        }

        .helpful-btn {
            padding: 12px 24px;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            background: rgba(255,255,255,0.04);
            color: var(--text-color);
            cursor: pointer;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s;
        }

        .helpful-btn:hover {
            border-color: var(--accent-soft);
            background: rgba(59,130,246,0.06);
        }

        .helpful-btn.selected {
            background: var(--accent-color);
            border-color: var(--accent-color);
            color: white;
        }

        .helpful-btn.yes.selected {
            background: var(--success-color);
            border-color: var(--success-color);
            color: #064e3b;
        }

        .helpful-stats {
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        .related-articles {
            margin-top: 40px;
        }

        .related-articles h3 {
            margin-bottom: 16px;
            font-size: 1.1rem;
        }

        .related-list {
            display: grid;
            gap: 12px;
        }

        .related-item {
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 16px 20px;
            text-decoration: none;
            color: var(--text-color);
            display: flex;
            align-items: center;
            gap: 12px;
            transition: all 0.2s;
        }

        .related-item:hover {
            border-color: var(--accent-soft);
            transform: translateX(4px);
        }

        .related-item i {
            color: var(--accent-soft);
        }

        .loading {
            text-align: center;
            padding: 60px;
            color: var(--text-muted);
        }

        .loading i {
            font-size: 2rem;
            animation: spin 1s linear infinite;
            margin-bottom: 16px;
        }

        .error {
            text-align: center;
            padding: 60px;
            color: var(--text-muted);
        }

        .error i {
            font-size: 3rem;
            margin-bottom: 16px;
            color: var(--accent-soft);
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        @media (max-width: 768px) {
            .article-title {
                font-size: 1.5rem;
            }

            .article-content {
                padding: 24px;
            }
        }

        /* === TABLE STYLING (both modes) === */
        .article-content table {
            border-collapse: collapse !important;
            width: 100%;
            margin-bottom: 16px;
        }

        .article-content table th,
        .article-content table thead tr {
            background: var(--bg-tertiary) !important;
            color: var(--text-color) !important;
            border-color: var(--border-color) !important;
        }

        .article-content table td {
            border-color: var(--border-color) !important;
            color: var(--text-color) !important;
            padding: 10px 14px;
        }

        .article-content table th {
            padding: 10px 14px;
            font-weight: 600;
        }

        .article-content table tr {
            border-color: var(--border-color) !important;
        }

        .article-content table tbody tr:hover {
            background: rgba(128,128,128,0.06) !important;
        }

        .article-content kbd {
            background: var(--bg-tertiary);
            border: 1px solid var(--border-color);
            border-radius: 4px;
            padding: 2px 6px;
            font-family: monospace;
            font-size: 0.9em;
            color: var(--text-color);
        }

        /* === DARK MODE: Override inline light styles in article HTML === */
        [data-theme="dark"] .article-content div[style*="background: #f"],
        [data-theme="dark"] .article-content div[style*="background:#f"],
        [data-theme="dark"] .article-content div[style*="background: #e"],
        [data-theme="dark"] .article-content div[style*="background: #fff"],
        [data-theme="dark"] .article-content div[style*="background: white"],
        [data-theme="dark"] .article-content div[style*="background-color: #f"],
        [data-theme="dark"] .article-content div[style*="background-color:#f"],
        [data-theme="dark"] .article-content div[style*="background-color: white"],
        [data-theme="dark"] .article-content div[style*="background-color: #fff"],
        [data-theme="dark"] .article-content div[style*="background-color: rgb(2"] {
            background: var(--bg-tertiary) !important;
            color: var(--text-color) !important;
        }

        [data-theme="dark"] .article-content [style*="color: rgb(0"],
        [data-theme="dark"] .article-content [style*="color: rgb(1"],
        [data-theme="dark"] .article-content [style*="color: rgb(2"],
        [data-theme="dark"] .article-content [style*="color: rgb(3"],
        [data-theme="dark"] .article-content [style*="color: rgb(4"],
        [data-theme="dark"] .article-content [style*="color: rgb(5"],
        [data-theme="dark"] .article-content [style*="color:#0"],
        [data-theme="dark"] .article-content [style*="color: #0"],
        [data-theme="dark"] .article-content [style*="color:#1"],
        [data-theme="dark"] .article-content [style*="color: #1"],
        [data-theme="dark"] .article-content [style*="color:#2"],
        [data-theme="dark"] .article-content [style*="color: #2"],
        [data-theme="dark"] .article-content [style*="color:#3"],
        [data-theme="dark"] .article-content [style*="color: #3"] {
            color: var(--text-color) !important;
        }

        [data-theme="dark"] .article-content [style*="background-color: rgb(2"],
        [data-theme="dark"] .article-content [style*="background-color: rgb(1"],
        [data-theme="dark"] .article-content [style*="background: rgb(2"],
        [data-theme="dark"] .article-content [style*="background: rgb(1"] {
            background: var(--bg-tertiary) !important;
        }

        /* === LIGHT MODE: helpful button backgrounds === */
        [data-theme="light"] .helpful-btn {
            background: rgba(0,0,0,0.02);
        }

        [data-theme="light"] .article-content code {
            background: rgba(0,0,0,0.04);
            border-color: rgba(0,0,0,0.1);
        }

        [data-theme="light"] .article-content pre {
            background: #f8fafc;
            border-color: #e2e8f0;
        }

        /* Theme toggle */


