        /* Ensure Exit Stop Motion is hidden by default despite .toolbar-btn display rules */
        #exit-stop-motion { display: none !important; }
        /* Only show when stop motion is actively playing */
        .stop-motion-playing #exit-stop-motion { display: inline-flex !important; }

        /* Disagreement sidebar sub-navigation styling */
        .disagreement-sidebar .section-group {
            margin: 0;
            padding: 0;
            border: none;
            background: transparent;
            box-shadow: none;
            display: grid;
            gap: 0;
        }

        .disagreement-sidebar .section-group:hover {
            border: none;
            box-shadow: none;
        }

        .disagreement-sidebar .section-item {
            border-radius: 12px !important;
            border-color: rgba(17, 24, 39, 0.15) !important;
            box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04) !important;
        }

        .disagreement-sidebar .section-item:hover {
            border-color: rgba(17, 24, 39, 0.25) !important;
            box-shadow: 0 6px 16px rgba(17, 24, 39, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06) !important;
        }

		.disagreement-sidebar .section-item.active {
			border-color: rgba(var(--accent-rgb), 0.45) !important;
			box-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.18), 0 2px 6px rgba(var(--accent-rgb), 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
			background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.95), rgba(var(--accent-rgb), 0.85)) !important;
			color: #ffffff !important;
		}
		.disagreement-sidebar .section-item.active .section-title {
			color: #ffffff !important;
		}
		.disagreement-sidebar .section-item.active .section-label {
			background: rgba(255, 255, 255, 0.20) !important;
			color: #ffffff !important;
		}
		.disagreement-sidebar .section-item.active .section-arrow {
			color: rgba(255, 255, 255, 0.92) !important;
		}

        .disagreement-sidebar .section-item.has-dropdown {
            justify-content: space-between;
            align-items: center;
            gap: var(--space-3);
        }

        .disagreement-sidebar .section-item.has-dropdown .section-copy {
            flex: 1 1 auto;
        }

        .disagreement-sidebar .section-item.has-dropdown .section-arrow {
            font-size: 11pt;
            transition: transform 0.24s ease;
        }

        .disagreement-sidebar .section-group.expanded .section-item.has-dropdown .section-arrow {
            transform: rotate(90deg);
        }

        .disagreement-sidebar .section-dropdown {
            display: none;
        }

        .disagreement-sidebar .section-group.expanded .section-dropdown {
            display: block;
        }

        .disagreement-sidebar .section-dropdown-card {
            position: relative;
            margin: var(--space-5) 0 var(--space-2);
            padding: 5px var(--space-3) var(--space-3);
            border-radius: 12px;
            border: 1px solid rgba(17, 24, 39, 0.15);
            background: #ffffff;
            box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
            transition: box-shadow 0.3s ease, border-color 0.3s ease;
        }

        .disagreement-sidebar .section-dropdown-card:hover {
            box-shadow: 0 6px 16px rgba(17, 24, 39, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
            border-color: rgba(17, 24, 39, 0.25);
        }

        .disagreement-sidebar .section-dropdown-items {
            display: grid;
            gap: var(--space-2);
            margin-top: 9px;
        }

        .disagreement-sidebar .dropdown-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 14px;
            border-radius: 12px;
            border: 1px solid rgba(17, 24, 39, 0.15);
            background: rgba(248, 249, 252, 0.95);
            color: var(--text-primary);
            font-size: 11.2pt;
            box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
            transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
            cursor: pointer;
            text-align: left;
        }

        .disagreement-sidebar .dropdown-item:hover,
        .disagreement-sidebar .dropdown-item:focus-visible {
            transform: translateY(-1px);
            border-color: rgba(17, 24, 39, 0.25);
            box-shadow: 0 6px 16px rgba(17, 24, 39, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
            background: rgba(244, 246, 250, 0.98);
            outline: none;
        }

		.disagreement-sidebar .dropdown-item.active {
			border-color: rgba(var(--accent-rgb), 0.45);
			background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.30), rgba(var(--accent-rgb), 0.20));
			box-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.18), 0 2px 6px rgba(var(--accent-rgb), 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.65);
		}

        .disagreement-sidebar .dropdown-item .section-label {
            min-width: 48px;
            font-size: 11pt;
            background: rgba(17, 24, 39, 0.08);
            color: rgba(17, 24, 39, 0.74);
        }

        .disagreement-sidebar .dropdown-item .section-title {
            font-size: 11.6pt;
        }

        .disagreement-sidebar .dropdown-item.figure-item .section-title {
            font-size: 12.4pt;
        }

        .disagreement-sidebar .dropdown-item .section-arrow {
            margin-left: auto;
            font-size: 10.5pt;
            color: rgba(17, 24, 39, 0.58);
            transition: transform 0.18s ease, color 0.18s ease;
        }

        .disagreement-sidebar .dropdown-item:hover .section-arrow,
        .disagreement-sidebar .dropdown-item:focus-visible .section-arrow,
        .disagreement-sidebar .dropdown-item.active .section-arrow {
            color: rgba(17, 24, 39, 0.78);
            transform: translateX(2px);
        }

        .disagreement-sidebar .section-divider-label {
            margin: 18px 4px 8px;
            padding-top: 10px;
            border-top: 1px solid rgba(17, 24, 39, 0.12);
            font-size: 12pt;
            font-weight: 500;
            letter-spacing: 0.03em;
            text-transform: uppercase;
            color: rgba(17, 24, 39, 0.60);
        }

        .disagreement-sidebar .robustness-item {
            margin-top: 4px;
            padding: 10px 14px;
        }

        .disagreement-sidebar .robustness-item .section-title {
            font-size: 11.2pt;
            color: rgba(17, 24, 39, 0.80);
        }

        .disagreement-sidebar .robustness-item .section-label {
            color: rgba(17, 24, 39, 0.72);
            font-size: 10pt;
            min-width: 44px;
            padding: 6px 12px;
        }

        /* Unify all HRS sidebar items (3.4.1 and 3.4.2 m=20/30/60 buttons) */
        .hrs-sidebar-item {
            display: flex;
            flex-direction: column;
            gap: 3px;
            padding: 9px 12px;
            border-radius: 10px;
            border: 1px solid rgba(17, 24, 39, 0.15);
            background: #ffffff;
            color: var(--text-primary);
            box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
            transition: transform 0.18s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.18s ease;
            cursor: pointer;
            text-align: left;
        }

        .hrs-sidebar-item:hover {
            transform: translateY(-1px);
            border-color: rgba(17, 24, 39, 0.25);
            box-shadow: 0 6px 16px rgba(17, 24, 39, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
        }

		.hrs-sidebar-item.active {
			border-color: rgba(var(--accent-rgb), 0.45);
			background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.30), rgba(var(--accent-rgb), 0.20));
			box-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.18), 0 2px 6px rgba(var(--accent-rgb), 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.65);
		}

        .forecast-performance-sidebar .section-dropdown-card {
            margin: var(--space-4) 0 var(--space-2);
            padding: 4px 12px 12px;
        }

        .forecast-performance-sidebar .section-dropdown-card .section-dropdown-items {
            gap: 8px;
        }

        .hrs-item-title {
            font-size: 13.6pt;
            line-height: 1.15;
        }

        .hrs-item-subtitle {
            font-size: 10.4pt;
            color: rgba(17, 24, 39, 0.70);
        }

        .hrs-toggle-row {
            margin-top: 10px;
            padding: 8px 12px;
            border-radius: 10px;
            border: 1px solid rgba(17, 24, 39, 0.12);
            background: rgba(248, 249, 252, 0.92);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .hrs-toggle-label {
            font-size: 11pt;
            color: rgba(17, 24, 39, 0.85);
        }

        .hrs-switch {
            position: relative;
            display: inline-block;
            width: 42px;
            height: 22px;
        }

        .hrs-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .hrs-switch-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(39, 55, 85, 0.35);
            transition: 0.2s;
            border-radius: 999px;
        }

        .hrs-switch-slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 2px;
            bottom: 2px;
            background-color: #fff;
            transition: 0.2s;
            border-radius: 50%;
        }

        .hrs-switch input:checked + .hrs-switch-slider {
            background-color: rgba(43, 109, 224, 0.85);
        }

        .hrs-switch input:checked + .hrs-switch-slider:before {
            transform: translateX(20px);
        }

        /* Unify forecast performance & predictive power section-items */
        .forecast-performance-sidebar .section-item,
        .predictive-power-sidebar .section-item {
            border-radius: 12px !important;
            border-color: rgba(17, 24, 39, 0.15) !important;
            box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04) !important;
        }

        .forecast-performance-sidebar .section-item:hover,
        .predictive-power-sidebar .section-item:hover {
            border-color: rgba(17, 24, 39, 0.25) !important;
            box-shadow: 0 6px 16px rgba(17, 24, 39, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06) !important;
        }

		.forecast-performance-sidebar .section-item.active,
        .predictive-power-sidebar .section-item.active {
			border-color: rgba(var(--accent-rgb), 0.45) !important;
			box-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.18), 0 2px 6px rgba(var(--accent-rgb), 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
			background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.95), rgba(var(--accent-rgb), 0.85)) !important;
			color: #ffffff !important;
		}
		.forecast-performance-sidebar .section-item.active .section-title,
        .predictive-power-sidebar .section-item.active .section-title {
			color: #ffffff !important;
		}
		.forecast-performance-sidebar .section-item.active .section-label,
        .predictive-power-sidebar .section-item.active .section-label {
			background: rgba(255, 255, 255, 0.20) !important;
			color: #ffffff !important;
		}
		.forecast-performance-sidebar .section-item.active .section-arrow,
        .predictive-power-sidebar .section-item.active .section-arrow {
			color: rgba(255, 255, 255, 0.92) !important;
		}

        /* Forecast performance & predictive power sidebar dropdown styling */
        .forecast-performance-sidebar .section-group,
        .predictive-power-sidebar .section-group {
            margin: 0;
            padding: 0;
            border: none;
            background: transparent;
            box-shadow: none;
            display: grid;
            gap: 0;
        }

        .forecast-performance-sidebar .section-item.has-dropdown .section-arrow,
        .predictive-power-sidebar .section-item.has-dropdown .section-arrow {
            font-size: 11pt;
            transition: transform 0.24s ease;
        }

        .forecast-performance-sidebar .section-group.expanded .section-item.has-dropdown .section-arrow,
        .predictive-power-sidebar .section-group.expanded .section-item.has-dropdown .section-arrow {
            transform: rotate(90deg);
        }

        .forecast-performance-sidebar .section-dropdown,
        .predictive-power-sidebar .section-dropdown {
            display: none;
        }

        .forecast-performance-sidebar .section-group.expanded .section-dropdown,
        .predictive-power-sidebar .section-group.expanded .section-dropdown {
            display: block;
        }

        .forecast-performance-sidebar .section-dropdown-card,
        .predictive-power-sidebar .section-dropdown-card {
            position: relative;
            margin: var(--space-5) 0 var(--space-2);
            padding: 5px var(--space-3) var(--space-3);
            border-radius: 12px;
            border: 1px solid rgba(17, 24, 39, 0.15);
            background: #ffffff;
            box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
            transition: box-shadow 0.3s ease, border-color 0.3s ease;
        }

        .forecast-performance-sidebar .section-dropdown-card:hover,
        .predictive-power-sidebar .section-dropdown-card:hover {
            box-shadow: 0 6px 16px rgba(17, 24, 39, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
            border-color: rgba(17, 24, 39, 0.25);
        }

        .forecast-performance-sidebar .section-dropdown-items,
        .predictive-power-sidebar .section-dropdown-items {
            display: grid;
            gap: var(--space-2);
            margin-top: 9px;
        }





        /* Custom class for Appendix B.1 container */
        .appendix-single-card {
            padding: 20px;
        }
