.projection-page {
    margin-top: 24px;
    margin-bottom: 32px;
}

.projection-hero {
    margin-bottom: 24px;
    padding: 28px 32px;
    border-radius: 24px;
    background: linear-gradient(135deg, #d7723f 0%, #efb261 100%);
    color: #ffffff;
    box-shadow: 0 18px 45px rgba(107, 55, 27, 0.18);
}

.projection-hero h1 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.15;
    color: #ffffff;
}

.projection-hero p {
    margin: 0;
    max-width: 760px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.projection-column {
    margin-bottom: 24px;
}

.projection-card,
.projection-scroll-card,
.projection-link-card {
    background: #ffffff;
    border: 1px solid #e8edf2;
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(31, 41, 55, 0.08);
}

.projection-card {
    padding: 24px;
}

.projection-card h3,
.projection-scroll-card h3,
.projection-link-card h3 {
    margin-top: 0;
    margin-bottom: 14px;
    color: #30404d;
}

.projection-summary-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #e8edf2;
    border-radius: 18px;
}

.projection-summary-table th,
.projection-summary-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e8edf2;
    vertical-align: middle;
}

.projection-summary-table th {
    width: 28%;
    background: #f6f8fa;
    color: #465661;
    font-weight: 700;
    text-align: left;
}

.projection-summary-table td {
    color: #30404d;
    background: #ffffff;
}

.projection-summary-table tr:last-child th,
.projection-summary-table tr:last-child td {
    border-bottom: 0;
}

.projection-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.projection-action-button,
.projection-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid #d7723f;
    background: #d7723f;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.projection-action-button:hover,
.projection-action-button:focus,
.projection-action-link:hover,
.projection-action-link:focus {
    border-color: #b95c2f;
    background: #b95c2f;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 0 0 3px rgba(215, 114, 63, 0.18);
}

.projection-scroll-card,
.projection-link-card {
    margin-top: 24px;
    padding: 20px 24px;
}

.projection-scroll-content {
    max-height: 240px;
    overflow: auto;
    padding-bottom: 4px;
}

.projection-scroll-content table {
    width: max-content;
    min-width: 100%;
}

.projection-scroll-hint {
    margin: 0 0 12px;
    color: #60707d;
    font-size: 14px;
}

.projection-scroll-content,
.projection-related-content {
    position: relative;
    max-width: 100%;
    border: 1px solid #e8edf2;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.projection-scroll-content table,
.projection-related-content table {
    width: max-content;
    min-width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.projection-scroll-content th,
.projection-scroll-content td,
.projection-related-content th,
.projection-related-content td {
    padding: 12px 14px;
    white-space: nowrap;
    border-right: 1px solid #e8edf2;
    border-bottom: 1px solid #e8edf2;
    color: #30404d;
    background: #ffffff;
}

.projection-scroll-content th,
.projection-related-content th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f6f8fa;
    color: #465661;
    font-weight: 700;
}

.projection-scroll-content tr:nth-child(even) td,
.projection-related-content tr:nth-child(even) td {
    background: #fbfcfd;
}

.projection-scroll-content tr:hover td,
.projection-related-content tr:hover td {
    background: #fff5ef;
}

.projection-scroll-content tr td:last-child,
.projection-scroll-content tr th:last-child,
.projection-related-content tr td:last-child,
.projection-related-content tr th:last-child {
    border-right: 0;
}

.projection-scroll-content tr:last-child td,
.projection-related-content tr:last-child td {
    border-bottom: 0;
}

.projection-related-content {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
}

.projection-related-content::-webkit-scrollbar,
.projection-scroll-content::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

.projection-related-content::-webkit-scrollbar-thumb,
.projection-scroll-content::-webkit-scrollbar-thumb {
    background: #cfd8df;
    border-radius: 999px;
}

.projection-link-card {
    margin-bottom: 24px;
}

@media (max-width: 991px) {
    .projection-page {
        overflow-x: hidden;
        padding-left: 16px;
        padding-right: 16px;
    }

    .projection-page .row {
        margin-left: -8px;
        margin-right: -8px;
    }

    .projection-page .row > [class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }

    .projection-hero {
        padding: 22px 20px;
    }

    .projection-hero h1 {
        font-size: clamp(22px, 3.2vw, 28px);
    }

    .projection-hero p {
        font-size: clamp(13px, 2vw, 15px);
    }

    .projection-card,
    .projection-scroll-card,
    .projection-link-card {
        padding: 18px;
    }

    .projection-card h3,
    .projection-scroll-card h3,
    .projection-link-card h3 {
        font-size: clamp(17px, 2.2vw, 22px);
    }

    .projection-action-button,
    .projection-action-link {
        min-height: 44px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .projection-page {
        margin-top: 12px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .projection-hero {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .projection-hero h1 {
        font-size: 28px;
    }

    .projection-hero p {
        font-size: 15px;
    }

    .projection-card,
    .projection-scroll-card,
    .projection-link-card {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .projection-page .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    .projection-summary-table,
    .projection-summary-table tbody,
    .projection-summary-table tr,
    .projection-summary-table th,
    .projection-summary-table td {
        display: block;
        width: 100%;
    }

    .projection-summary-table {
        border: 0;
    }

    .projection-summary-table tr {
        margin-bottom: 14px;
        border: 1px solid #e8edf2;
        border-radius: 16px;
        overflow: hidden;
    }

    .projection-summary-table th,
    .projection-summary-table td {
        border-bottom: 1px solid #e8edf2;
    }

    .projection-summary-table tr:last-child {
        margin-bottom: 0;
    }

    .projection-summary-table tr:last-child th,
    .projection-summary-table tr:last-child td:last-child,
    .projection-summary-table tr td:last-child {
        border-bottom: 0;
    }

    .projection-scroll-content {
        max-height: 200px;
    }

    .projection-scroll-content th,
    .projection-scroll-content td,
    .projection-related-content th,
    .projection-related-content td {
        padding: 10px 12px;
        font-size: 13px;
    }
}