/* fret-tool page styles (extracted from inline <style>, tokenized for theming) */
.tool-header {
            background: linear-gradient(135deg, #2c3e50, #3498db);
            color: white;
            padding: 4rem 1rem;
            text-align: center;
            margin-bottom: 3rem;
        }

        .github-badge {
            display: inline-flex;
            align-items: center;
            background: #24292e;
            color: white;
            padding: 0.6rem 1.2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .github-badge i {
            margin-right: 8px;
            font-size: 1.2rem;
        }

        .github-badge:hover {
            background: #2f363d;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        /* Documentation action buttons */
        .doc-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .doc-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.7rem 1.4rem;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .doc-btn-primary { background: var(--secondary-color); color: #fff; }
        .doc-btn-primary:hover { background: var(--secondary-dark); color: #fff; transform: translateY(-2px); }
        .doc-btn-outline { border: 1px solid var(--secondary-color); color: var(--secondary-color); }
        .doc-btn-outline:hover { background: var(--secondary-color); color: #fff; }

        .guide-sections {
            columns: 2;
            column-gap: 2.5rem;
            margin: 1rem 0 0;
            padding-left: 1.2rem;
        }

        .guide-sections li {
            margin-bottom: 0.5rem;
            break-inside: avoid;
        }

        @media (max-width: 600px) {
            .guide-sections { columns: 1; }
        }

        /* Citation block */
        .citation-box {
            background: var(--surface-2);
            border-left: 4px solid var(--secondary-color);
            padding: 1.25rem 1.5rem;
            border-radius: 8px;
            margin: 1rem 0 0;
            line-height: 1.7;
        }

        .citation-box .cite-meta { color: var(--text-2); }

        .citation-box .cite-links {
            margin-top: 0.85rem;
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .citation-box .cite-links a {
            color: var(--secondary-color);
            font-weight: 600;
            text-decoration: none;
        }

        .citation-box .cite-links a:hover { text-decoration: underline; }

        .feature-card {
            background: var(--surface);
            border-radius: 10px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }

        .screenshot-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 0 auto;
        }

        /* Footer two-column layout */
        .footer-links-container {
            display: flex;
            gap: 2rem;
        }

        .footer-links-column {
            margin: 0;
            padding: 0 0 0 1.5rem;
            list-style: disc;
        }

        @media (max-width: 768px) {
            .footer-links-container {
                flex-direction: column;
                gap: 0;
            }
        }

        @media (max-width: 768px) {
            .screenshot-gallery {
                grid-template-columns: 1fr;
                max-width: 100%;
            }
        }

        .screenshot {
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }

        .screenshot:hover {
            transform: scale(1.02);
        }

        .screenshot img {
            width: 100%;
            height: auto;
            display: block;
        }

        .flowchart {
            background: var(--surface);
            border-radius: 10px;
            padding: 1.5rem;
            margin: 2rem 0;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .flowchart iframe {
            width: 100%;
            height: 500px;
            border: none;
            border-radius: 5px;
        }

        /* FAQ accordion */
        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .faq-item {
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--surface);
            padding: 0 1.25rem;
        }

        .faq-item summary {
            cursor: pointer;
            list-style: none;
            padding: 1rem 0;
            font-weight: 600;
            color: var(--section-title-color, var(--primary-color));
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
        }

        .faq-item summary::-webkit-details-marker { display: none; }

        .faq-item summary::after {
            content: "+";
            font-size: 1.4rem;
            line-height: 1;
            color: var(--secondary-color);
            transition: transform 0.2s;
        }

        .faq-item[open] summary::after { transform: rotate(45deg); }

        .faq-item p {
            margin: 0 0 1.1rem;
            color: var(--text);
            line-height: 1.6;
        }
