/* ════════════════════════════════════════════════════════════════════════════
   Calculator skin (galv calc v1 — SAT exemplar) — Subash's Calculator Pages comp
   CSS VERBATIM (sat-score-calculator.html). Loaded on single `calculator` by
   includes/calculator_styles.php. Do NOT re-skin — fixes go through the comp first.
   Per-calculator split (shared shell vs per-tool) is deferred to the generalization
   pass after the SEO/GEO exemplar lands.
   ════════════════════════════════════════════════════════════════════════════ */

:root {
            --bg-navy: #13217c;
            --primary-blue: #3b5bff;
            --cta-magenta: #cc00cc;
            --accent-blue: #e6ebff;
            --text-white: #fffdfe;
            --text-dark: #333;
            --text-gray: #808080;
            --success-green: #2d8a4e;
            --font-heading: 'Poppins', sans-serif;
            --font-body: 'Inter', sans-serif;
            --container-width: 1920px;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            color: var(--text-dark);
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: var(--font-heading);
            font-weight: 600;
        }

        .container {
            width: 100%;
            max-width: var(--container-width);
            padding: 0 80px;
            margin: 0 auto;
        }

        section {
            display: flex;
            justify-content: center;
            padding: 60px 0;
        }

        .section-for-desktop {
            display: flex;
            justify-content: center;
            padding: 60px 0;
        }

        .text-center {
            text-align: center;
        }

        .btn {
            display: inline-block;
            padding: 12px 24px;
            border-radius: 10px;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: all .3s ease;
            border: none;
        }

        .btn-magenta {
            background-color: var(--cta-magenta);
            color: var(--text-white);
        }

        .btn-magenta:hover {
            background-color: #a600a6;
        }

        .btn-blue {
            background-color: var(--primary-blue);
            border-radius: 10px;
            font-size: 18px;
            color: var(--text-white);
        }

        .btn-blue:hover {
            background-color: #13217c;
        }

        .btn-ghost-blue {
            background-color: var(--primary-blue);
            color: var(--text-white);
            font-size: 18px;
        }

        .btn-ghost-blue:hover {
            background-color: #13217c;
        }

        /* SECTION TYPOGRAPHY */

        h2.section-title {
            font-size: 36px;
            line-height: 48px;
            color: var(--primary-blue);
            text-align: center;
            margin-bottom: 15px;
        }

        .section-subtitle {
            font-family: var(--font-heading);
            font-size: 20px;
            line-height: 30px;
            color: var(--text-dark);
            text-align: center;
            font-weight: 500;
        }

        /* SAT SCORE CALCULATOR */

        .last-updated {
            font-size: 16px;
            line-height: 26px;
            color: var(--text-gray);
            text-align: center;
            font-style: italic;
            margin-top: 5px;
        }


        .calculator-main {
            display: grid;
            grid-template-columns: 1fr 400px;
            gap: 30px;
            min-height: 500px;
            margin-top: 40px;
        }


        .calculator-right {
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .slider-sections {
            background: #e6ebff;
            border-radius: 40px;
            padding: 25px;
            border: 2px solid var(--accent-blue);
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .slider-title {
            font-family: var(--font-heading);
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 18px;
            font-weight: 600;
            color: var(--primary-blue);
            padding: 25px;
            background: #f5f7ff;
        }

        .slider-title svg {
            width: 24px;
            height: 24px;
            stroke-width: 2;
            stroke: var(--primary-blue);
        }

        .slider-title-text {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }

        .modules-container {
            background: white;
            border-radius: 20px;
            border: 1px solid #dee2e6;
            overflow: hidden;
            flex: 1;
            display: flex;
            flex-direction: column;
        }


        .modules-container:last-child {
            margin-bottom: 0;
        }


        .slider-row {
            display: flex;
            align-items: center;
            padding: 30px;
            flex: 1;
        }


        .module-divider {
            height: 1px;
            background-color: #dee2e6;
            margin: 0;
        }


        .icon-container {
            width: 44px;
            height: 44px;
            background: #eff2ff;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            color: #3b5bff;
        }


        .slider-label {
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            color: var(--text-dark);
        }


        .slider-container {
            flex: 1;
            margin: 0 20px;
            position: relative;
        }


        .slider-container {
            flex: 1;
            margin: 0 40px;
            position: relative;
            padding: 25px 0 45px 0;
            display: flex;
            align-items: center;
        }


        .slider {
            width: 100%;
            height: 1px;
            border-radius: 5px;
            background: #808080 !important;
            outline: none;
            -webkit-appearance: none;
            cursor: pointer;
            position: relative;
            z-index: 5;
        }


        .slider-ruler {
            position: absolute;
            top: 25px;
            left: 11px;
            right: 11px;
            height: 1px;
            border-radius: 5px;
            pointer-events: none;
            z-index: 1;
            background: #969696;
        }


        .tick {
            position: absolute;
            top: 50%;
            width: 1px;
            background: #adb5bd;
            transform: translateX(-50%);
        }


        .tick.minor {
            height: 8px;
            margin-top: -4px;
            border-radius: 2px;
            background: #DBDBDB;
        }


        .tick.major {
            height: 16px;
            margin-top: -8px;
            background: #ADADAD;
            width: 1px;
            border-radius: 5px;
        }


        .ruler-labels {
            position: absolute;
            bottom: 5px;
            left: 11px;
            right: 11px;
            height: 20px;
            pointer-events: none;
        }


        .ruler-label {
            position: absolute;
            font-size: 11px;
            font-weight: 600;
            color: #6c757d;
            transform: translateX(-50%);
        }


        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: var(--primary-blue);
            cursor: pointer;
            transition: all 0.2s ease;
            border: 4px solid #fff;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            position: relative;
            z-index: 10;
            margin-top: -1px;
            /* Center thumb vertically on the 2px track */
        }


        .slider::-webkit-slider-thumb:hover {
            background: var(--bg-navy);
            transform: scale(1.1);
        }


        .slider::-moz-range-thumb {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #3b5bff;
            cursor: pointer;
            border: none;
        }


        .slider-value {
            min-width: 60px;
            text-align: center;
            font-size: 19px;
            font-weight: 600;
            color: #3b5bff;
            background: #f8f9ff;
            padding: 8px 12px;
            border-radius: 6px;
            border: 1px solid #e1e5e9;
        }


        .range-info {
            font-size: 13px;
            font-weight: 500;
            color: #6c757d;
            background: #f8f9fa;
            padding: 4px 12px;
            border-radius: 6px;
            border: 1px solid #e9ecef;
            text-transform: none;
        }


        .results-section {
            background: white;
            border-radius: 40px;
            padding: 40px 30px;
            border: 2px solid #dee2e6;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }


        .score-tag {
            display: inline-block;
            padding: 6px 16px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 20px;
            letter-spacing: 1px;
            transition: all 0.3s ease;
        }


        /* Score Themes */
        .results-section.score-excellent {
            background-color: #f5f7ff;
            border-color: #3b5bff;
        }


        .score-excellent .score-tag {
            background-color: #3b5bff;
            color: white;
        }


        .score-excellent .total-score,
        .score-excellent .score-item-value {
            color: #3b5bff;
        }


        .results-section.score-good {
            background-color: #f0fdf4;
            border-color: #22c55e;
        }


        .score-good .score-tag {
            background-color: #22c55e;
            color: white;
        }


        .score-good .total-score,
        .score-good .score-item-value {
            color: #15803d;
        }


        .results-section.score-average {
            background-color: #fffbeb;
            border-color: #f59e0b;
        }


        .score-average .score-tag {
            background-color: #f59e0b;
            color: white;
        }


        .score-average .total-score,
        .score-average .score-item-value {
            color: #b45309;
        }


        .results-section.score-low {
            background-color: #fef2f2;
            border-color: #ef4444;
        }


        .score-low .score-tag {
            background-color: #ef4444;
            color: white;
        }


        .score-low .total-score,
        .score-low .score-item-value {
            color: #b91c1c;
        }


        .total-score {
            font-size: 56px;
            font-weight: 800;
            color: #3b5bff;
            margin-bottom: 10px;
        }


        .score-label {
            font-size: 16px;
            line-height: 26px;
            font-weight: 700;
            color: var(--text-dark);
            text-transform: uppercase;
            margin-bottom: 25px;
        }


        .score-breakdown {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            width: 100%;
            max-width: 100%;
            margin: 0 auto;
            align-items: center;
            background: #fff;
            border: 1px solid #dee2e6;
            border-radius: 12px;
        }


        .score-item {
            background: transparent;
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }


        .vertical-divider {
            width: 1px;
            height: 40px;
            background: #dee2e6;
        }


        .score-item-title {
            font-size: 12px;
            text-transform: uppercase;
            font-weight: 600;
            color: var(--text-gray);
            margin-bottom: 8px;
            text-align: center;
        }


        .score-item-value {
            font-size: 29px;
            font-weight: 700;
            color: #3b5bff;
            text-align: center;
        }


        .cta-card-section {
            background-color: var(--bg-navy);
            border-radius: 40px;
            padding: 30px;
            margin-top: 25px;
            text-align: center;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }


        .cta-card-title {
            font-family: var(--font-heading);
            font-size: 18px;
            line-height: 26px;
            font-weight: 600;
            color: var(--text-white);
            margin-bottom: 10px;
            text-align: left;

        }


        .cta-card-subtitle {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 25px;
            line-height: 26px;
            text-align: left;
        }


        .cta-card-buttons {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }


        .cta-card-button {
            font-family: var(--font-body);
            width: 100%;
            padding: 12px 24px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 16px;
            line-height: 26px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            text-align: center;
        }

        a {
            text-decoration: none;
        }

        .cta-card-button.primary {
            background: #cc00cc;
            color: white;
        }


        .cta-card-button.primary:hover {
            background: #a300a3;
            color: var(--text-white);
        }


        .cta-card-button.secondary {
            background: transparent;
            color: white;
            border: 2px solid #fff;
        }


        .cta-card-button.secondary:hover {
            background: #a300a3;
            color: var(--text-white);
            border: 2px solid transparent;
        }


        /* Credibility Block */
        .credibility-block {
            margin: 40px 0 0 0;
        }

        .credibility-block svg {
            width: 26px;
            height: 26px;
        }

        .credibility-block h3 {
            color: var(--primary-blue);
            font-size: 24px;
            line-height: 38px;
            font-weight: 600;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .credibility-block p {
            font-size: 18px;
            line-height: 29px;
            color: var(--text-dark);
        }

        /* Example Block */
        .example-block {
            margin: 40px 0 0 0;
        }

        .example-block svg {
            width: 26px;
            height: 26px;
        }

        .example-block h3 {
            color: var(--primary-blue);
            font-size: 24px;
            line-height: 38px;
            font-weight: 600;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }


        .example-content {
            padding: 0;
        }


        .example-content p {
            margin: 0;
            color: var(--text-dark);
            line-height: 29px;
            font-size: 18px;
        }


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


        /* University Ranges Section */
        .sat-score-range {
            background: var(--accent-blue);
        }

        .university-ranges-section {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }


        .university-ranges-header {
            text-align: center;
            margin-bottom: 40px;
        }


        .university-ranges-title {
            font-size: 36px;
            line-height: 48px;
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 15px;
        }


        .university-ranges-subtitle {
            font-family: var(--font-heading);
            font-size: 20px;
            line-height: 32px;
            color: var(--text-dark);
            font-weight: 500;
        }


        .ranges-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 20px;
            overflow: hidden;
        }


        .ranges-table thead {
            background-color: var(--primary-blue);
            color: white;
        }


        .ranges-table th {
            font-family: var(--font-heading);
            padding: 18px 20px;
            text-align: left;
            font-weight: 600;
            font-size: 18px;
        }


        .ranges-table tbody tr {
            border-bottom: 1px solid #e9ecef;
        }


        /* Removed row-level hover since we use cell-pair logic now */


        .ranges-table tbody tr:last-child {
            border-bottom: none;
        }


        .ranges-table td {
            padding: 18px 20px;
            transition: background-color 0.2s ease;
        }



        .divider-left {
            border-left: 2px solid #f1f3f5;
        }


        .score-range-cell {
            font-weight: 700;
            font-size: 16px;
            line-height: 26px;
            color: var(--primary-blue);
            white-space: nowrap;
        }

        em {
            font-style: normal;
        }

        .admission-cell {
            color: #495057;
            font-size: 16px;
        }


        .table-disclaimer {
            text-align: center;
            padding: 20px;
            font-size: 12px;
            color: var(--text-gray);
            background-color: #fff;
            border-top: 1px solid #e9ecef;
        }


        .table-disclaimer-content {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
        }

        .table-disclaimer-content svg {
            height: 14px;
            width: 14px;
            stroke-width: 2px;
            color: var(--text-gray);
        }

        .admission-cell {
            color: #495057;
            font-size: 16px;
            line-height: 1.5;
        }


        /* Tabs Navigation */
        .tabs-container {
            background: white;
            border-radius: 20px;
            padding: 30px;
            margin-top: 30px;
        }


        .tabs-header {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 30px;
            border-bottom: 2px solid #e9ecef;
            padding-bottom: 20px;
        }


        .tab-button {
            font-family: var(--font-body);
            padding: 12px 20px;
            border: none;
            background: #f8f9fa;
            color: #495057;
            border-radius: 8px;
            font-weight: 600;
            font-size: 16px;
            line-height: 26px;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }


        .tab-button:hover {
            background: #e9ecef;
            color: #3b5bff;
        }


        .tab-button.active {
            background-color: #3b5bff;
            color: white;
            transform: translateY(2px);
        }


        .tab-content {
            display: none;
            animation: fadeIn 0.4s ease;
        }


        .tab-content.active {
            display: block;
        }


        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


        .tab-content-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
            gap: 15px;
            padding-bottom: 20px;
            border-bottom: 2px solid #f0f2ff;
        }


        .tab-content-title {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary-blue);
        }


        .tab-content-badge {
            background-color: #f1f3ff;
            color: var(--primary-blue);
            border: 1px solid var(--primary-blue);
            padding: 6px 16px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 14px;
        }


        .colleges-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 15px;
        }


        .college-item {
            background: #f5f7ff;
            padding: 15px 20px;
            border-radius: 8px;
            border: 1px solid #e6ebff;
            display: flex;
            align-items: center;
            transition: all 0.2s ease;
        }


        .college-item:hover {
            background: #e6ebff;
            border-color: #3b5bff;

        }


        .college-number {
            background: #3b5bff;
            color: white;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
            margin-right: 12px;
            flex-shrink: 0;
        }


        .college-name {
            color: #495057;
            font-weight: 500;
            font-size: 16px;
            line-height: 1.4;
        }


        /* Content sections */

        .sat-content-wrapper {
            margin-bottom: 25px;
        }

        .sat-content-wrapper:last-child {
            margin-bottom: 0;
        }

        .sat-content {
            max-width: 1200px;
            margin: 0 auto;
            color: var(--text-dark);
        }


        .sat-content h2 {
            color: var(--primary-blue);
            font-size: 24px;
            line-height: 38px;
            font-weight: 600;
            margin-bottom: 15px;
        }


        .sat-content h3 {
            color: var(--text-dark);
            font-size: 20px;
            font-weight: 600;
        }


        .sat-content p {
            color: var(--text-dark);
            font-size: 18px;
            line-height: 29px;

        }


        .sat-content strong {
            color: var(--text-dark);
            font-weight: 600;
        }


        .sat-content em {
            color: var(--text-dark);
            font-style: normal;
            font-weight: 500;
        }


        .sat-content ul {
            margin: 15px 0;
            padding-left: 0;
        }


        .sat-content li {
            list-style: none;
            position: relative;
            padding: 8px 0 8px 30px;
            margin-bottom: 8px;
        }


        .sat-content li:before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 8px;
            color: var(--primary-blue);
            font-weight: bold;
            font-size: 18px;
        }


        .footer-section {
            text-align: center;
            padding: 30px;
            color: var(--text-gray);
            font-size: 14px;
            border-top: 1px solid #e9ecef;
            background: #f5f7ff;
        }


        /* Utility Classes from inline styles */
        .mt-30 {
            margin-top: 30px;
        }

        .mb-0 {
            margin-bottom: 0;
        }


        .info-note-container {
            text-align: center;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
            margin: 20px 0;
        }


        .info-note-text {
            color: #495057;
            margin: 0;
            font-size: 15px;
        }


        .important-context-box {
            background: #f5f7ff;
            border: 2px solid var(--accent-blue);
            padding: 20px;
            border-radius: 15px;
            margin-bottom: 25px;
        }


        .important-context-header {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-bottom: 12px;
            color: var(--text-gray);
        }

        .important-context-header svg {
            height: 16px;
            width: 16px;
        }

        .important-context-header strong {
            font-size: 14px;
            font-weight: 500;
        }


        .important-context-header svg {
            flex-shrink: 0;
        }


        .important-context-description {
            color: var(--text-gray);
            margin: 0;
            font-size: 14px;
            line-height: 22px;
        }


        .section-details-box {
            background: #f5f7ff;
            border-radius: 20px;
            padding: 20px;
            margin: 20px 0;
            border: 2px solid var(--accent-blue);
        }


        .section-details-title {
            color: #3b5bff;
            margin-top: 0;
        }


        .limitations-box {
            background: #f5f7ff;
            border-radius: 20px;
            padding: 20px;
            margin: 20px 0;
            border: 2px solid var(--accent-blue);
        }

        .limitations-box ul {
            margin: 0;
        }

        .essential-h3 {
            margin-top: 20px;
        }

        /* CTA Banner */
        .cta-banner-section {
            background: var(--bg-navy);
            padding: 60px 0;
        }

        .cta-banner-content {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        .cta-banner-content h2 {
            font-size: 36px;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 15px;
            line-height: 48px;
        }

        .cta-banner-content p {
            font-size: 18px;
            color: var(--text-white);
            margin-bottom: 30px;
            line-height: 29px;
        }

        .cta-banner-content p:last-child {
            margin-bottom: 0;
        }

        .cta-note {
            font-size: 14px;
            line-height: 24px;
            margin-top: 20px;
        }

        .cta-white {
            display: inline-block;
            background: var(--cta-magenta);
            color: var(--text-white);
            padding: 12px 24px;
            text-decoration: none;
            border-radius: 10px;
            font-size: 18px;
            line-height: 24px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .cta-white:hover {
            background: var(--cta-hover);
            color: var(--text-white);
        }


        /* FAQ */
        .faq-section {
            padding: 60px 0;
        }

        .section-header {
            margin-bottom: 50px;
        }

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

        .faq-title {
            font-family: var(--font-heading);
            font-size: 36px;
            line-height: 48px;
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 30px;
        }

        .faq-item {
            background: var(--primary-blue);
            margin-bottom: 18px;
            overflow: hidden;
        }

        .faq-question {
            padding: 20px 50px 20px 20px;
            font-size: 20px;
            line-height: 30px;
            font-weight: 400;
            color: var(--text-white);
            cursor: pointer;
            position: relative;
            transition: all 0.3s ease;
            user-select: none;
        }

        .faq-question::after {
            content: "›";
            position: absolute;
            right: 28px;
            top: 50%;
            transform: translateY(-50%) rotate(0deg);
            font-size: 28px;
            color: #fff;
            font-weight: 400;
            transition: transform 0.3s ease;
            line-height: 1;
        }

        .faq-question.active::after {
            content: "›";
            transform: translateY(-50%) rotate(90deg);
        }

        .faq-answer {
            background-color: var(--accent-blue);
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.4s ease;
            padding: 0 28px;
            font-size: 20px;
            line-height: 30px;
            font-weight: 400;
            color: var(--primary-blue);
        }

        .faq-answer.active {
            max-height: 500px;
            padding: 20px;
        }


        /* FAQ Layout */
        .faq-layout {
            display: grid;
            grid-template-columns: 2fr 3fr;
            gap: 20px;
            align-items: start;
        }

        .faq-image-col img {
            width: 100%;
            max-width: 420px;
            height: auto;
            border-radius: 20px;
            display: block;
        }

        .faq-layout .faq-container {
            max-width: 100%;
            margin: 0;
            padding: 0;
        }


        /* Tablet Responsive */

        @media (max-width: 1024px) {

            section {
                padding: 40px 0;
            }

            .container {
                padding: 0 40px;
            }

            .icon-container {
                width: 36px;
                height: 36px;
            }

            .slider-title {
                font-size: 16px;
                line-height: 22px;
                gap: 8px;
                padding: 20px;
            }

            .slider-title svg {
                width: 18px;
                height: 18px;
            }

            .slider-row {
                padding: 20px;
            }

            .range-info {
                font-size: 12px;
            }

            .tab-content-title {
                font-size: 22px;

            }

            .cta-banner-section {
                padding: 40px 0;
            }

            .faq-section {
                padding: 40px 0;
            }
        }

        @media (max-width: 968px) {
            .calculator-main {
                grid-template-columns: 1fr;
                gap: 30px;
            }


            .calculator-right {
                flex-direction: row;
                height: auto;
                order: -1;
                gap: 20px;
            }

            .calculator-right>* {
                flex: 1;
            }

            .cta-card-section {
                margin-top: 0;
            }


            .results-section {
                position: static;
            }

            .cta-card-title {
                font-size: 16px;
                line-height: 26px;
            }

            .ranges-table {
                font-size: 14px;
            }


            .ranges-table th,
            .ranges-table td {
                padding: 12px 15px;
            }


            .tabs-header {
                gap: 8px;
            }


            .tab-button {
                font-size: 14px;
                padding: 10px 15px;
            }


            .colleges-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }


        @media (max-width: 768px) {
            .container {
                padding: 0 20px;
            }

            h2.section-title {
                font-size: 24px;
                line-height: 38px;
            }

            .section-subtitle {
                font-size: 18px;
                line-height: 28px;
            }

            .last-updated {
                font-size: 14px;
                line-height: 22px;
                margin-top: 8px;
            }

            .calculator-main {
                margin-top: 30px;
                gap: 25px;
            }

            .calculator-right {
                display: contents;
            }

            .results-section {
                order: 1;
                padding: 30px 20px;
                border-radius: 30px;
            }

            .cta-card-section {
                order: 2;
            }

            .credibility-block {
                margin-top: 30px;
            }

            .credibility-block h3 {
                font-size: 20px;
                line-height: 30px;
                margin-bottom: 10px;
            }

            .credibility-block svg {
                height: 24px;
                width: 24px;
            }

            .example-block {
                margin-top: 20px;
            }

            .example-block h3 {
                font-size: 20px;
                line-height: 30px;
                margin-bottom: 10px;
            }

            .example-block svg {
                height: 24px;
                width: 24px;
            }

            .colleges-grid {
                grid-template-columns: 1fr;
            }

            .sat-calculator,
            .university-ranges-section {
                padding: 0 15px;
            }


            .slider-sections {
                padding: 15px;
                border-radius: 30px;
            }


            .slider-row {
                flex-direction: row;
                flex-wrap: wrap;
                align-items: center;
                justify-content: space-between;
                padding: 15px;
            }

            .slider-title {
                font-size: 14px;
                line-height: 22px;
            }

            .slider-title-text {
                flex-direction: column;
                align-items: flex-start;
                justify-content: center;
            }

            .slider-label {
                min-width: auto;
                margin: 0;
                text-align: left;
                order: 1;
            }


            .slider-container {
                margin: 15px 0 0 0;
                flex: 1 1 100%;
                order: 3;
            }


            .slider-value {
                align-self: auto;
                margin: 0;
                order: 2;
            }

            .range-info {
                background: none;
                padding: 0;
                border: none;
            }

            .score-breakdown {
                grid-template-columns: 2fr, 1fr;
                gap: 15px;
            }


            .total-score {
                font-size: 48px;
            }

            .sat-content-wrapper {
                margin-bottom: 20px;
            }

            .sat-content h2 {
                font-size: 20px;
                line-height: 30px;
                margin-bottom: 8px;
            }

            .sat-content h3 {
                font-size: 18px;
            }


            .faq-section {
                padding: 40px 0;
            }

            .university-ranges-header {
                margin-bottom: 30px;
            }

            .university-ranges-title {
                font-size: 24px;
                line-height: 38px;
                margin-bottom: 10px;
            }

            .university-ranges-subtitle {
                font-size: 18px;
                line-height: 29px;
            }

            .ranges-table thead {
                display: block;
            }

            .ranges-table thead tr {
                display: flex;
                flex-wrap: wrap;
                border-bottom: 2px solid #e9ecef;
            }

            .ranges-table th {
                padding: 15px 10px !important;
                font-size: 14px;
                text-align: left;
                border: none !important;
            }

            .ranges-table th:first-child {
                flex: 0 0 35%;
                border-right: 2px solid rgba(255, 255, 255, 0.2) !important;
            }

            .ranges-table th:nth-child(2) {
                flex: 1 1 65%;
            }

            .ranges-table th.desktop-only-h {
                display: none;
            }


            .ranges-table tbody {
                display: grid;
                grid-template-columns: 35% 65%;
            }

            .ranges-table tbody tr {
                display: contents;
            }

            .ranges-table td {
                padding: 15px 10px !important;
                font-size: 14px;
                border: none !important;
                border-bottom: 2px solid #f1f3f5 !important;
            }

            .ranges-table td:nth-child(1),
            .ranges-table td:nth-child(3) {
                border-right: 2px solid #f1f3f5 !important;
            }

            .ranges-table tbody tr:nth-child(1) td:nth-child(1),
            .ranges-table tbody tr:nth-child(1) td:nth-child(2) {
                order: 1;
            }

            .ranges-table tbody tr:nth-child(2) td:nth-child(1),
            .ranges-table tbody tr:nth-child(2) td:nth-child(2) {
                order: 2;
            }

            .ranges-table tbody tr:nth-child(3) td:nth-child(1),
            .ranges-table tbody tr:nth-child(3) td:nth-child(2) {
                order: 3;
            }

            .ranges-table tbody tr:nth-child(4) td:nth-child(1),
            .ranges-table tbody tr:nth-child(4) td:nth-child(2) {
                order: 4;
            }

            .ranges-table tbody tr:nth-child(5) td:nth-child(1),
            .ranges-table tbody tr:nth-child(5) td:nth-child(2) {
                order: 5;
            }

            .ranges-table tbody tr:nth-child(1) td:nth-child(3),
            .ranges-table tbody tr:nth-child(1) td:nth-child(4) {
                order: 6;
            }

            .ranges-table tbody tr:nth-child(2) td:nth-child(3),
            .ranges-table tbody tr:nth-child(2) td:nth-child(4) {
                order: 7;
            }

            .ranges-table tbody tr:nth-child(3) td:nth-child(3),
            .ranges-table tbody tr:nth-child(3) td:nth-child(4) {
                order: 8;
            }

            .ranges-table tbody tr:nth-child(4) td:nth-child(3),
            .ranges-table tbody tr:nth-child(4) td:nth-child(4) {
                order: 9;
            }

            .ranges-table tbody tr:nth-child(5) td:nth-child(3),
            .ranges-table tbody tr:nth-child(5) td:nth-child(4) {
                order: 10;
            }


            .divider-left {
                border-top: 1px solid #f1f3f5;
            }


            .table-disclaimer {
                flex: 1 1 100% !important;
                text-align: center;
                padding: 15px !important;
            }

            .table-disclaimer-content {
                align-items: flex-start;
            }

            .table-disclaimer-content svg {
                height: 20px;
                width: 20px;
            }

            .table-disclaimer-content em {
                font-size: 10px;
                text-align: left;
            }

            .score-range-cell {
                font-size: 16px;
            }

            .important-context-header {
                margin-bottom: 8px;
                gap: 4px;
            }

            .important-context-header strong {
                font-size: 12px;
            }

            .important-context-header svg {
                height: 14px;
                width: 14px;
            }

            .important-context-description {
                font-size: 12px;
                line-height: 20px;
            }

            .tabs-container {
                padding: 20px;
            }

            .tabs-header {
                display: flex;
                flex-wrap: nowrap;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                padding-bottom: 15px;
                scrollbar-width: none;
                -ms-overflow-style: none;
                margin-bottom: 20px;
            }

            .tabs-header::-webkit-scrollbar {
                display: none;
            }

            .tab-button {
                flex-shrink: 0;
                white-space: nowrap;
            }


            .tab-content-header {
                flex-direction: column;
                align-items: flex-start;
            }


            .tab-content-title {
                font-size: 18px;
            }

            .sat-content li {
                font-size: 18px;
                line-height: 29px;
                padding: 4px 0 4px 30px;
            }

            .sat-content ul:last-child {
                margin-bottom: 0;
            }

            .cta-banner-content h2 {
                font-size: 24px;
                line-height: 38px;
                margin-bottom: 10px;
            }

            .cta-banner-content p {
                font-size: 18px;
                line-height: 29px;
            }

            .cta-banner-content p:last-child {
                font-size: 14px;
                line-height: 22px;
                margin-top: 12px;
            }

            .faq-layout {
                grid-template-columns: 1fr;
                gap: 0;
            }

            .faq-image-col img {
                display: none;
            }

            .faq-title {
                font-size: 24px;
                line-height: 38px;
            }

            .footer-section {
                padding: 20px;
            }

            .footer-section .container {
                padding: 0;
            }

            .footer-section p:first-child {
                margin-bottom: 6px;
            }
        }

        @media (max-width: 375px) {
            .cta-card-button {
                padding: 8px 10px;
                font-size: 14px;
            }
        }

/* ════════════════════════════════════════════════════════════════════════════
   Bricks integration reset (galv calc v1) — neutralise the brxe-container /
   .brxe-text wrappers so the comp sections go full-bleed, scoped to calculator
   singles. Same pattern as the other comp-verbatim templates.
   ════════════════════════════════════════════════════════════════════════════ */
body.single-calculator #brx-content.brxe-container,
body.single-calculator .brxe-text {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
    gap: 0 !important;
    align-items: stretch !important;
}
body.single-calculator #brx-content.brxe-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
body.single-calculator {
    font-family: 'Inter', system-ui, sans-serif;
    color: #333;
}

/* ── Spacing fixes (Ram 6/12 eyeball) ───────────────────────────────────────
   (1) The comp's unscoped `section{padding:60px 0}` leaks into the Bricks global
       header's <section.brxe-section>, inflating it 60px -> 180px (whitespace
       above the nav). Re-isolate the header/footer chrome.
   (2) Reduce the first calculator section's top padding so the headline sits
       closer under the sticky header.
   ⚠ Hardening TODO: the comp uses several unscoped element selectors (section,
   a, h1-h3, body) that leak into the global chrome — scope them to #brx-content
   at the generalization pass so no comp rule can touch the header/footer. */
body.single-calculator header section,
body.single-calculator footer section {
    padding: 0 !important;
}
body.single-calculator section:has(.calculator-header) {
    padding-top: 24px;
}

/* ── Heading hierarchy (Ram 6/12): page H1 prominent, section H2s a clear step down.
   The comp made the page title an <h2.section-title> at 36px — same as the
   .university-ranges-title section heading (the clash Ram flagged). Promote to H1
   + size it up; bring the section headings down. ───────────────────────────── */
body.single-calculator .calculator-header .section-title {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    color: #3b5bff;   /* restore the comp's blue headline (the <h1> tag picked up the theme's dark h1 color) */
    text-align: center;   /* Ram 6/12: the <h1> picked up the theme's left-align; centre it like the subtitle */
}

/* ── Tool clarity (Ram 6/12): heading + helper + editable number inputs. The value
   boxes are now <input> (type a number OR drag the slider). ─────────────────── */
.calc-tool-instruction {
    text-align: center;
    margin-bottom: 18px;
}
.calc-tool-heading {
    font-size: 22px;
    color: #13217c;
    font-weight: 600;
    margin-bottom: 6px;
}
.calc-tool-help {
    font-size: 14px;
    color: #5b6473;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
}
body.single-calculator input.slider-value {
    width: 72px;
    flex: 0 0 72px;          /* inputs don't shrink-to-content like the comp's div did — pin the width so the slider keeps its track */
    text-align: center;
    color: #3b5bff;
    font-weight: 600;
    border: 1.5px solid #c7d2fe;
    background: #fff;
    cursor: text;
    -moz-appearance: textfield;
}
body.single-calculator .slider-container {
    flex: 1 1 auto;          /* reclaim the row width for the slider track */
}

/* Tooltip on the tool heading (Ram 6/12) — short heading + the explanation on hover/tap. */
.calc-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 5px;
    color: #8a93a6;
    cursor: help;
}
.calc-tip-text {
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    background: #13217c;
    color: #fff;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(19, 33, 124, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s;
    z-index: 30;
}
.calc-tip:hover .calc-tip-text,
.calc-tip:focus .calc-tip-text,
.calc-tip:focus-within .calc-tip-text {
    opacity: 1;
    visibility: visible;
}
.percentile-note {
    font-size: 13px;
    color: #5b6473;
    line-height: 1.55;
    margin: 10px 0 0;
}
/* (#2) clickable affordance — the score-range cells switch the university tab on click. */
body.single-calculator .ranges-table .score-range-cell,
body.single-calculator .ranges-table .admission-cell {
    cursor: pointer;
}
body.single-calculator .ranges-table tbody tr:hover td {
    background: #eef2ff;
}
body.single-calculator input.slider-value:focus {
    outline: none;
    border-color: #3b5bff;
    box-shadow: 0 0 0 3px rgba(59, 91, 255, 0.15);
}
body.single-calculator input.slider-value::-webkit-outer-spin-button,
body.single-calculator input.slider-value::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ── (3a) Reorder: push the "Important Context" box below the tabs + university lists
   (Ram 6/12 — it was sitting between the table and the lists). ───────────────── */
body.single-calculator .tabs-container {
    display: flex;
    flex-direction: column;
}
body.single-calculator .tabs-container .tabs-header { order: 0; }
body.single-calculator .tabs-container .tab-content { order: 1; }
body.single-calculator .tabs-container .important-context-box {
    order: 9;
    margin-top: 24px;
}

/* ── (4) Mid-page CTA band ───────────────────────────────────────────────────── */
.calc-mid-cta {
    padding: 44px 0;
    background: #13217c;
}
.calc-mid-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.calc-mid-cta-text {
    flex: 1 1 420px;
}
.calc-mid-cta-text h2 {
    color: #fff;
    font-size: 26px;
    margin-bottom: 8px;
}
.calc-mid-cta-text p {
    color: #d9e0ff;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}
.calc-mid-cta-btn {
    flex: 0 0 auto;
    background: #cc00cc;
    color: #fff;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.2s;
}
.calc-mid-cta-btn:hover {
    background: #a600a6;
}
@media (max-width: 700px) {
    .calc-mid-cta-inner { flex-direction: column; text-align: center; align-items: stretch; }
}
body.single-calculator .university-ranges-title,
body.single-calculator .sat-percentiles .section-title,
body.single-calculator .related-tools .section-title {
    font-size: clamp(24px, 2.8vw, 30px);
}

/* ── SEO/GEO additions (galv calc v1, 2026-06-12) — quick-answer block, percentile
   section, internal-links cluster. Not in the comp; styled on the comp palette. ── */
.calc-quick-answer {
    max-width: 760px;
    margin: 18px auto 0;
    padding: 16px 22px;
    background: #f7f9ff;
    border-left: 4px solid #3b5bff;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.65;
    color: #333;
    text-align: left;
}
.sat-percentiles {
    padding: 50px 0;
    background: #fff;
}
.percentile-intro {
    max-width: 860px;
    margin: 0 auto 28px;
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    text-align: center;
}
.percentile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}
.percentile-col-title {
    font-size: 18px;
    color: #13217c;
    margin-bottom: 12px;
    font-weight: 600;
}
.percentile-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    border: 1px solid #e6ebff;
}
.percentile-table th {
    background: #13217c;
    color: #fff;
    text-align: left;
    padding: 12px 14px;
    font-weight: 600;
}
.percentile-table td {
    padding: 10px 14px;
    border-top: 1px solid #eef1f6;
    color: #333;
}
.percentile-table tr:nth-child(even) td {
    background: #f7f9ff;
}
.percentile-source {
    max-width: 900px;
    margin: 22px auto 0;
    font-size: 13px;
    color: #5b6473;
    text-align: center;
}
.verify-flag {
    color: #cc5500;
}
.related-tools {
    padding: 50px 0;
    background: #e6ebff;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 24px;
}
.related-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    border: 1px solid #dfe5ff;
    border-radius: 12px;
    padding: 18px 20px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(19, 33, 124, 0.08);
}
.related-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #3b5bff;
}
.related-card-desc {
    font-size: 14px;
    color: #5b6473;
    line-height: 1.5;
}
@media (max-width: 900px) {
    .percentile-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .related-grid { grid-template-columns: 1fr; }
}
