.crp-portal {
    max-width: 720px;
    margin: 2rem 0;
    color: #17212b;
}

.crp-access-form,
.crp-file-list {
    border: 1px solid #d7dee6;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(23, 33, 43, 0.06);
}

.crp-access-form {
    padding: 1.25rem;
}

.crp-access-form label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 700;
}

.crp-code-row {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.crp-code-row input {
    min-width: 0;
    flex: 1 1 auto;
    border: 1px solid #b8c3cf;
    border-radius: 6px;
    padding: 0.75rem 0.85rem;
    font: inherit;
}

.crp-code-row button,
.crp-file-list a {
    border: 0;
    border-radius: 6px;
    background: #176b5b;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    padding: 0.75rem 1rem;
    text-decoration: none;
}

.crp-code-row button:hover,
.crp-code-row button:focus,
.crp-file-list a:hover,
.crp-file-list a:focus {
    background: #105145;
    color: #ffffff;
}

.crp-message {
    margin: 1rem 0 0;
    color: #8a2c2c;
}

.crp-resource-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.crp-resource-header h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.crp-resource-copy {
    margin-bottom: 1.25rem;
}

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

.crp-file-list li {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.crp-file-list li + li {
    border-top: 1px solid #e7ecf1;
}

.crp-file-list span {
    overflow-wrap: anywhere;
}

@media (max-width: 560px) {
    .crp-code-row,
    .crp-resource-header,
    .crp-file-list li {
        align-items: stretch;
        flex-direction: column;
    }

    .crp-code-row button,
    .crp-file-list a {
        text-align: center;
    }
}
