.gpah {
    --gpah-ink: #10233f;
    --gpah-muted: #617086;
    --gpah-line: #dfe7ef;
    --gpah-soft: #f5f8fb;
    --gpah-primary: #0d5f9a;
    --gpah-primary-dark: #084a7a;
    --gpah-danger: #b42318;
    --gpah-danger-soft: #fff1f0;
    --gpah-warning: #9a6700;
    --gpah-warning-soft: #fff8e6;
    --gpah-important: #175cd3;
    --gpah-important-soft: #eff6ff;
    --gpah-radius: 22px;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    color: var(--gpah-ink);
    font-family: inherit;
    line-height: 1.55;
    box-sizing: border-box;
}

.gpah--width-small {
    max-width: 760px;
}

.gpah--width-normal {
    max-width: 900px;
}

.gpah--width-large {
    max-width: 1400px;
}

.gpah *,
.gpah *::before,
.gpah *::after {
    box-sizing: border-box;
}

.gpah__hero {
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid var(--gpah-line);
    border-radius: clamp(20px, 3vw, 30px);
    background: linear-gradient(145deg, #ffffff 0%, #f4f9fd 100%);
    box-shadow: 0 18px 45px rgba(16, 35, 63, 0.08);
}

.gpah__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eaf4fb;
    color: var(--gpah-primary-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.gpah__title {
    margin: 14px 0 10px;
    color: var(--gpah-ink);
    font-size: clamp(28px, 4.5vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.gpah__intro {
    max-width: 760px;
    margin: 0;
    color: var(--gpah-muted);
    font-size: clamp(15px, 2vw, 18px);
}

.gpah__global-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 24px;
    padding: 15px 17px;
    border: 1px solid #f2b8b5;
    border-radius: 16px;
    background: var(--gpah-danger-soft);
    color: #7a271a;
}

.gpah__global-alert-icon,
.gpah__safety-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 28px;
    width: 28px;
    min-width: 28px;
    height: 28px;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50%;
    color: #fff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 28px !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-indent: 0 !important;
    transform: none !important;
}

.gpah__global-alert-icon {
    background: #b42318;
}

.gpah__safety--danger .gpah__safety-icon {
    background: #b42318;
}

.gpah__safety--caution .gpah__safety-icon {
    background: #9a6700;
}

.gpah__safety--important .gpah__safety-icon {
    background: #175cd3;
}

.gpah__global-alert strong,
.gpah__global-alert > div > span {
    display: block;
}

.gpah__global-alert > div > span {
    margin-top: 2px;
    font-size: 14px;
}

.gpah__toolbar {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 14px;
    margin-top: 22px;
    padding: 18px;
    border: 1px solid var(--gpah-line);
    border-radius: var(--gpah-radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(16, 35, 63, 0.06);
}

.gpah__search {
    position: relative;
    display: block;
}

.gpah__search svg {
    position: absolute;
    top: 50%;
    left: 18px;
    z-index: 2;
    width: 21px;
    height: 21px;
    transform: translateY(-50%);
    fill: none;
    stroke: #75869a;
    stroke-width: 2;
    stroke-linecap: round;
    pointer-events: none;
}

/*
 * Keep the search field layout isolated from theme / page-builder input styles.
 * Some themes override input padding with higher specificity, which can make
 * the search icon overlap the placeholder.
 */
.gpah .gpah__search input[type="search"] {
    width: 100%;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 12px 16px 12px 50px !important;
    border: 1px solid #ced9e5 !important;
    border-radius: 15px !important;
    outline: 0;
    background: #fff !important;
    color: var(--gpah-ink);
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    text-indent: 0 !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.gpah__search input:focus {
    border-color: var(--gpah-primary);
    box-shadow: 0 0 0 4px rgba(13, 95, 154, .12);
}

.gpah__filters {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 1px 1px 4px;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
}

.gpah__filter {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid var(--gpah-line);
    border-radius: 999px;
    background: #fff;
    color: #405168;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
    transition: .18s ease;
}

.gpah__filter:hover,
.gpah__filter:focus-visible {
    border-color: #b8cadc;
    background: #f8fbfd;
}

.gpah__filter.is-active {
    border-color: var(--gpah-primary);
    background: var(--gpah-primary);
    color: #fff;
    box-shadow: 0 7px 18px rgba(13, 95, 154, .22);
}

.gpah__meta {
    display: flex;
    justify-content: flex-end;
    padding: 12px 3px 8px;
    color: var(--gpah-muted);
    font-size: 13px;
    font-weight: 650;
}

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

.gpah__card {
    overflow: clip;
    align-self: start;
    border: 1px solid var(--gpah-line);
    border-radius: var(--gpah-radius);
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 35, 63, .045);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.gpah__card:not([open]):hover {
    border-color: #c8d7e5;
    transform: translateY(-2px);
    box-shadow: 0 13px 30px rgba(16, 35, 63, .075);
}

.gpah__card[hidden] {
    display: none !important;
}

.gpah__summary {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 34px;
    gap: 13px;
    align-items: start;
    min-height: 148px;
    padding: 20px;
    list-style: none;
    cursor: pointer;
}

.gpah__summary::-webkit-details-marker {
    display: none;
}

.gpah__summary:focus-visible {
    outline: 3px solid rgba(13, 95, 154, .25);
    outline-offset: -3px;
    border-radius: var(--gpah-radius);
}

.gpah__category-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: var(--gpah-soft);
    font-size: 24px;
}

.gpah__summary-copy {
    min-width: 0;
}

.gpah__category,
.gpah__card-title,
.gpah__card-description {
    display: block;
}

.gpah__category {
    margin-bottom: 4px;
    color: var(--gpah-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.gpah__card-title {
    color: var(--gpah-ink);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.gpah__card-description {
    margin-top: 6px;
    color: var(--gpah-muted);
    font-size: 14px;
    line-height: 1.45;
}

.gpah__chevron {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-top: 5px;
    border-radius: 50%;
    background: #f5f8fb;
    transition: transform .2s ease, background .2s ease;
}

.gpah__chevron svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #5f6f82;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gpah__card[open] {
    grid-column: 1 / -1;
    border-color: #c8d8e7;
    box-shadow: 0 16px 38px rgba(16, 35, 63, .08);
}

.gpah__card[open] .gpah__summary {
    min-height: 0;
    border-bottom: 1px solid var(--gpah-line);
    background: #fbfdff;
}

.gpah__card[open] .gpah__chevron {
    background: #eaf4fb;
    transform: rotate(180deg);
}

.gpah__content {
    padding: clamp(18px, 4vw, 30px);
}

.gpah__safety {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 15px 16px;
    border: 1px solid;
    border-radius: 16px;
}

.gpah__safety strong,
.gpah__safety p {
    display: block;
}

.gpah__safety p {
    margin: 3px 0 0;
    font-size: 14px;
}

.gpah__safety--danger {
    border-color: #f2b8b5;
    background: var(--gpah-danger-soft);
    color: #7a271a;
}

.gpah__safety--caution {
    border-color: #f2d58f;
    background: var(--gpah-warning-soft);
    color: #704d00;
}

.gpah__safety--important {
    border-color: #b8d3ff;
    background: var(--gpah-important-soft);
    color: #1849a9;
}

.gpah__steps {
    margin-top: 24px;
}

.gpah__steps-title {
    margin: 0 0 4px;
    color: var(--gpah-ink);
    font-size: 18px;
    font-weight: 700;
}

.gpah__steps-help {
    margin: 0 0 14px;
    color: var(--gpah-muted);
    font-size: 13px;
    line-height: 1.45;
}

.gpah__steps ol {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gpah__steps li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    color: #38485d;
}

.gpah__step-toggle {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    margin: 0;
    padding: 0;
    border: 1px solid #d7e3ec;
    border-radius: 50%;
    background: #edf4f9;
    color: var(--gpah-primary-dark);
    font: inherit;
    font-size: 14px;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.gpah__step-toggle:hover {
    background: #e2edf5;
}

.gpah__step-toggle:focus-visible {
    outline: 3px solid rgba(27, 105, 154, .24);
    outline-offset: 2px;
}

.gpah__step-check {
    display: none;
    font-size: 18px;
    font-weight: 900;
}

.gpah__step-text {
    padding-top: 7px;
    line-height: 1.55;
    transition: color .18s ease, opacity .18s ease;
}

.gpah__steps li.is-complete .gpah__step-toggle {
    border-color: #188454;
    background: #188454;
    color: #fff;
}

.gpah__steps li.is-complete .gpah__step-number {
    display: none;
}

.gpah__steps li.is-complete .gpah__step-check {
    display: inline;
}

.gpah__steps li.is-complete .gpah__step-text {
    color: #657588;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    opacity: .88;
}

.gpah__call-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--gpah-line);
}

.gpah__call-copy strong,
.gpah__call-copy span {
    display: block;
}

.gpah__call-copy strong {
    color: var(--gpah-ink);
    font-size: 15px;
}

.gpah__call-copy span {
    margin-top: 2px;
    color: var(--gpah-muted);
    font-size: 13px;
}

.gpah__call {
    display: inline-flex;
    gap: 11px;
    align-items: center;
    min-height: 58px;
    padding: 10px 18px;
    border-radius: 15px;
    background: var(--gpah-call-color, var(--gpah-primary));
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 9px 22px rgba(16, 35, 63, .18);
    transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}

.gpah__call:hover,
.gpah__call:focus-visible {
    background: var(--gpah-call-color, var(--gpah-primary));
    color: #fff !important;
    filter: brightness(.88);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(16, 35, 63, .24);
}

.gpah__call svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.gpah__call small,
.gpah__call strong {
    display: block;
    color: inherit;
}

.gpah__call small {
    font-size: 11px;
    font-weight: 650;
    opacity: .86;
}

.gpah__call strong {
    font-size: 16px;
    line-height: 1.1;
}

.gpah__empty {
    padding: 44px 24px;
    border: 1px dashed #c8d5e2;
    border-radius: var(--gpah-radius);
    background: #fbfdff;
    text-align: center;
    color: var(--gpah-muted);
}

.gpah__empty > span {
    display: block;
    margin-bottom: 8px;
    font-size: 34px;
}

.gpah__empty strong {
    display: block;
    color: var(--gpah-ink);
    font-size: 18px;
}

.gpah__empty p {
    margin: 4px 0 0;
}

@media (max-width: 760px) {
    .gpah__filters {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        padding: 1px;
    }

    .gpah__filter {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 10px 9px;
        white-space: normal;
    }

    .gpah__filter:first-child {
        grid-column: 1 / -1;
    }

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

    .gpah__card[open] {
        grid-column: auto;
    }

    .gpah__summary {
        grid-template-columns: 44px minmax(0, 1fr) 30px;
        min-height: 0;
        padding: 17px;
    }

    .gpah__category-icon {
        width: 44px;
        height: 44px;
        border-radius: 13px;
        font-size: 21px;
    }

    .gpah__card-description {
        display: none;
    }

    .gpah__call-wrap {
        grid-template-columns: 1fr;
    }

    .gpah__call {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .gpah {
        --gpah-radius: 18px;
    }

    .gpah__hero {
        padding: 22px 18px;
    }

    .gpah__toolbar {
        padding: 12px;
    }

    .gpah__global-alert,
    .gpah__safety {
        padding: 13px;
    }

    .gpah__summary {
        gap: 10px;
        padding: 15px;
    }

    .gpah__card-title {
        font-size: 16px;
    }

    .gpah__content {
        padding: 16px;
    }

    .gpah__steps li {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 10px;
        font-size: 14px;
    }

    .gpah__steps li::before {
        width: 30px;
        height: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gpah *,
    .gpah *::before,
    .gpah *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


@media (max-width: 760px) {
    .gpah__steps li {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 11px;
    }

    .gpah__step-toggle {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
    }

    .gpah__step-text {
        padding-top: 8px;
    }
}
