.ath-cf {
    --cf-ink: #102027;
    --cf-muted: #52636a;
    --cf-c1: var(--ctl-c1, #0f6c7f);
    --cf-c2: var(--ctl-c2, #65b7ad);
    --cf-border: color-mix(in srgb, var(--cf-c1) 20%, #d7dfe2);
    --cf-soft: color-mix(in srgb, var(--cf-c2) 10%, #f7faf9);
    color: var(--cf-ink)
}

.ath-cfStudentProfile {
    display: grid;
    grid-template-columns: minmax(150px, .42fr) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    margin: 0 0 16px;
    padding: 16px;
    border: 1px solid var(--cf-border);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff, var(--cf-soft));
    box-shadow: 0 12px 28px rgba(30, 56, 62, .055)
}

.ath-cfStudentProfile__media {
    min-height: 150px;
    overflow: hidden;
    border-radius: 13px;
    background: var(--cf-soft)
}

.ath-cfStudentProfile__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 150px;
    object-fit: cover
}

.ath-cfStudentProfile.is-compact {
    grid-template-columns: 1fr
}

.ath-cfStudentProfile__body {
    min-width: 0;
    align-self: center
}

.ath-cfStudentProfile__identity {
    display: flex;
    gap: 12px;
    align-items: center
}

.ath-cfStudentProfile__identity>img,
.ath-cfStudentProfile__avatar {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    color: var(--cf-c1);
    background: var(--cf-soft);
    font-size: 20px;
    font-weight: 850
}

.ath-cfStudentProfile__identity>img {
    object-fit: cover
}

.ath-cfStudentProfile__eyebrow,
.ath-cfPanel header>span,
.ath-cfSupporters header>span,
.ath-cfDirectory>header span,
.ath-cfReceipt__hero>span {
    display: block;
    margin-bottom: 8px;
    color: var(--cf-c1);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase
}

.ath-cfStudentProfile__identity h2 {
    margin: 2px 0 0;
    color: #0a171c;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1;
    letter-spacing: -.04em
}

.ath-cfDirectory h2,
.ath-cfReceipt h1 {
    margin: 0;
    color: #0a171c;
    font-size: clamp(24px, 3vw, 36px);
    line-height: .98;
    letter-spacing: -.045em
}

.ath-cfStudentProfile__handle {
    display: inline-block;
    margin-top: 5px;
    color: var(--cf-c1);
    font-size: 12px;
    font-weight: 800
}

.ath-cfStudentProfile__details {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px
}

.ath-cfStudentProfile__details span {
    min-width: 105px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .7)
}

.ath-cfStudentProfile__details small,
.ath-cfStudentProfile__details strong {
    display: block
}

.ath-cfStudentProfile__details small {
    color: var(--cf-muted);
    font-size: 9px;
    text-transform: uppercase
}

.ath-cfStudentProfile__details strong {
    margin-top: 2px;
    font-size: 11px
}

.ath-cfStudentProfile__note,
.ath-cfStudentProfile__story {
    margin: 12px 0 0;
    color: var(--cf-muted);
    font-size: 12px;
    line-height: 1.5
}

.ath-cfStudentProfile__story {
    margin-top: 5px
}

.ath-cfProgress {
    height: 9px;
    margin: 18px 0;
    overflow: hidden;
    border-radius: 999px;
    background: #e6ecec
}

.ath-cfProgress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cf-c1), var(--cf-c2))
}

.ath-cfImpactSummary {
    margin-bottom: 14px
}

.ath-cfImpactSummary header {
    margin: 0
}

.ath-cfImpactSummary header strong {
    display: block;
    color: #08252d;
    font-size: clamp(30px, 4vw, 42px);
    letter-spacing: -.04em
}

.ath-cfImpactSummary header p {
    margin: 2px 0 0;
    color: var(--cf-muted);
    font-size: 13px
}

.ath-cfImpactSummary .ath-cfProgress {
    margin: 14px 0
}

.ath-cfImpactSummary__stats {
    display: flex;
    gap: 18px;
    color: var(--cf-muted);
    font-size: 12px
}

.ath-cfImpactSummary__stats b {
    display: block;
    color: var(--cf-ink);
    font-size: 17px
}

.ath-cfStory {
    max-width: 820px;
    margin: 0 auto 24px;
    color: var(--cf-muted);
    line-height: 1.7
}

.ath-cfLayout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, .62fr);
    gap: 20px;
    align-items: start
}

.ath-cfPanel {
    padding: 24px;
    border: 1px solid var(--cf-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(30, 56, 62, .07)
}

.ath-cfPanel header h2,
.ath-cfPanel header h3,
.ath-cfSupporters h2,
.ath-cfDirectory h3 {
    margin: 0;
    color: #0b1d22;
    font-size: 25px;
    letter-spacing: -.025em
}

.ath-cfPanel header p {
    margin: 7px 0 0;
    color: var(--cf-muted)
}

.ath-cfAmounts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0;
    padding: 0;
    border: 0
}

.ath-cfAmounts legend {
    width: 100%;
    margin-bottom: 7px;
    color: #34474d;
    font-size: 12px;
    font-weight: 800
}

.ath-cfAmounts label {
    position: relative
}

.ath-cfAmounts label:not(.is-custom) input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.ath-cfAmounts label:not(.is-custom) span {
    display: block;
    padding: 11px 14px;
    border: 1px solid var(--cf-border);
    border-radius: 12px;
    cursor: pointer;
    color: #1f373e;
    background: var(--cf-soft);
    font-weight: 800
}

.ath-cfAmounts label:not(.is-custom) input:checked+span {
    border-color: var(--cf-c1);
    color: #fff;
    background: var(--cf-c1)
}

.ath-cfAmounts .is-custom {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 150px;
    padding: 4px 6px 4px 12px;
    border: 1px solid var(--cf-border);
    border-radius: 12px;
    color: var(--cf-muted);
    font-size: 12px;
    font-weight: 700
}

.ath-cfAmounts .is-custom input {
    width: 90px;
    min-height: 34px;
    padding: 5px;
    border: 0;
    outline: 0;
    background: transparent;
    font-weight: 800
}

.ath-cfFields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
}

.ath-cfFields label {
    display: grid;
    gap: 6px;
    color: #354a50;
    font-size: 12px;
    font-weight: 750
}

.ath-cfFields small {
    color: #819095;
    font-weight: 500
}

.ath-cfFields input {
    width: 100%;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid var(--cf-border);
    border-radius: 10px;
    background: #fbfcfc;
    color: var(--cf-ink);
    box-sizing: border-box
}

.ath-cfFields input:focus {
    border-color: var(--cf-c1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cf-c1) 13%, transparent);
    outline: 0
}

.ath-cfChecks {
    display: grid;
    gap: 8px;
    margin: 16px 0;
    color: var(--cf-muted);
    font-size: 13px
}

.ath-cfChecks label {
    display: flex;
    gap: 8px;
    align-items: center
}

.ath-cfPrivacy {
    margin: 16px 0;
    padding: 14px;
    border-left: 3px solid var(--cf-c2);
    border-radius: 0 12px 12px 0;
    background: var(--cf-soft)
}

.ath-cfPrivacy strong {
    color: #17383e;
    font-size: 13px
}

.ath-cfPrivacy p {
    margin: 4px 0 0;
    color: var(--cf-muted);
    font-size: 12px;
    line-height: 1.55
}

.ath-cfForm>button {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--cf-c1), color-mix(in srgb, var(--cf-c1) 70%, var(--cf-c2)));
    font-weight: 800;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--cf-c1) 20%, transparent)
}

.ath-cfImpact ol {
    display: grid;
    gap: 14px;
    margin: 20px 0;
    padding: 0;
    list-style: none
}

.ath-cfImpact li {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 10px
}

.ath-cfImpact li>b {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    color: var(--cf-c1);
    background: var(--cf-soft);
    font-size: 12px
}

.ath-cfImpact li strong,
.ath-cfImpact li span {
    display: block
}

.ath-cfImpact li strong {
    font-size: 13px
}

.ath-cfImpact li span {
    margin-top: 2px;
    color: var(--cf-muted);
    font-size: 12px;
    line-height: 1.45
}

.ath-cfImpact__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 16px 0
}

.ath-cfImpact__stats span {
    padding: 12px;
    border-radius: 12px;
    background: var(--cf-soft)
}

.ath-cfImpact__stats small,
.ath-cfImpact__stats strong {
    display: block
}

.ath-cfImpact__stats small {
    color: var(--cf-muted);
    font-size: 10px;
    text-transform: uppercase
}

.ath-cfImpact__stats strong {
    margin-top: 3px;
    font-size: 18px
}

.ath-cfImpact>a {
    display: block;
    color: var(--cf-c1);
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none
}

.ath-cfSupporters,
.ath-cfDirectory {
    margin-top: 22px;
    padding: 24px;
    border: 1px solid var(--cf-border);
    border-radius: 20px;
    background: #fff
}

.ath-cfSupporters>div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 16px
}

.ath-cfSupporters article {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 11px;
    border: 1px solid var(--cf-border);
    border-radius: 13px;
    background: var(--cf-soft)
}

.ath-cfSupporters i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    color: var(--cf-c1);
    background: #fff;
    font-style: normal;
    font-weight: 800
}

.ath-cfSupporters strong,
.ath-cfSupporters span {
    display: block
}

.ath-cfSupporters strong {
    font-size: 12px
}

.ath-cfSupporters span {
    color: var(--cf-muted);
    font-size: 10px
}

.ath-cfSupporters mark {
    margin-left: auto;
    color: var(--cf-c1);
    background: transparent;
    font-size: 11px;
    font-weight: 800
}

.ath-cfNotice {
    margin: 0 0 16px;
    padding: 13px 15px;
    border: 1px solid var(--cf-border);
    border-radius: 12px;
    color: #345057;
    background: var(--cf-soft);
    font-size: 13px
}

.ath-cfNotice.is-error {
    border-color: #e3b5b2;
    color: #7b2927;
    background: #fff4f3
}

.ath-cfDirectory>header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between
}

.ath-cfDirectory>header p {
    max-width: 720px;
    margin: 7px 0 0;
    color: var(--cf-muted)
}

.ath-cfDirectory>header mark {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--cf-c1);
    background: var(--cf-soft);
    font-size: 11px;
    font-weight: 800
}

.ath-cfDirectory__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px
}

.ath-cfDirectory__grid article {
    padding: 18px;
    border: 1px solid var(--cf-border);
    border-radius: 16px;
    background: linear-gradient(150deg, #fff, var(--cf-soft))
}

.ath-cfDirectory__grid article>span {
    color: var(--cf-c1);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase
}

.ath-cfDirectory__grid h3 {
    margin-top: 7px;
    font-size: 19px
}

.ath-cfDirectory__grid p {
    min-height: 34px;
    color: var(--cf-muted);
    font-size: 11px
}

.ath-cfDirectory__grid strong,
.ath-cfDirectory__grid small {
    display: block
}

.ath-cfDirectory__grid small {
    color: var(--cf-muted);
    font-size: 10px
}

.ath-cfDirectory__grid a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    color: var(--cf-c1);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none
}

.ath-cfDirectoryShell .ath-cfDirectory {
    margin-top: 0
}

.ath-cfEmpty {
    margin-top: 16px;
    padding: 18px;
    border-radius: 13px;
    color: var(--cf-muted);
    background: var(--cf-soft)
}

.ath-cfDirect {
    margin: 0 0 18px;
    padding: 20px;
    border: 1px solid var(--cf-border);
    border-radius: 20px;
    background: linear-gradient(135deg, #fff, var(--cf-soft));
    box-shadow: 0 14px 34px rgba(30, 56, 62, .07)
}

.ath-cfDirect>header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px
}

.ath-cfDirect>header span {
    display: block;
    margin-bottom: 6px;
    color: var(--cf-c1);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase
}

.ath-cfDirect>header h2 {
    margin: 0;
    color: #0b1d22;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1;
    letter-spacing: -.035em
}

.ath-cfDirect>header p {
    max-width: 800px;
    margin: 7px 0 0;
    color: var(--cf-muted);
    font-size: 13px;
    line-height: 1.45
}

.ath-cfDirect__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
}

.ath-cfDirectCard {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 16px;
    border: 1px solid color-mix(in srgb, var(--cf-c1) 18%, var(--cf-border));
    border-radius: 16px;
    background: rgba(255, 255, 255, .9)
}

.ath-cfDirectCard__head span {
    display: block;
    color: var(--cf-c1);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase
}

.ath-cfDirectCard__head h3 {
    margin: 5px 0 0;
    color: #0b1d22;
    font-size: 20px;
    line-height: 1.05;
    letter-spacing: -.025em
}

.ath-cfDirectCard__head p {
    margin: 7px 0 0;
    color: var(--cf-muted);
    font-size: 12px;
    line-height: 1.35
}

.ath-cfDirectCard__total {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 9px 11px;
    border-radius: 12px;
    background: var(--cf-soft)
}

.ath-cfDirectCard__total strong {
    color: var(--cf-c1);
    font-size: 20px;
    letter-spacing: -.03em
}

.ath-cfDirectCard__total small {
    color: var(--cf-muted);
    font-size: 11px;
    font-weight: 750
}

.ath-cfDirectAmounts {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    border: 0
}

.ath-cfDirectAmounts legend {
    width: 100%;
    color: #34474d;
    font-size: 11px;
    font-weight: 900
}

.ath-cfDirectAmounts label {
    position: relative
}

.ath-cfDirectAmounts label:not(.is-custom) {
    flex: 1 1 auto
}

.ath-cfDirectAmounts label:not(.is-custom) input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.ath-cfDirectAmounts label:not(.is-custom) span {
    display: block;
    padding: 9px 10px;
    border: 1px solid var(--cf-border);
    border-radius: 11px;
    cursor: pointer;
    text-align: center;
    color: #1f373e;
    background: #fff;
    font-size: 12px;
    font-weight: 900
}

.ath-cfDirectAmounts label:not(.is-custom) input:checked+span {
    border-color: var(--cf-c1);
    color: #fff;
    background: var(--cf-c1)
}

.ath-cfDirectAmounts .is-custom {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 150px;
    min-width: 150px;
    padding: 4px 6px 4px 10px;
    border: 1px solid var(--cf-border);
    border-radius: 11px;
    color: var(--cf-muted);
    font-size: 11px;
    font-weight: 800;
    background: #fff
}

.ath-cfDirectAmounts .is-custom input {
    width: 100%;
    min-height: 32px;
    padding: 4px;
    border: 0;
    outline: 0;
    background: transparent;
    font-weight: 900
}

.ath-cfDirectFields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px
}

.ath-cfDirectFields label {
    display: grid;
    gap: 5px;
    color: #354a50;
    font-size: 11px;
    font-weight: 800
}

.ath-cfDirectFields small {
    color: #819095;
    font-weight: 600
}

.ath-cfDirectFields input {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid var(--cf-border);
    border-radius: 10px;
    background: #fbfcfc;
    color: var(--cf-ink);
    box-sizing: border-box
}

.ath-cfDirectFields input:focus {
    border-color: var(--cf-c1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cf-c1) 13%, transparent);
    outline: 0
}

.ath-cfDirectCheck {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--cf-muted);
    font-size: 12px;
    font-weight: 750
}

.ath-cfDirectCard button {
    min-height: 42px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--cf-c1), color-mix(in srgb, var(--cf-c1) 70%, var(--cf-c2)));
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--cf-c1) 18%, transparent)
}

.ath-cfReceipt {
    max-width: 1000px;
    margin: 0 auto
}

.ath-cfReceipt__hero {
    padding: 34px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--cf-soft), #fff);
    border: 1px solid var(--cf-border)
}

.ath-cfReceipt__hero p {
    color: var(--cf-muted)
}

.ath-cfReceipt__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0
}

.ath-cfReceipt__grid>div {
    padding: 18px;
    border: 1px solid var(--cf-border);
    border-radius: 16px;
    background: #fff
}

.ath-cfReceipt__grid small,
.ath-cfReceipt__grid strong,
.ath-cfReceipt__grid span {
    display: block
}

.ath-cfReceipt__grid small {
    color: var(--cf-muted);
    text-transform: uppercase;
    font-size: 10px
}

.ath-cfReceipt__grid strong {
    margin: 5px 0;
    font-size: 24px
}

.ath-cfReceipt__grid span {
    color: var(--cf-muted);
    font-size: 11px
}

.ath-cfReceipt__allocation {
    margin: 16px 0;
    padding: 20px;
    border: 1px solid var(--cf-border);
    border-radius: 18px
}

.ath-cfReceipt__allocation article {
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    border-top: 1px solid var(--cf-border)
}

.ath-cfReceipt__allocation span {
    display: block;
    color: var(--cf-muted);
    font-size: 11px
}

.ath-cfReceipt__allocation mark {
    color: var(--cf-c1);
    background: transparent;
    font-weight: 800
}

.ath-cfBack {
    color: var(--cf-c1);
    font-weight: 800;
    text-decoration: none
}

@media(max-width:900px) {

    .ath-cfLayout {
        grid-template-columns: 1fr
    }

    .ath-cfDirectory__grid,
    .ath-cfSupporters>div,
    .ath-cfDirect__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .ath-cfDirectFields {
        grid-template-columns: 1fr
    }
}

@media(max-width:600px) {
    .ath-cfStudentProfile {
        grid-template-columns: 1fr;
        border-radius: 18px
    }

    .ath-cfStudentProfile__media {
        min-height: 150px;
    }

    .ath-cfPanel,
    .ath-cfSupporters,
    .ath-cfDirectory,
    .ath-cfDirect {
        padding: 17px;
        border-radius: 16px
    }

    .ath-cfFields,
    .ath-cfDirectory__grid,
    .ath-cfSupporters>div,
    .ath-cfReceipt__grid,
    .ath-cfDirect__grid {
        grid-template-columns: 1fr
    }

    .ath-cfAmounts label:not(.is-custom),
    .ath-cfDirectAmounts label:not(.is-custom) {
        flex: 1 1 calc(50% - 8px);
        text-align: center
    }

    .ath-cfAmounts .is-custom,
    .ath-cfDirectAmounts .is-custom {
        flex: 1 1 100%;
        justify-content: space-between
    }

    .ath-cfDirectory>header,
    .ath-cfDirect>header {
        display: block
    }

    .ath-cfDirectory>header mark {
        display: inline-block;
        margin-top: 10px
    }
}
