/* ==========================================================================
   framework-inline.css
   Extracted from inline <style> blocks in framework.html
   Order preserved to maintain CSS cascade/specificity
   ========================================================================== */

/* --- Block 1: Accessibility & Skip Nav & Hero Button Hover (was lines 205-237) --- */

/* Accessibility: Focus styles */
*:focus-visible {
    outline: 2px solid #2c3e50 !important;
    outline-offset: 2px !important;
}

/* Skip navigation link */
.skip-nav {
    position: fixed;
    top: -50px;
    left: 0;
    background: #2c3e50;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    z-index: 1000;
    transition: top 0.3s ease;
}

.skip-nav:focus {
    top: 0;
}

/* Hero action buttons */
.hero-action-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* --- Block 2: Web Reference Citations & PDF Loader Overlay (was lines 239-392) --- */

/* Web reference citation styling */
.web-ref {
    font-size: 0.75rem;
    color: #666;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.web-ref code {
    background: #f4f4f4;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-family: 'Consolas', 'Monaco', monospace;
    user-select: none;
    cursor: pointer;
}

.web-ref code:hover {
    background: #e8e8e8;
}

.web-ref code:hover::after {
    content: ' \f0c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-style: normal;
    margin-left: 0.3rem;
}

.web-ref code.copied {
    background: #d4edda;
}

.web-ref code.copied::after {
    content: ' \f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-style: normal;
    margin-left: 0.3rem;
    color: #28a745;
}

@media (max-width: 768px) {
    .web-ref {
        font-size: 0.7rem;
    }
}

/* Ensure anchors scroll with offset for fixed header */
h3[id] {
    scroll-margin-top: 100px;
}

/* PDF Loading Overlay */
.pdf-loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.pdf-loader-overlay.active {
    opacity: 1;
    visibility: visible;
}
.pdf-loader-content {
    text-align: center;
    color: #fff;
    max-width: 400px;
    padding: 20px;
}
.pdf-loader-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    position: relative;
}
.pdf-loader-icon svg {
    width: 100%;
    height: 100%;
    animation: pdfPulse 2s ease-in-out infinite;
}
.pdf-loader-spinner {
    position: absolute;
    inset: -8px;
    border: 3px solid rgba(20, 184, 166, 0.2);
    border-top-color: #14b8a6;
    border-radius: 50%;
    animation: pdfSpin 1s linear infinite;
}
@keyframes pdfSpin {
    to { transform: rotate(360deg); }
}
@keyframes pdfPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.95); opacity: 0.8; }
}
.pdf-loader-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}
.pdf-loader-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}
.pdf-loader-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 12px;
}
.pdf-loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #14b8a6, #2dd4bf);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}
.pdf-loader-status {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}
.pdf-loader-cancel {
    margin-top: 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.pdf-loader-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* --- Block 3: Hero Content & Button Group Styles (was lines 482-520) --- */

.fw-hero-content { flex: 1; min-width: 320px; max-width: 680px; }
.fw-hero-title { margin: 0 0 1rem 0; line-height: 1.2; }
.fw-hero-subtitle { display: block; font-size: 0.85rem; font-weight: 600; color: #DAA520; letter-spacing: 3px; margin-bottom: 0.5rem; text-transform: uppercase; }
.fw-hero-main { display: block; font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; color: #fff; letter-spacing: -0.5px; }
.fw-hero-org { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin: 0 0 0.5rem 0; }
.fw-hero-authors { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin: 0 0 1.5rem 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fw-hero-authors::before { content: ''; width: 24px; height: 1px; background: rgba(255,255,255,0.3); }
.fw-hero-desc { color: rgba(255,255,255,0.9); font-size: 1.05rem; line-height: 1.7; margin: 0 0 2rem 0; max-width: 560px; }

/* Button Group Styles */
.fw-btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.fw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; text-decoration: none; border-radius: 10px; font-size: 0.9rem; font-weight: 600; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.fw-btn i { font-size: 0.95em; transition: transform 0.2s ease; }
.fw-btn:hover i { transform: scale(1.1); }

/* Primary Button - Teal Accent for PDF */
.fw-btn-primary { background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%); color: #fff; border: none; box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3); }
.fw-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4); background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%); }
.fw-btn-primary::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s ease; }
.fw-btn-primary:hover::after { left: 100%; }

/* Secondary Buttons - Glass Effect */
.fw-btn-secondary { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(4px); }
.fw-btn-secondary:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.25); transform: translateY(-1px); }

/* Tertiary - Text style */
.fw-btn-tertiary { background: transparent; color: rgba(255,255,255,0.7); border: none; padding: 12px 16px; }
.fw-btn-tertiary:hover { color: #fff; background: rgba(255,255,255,0.05); }

/* Button divider */
.fw-btn-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.15); margin: 0 4px; }

@media (max-width: 600px) {
    .fw-btn-group { gap: 10px; }
    .fw-btn { padding: 10px 16px; font-size: 0.85rem; flex: 1 1 calc(50% - 10px); min-width: 120px; }
    .fw-btn-divider { display: none; }
}

/* --- Block 4: Visual Legend Card (was lines 738-851) --- */

.legend-card {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(380px, 1.5fr);
    background: white;
    border-radius: 16px;
    margin: 28px 0 16px 0;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
.legend-col {
    padding: 24px 28px;
}
.legend-col:first-child {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f4 100%);
    border-right: 1px solid #e8e9ea;
}
.legend-header {
    font-weight: 700;
    font-size: 0.7rem;
    color: #2c3e50;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.legend-header::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #3498db, #9b59b6);
    border-radius: 2px;
}
.legend-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: #333;
}
.legend-row:last-child { margin-bottom: 0; }
.badge-n-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 30px;
    padding: 0 14px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.35);
    letter-spacing: 0.02em;
}
.badge-i-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 30px;
    padding: 0 14px;
    background: linear-gradient(135deg, #f39c12 0%, #d68910 100%);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.35);
    letter-spacing: 0.02em;
}
.legend-row strong { color: #2c3e50; }
.legend-row .desc { color: #666; margin-left: 2px; }
.sh-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 24px;
}
.sh-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #333;
}
.sh-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
    flex-shrink: 0;
}
.sh-circle.c-d { background: linear-gradient(135deg, #1a5490 0%, #0d3a66 100%); }
.sh-circle.c-i { background: linear-gradient(135deg, #16a085 0%, #0e6655 100%); }
.sh-circle.c-o { background: linear-gradient(135deg, #8e44ad 0%, #6c3483 100%); }
.sh-circle.c-m { background: linear-gradient(135deg, #e67e22 0%, #ca6f1e 100%); }
.sh-circle.c-u { background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%); }
.sh-circle.c-r { background: linear-gradient(135deg, #c0392b 0%, #922b21 100%); }
@media (max-width: 800px) {
    .legend-card { grid-template-columns: 1fr; }
    .legend-col:first-child { border-right: none; border-bottom: 1px solid #e8e9ea; }
    .sh-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Block 5: Framework Navigation Panel (was lines 880-1391) --- */

#framework-nav-panel {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

#framework-nav-panel h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.framework-search-container {
    margin-bottom: 1.5rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    padding: 0.875rem 1.25rem;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-input-wrapper:hover {
    border-color: #c0c0c0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-input-wrapper:focus-within {
    border-color: #3498db;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-icon {
    color: #9ca3af;
    margin-right: 0.875rem;
    font-size: 1.1rem;
}

#framework-search {
    flex: 1;
    border: none !important;
    outline: none !important;
    font-size: 1rem;
    background: transparent;
    color: #1f2937;
    padding-right: 2.5rem;
}

#framework-search::placeholder {
    color: #9ca3af;
}

.clear-search-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: #f3f4f6;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 0.85rem;
    line-height: 1;
    transition: opacity 0.15s ease, background 0.15s ease;
    opacity: 0;
    pointer-events: none;
}

.clear-search-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.clear-search-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.search-results-count {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.75rem;
    min-height: 1.25rem;
    text-align: center;
}


.framework-toc-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 360px;
    margin: 0 auto 1.5rem auto;
}

.toc-section {
    background: white;
    border-radius: 8px;
    padding: 1rem;
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 0.75rem 0;
}

.toc-toggle {
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
}

.toc-toggle i {
    transition: transform 0.2s;
    font-size: 0.75rem;
}

.toc-toggle[aria-expanded="false"] i {
    transform: rotate(-90deg);
}

.expand-all-btn,
.collapse-all-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    cursor: pointer;
}

.expand-all-btn:hover,
.collapse-all-btn:hover {
    background: #e9ecef;
}

.toc-content {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.toc-content.collapsed {
    max-height: 0;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    padding: 0.4rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.toc-list li:last-child {
    border-bottom: none;
}

.toc-list a {
    color: #3498db;
    text-decoration: none;
}

.toc-list a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.subgoal-count {
    color: #6c757d;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.framework-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.control-btn {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-btn:hover {
    background: #34495e;
}

.visible-count {
    color: #6c757d;
    font-size: 0.875rem;
}

.framework-item-hidden {
    display: none !important;
}

.search-highlight {
    background: #fff3cd;
    padding: 0.1rem 0.2rem;
    border-radius: 2px;
}

/* LIVE SEARCH RESULTS PANEL */
.search-results-panel {
    max-height: 320px;
    overflow-y: auto;
    margin-top: 1rem;
    border-radius: 8px;
    background: white;
    border: 1px solid #dee2e6;
    display: none;
}

.search-results-panel.active {
    display: block;
}

.search-results-panel::-webkit-scrollbar {
    width: 8px;
}

.search-results-panel::-webkit-scrollbar-track {
    background: #f1f3f4;
    border-radius: 4px;
}

.search-results-panel::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 4px;
}

.search-results-panel::-webkit-scrollbar-thumb:hover {
    background: #6c757d;
}

.results-header {
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.875rem;
    color: #495057;
    position: sticky;
    top: 0;
    z-index: 1;
}

.results-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.result-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f3f4;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item:hover {
    background: #e3f2fd;
    border-left-color: #2196f3;
    transform: translateX(2px);
}

.result-item:hover .result-code {
    background: #1976d2;
    transform: scale(1.05);
}

.result-item:focus {
    background: #bbdefb;
    outline: none;
    border-left-color: #1565c0;
}

/* Visited result — user has already navigated here */
.result-item.visited {
    border-left-color: #DAA520;
    opacity: 0.75;
}

.result-item.visited .result-code {
    background: #7a6c3a;
}

.result-item.visited::before {
    content: '\2713';
    position: absolute;
    right: 2.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #DAA520;
    font-size: 0.85rem;
    font-weight: 700;
}

.result-item.visited:hover {
    opacity: 1;
    border-left-color: #DAA520;
}

.result-item.keyboard-focus {
    background: #bbdefb;
    border-left-color: #1565c0;
    box-shadow: inset 0 0 0 2px #2196f3;
}

.result-item:active {
    background: #90caf9;
    transform: translateX(4px);
}

.result-item::after {
    content: '\2192';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.2s ease;
    color: #2196f3;
    font-weight: bold;
}

.result-item:hover::after,
.result-item.keyboard-focus::after {
    opacity: 1;
    right: 0.75rem;
}

.result-code {
    display: inline-block;
    background: #2c3e50;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
    min-width: 3.5rem;
    text-align: center;
    transition: all 0.2s ease;
}

.result-title {
    font-weight: 500;
    color: #2c3e50;
    transition: color 0.2s ease;
}

.result-item:hover .result-title {
    color: #1565c0;
}

.result-snippet {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
    line-height: 1.4;
    padding-right: 1.5rem;
}

.result-snippet mark {
    background: #fff3cd;
    color: inherit;
    padding: 0 0.15rem;
    border-radius: 2px;
}


/* SEARCH MATCH — soft blue wash on matching framework items in the content area.
   Signals "this is part of your sub-selection" without replacing the real content feel. */
.search-match.disorder-white,
.search-match.disorder-grey {
    background: rgba(52, 152, 219, 0.06) !important;
    border-left: 4px solid rgba(52, 152, 219, 0.35);
    transition: background 0.3s ease, border-left-color 0.3s ease;
}

.search-match.disorder-white h3,
.search-match.disorder-grey h3 {
    color: #1a5276;
}

/* SINGLE-WALL TABLE BORDERS — border-collapse: separate with top+left on
   cells, right+bottom on table. Rowspan-safe: no :last-child tricks needed. */
.container.blog table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 12px;
    overflow: hidden;
    border: none !important;
    border-right: 1px solid #e8e9ea !important;
    border-bottom: 1px solid #e8e9ea !important;
}

.container.blog table tbody tr,
.container.blog table tbody tr:first-child,
.container.blog table tbody tr:last-child {
    border: none !important;
}

.container.blog table th,
.container.blog table td {
    border: none !important;
    border-top: 1px solid #e8e9ea !important;
    border-left: 1px solid #e8e9ea !important;
}

/* Stakeholder column — prevent "D, I, O, M, U, R" from wrapping the R */
.container.blog table th:nth-child(3) {
    white-space: nowrap !important;
}

/* Center all header text */
.container.blog table th {
    text-align: center !important;
}

/* Required Evidence column — slightly narrower */
.container.blog table th:nth-child(4),
.container.blog table td:nth-child(4) {
    max-width: 240px;
}

/* SFR and Evidence columns — left-align body cells only (headers stay centered) */
.container.blog table td:nth-child(1),
.container.blog table td:nth-child(4) {
    text-align: left !important;
}

/* STICKY NAVIGATION - disabled to prevent overlap with content below */
#framework-nav-panel.sticky-nav {
    position: static;
}

.framework-search-container {
    position: static;
}

/* TOC FILTERING */
.toc-list li.no-matches {
    opacity: 0.35;
}

.toc-list li.no-matches a {
    pointer-events: none;
    text-decoration: line-through;
}

.toc-list li.has-matches a {
    font-weight: 600;
    color: #27ae60;
}

.toc-match-count {
    display: none;
    /* Disabled - badge was broken */
}

.toc-total-matches {
    display: block;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    margin: 0.5rem 0 0.75rem 0;
    text-align: center;
}

.toc-list li.no-matches a {
    opacity: 0.4;
}

.toc-list li.has-matches a {
    font-weight: 600;
    color: #27ae60;
}

/* JUMP HIGHLIGHT ANIMATION */
.framework-item-highlight {
    animation: highlightPulse 2s ease-out;
}

@keyframes highlightPulse {
    0% {
        background: #fff3cd !important;
        box-shadow: 0 0 30px rgba(255, 193, 7, 0.6);
    }

    50% {
        background: #fff9e6 !important;
        box-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
    }

    100% {
        background: inherit;
        box-shadow: none;
    }
}

/* KEYBOARD NAVIGATION HINT */
.keyboard-hint {
    font-size: 0.75rem;
    color: #6c757d;
    text-align: center;
    padding: 0.5rem;
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
}

.keyboard-hint kbd {
    background: #e9ecef;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    padding: 0.1rem 0.3rem;
    font-family: inherit;
    font-size: 0.7rem;
}

/* Jump to first button */
.jump-to-first-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    margin-top: 0.75rem;
    display: none;
    width: 100%;
}

.jump-to-first-btn:hover {
    background: #219a52;
}

.jump-to-first-btn.visible {
    display: block;
}

/* Scroll offset for TOC anchor targets - prevents headings from hiding behind fixed header */
#citation,
#abbreviations,
#glossary,
#framework-search-section {
    scroll-margin-top: 100px;
}
