.resources-hero {
    padding: 8rem 2.5rem 3rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--primary);
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
            transition: transform var(--transition-fast);
        }

        .back-link:hover {
            transform: translateX(-4px);
            color: var(--secondary);
        }

        .resources-hero h1 {
            font-size: 3rem;
            margin-bottom: 0.5rem;
            background: linear-gradient(135deg, var(--text-primary) 40%, #1e3a8a 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .chapter-ref {
            display: inline-block;
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--secondary);
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .resources-hero p {
            font-size: 1.15rem;
            color: var(--text-secondary);
            max-width: 700px;
            margin: 0 auto 3rem;
        }

        .tool-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 6rem;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2.5rem;
    align-items: start;
    box-sizing: border-box;
}

        @media (max-width: 1024px) {
            .tool-container {
                grid-template-columns: 1fr;
            }
        }

        .card-panel {
            background: var(--bg-card);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 2.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
            margin-bottom: 2rem;
        }

        .card-panel h2 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .dimension-block {
            margin-bottom: 2.25rem;
            padding-bottom: 1.75rem;
            border-bottom: 1px solid var(--border-color);
        }

        .dimension-block:last-child {
            border: none;
            padding-bottom: 0;
            margin-bottom: 0;
        }

        .dimension-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .dimension-title {
            font-family: var(--font-heading);
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-primary);
        }

        .dimension-score {
            font-size: 0.9rem;
            font-weight: 800;
            color: var(--primary);
            background: var(--primary-glow);
            padding: 0.2rem 0.6rem;
            border-radius: 6px;
        }

        .dimension-desc {
            font-size: 0.85rem;
            color: var(--text-secondary);
            margin-bottom: 1.25rem;
            line-height: 1.5;
        }

        /* Slider elements */
        .slider-input {
            width: 100%;
            height: 6px;
            background: #e2e8f0;
            border-radius: 99px;
            outline: none;
            accent-color: var(--primary);
            cursor: pointer;
            margin-bottom: 0.75rem;
        }

        .slider-labels {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            color: var(--text-muted);
            font-weight: 600;
            margin-bottom: 1.25rem;
        }

        /* Active Level Card Box */
        .level-indicator-card {
            background: #f8fafc;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 1rem;
            transition: all var(--transition-fast);
        }

        .level-indicator-title {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.25rem;
        }

        .level-indicator-desc {
            font-size: 0.8rem;
            color: var(--text-secondary);
            line-height: 1.4;
        }

        /* Results Sidebar */
        .results-sidebar {
            position: sticky;
            top: 7rem;
        }

        .score-circle {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: radial-gradient(circle, white 50%, #f8fafc 100%);
            border: 6px solid var(--border-color);
            margin: 0 auto 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
            transition: border-color var(--transition-normal);
        }

        .score-val {
            font-family: var(--font-heading);
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--text-primary);
            line-height: 1;
        }

        .score-lbl {
            font-size: 0.7rem;
            color: var(--text-muted);
            font-weight: 600;
            text-transform: uppercase;
        }

        .score-badge {
            display: inline-block;
            padding: 0.3rem 0.8rem;
            border-radius: 99px;
            font-size: 0.8rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 1.5rem;
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }

        .grade-1 {
            background: #fee2e2;
            color: #ef4444;
            border: 1px solid rgba(239, 68, 68, 0.2);
        }

        .grade-2 {
            background: #fef3c7;
            color: #d97706;
            border: 1px solid rgba(217, 119, 6, 0.2);
        }

        .grade-3 {
            background: #e0f2fe;
            color: #0284c7;
            border: 1px solid rgba(2, 132, 199, 0.2);
        }

        .grade-4 {
            background: #e0f8f2;
            color: #059669;
            border: 1px solid rgba(5, 150, 105, 0.2);
        }

        .grade-5 {
            background: #ecfdf5;
            color: #10b981;
            border: 1px solid rgba(16, 185, 129, 0.2);
        }

        .rec-title {
            font-size: 0.95rem;
            margin-bottom: 1rem;
            font-family: var(--font-heading);
        }

        .rec-item {
            display: flex;
            gap: 0.75rem;
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-bottom: 0.75rem;
            line-height: 1.4;
            text-align: left;
        }

        .rec-item svg {
            color: var(--primary);
            flex-shrink: 0;
            margin-top: 0.15rem;
        }

        /* SVG Radar styling */
        .radar-container {
            display: flex;
            justify-content: center;
            margin-bottom: 1.5rem;
        }

        .radar-axis {
            stroke: #cbd5e1;
            stroke-width: 1px;
            stroke-dasharray: 2, 2;
        }

        .radar-grid-line {
            fill: none;
            stroke: #e2e8f0;
            stroke-width: 1px;
        }

        .radar-polygon {
            fill: rgba(37, 99, 235, 0.25);
            stroke: var(--primary);
            stroke-width: 2px;
            transition: all 0.3s ease;
        }

        .radar-axis-label {
            font-size: 8px;
            font-family: var(--font-heading);
            font-weight: 700;
            fill: var(--text-secondary);
            text-anchor: middle;
        }

        /* Bibliography block */
        .bibliography-section {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 6rem;
    padding: 2rem 2.5rem 0;
    border-top: 1px solid var(--border-color);
    box-sizing: border-box;
}

        .bibliography-section h3 {
            font-family: var(--font-heading);
            font-size: 1.1rem;
            color: var(--text-primary);
            margin-bottom: 1rem;
        }

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

        .bibliography-list li {
            font-size: 0.85rem;
            color: var(--text-secondary);
            margin-bottom: 0.75rem;
            line-height: 1.5;
            text-indent: -1.5rem;
            padding-left: 1.5rem;
        }

        .bibliography-list a {
            color: var(--primary);
            text-decoration: underline;
        }

        /* Print Media Stylesheet */
        @media print {

            header,
            footer,
            .back-link,
            .presets-bar,
            .btn,
            .slider-input,
            .slider-labels {
                display: none !important;
            }

            body {
                background: white !important;
                color: black !important;
                padding: 0;
            }

            .tool-container {
                grid-template-columns: 1fr !important;
                margin: 0 !important;
                padding: 0 !important;
            }

            .card-panel {
                border: none !important;
                box-shadow: none !important;
                background: none !important;
                padding: 0 !important;
                margin-bottom: 2rem !important;
            }

            .dimension-block {
                page-break-inside: avoid;
                border-bottom: 1px solid #ccc !important;
                padding-bottom: 1.5rem !important;
                margin-bottom: 1.5rem !important;
            }

            .level-indicator-card {
                background: #f8fafc !important;
                border: 1px solid #ccc !important;
            }

            .results-sidebar {
                position: static !important;
                page-break-inside: avoid;
            }
        }

.card-panel-main { margin-bottom: 0; }
.desc-text { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 2rem; }
.sidebar-panel { text-align: center; padding: 2rem 1.5rem; }
.sidebar-actions-border { border-top: 1px solid var(--border-color); padding-top: 1.5rem; text-align: left; }
.btn-print { width: 100%; padding: 0.5rem; margin-top: 1rem; font-size: 0.85rem; }
