/* Extracted module styles. */
/* Extracted from modules/profiles/class-profile-view.php */
.ymp-member-profile {
                    max-width: 1100px;
                }

                .ymp-profile-hero {
                    background: #fff;
                    border: 1px solid #dcdcde;
                    border-radius: 6px;
                    display: grid;
                    gap: 18px;
                    grid-template-columns: auto minmax(0, 1fr) auto;
                    margin: 0 0 22px;
                    padding: 22px;
                }

                .ymp-profile-hero h2 {
                    font-size: 32px;
                    line-height: 1.15;
                    margin: 0 0 10px;
                }

                .ymp-profile-hero-meta {
                    color: #555;
                    display: flex;
                    flex-wrap: wrap;
                    font-size: 13px;
                    gap: 10px 18px;
                    line-height: 1.45;
                    margin: 0;
                }

                .ymp-profile-location {
                    color: #50575e;
                    font-weight: 700;
                }

                .ymp-profile-hero-score {
                    background: #f6f7f7;
                    border: 1px solid #dcdcde;
                    border-radius: 6px;
                    min-width: 170px;
                    padding: 16px;
                    text-align: center;
                }

                .ymp-profile-hero-score strong {
                    display: block;
                    font-size: 42px;
                    line-height: 1;
                }

                .ymp-profile-hero-score span {
                    color: #555;
                    display: block;
                    font-size: 13px;
                    margin-top: 6px;
                }

                .ymp-profile-layout {
                    display: grid;
                    gap: 20px;
                    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.9fr);
                }

                .ymp-profile-card {
                    background: #fff;
                    border: 1px solid #dcdcde;
                    border-radius: 6px;
                    margin: 0 0 20px;
                    padding: 18px;
                }

                .ymp-profile-card h3 {
                    border-bottom: 1px solid #eee;
                    font-size: 20px;
                    margin: 0 0 14px;
                    padding-bottom: 10px;
                }

                .ymp-profile-actions {
                    align-items: center;
                    display: flex;
                    gap: 8px;
                    justify-content: flex-end;
                    margin: 14px 0 0;
                    width: 100%;
                }

                .ymp-profile-actions a {
                    text-decoration: none;
                }

                .ymp-profile-button {
                    align-items: center;
                    border: 1px solid #2271b1;
                    border-radius: 4px;
                    display: inline-flex;
                    gap: 6px;
                    font-size: 13px;
                    font-weight: 800;
                    height: 38px;
                    justify-content: center;
                    line-height: 1.2;
                    min-height: 38px;
                    padding: 0 12px;
                    white-space: nowrap;
                }

                .ymp-profile-actions .ymp-report-modal {
                    display: inline-flex;
                    height: 38px;
                    justify-content: center;
                    margin: 0;
                    width: 38px;
                }

                .ymp-profile-actions .ymp-report-flag-button {
                    border-radius: 4px;
                    height: 38px;
                    width: 38px;
                }

                .ymp-profile-button-primary {
                    background: #2271b1;
                    color: #fff;
                }

                .ymp-profile-button-secondary {
                    background: #fff;
                    color: #2271b1;
                }

                .ymp-profile-reputation-card {
                    background: #fff;
                    border: 1px solid #dcdcde;
                    border-left: 4px solid #2271b1;
                    border-radius: 6px;
                    margin: 0 0 20px;
                    padding: 18px;
                }

                .ymp-profile-reputation-grid {
                    align-items: center;
                    display: grid;
                    gap: 16px;
                    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
                }

                .ymp-profile-reputation-score {
                    display: block;
                    font-size: 42px;
                    font-weight: 800;
                    line-height: 1;
                }

                .ymp-profile-reputation-level {
                    display: inline-block;
                    font-size: 17px;
                    font-weight: 800;
                    margin: 0 0 6px;
                }

                .ymp-profile-reputation-note {
                    color: #555;
                    margin: 0;
                }

                .ymp-profile-stats-grid {
                    display: grid;
                    gap: 12px;
                    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
                    margin: 0;
                }

                .ymp-profile-stat-card {
                    background: #fafafa;
                    border: 1px solid #e3e3e3;
                    border-radius: 6px;
                    padding: 14px;
                    text-align: center;
                }

                .ymp-profile-stat-number {
                    display: block;
                    font-size: 28px;
                    font-weight: 800;
                    line-height: 1.1;
                }

                .ymp-profile-stat-label {
                    color: #666;
                    display: block;
                    font-size: 13px;
                    margin-top: 6px;
                }

                .ymp-profile-completion-bar {
                    background: #f0f0f1;
                    border-radius: 999px;
                    height: 14px;
                    margin: 10px 0;
                    overflow: hidden;
                    width: 100%;
                }

                .ymp-profile-completion-fill {
                    background: #2271b1;
                    height: 14px;
                }

                .ymp-profile-completion-list {
                    display: grid;
                    gap: 6px;
                    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
                    list-style: none;
                    margin: 10px 0 0;
                    padding: 0;
                }

                .ymp-profile-completion-list li {
                    background: #fafafa;
                    border-radius: 6px;
                    padding: 7px 9px;
                }

                .ymp-profile-completion-done {
                    color: #0f5f2e;
                    font-weight: 700;
                }

                .ymp-profile-completion-missing {
                    color: #8a1f11;
                    font-weight: 700;
                }

                .ymp-profile-badges {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 10px;
                    margin: 0;
                }

                .ymp-profile-badge {
                    align-items: center;
                    background: transparent;
                    border: 0;
                    border-radius: 0;
                    display: inline-flex;
                    height: 44px;
                    justify-content: center;
                    padding: 0;
                    width: 44px;
                }

                .ymp-profile-badge img {
                    display: block;
                    height: 44px;
                    object-fit: contain;
                    transition: transform .12s ease, filter .12s ease;
                    width: 44px;
                }

                .ymp-profile-badge:hover img,
                .ymp-profile-badge:focus img {
                    filter: brightness(1.04);
                    transform: translateY(-1px) scale(1.05);
                }

                .ymp-profile-badge-fallback {
                    align-items: center;
                    background: #fff7d6;
                    border: 1px solid #d6b656;
                    border-radius: 999px;
                    color: #5c4400;
                    display: inline-flex;
                    font-size: 13px;
                    font-weight: 700;
                    min-height: 32px;
                    padding: 4px 9px;
                }

                .ymp-profile-info-grid {
                    display: grid;
                    gap: 14px;
                    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
                }

                .ymp-profile-info-box {
                    background: #fafafa;
                    border: 1px solid #eee;
                    border-radius: 6px;
                    padding: 13px;
                }

                .ymp-profile-info-box strong {
                    display: block;
                    margin-bottom: 6px;
                }

                .ymp-profile-fellowship-list {
                    list-style: none;
                    margin: 0;
                    padding: 0;
                }

                .ymp-profile-fellowship-list li {
                    background: #fafafa;
                    border: 1px solid #eee;
                    border-radius: 6px;
                    margin: 0 0 8px;
                    padding: 10px 12px;
                }

                .ymp-profile-affiliation-heading {
                    font-size: 13px;
                    letter-spacing: .04em;
                    margin: 14px 0 8px;
                    text-transform: uppercase;
                }

                .ymp-profile-role-pill {
                    background: #f0e7ff;
                    border-radius: 999px;
                    color: #4b168a;
                    display: inline-block;
                    font-size: 11px;
                    font-weight: 800;
                    margin-left: 6px;
                    padding: 4px 8px;
                    text-transform: uppercase;
                }

                .ymp-profile-activity-list {
                    list-style: none;
                    margin: 0;
                    padding: 0;
                }

                .ymp-profile-activity-list li {
                    border-bottom: 1px solid #eee;
                    margin: 0;
                    padding: 11px 0;
                }

                .ymp-profile-activity-list li:last-child {
                    border-bottom: 0;
                    padding-bottom: 0;
                }

                .ymp-profile-activity-type {
                    border-radius: 999px;
                    display: inline-block;
                    font-size: 11px;
                    font-weight: 800;
                    line-height: 1;
                    margin-right: 6px;
                    padding: 4px 8px;
                    text-transform: uppercase;
                }

                .ymp-profile-activity-profile {
                    background: #fff3cd;
                    color: #7a4b00;
                }

                .ymp-profile-activity-fellowship {
                    background: #f0e7ff;
                    color: #4b168a;
                }

                .ymp-profile-activity-prayer {
                    background: #e7f7ed;
                    color: #0f5f2e;
                }

                .ymp-profile-activity-message {
                    background: #e7f0ff;
                    color: #174ea6;
                }

                .ymp-profile-activity-badge {
                    background: #fff7d6;
                    color: #6b4e00;
                }

                .ymp-profile-activity-event {
                    background: #e5f6ff;
                    color: #005f7a;
                }

                .ymp-profile-activity-other {
                    background: #f6f7f7;
                    color: #50575e;
                }

                .ymp-profile-activity-time {
                    color: #666;
                    display: block;
                    font-size: 13px;
                    margin-top: 4px;
                }

                @media (max-width: 800px) {
                    .ymp-profile-hero,
                    .ymp-profile-layout,
                    .ymp-profile-reputation-grid {
                        grid-template-columns: 1fr;
                    }

                    .ymp-profile-hero-score {
                        text-align: left;
                    }

                    .ymp-profile-actions {
                        max-width: 230px;
                    }
                }

/* Extracted from modules/profiles/class-profile-directory.php */
.ymp-member-directory {
                color: var(--ymp-front-text, #1d2327);
                max-width: 1440px;
            }

            .ymp-member-directory-hero,
            .ymp-member-directory-filter-panel,
            .ymp-member-directory-filters,
            .ymp-member-directory-empty,
            .ymp-member-directory-grid,
            .ymp-member-directory-card {
                box-sizing: border-box;
                color: var(--ymp-front-text, #1d2327);
            }

            .ymp-member-directory-hero {
                background: var(--ymp-front-surface, #fff);
                border: 1px solid var(--ymp-front-border, #d7dade);
                border-radius: 8px;
                box-shadow: 0 14px 40px rgba(0, 0, 0, 0.055);
                margin: 0 0 16px;
                padding: 18px;
            }

            .ymp-member-directory-hero h2 {
                color: var(--ymp-front-text, #111827);
                font-size: 34px;
                font-weight: 900;
                line-height: 1.1;
                margin: 0 0 8px;
            }

            .ymp-member-directory-hero p {
                color: var(--ymp-front-muted, #50575e);
                font-size: 16px;
                line-height: 1.55;
                margin: 0;
                max-width: none;
                width: 100%;
            }

            .ymp-member-directory-hero-meta {
                display: flex;
                flex-wrap: wrap;
                gap: 8px;
                margin-top: 14px;
            }

            .ymp-member-directory-hero-meta span {
                background: var(--ymp-front-bg, #f6f7f7);
                border: 1px solid var(--ymp-front-border, #dcdcde);
                border-radius: 6px;
                color: var(--ymp-front-text, #1d2327);
                display: inline-block;
                font-size: 13px;
                font-weight: 800;
                padding: 6px 10px;
            }

            .ymp-member-directory-filter-panel {
                margin: 0 0 16px;
            }

            .ymp-member-directory-filter-toggle {
                align-items: center;
                background: var(--ymp-front-surface, #fff);
                border: 1px solid var(--ymp-front-border, #dcdcde);
                border-radius: 6px;
                color: var(--ymp-front-text, #1d2327);
                cursor: pointer;
                display: inline-flex;
                font-size: 14px;
                font-weight: 900;
                gap: 8px;
                line-height: 1;
                list-style: none;
                min-height: 38px;
                padding: 7px 12px;
                user-select: none;
            }

            .ymp-member-directory-filter-toggle::-webkit-details-marker {
                display: none;
            }

            .ymp-member-directory-filter-toggle img {
                border-radius: 5px;
                display: block;
                height: 24px;
                object-fit: contain;
                width: 24px;
            }

            .ymp-member-directory-filter-toggle em {
                align-items: center;
                background: var(--ymp-front-primary, #2271b1);
                border-radius: 999px;
                color: var(--ymp-front-primary-contrast, #fff);
                display: inline-flex;
                font-size: 11px;
                font-style: normal;
                height: 18px;
                justify-content: center;
                min-width: 18px;
                padding: 0 5px;
            }

            .ymp-member-directory-filters {
                background: var(--ymp-front-surface, #fff);
                border: 1px solid var(--ymp-front-border, #dcdcde);
                border-radius: 8px;
                box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
                margin: 10px 0 0;
                padding: 14px;
            }

            .ymp-member-directory-filter-heading {
                display: grid;
                gap: 3px;
                margin-bottom: 12px;
            }

            .ymp-member-directory-filter-heading strong {
                color: var(--ymp-front-text, #1d2327);
                font-size: 14px;
                font-weight: 900;
            }

            .ymp-member-directory-filter-heading span,
            .ymp-member-directory-filter-empty {
                color: var(--ymp-front-muted, #646970);
                font-size: 13px;
                font-weight: 700;
                margin: 0;
            }

            .ymp-member-directory-country-options {
                display: grid;
                gap: 8px;
                grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
            }

            .ymp-member-directory-country-option {
                align-items: center;
                background: var(--ymp-front-bg, #f6f7f7);
                border: 1px solid var(--ymp-front-border, #dcdcde);
                border-radius: 6px;
                color: var(--ymp-front-text, #1d2327);
                cursor: pointer;
                display: flex;
                font-size: 13px;
                font-weight: 800;
                gap: 8px;
                margin: 0;
                min-height: 36px;
                padding: 7px 9px;
            }

            .ymp-member-directory-country-option input {
                margin: 0;
            }

            .ymp-member-directory-filter-actions,
            .ymp-member-directory-actions {
                display: flex;
                flex-wrap: wrap;
                gap: 8px;
                margin-top: 12px;
            }

            .ymp-member-directory-empty,
            .ymp-member-directory-grid {
                background: var(--ymp-front-surface, #fff);
                border: 1px solid var(--ymp-front-border, #dcdcde);
                border-radius: 8px;
                box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
            }

            .ymp-member-directory-empty {
                padding: 16px;
            }

            .ymp-member-directory-empty strong {
                color: var(--ymp-front-text, #1d2327);
                display: block;
                font-size: 18px;
                margin-bottom: 6px;
            }

            .ymp-member-directory-grid {
                display: grid;
                gap: 0;
                grid-template-columns: 1fr;
                overflow: hidden;
            }

            .ymp-member-directory-card {
                align-items: center;
                background: var(--ymp-front-surface, #fff);
                border: 0;
                border-bottom: 1px solid var(--ymp-front-border, #dcdcde);
                display: grid;
                gap: 12px 16px;
                grid-template-columns: minmax(300px, 1.2fr) minmax(170px, 0.55fr) minmax(145px, 0.45fr) minmax(150px, auto);
                margin: 0;
                min-height: 0;
                padding: 12px 14px;
            }

            .ymp-member-directory-card:last-child {
                border-bottom: 0;
            }

            .ymp-member-directory-card-top {
                align-items: center;
                display: flex;
                gap: 12px;
                margin: 0;
                min-width: 0;
            }

            .ymp-member-directory-avatar-image {
                flex: 0 0 58px;
                height: 58px;
                width: 58px;
            }

            .ymp-member-directory-card h3 {
                color: var(--ymp-front-text, #1d2327);
                font-size: 17px;
                font-weight: 900;
                line-height: 1.25;
                margin: 0 0 5px;
            }

            .ymp-member-directory-location {
                color: var(--ymp-front-muted, #50575e);
                font-size: 13px;
                font-weight: 700;
                line-height: 1.35;
                margin: 0;
            }

            .ymp-member-directory-section {
                align-self: center;
                margin: 0;
                min-width: 0;
            }

            .ymp-member-directory-section strong {
                color: var(--ymp-front-text, #1d2327);
                display: block;
                font-size: 12px;
                font-weight: 900;
                letter-spacing: .01em;
                margin-bottom: 5px;
            }

            .ymp-member-directory-badges {
                display: flex;
                flex-wrap: wrap;
                gap: 6px;
            }

            .ymp-member-directory-badge {
                display: inline-flex;
                height: 32px;
                width: 32px;
            }

            .ymp-member-directory-badge img {
                display: block;
                height: 32px;
                object-fit: contain;
                width: 32px;
            }

            .ymp-member-directory-pill {
                background: var(--ymp-front-bg, #f6f7f7);
                border: 1px solid var(--ymp-front-border, #dcdcde);
                border-radius: 6px;
                color: var(--ymp-front-muted, #50575e);
                display: inline-block;
                font-size: 12px;
                font-weight: 800;
                padding: 5px 8px;
            }

            .ymp-member-directory-date {
                color: var(--ymp-front-muted, #646970);
                font-size: 13px;
                font-weight: 800;
                margin: 0;
            }

            .ymp-member-directory-actions {
                align-items: center;
                justify-content: flex-end;
                margin: 0;
            }

            .ymp-member-directory-button {
                border: 1px solid #2271b1;
                border-radius: 6px;
                cursor: pointer;
                display: inline-flex;
                font-size: 13px;
                font-weight: 800;
                justify-content: center;
                line-height: 1.2;
                min-height: 34px;
                padding: 7px 10px;
                text-decoration: none;
                white-space: nowrap;
            }

            .ymp-member-directory-button-primary {
                background: var(--ymp-front-primary, #2271b1);
                border-color: var(--ymp-front-primary, #2271b1);
                color: var(--ymp-front-primary-contrast, #fff);
            }

            .ymp-member-directory-button-primary:hover {
                color: var(--ymp-front-primary-contrast, #fff);
                filter: brightness(0.95);
            }

            .ymp-member-directory-button-secondary {
                background: var(--ymp-front-surface, #fff);
                color: var(--ymp-front-primary, #2271b1);
            }

            @media (max-width: 980px) {
                .ymp-member-directory-card {
                    align-items: start;
                    grid-template-columns: 1fr;
                }

                .ymp-member-directory-actions {
                    justify-content: flex-start;
                }
            }

            @media (max-width: 700px) {
                .ymp-member-directory-hero h2 {
                    font-size: 28px;
                }

                .ymp-member-directory-country-options {
                    grid-template-columns: 1fr;
                }
            }

/* Extracted from modules/profiles/class-profile-shortcodes.php */
.ymp-register-page{color:var(--ymp-front-text,#1d2327);max-width:900px;width:100%;margin:0 auto;padding:18px 0}
.ymp-register-complete-page{max-width:760px;padding:18px 0}
.ymp-register-hero{background:var(--ymp-front-surface,#fff);border:1px solid var(--ymp-front-border,#dcdcde);border-radius:18px;box-shadow:var(--ymp-front-shadow,0 14px 40px rgba(0,0,0,.08));color:var(--ymp-front-text,#1d2327);padding:clamp(26px,5vw,42px);margin-bottom:20px;text-align:center}
.ymp-register-hero h2{font-size:clamp(1.9rem,4vw,2.55rem);line-height:1.12;margin:0 0 10px}
.ymp-register-hero>p:last-child{color:var(--ymp-front-muted,#50575e);font-size:1.05rem;line-height:1.6;margin:0 auto;max-width:680px}
.ymp-register-hero-icon,.ymp-login-icon{align-items:center;background:color-mix(in srgb,var(--ymp-front-primary,#2271b1) 12%,var(--ymp-front-surface,#fff));border:1px solid color-mix(in srgb,var(--ymp-front-primary,#2271b1) 32%,var(--ymp-front-border,#dcdcde));border-radius:50%;display:flex;font-size:28px;height:66px;justify-content:center;margin:0 auto 16px;width:66px}
.ymp-register-eyebrow{color:var(--ymp-front-primary,#2271b1);font-size:.78rem;font-weight:900;letter-spacing:.08em;margin:0 0 8px!important;text-transform:uppercase}
.ymp-register-modern{background:var(--ymp-front-surface,#fff);border:1px solid var(--ymp-front-border,#dcdcde);border-radius:18px;box-shadow:var(--ymp-front-shadow,0 14px 40px rgba(0,0,0,.08));color:var(--ymp-front-text,#1d2327);padding:clamp(18px,4vw,32px)}
.ymp-register-card{background:var(--ymp-front-bg,#f6f7f7);border:1px solid var(--ymp-front-border,#dcdcde);border-radius:12px;color:var(--ymp-front-text,#1d2327);padding:18px;margin:0 0 16px;box-shadow:none}
.ymp-register-card h3{font-size:1.1rem;margin:0 0 14px}
.ymp-register-card p{margin:0 0 14px;max-width:820px}
.ymp-register-modern label{font-weight:750}
.ymp-required{color:#c01616;font-size:.85em;font-weight:900;margin-left:2px}
.ymp-register-modern input[type=text],.ymp-register-modern input[type=email],.ymp-register-modern input[type=password],.ymp-register-modern input[type=url],.ymp-register-modern select,.ymp-register-modern textarea{background:var(--ymp-front-surface,#fff);box-sizing:border-box;color:var(--ymp-front-text,#1d2327);min-height:42px;width:100%;max-width:820px;border:1px solid var(--ymp-front-border,#c3c4c7);border-radius:4px;padding:8px 10px}
.ymp-register-modern input[type=checkbox],.ymp-register-modern input[type=radio]{height:auto;margin:2px 10px 0 0;max-width:none;width:auto}
.ymp-register-agreements{display:grid;gap:10px;max-width:900px}
.ymp-register-check-row{align-items:flex-start;background:var(--ymp-front-bg,#f6f7f7);border:1px solid var(--ymp-front-border,#dcdcde);border-radius:6px;color:var(--ymp-front-text,#1d2327);display:flex;font-weight:700;gap:8px;line-height:1.35;padding:11px 12px;width:100%;box-sizing:border-box}
.ymp-register-check-row a{color:var(--ymp-front-primary,#2271b1);font-weight:850}
.ymp-register-submit-row{align-items:center;border-top:1px solid var(--ymp-front-border,#dcdcde);display:flex;flex-wrap:wrap;gap:12px;margin-top:20px!important;padding-top:20px}
.ymp-register-modern button,.ymp-modal-button,.ymp-register-login-link{background:var(--ymp-front-primary,#2271b1);color:var(--ymp-front-primary-contrast,#fff);border:1px solid var(--ymp-front-primary,#2271b1);border-radius:5px;display:inline-block;padding:10px 14px;font-weight:800;cursor:pointer;text-decoration:none}
.ymp-register-success-panel{background:var(--ymp-front-surface,#fff);border:1px solid var(--ymp-front-border,#dcdcde);border-radius:18px;box-shadow:var(--ymp-front-shadow,0 14px 40px rgba(0,0,0,.08));color:var(--ymp-front-text,#1d2327);padding:clamp(26px,5vw,48px);text-align:center}
.ymp-register-success-panel h2{color:var(--ymp-front-text,#1d2327);font-size:clamp(1.8rem,4vw,2.55rem);line-height:1.12;margin:0 0 12px}
.ymp-register-success-lead{color:var(--ymp-front-muted,#50575e);font-size:1.08rem;line-height:1.6;margin:0 auto 24px;max-width:620px}
.ymp-register-success-icon{align-items:center;background:color-mix(in srgb,#16a34a 13%,var(--ymp-front-surface,#fff));border:1px solid color-mix(in srgb,#16a34a 42%,var(--ymp-front-border,#dcdcde));border-radius:50%;color:color-mix(in srgb,#16a34a 72%,var(--ymp-front-text,#1d2327));display:flex;font-size:30px;font-weight:900;height:68px;justify-content:center;margin:0 auto 18px;width:68px}
.ymp-register-email-status{border:1px solid;border-radius:12px;display:grid;gap:4px;margin:0 0 24px;padding:14px 16px;text-align:left}
.ymp-register-email-status.is-sent{background:color-mix(in srgb,#16a34a 11%,var(--ymp-front-surface,#fff));border-color:color-mix(in srgb,#16a34a 42%,var(--ymp-front-border,#dcdcde));color:color-mix(in srgb,#16833b 72%,var(--ymp-front-text,#1d2327))}
.ymp-register-email-status.is-warning{background:color-mix(in srgb,#d69d2e 13%,var(--ymp-front-surface,#fff));border-color:color-mix(in srgb,#d69d2e 48%,var(--ymp-front-border,#dcdcde));color:color-mix(in srgb,#a36c00 72%,var(--ymp-front-text,#1d2327))}
.ymp-register-email-status span{font-size:.94rem;line-height:1.45}
.ymp-register-next-steps{background:var(--ymp-front-bg,#f6f7f7);border:1px solid var(--ymp-front-border,#dcdcde);border-radius:14px;color:var(--ymp-front-text,#1d2327);margin:0 0 24px;padding:20px;text-align:left}
.ymp-register-next-steps h3{color:var(--ymp-front-text,#1d2327);margin:0 0 14px;text-align:center}
.ymp-register-next-steps ol{display:grid;gap:12px;list-style:none;margin:0;padding:0}
.ymp-register-next-steps li{align-items:flex-start;display:grid;gap:12px;grid-template-columns:34px 1fr}
.ymp-register-next-steps li>span{align-items:center;background:var(--ymp-front-primary,#2271b1);border-radius:50%;color:var(--ymp-front-primary-contrast,#fff);display:flex;font-size:.85rem;font-weight:900;height:30px;justify-content:center;width:30px}
.ymp-register-next-steps strong,.ymp-register-next-steps small{display:block}
.ymp-register-next-steps small{color:var(--ymp-front-muted,#646970);line-height:1.45;margin-top:2px}
.ymp-register-success-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.ymp-register-home-link{background:var(--ymp-front-surface,#fff);border:1px solid var(--ymp-front-border,#8c8f94);border-radius:5px;color:var(--ymp-front-text,#1d2327);display:inline-block;font-weight:800;padding:10px 14px;text-decoration:none}
/* Beta.6.17.4: keep primary registration actions legible when theme/link rules use the accent colour. */
body.ymp-managed-page a.ymp-register-login-link,body.ymp-managed-page a.ymp-register-login-link:visited{background:var(--ymp-front-primary,#2271b1)!important;border-color:var(--ymp-front-primary,#2271b1)!important;color:var(--ymp-front-primary-contrast,#fff)!important}
body.ymp-managed-page a.ymp-register-login-link:hover,body.ymp-managed-page a.ymp-register-login-link:focus-visible{color:var(--ymp-front-primary-contrast,#fff)!important;filter:brightness(.94);outline:2px solid color-mix(in srgb,var(--ymp-front-primary,#2271b1) 45%,transparent);outline-offset:2px}
.ymp-login-page{display:flex;justify-content:center;margin:0 auto;max-width:760px;padding:18px 0;width:100%}
.ymp-login-card{background:var(--ymp-front-surface,#fff);border:1px solid var(--ymp-front-border,#dcdcde);border-radius:18px;box-shadow:var(--ymp-front-shadow,0 14px 40px rgba(0,0,0,.08));box-sizing:border-box;color:var(--ymp-front-text,#1d2327);padding:clamp(26px,5vw,46px);text-align:center;width:min(100%,620px)}
.ymp-login-card h2{font-size:clamp(1.9rem,4vw,2.55rem);line-height:1.12;margin:0 0 10px}
.ymp-login-lead{color:var(--ymp-front-muted,#50575e);font-size:1.04rem;line-height:1.6;margin:0 auto 24px;max-width:500px}
.ymp-login-form-shell{background:var(--ymp-front-bg,#f6f7f7);border:1px solid var(--ymp-front-border,#dcdcde);border-radius:14px;padding:20px;text-align:left}
.ymp-login-card form{display:grid;gap:14px;margin:0}
.ymp-login-card form p{margin:0}
.ymp-login-card label{display:block;font-weight:800;margin-bottom:6px}
.ymp-login-card input[type=text],.ymp-login-card input[type=password]{background:var(--ymp-front-surface,#fff);border:1px solid var(--ymp-front-border,#c3c4c7);border-radius:8px;box-sizing:border-box;color:var(--ymp-front-text,#1d2327);min-height:44px;padding:9px 11px;width:100%}
.ymp-login-card .login-remember label{align-items:center;display:flex;font-weight:700;gap:8px;margin:0}
.ymp-login-card .login-remember input{margin:0}
.ymp-login-card .login-submit{margin-top:2px}
.ymp-login-card .button,.ymp-login-card input[type=submit]{background:var(--ymp-front-primary,#2271b1);border:1px solid var(--ymp-front-primary,#2271b1);border-radius:8px;color:var(--ymp-front-primary-contrast,#fff);cursor:pointer;font-weight:800;min-height:44px;padding:9px 16px;width:100%}
.ymp-login-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:18px}
.ymp-login-footer{align-items:center;color:var(--ymp-front-muted,#646970);display:flex;flex-wrap:wrap;font-size:.94rem;gap:10px;justify-content:space-between;margin-top:18px;text-align:left}
.ymp-login-footer a{color:var(--ymp-front-primary,#2271b1);font-weight:800}
.ymp-modal[hidden]{display:none!important}
.ymp-modal{align-items:center;display:flex;inset:0;justify-content:center;position:fixed;z-index:99999}
.ymp-modal-backdrop{background:rgba(0,0,0,.55);inset:0;position:absolute}
.ymp-modal-dialog{background:var(--ymp-front-surface,#fff);border:1px solid var(--ymp-front-border,#d0d7de);border-radius:10px;box-shadow:0 22px 70px rgba(0,0,0,.35);color:var(--ymp-front-text,#1d2327);max-height:min(720px,88vh);max-width:min(760px,92vw);overflow:hidden;position:relative;width:100%;z-index:1}
.ymp-modal-header{align-items:center;border-bottom:1px solid var(--ymp-front-border,#dcdcde);display:flex;justify-content:space-between;padding:14px 18px}
.ymp-modal-header h3{color:var(--ymp-front-text,#1d2327);margin:0}
.ymp-modal-close{background:var(--ymp-front-bg,#f6f7f7)!important;border:1px solid var(--ymp-front-border,#d0d7de)!important;border-radius:4px!important;color:var(--ymp-front-text,#1d2327)!important;font-size:22px!important;line-height:1!important;padding:4px 9px!important}
.ymp-modal-body{color:var(--ymp-front-text,#1d2327);max-height:55vh;overflow:auto;padding:16px 18px}
.ymp-modal-actions{border-top:1px solid var(--ymp-front-border,#dcdcde);padding:12px 18px;text-align:right}
@media (max-width:600px){.ymp-register-success-panel{padding:24px 18px}.ymp-register-success-actions a{box-sizing:border-box;text-align:center;width:100%}}

/* Extracted from modules/profiles/class-profile-shortcodes.php */
.ymp-portal {
                color: #1d2327;
                margin: 0 auto;
                max-width: 1440px;
            }

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

            .ymp-portal-shell {
                display: grid;
                gap: 22px;
                grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
            }

            .ymp-portal-sidebar {
                align-self: start;
                background: #fff;
                border: 1px solid #dcdcde;
                border-radius: 16px;
                padding: 14px;
                position: sticky;
                top: 24px;
            }

            .ymp-portal-brand {
                background: linear-gradient(135deg, #f7fbff 0%, #edf5ff 100%);
                border: 1px solid #c3d9f2;
                border-radius: 12px;
                margin-bottom: 12px;
                padding: 15px;
            }

            .ymp-portal-brand strong,
            .ymp-portal-brand span {
                display: block;
            }

            .ymp-portal-brand strong {
                font-size: 17px;
                margin-bottom: 4px;
            }

            .ymp-portal-brand span {
                color: #646970;
                font-size: 12px;
            }

            .ymp-portal-nav {
                display: grid;
                gap: 7px;
            }

            .ymp-portal-nav-link {
                align-items: center;
                border: 1px solid transparent;
                border-radius: 10px;
                color: #2c3338;
                display: flex;
                font-weight: 700;
                gap: 10px;
                padding: 10px 11px;
                text-decoration: none;
            }

            .ymp-portal-nav-link:hover {
                background: #f6f7f7;
                border-color: #dcdcde;
            }

            .ymp-portal-nav-link[aria-current="page"] {
                background: #2271b1;
                border-color: #2271b1;
                color: #fff;
            }

            .ymp-portal-nav-icon {
                font-size: 18px;
                line-height: 1;
                width: 22px;
            }

            .ymp-portal-main {
                min-width: 0;
            }

            .ymp-portal-hero {
                align-items: center;
                background: linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
                border: 1px solid #c3d9f2;
                border-radius: 16px;
                display: flex;
                gap: 18px;
                justify-content: space-between;
                margin: 0 0 20px;
                padding: 24px;
            }

            .ymp-portal-hero h2 {
                font-size: clamp(28px, 4vw, 38px);
                line-height: 1.1;
                margin: 0 0 8px;
            }

            .ymp-portal-hero p {
                color: #50575e;
                font-size: 16px;
                margin: 0;
                max-width: 760px;
            }

            .ymp-portal-hero-actions,
            .ymp-portal-status,
            .ymp-portal-card-footer,
            .ymp-portal-event-meta {
                align-items: center;
                display: flex;
                flex-wrap: wrap;
                gap: 8px;
            }

            .ymp-portal-hero-actions {
                flex: 0 0 auto;
            }

            .ymp-portal-button {
                background: #fff;
                border: 1px solid #2271b1;
                border-radius: 8px;
                color: #135e96;
                display: inline-block;
                font-weight: 700;
                padding: 9px 13px;
                text-decoration: none;
            }

            .ymp-portal-button:hover {
                background: #f0f6fc;
            }

            .ymp-portal-button-primary {
                background: #2271b1;
                color: #fff;
            }

            .ymp-portal-button-primary:hover {
                background: #135e96;
                color: #fff;
            }

            .ymp-portal-status {
                margin: -8px 0 20px;
            }

            .ymp-portal-pill {
                background: #fff;
                border: 1px solid #dcdcde;
                border-radius: 999px;
                display: inline-block;
                font-size: 12px;
                font-weight: 700;
                padding: 6px 10px;
            }

            .ymp-portal-pill-active,
            .ymp-portal-pill-going {
                background: #e7f7ed;
                border-color: #9ed6ae;
                color: #0f5f2e;
            }

            .ymp-portal-pill-pending,
            .ymp-portal-pill-maybe {
                background: #fff7d6;
                border-color: #e6cf69;
                color: #6b4e00;
            }

            .ymp-portal-pill-rejected,
            .ymp-portal-pill-declined {
                background: #fdeaea;
                border-color: #e4a7a7;
                color: #9f1c1c;
            }

            .ymp-portal-pill-suspended {
                background: #e7f0ff;
                border-color: #a9c4ed;
                color: #174ea6;
            }

            .ymp-portal-pill-banned {
                background: #2c3338;
                border-color: #2c3338;
                color: #fff;
            }

            .ymp-portal-notice {
                background: #fff;
                border: 1px solid #dcdcde;
                border-left: 5px solid #dba617;
                border-radius: 10px;
                margin: 0 0 20px;
                padding: 15px 16px;
            }

            .ymp-portal-section-intro {
                margin: 0 0 18px;
            }

            .ymp-portal-section-intro h3 {
                font-size: 25px;
                margin: 0 0 6px;
            }

            .ymp-portal-section-intro p {
                color: #646970;
                margin: 0;
            }

            .ymp-portal-stats {
                display: grid;
                gap: 12px;
                grid-template-columns: repeat(4, minmax(0, 1fr));
                margin: 0 0 20px;
            }

            .ymp-portal-stat {
                background: #fff;
                border: 1px solid #dcdcde;
                border-radius: 12px;
                min-height: 112px;
                padding: 16px;
            }

            .ymp-portal-stat strong {
                display: block;
                font-size: 30px;
                line-height: 1;
            }

            .ymp-portal-stat span {
                color: #646970;
                display: block;
                font-size: 13px;
                font-weight: 700;
                margin-top: 10px;
            }

            .ymp-portal-feature-grid {
                display: grid;
                gap: 16px;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                margin: 0 0 24px;
            }

            .ymp-portal-feature-grid-single {
                grid-template-columns: minmax(0, 1fr);
            }

            .ymp-portal-panel,
            .ymp-portal-event {
                background: #fff;
                border: 1px solid #dcdcde;
                border-radius: 14px;
                padding: 19px;
            }

            .ymp-portal-panel h3,
            .ymp-portal-event h3 {
                font-size: 20px;
                margin: 0 0 8px;
            }

            .ymp-portal-panel p,
            .ymp-portal-event p {
                color: #646970;
                margin: 0 0 13px;
            }

            .ymp-portal-progress {
                background: #f0f0f1;
                border-radius: 999px;
                height: 12px;
                margin: 12px 0;
                overflow: hidden;
            }

            .ymp-portal-progress-bar {
                background: #2271b1;
                display: block;
                height: 100%;
            }

            .ymp-portal-checklist {
                display: flex;
                flex-wrap: wrap;
                gap: 7px;
                margin: 12px 0 16px;
            }

            .ymp-portal-check {
                background: #f6f7f7;
                border: 1px solid #dcdcde;
                border-radius: 999px;
                color: #50575e;
                display: inline-block;
                font-size: 12px;
                font-weight: 700;
                padding: 5px 9px;
            }

            .ymp-portal-check-complete {
                background: #e7f7ed;
                border-color: #9ed6ae;
                color: #0f5f2e;
            }

            .ymp-portal-event {
                background: linear-gradient(135deg, #fff 0%, #f7fbff 100%);
                border-color: #b9d4ee;
            }

            .ymp-portal-event-kicker {
                color: #135e96;
                display: block;
                font-size: 12px;
                font-weight: 800;
                letter-spacing: .05em;
                margin-bottom: 8px;
                text-transform: uppercase;
            }

            .ymp-portal-event-title {
                color: #1d2327;
                font-size: 22px;
                font-weight: 800;
                line-height: 1.2;
                margin: 0 0 8px;
            }

            .ymp-portal-event-meta {
                color: #50575e;
                font-size: 13px;
                margin-bottom: 15px;
            }

            .ymp-portal-grid {
                display: grid;
                gap: 16px;
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .ymp-portal-card {
                background: #fff;
                border: 1px solid #dcdcde;
                border-radius: 13px;
                color: inherit;
                display: flex;
                flex-direction: column;
                min-height: 175px;
                padding: 18px;
                text-decoration: none;
                transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
            }

            .ymp-portal-card:hover {
                border-color: #2271b1;
                box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
                transform: translateY(-2px);
            }

            .ymp-portal-card-icon {
                display: block;
                font-size: 29px;
                line-height: 1;
                margin-bottom: 13px;
            }

            .ymp-portal-card strong {
                color: #1d2327;
                display: block;
                font-size: 18px;
                margin-bottom: 7px;
            }

            .ymp-portal-card-description {
                color: #646970;
                display: block;
                flex: 1;
            }

            .ymp-portal-card-footer {
                color: #135e96;
                font-size: 12px;
                font-weight: 800;
                justify-content: space-between;
                margin-top: 15px;
            }

            .ymp-portal-card-badge {
                background: #e7f0ff;
                border-radius: 999px;
                color: #174ea6;
                padding: 4px 8px;
            }

            .ymp-portal-empty {
                background: #f6f7f7;
                border: 1px dashed #c3c4c7;
                border-radius: 12px;
                padding: 17px;
            }

            @media (max-width: 1050px) {
                .ymp-portal-shell {
                    grid-template-columns: 1fr;
                }

                .ymp-portal-sidebar {
                    position: static;
                }

                .ymp-portal-brand {
                    display: none;
                }

                .ymp-portal-nav {
                    grid-template-columns: repeat(4, minmax(0, 1fr));
                }

                .ymp-portal-nav-link {
                    justify-content: center;
                }

                .ymp-portal-nav-label {
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
            }

            @media (max-width: 820px) {
                .ymp-portal-stats,
                .ymp-portal-grid {
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                }

                .ymp-portal-feature-grid {
                    grid-template-columns: 1fr;
                }

                .ymp-portal-hero {
                    align-items: flex-start;
                    flex-direction: column;
                }
            }

            @media (max-width: 560px) {
                .ymp-portal-nav {
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                }

                .ymp-portal-stats,
                .ymp-portal-grid {
                    grid-template-columns: 1fr;
                }

                .ymp-portal-hero {
                    padding: 19px;
                }
            }

/* Extracted from modules/profiles/class-profile-shortcodes.php */
.ymp-portal-guest {
                background: linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
                border: 1px solid #c3d9f2;
                border-radius: 16px;
                margin: 0 auto;
                max-width: 900px;
                padding: 28px;
            }

            .ymp-portal-guest h2 {
                font-size: 34px;
                margin: 0 0 10px;
            }

            .ymp-portal-guest p {
                color: #50575e;
                font-size: 16px;
            }

            .ymp-portal-guest-actions {
                display: flex;
                flex-wrap: wrap;
                gap: 10px;
                margin-top: 20px;
            }

            .ymp-portal-guest .ymp-portal-button {
                border: 1px solid #2271b1;
                border-radius: 8px;
                display: inline-block;
                font-weight: 700;
                padding: 10px 14px;
                text-decoration: none;
            }

            .ymp-portal-guest .ymp-portal-button-primary {
                background: #2271b1;
                color: #fff;
            }


/* 6.17.1: semantic progress and nearby-member presentation. */
.ymp-profile-completion-fill,
.ymp-portal-progress-bar {
    appearance: none;
    background: transparent;
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}
.ymp-profile-completion-fill::-webkit-progress-bar,
.ymp-portal-progress-bar::-webkit-progress-bar { background: transparent; }
.ymp-profile-completion-fill::-webkit-progress-value,
.ymp-portal-progress-bar::-webkit-progress-value { background: #2271b1; border-radius: 999px; }
.ymp-profile-completion-fill::-moz-progress-bar,
.ymp-portal-progress-bar::-moz-progress-bar { background: #2271b1; border-radius: 999px; }
.ymp-nearby-members-hero {
    background: linear-gradient(135deg, var(--ymp-front-surface, #fff) 0%, #eef5ff 100%);
    border: 1px solid #c3d9f2;
    border-radius: 14px;
    margin-bottom: 20px;
    padding: 24px;
}
.ymp-nearby-members-title { margin: 0 0 8px; }
.ymp-nearby-members-intro { color: var(--ymp-front-muted, #555); margin: 0; }
.ymp-nearby-members-filter {
    background: var(--ymp-front-surface, #fff);
    border: 1px solid var(--ymp-front-border, #ddd);
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 16px;
}
.ymp-nearby-member-card {
    background: var(--ymp-front-surface, #fff);
    border: 1px solid var(--ymp-front-border, #ddd);
    border-left: 4px solid var(--ymp-front-primary, #2271b1);
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,.04);
    margin-bottom: 16px;
    padding: 18px;
}

/* 6.17.4: actionable, user-controlled profile completion. */
.ymp-profile-completion-list a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ymp-profile-completion-help {
    color: var(--ymp-front-muted,#646970);
    font-size: .9rem;
    line-height: 1.5;
    margin: 12px 0 0;
}
.ymp-profile-participation-card p:last-child {
    margin-bottom: 0;
}
