.pcse-page {
    margin: 0 !important;
    background: #fff !important;
    color: #172d61;
    font-family: "DM Sans", sans-serif !important;
    -webkit-font-smoothing: antialiased;
}
.pcse-page *, .pcse-page *::before, .pcse-page *::after { box-sizing: border-box; }
.pcse-page input, .pcse-page button { font: inherit; }
.pcse-page a { color: inherit; }
.pcse-root {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(90deg, #fff 0 66.6%, #fcf8f6 66.6% 100%);
}
.pcse-root::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 33.4%;
    background: radial-gradient(circle at 100% 22%, #f9ece7 0, transparent 50%), radial-gradient(circle at 14% 90%, #f7eee9 0, transparent 52%);
    pointer-events: none;
}
.pcse-layout {
    position: relative;
    z-index: 1;
    width: min(100%, 1040px);
    margin: 0 auto;
    padding: 54px 14px 90px;
    display: grid;
    grid-template-columns: minmax(0, 488px) minmax(0, 514px);
    grid-template-areas: "story aside" "details aside";
    column-gap: 28px;
    row-gap: 0;
    align-items: start;
}
.pcse-story { grid-area: story; min-width: 0; padding: 0 4px; }
.pcse-brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none !important;
    color: #172d61 !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}
.pcse-mark {
    width: 66px;
    height: 66px;
    flex: none;
    display: block;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 2px 10px #172d611a;
}
.pcse-story-body { margin-top: 48px; max-width: 460px; }
.pcse-story h1, .pcse-card h2, .pcse-attendee h3, .pcse-receipt h1 {
    color: #162e64;
    font-family: "DM Sans", sans-serif;
    letter-spacing: -.025em;
}
.pcse-story h1 { font-size: 26px; line-height: 1.35; font-weight: 700; margin: 0 0 21px; }
.pcse-accent { display: block; width: 30px; height: 4px; background: #f6e1d7; margin-bottom: 26px; }
.pcse-editor-content { color: #243a70; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.pcse-editor-content h2, .pcse-editor-content h3, .pcse-editor-content h4 {
    color: #172d61;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
    margin: 21px 0 6px;
}
.pcse-editor-content p { margin: 0 0 19px; }
.pcse-editor-content ul, .pcse-editor-content ol { padding-left: 35px; margin: 9px 0 18px; }
.pcse-editor-content li { padding-left: 1px; margin: 0 0 11px; }
.pcse-details { grid-area: details; min-width: 0; padding: 0 4px; }
.pcse-contact { display: grid; gap: 6px; margin: 42px 0 0; font-size: 14px; line-height: 1.55; }
.pcse-contact a { text-decoration: none; width: fit-content; }
.pcse-contact a:hover { text-decoration: underline; }
.pcse-legal { max-width: 455px; margin-top: 43px; color: #66728b; font-size: 13px; line-height: 1.6; }
.pcse-legal strong { color: #172d61; font-size: 14px; }
.pcse-legal p { margin: 9px 0 0; }
.pcse-legal a { color: #c2435a; font-weight: 600; text-underline-offset: 2px; }
.pcse-aside { grid-area: aside; min-width: 0; padding-top: 91px; }
.pcse-card { width: 100%; background: #fff; box-shadow: 0 16px 38px #24304a1b; }
.pcse-card-body { padding: 33px 35px 0; }
.pcse-card h2 { font-size: 19px; line-height: 1.35; font-weight: 700; margin: 0 0 22px; }
.pcse-card .pcse-accent { margin-bottom: 29px; }
.pcse-form-row {
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 0 0 27px;
}
.pcse-form-row label, .pcse-choice legend { font-size: 13px; color: #334875; font-weight: 600; letter-spacing: .01em; }
.pcse-form-row label span { color: #e35b65; }
.pcse-form-row input {
    display: block;
    width: 100%;
    height: 44px;
    border: 1px solid #dce0e7;
    border-radius: 5px;
    padding: 9px 12px;
    outline: none;
    background: #fff;
    color: #172d61;
    font-size: 14px;
}
.pcse-form-row input:focus-visible, .pcse-phone:focus-within { border-color: #d85c70; box-shadow: 0 0 0 3px #fbe7e9; }
.pcse-form-row input[readonly] { border-color: #e6e8ef; background: #f8f9fc; font-weight: 700; }
.pcse-phone { display: flex; align-items: center; height: 44px; border: 1px solid #dce0e7; border-radius: 5px; overflow: hidden; }
.pcse-phone span { display: grid; place-items: center; align-self: stretch; min-width: 80px; border-right: 1px solid #dce0e7; background: #fbfbfd; color: #243a70; font-size: 13px; white-space: nowrap; }
.pcse-phone input { flex: 1; min-width: 0; height: 42px; border: 0; border-radius: 0; box-shadow: none !important; }
.pcse-choice { border: 0; padding: 0; min-width: 0; margin: 8px 0 27px; }
.pcse-choice legend { float: left; width: 38%; padding: 8px 0; }
.pcse-choice-options { display: flex; gap: 17px; align-items: center; padding-left: 10px; min-height: 38px; }
.pcse-choice-option { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; font-size: 13px; color: #243a70; white-space: nowrap; }
.pcse-choice-option input { margin: 0; accent-color: #e54f68; cursor: pointer; }
.pcse-choice-option:focus-within { outline: 2px solid #8495bb; outline-offset: 3px; }
.pcse-attendee { border-top: 1px solid #edf0f3; padding-top: 20px; }
.pcse-attendee[hidden], .pcse-notice[hidden] { display: none !important; }
.pcse-attendee h3 { font-size: 15px; font-weight: 700; margin: 0 0 23px; }
.pcse-consent { display: flex; align-items: flex-start; gap: 9px; margin: 8px 0 0; color: #566381; font-size: 12px; line-height: 1.55; }
.pcse-consent input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #e54f68; cursor: pointer; }
.pcse-consent label { cursor: pointer; }
.pcse-consent a { color: #be3e56; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.pcse-consent a:hover { color: #922d43; }
.pcse-trap { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.pcse-notice { margin: 0 0 17px; padding: 12px; border: 1px solid #edb7b7; background: #fff6f6; color: #8c2735; font-size: 13px; line-height: 1.5; }
.pcse-card-footer { display: flex; align-items: stretch; justify-content: space-between; margin: 30px -35px 0; min-height: 62px; background: #f9f7f6; border-top: 1px solid #f2eae7; }
.pcse-payment-methods { display: block; align-self: center; width: 200px; max-width: 49%; height: auto; max-height: 27px; object-fit: contain; object-position: left center; margin-left: 35px; }
.pcse-page .pcse-pay {
    appearance: none;
    border: 0 !important;
    border-radius: 0 !important;
    min-width: 39%;
    padding: 12px 19px;
    background: #e54f68 !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease;
}
.pcse-page .pcse-pay:hover { background: #c63e58 !important; }
.pcse-pay:focus-visible { outline: 3px solid #172d61; outline-offset: -4px; }
.pcse-pay:disabled { opacity: .65; cursor: wait; }
.pcse-receipt { position: relative; z-index: 1; width: min(520px, calc(100% - 32px)); margin: 13vh auto; padding: 42px 30px; background: #fff; box-shadow: 0 14px 30px #15214519; text-align: center; }
.pcse-receipt-icon { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 20px; border-radius: 50%; background: #247751; color: #fff; font-size: 21px; }
.pcse-receipt h1 { margin: 0 0 12px; font-size: 25px; }
.pcse-receipt p { color: #536380; line-height: 1.6; }
.pcse-secondary-link { display: inline-block; margin-top: 13px; font-weight: 700; color: #172d61 !important; }
.pcse-mobile-cta { display: none; }
.pcse-mobile-cta[hidden] { display: none !important; }
.pcse-modal-open { overflow: hidden !important; }
.pcse-error-modal[hidden] { display: none !important; }
.pcse-error-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}
.pcse-page .pcse-error-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(12, 25, 52, .48) !important;
    -webkit-backdrop-filter: blur(9px) saturate(115%);
    backdrop-filter: blur(9px) saturate(115%);
    cursor: default;
}
.pcse-page .pcse-error-dialog {
    position: relative;
    z-index: 1;
    width: calc(100% - 32px) !important;
    max-width: 470px !important;
    min-height: 0 !important;
    padding: 38px 34px 30px !important;
    border: 1px solid rgba(255, 255, 255, .78) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .82) !important;
    -webkit-backdrop-filter: blur(24px) saturate(145%);
    backdrop-filter: blur(24px) saturate(145%);
    box-shadow: 0 26px 80px rgba(10, 22, 48, .28), inset 0 1px 0 rgba(255, 255, 255, .92) !important;
    color: #172d61;
    text-align: center;
    overflow: hidden;
}
.pcse-page .pcse-error-close {
    position: absolute;
    top: 15px;
    right: 15px;
    display: grid;
    place-items: center;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, .85) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .62) !important;
    box-shadow: 0 7px 18px rgba(21, 33, 69, .1) !important;
    color: #465574 !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1;
    cursor: pointer;
}
.pcse-error-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 21px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    background: rgba(255, 236, 240, .82);
    box-shadow: 0 12px 28px rgba(196, 63, 88, .14), inset 0 1px 0 #fff;
    color: #c43f58;
    font-size: 26px;
    font-weight: 700;
}
.pcse-page .pcse-error-dialog h2 {
    margin: 0 30px 12px !important;
    color: #172d61;
    font-family: "DM Sans", sans-serif;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.28 !important;
}
.pcse-page .pcse-error-dialog p {
    margin: 0 auto !important;
    max-width: 370px;
    color: #5e6980;
    font-size: 15px !important;
    line-height: 1.55 !important;
    overflow-wrap: anywhere;
}
.pcse-page .pcse-error-action {
    width: 100% !important;
    max-width: 240px;
    min-height: 48px !important;
    margin: 26px auto 0 !important;
    padding: 11px 22px !important;
    border: 1px solid rgba(214, 62, 91, .28) !important;
    border-radius: 10px !important;
    background: rgba(229, 79, 104, .94) !important;
    box-shadow: 0 12px 26px rgba(197, 57, 82, .2) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer;
}
.pcse-page .pcse-error-action:hover { background: #d74660 !important; }
.pcse-error-close:focus-visible, .pcse-error-action:focus-visible { outline: 3px solid #172d61; outline-offset: 2px; }
@media (max-width: 800px) {
    .pcse-root { background: #fff; }
    .pcse-root::before { display: none; }
    .pcse-layout { display: flex; flex-direction: column; gap: 30px; padding: 26px 20px 52px; }
    .pcse-story, .pcse-aside, .pcse-details { width: 100%; padding: 0; }
    .pcse-story-body { max-width: none; margin-top: 32px; }
    .pcse-story h1 { font-size: 24px; }
    .pcse-editor-content { font-size: 14px; }
    .pcse-contact { margin-top: 0; }
    .pcse-legal { margin-top: 28px; }
    .pcse-card { border: 1px solid #eaecef; }
    .pcse-page .pcse-mobile-cta {
        position: fixed;
        z-index: 50;
        bottom: max(16px, env(safe-area-inset-bottom));
        left: 50%;
        transform: translateX(-50%);
        display: block;
        width: min(440px, calc(100% - 32px));
        min-height: 52px;
        padding: 12px 18px;
        border: 0;
        border-radius: 7px;
        background: #e54f68;
        color: #fff;
        box-shadow: 0 8px 24px #97304f42;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
    }
    .pcse-page .pcse-mobile-cta:focus-visible { outline: 3px solid #172d61; outline-offset: 3px; }
}
@media (max-width: 480px) {
    .pcse-layout { padding: 20px 15px 46px; }
    .pcse-brand { font-size: 13px; gap: 10px; }
    .pcse-mark { width: 52px; height: 52px; }
    .pcse-story-body { margin-top: 27px; }
    .pcse-story h1 { font-size: 22px; }
    .pcse-card-body { padding: 24px 17px 0; }
    .pcse-card h2 { font-size: 18px; }
    .pcse-form-row { grid-template-columns: 29% minmax(0, 1fr); gap: 5px; margin-bottom: 19px; }
    .pcse-form-row label, .pcse-choice legend { font-size: 12px; }
    .pcse-phone span { min-width: 66px; font-size: 11px; }
    .pcse-choice legend { width: 29%; }
    .pcse-choice-options { gap: 11px; padding-left: 5px; }
    .pcse-choice-option { font-size: 11px; gap: 4px; }
    .pcse-card-footer { margin: 27px -17px 0; }
    .pcse-payment-methods { margin-left: 14px; max-width: 43%; max-height: 21px; }
    .pcse-pay { min-width: 43%; padding: 12px 8px; font-size: 12px; }
    .pcse-error-modal { padding: 14px; }
    .pcse-page .pcse-error-dialog { width: 100% !important; padding: 34px 20px 23px !important; border-radius: 18px !important; }
    .pcse-page .pcse-error-dialog h2 { font-size: 21px !important; }
    .pcse-page .pcse-error-dialog p { font-size: 14px !important; }
}
