html,body{min-height:100%}
body{min-height:100vh;min-height:100dvh;margin:0;display:flex;flex-direction:column}
body>header,body>footer{flex:0 0 auto}
body>main{flex:1 0 auto;width:100%;display:flex;flex-direction:column;min-height:0}
.opa-app-page{flex:1 0 auto;width:100%;box-sizing:border-box;display:flex;align-items:flex-start;justify-content:center;padding:clamp(14px,2.8vh,42px) clamp(12px,2.2vw,24px) clamp(16px,3vh,46px)}
.opa-app-shell--narrow{width:min(calc(100% - 12px),520px);margin:0 auto}
.opa-app-title{text-align:center;margin:0 0 clamp(3px,.6vh,8px);color:#202124;font-size:clamp(1.65rem,2.3vw,2.25rem);line-height:1.15}
.opa-app-lead{text-align:center;margin:0 auto clamp(14px,2.1vh,26px);color:#5f6368;line-height:1.45}
.opa-card{background:#fff;border:1px solid #dadce0;border-radius:clamp(11px,1.2vw,16px);padding:clamp(17px,2.5vh,28px);box-sizing:border-box;box-shadow:0 2px 10px rgba(60,64,67,.08)}
.opa-form{display:grid;gap:clamp(12px,1.8vh,20px)}
.opa-form label{display:grid;gap:clamp(4px,.7vh,7px);color:#202124;font-weight:600}
.opa-input,.opa-select,.opa-textarea{width:100%;box-sizing:border-box;min-height:clamp(40px,5.2vh,46px);border:1px solid #bdc1c6;border-radius:8px;background:#fff;padding:8px 12px;font:inherit;color:#202124}
.opa-input:focus,.opa-select:focus,.opa-textarea:focus{outline:2px solid rgba(0,124,190,.18);border-color:#087fbd}
.opa-button{display:inline-flex;align-items:center;justify-content:center;min-height:clamp(40px,5vh,46px);border:0;border-radius:24px;padding:8px 26px;background:#087fbd;color:#fff;font:inherit;font-weight:700;cursor:pointer;text-decoration:none}
.opa-form-actions{display:flex;justify-content:center}.opa-login-help{text-align:center;margin:clamp(12px,1.8vh,20px) 0 0;color:#5f6368}.opa-login-help a{color:#087fbd;font-weight:600}
.opa-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,2vw,20px)}.opa-grid .opa-full{grid-column:1/-1}
body>footer{margin-top:auto!important;box-sizing:border-box;padding-top:clamp(10px,1.5vh,18px)!important;padding-bottom:clamp(10px,1.5vh,18px)!important}
body>footer img{width:auto;max-height:clamp(48px,7vh,70px)!important}
body>footer p,body>footer h1,body>footer h2,body>footer h3{margin-top:clamp(3px,.5vh,7px)!important;margin-bottom:clamp(3px,.5vh,7px)!important}
@media(max-height:760px) and (min-width:721px){.opa-app-page{padding-top:12px;padding-bottom:14px}.opa-app-lead{margin-bottom:12px}.opa-card{padding-top:16px;padding-bottom:16px}.opa-form{gap:10px}.opa-login-help{margin-top:10px}body>footer{padding-top:8px!important;padding-bottom:8px!important}body>footer img{max-height:46px!important}}
@media(max-width:720px){.opa-app-page{padding:20px 10px 28px}.opa-card{padding:18px 15px}.opa-grid{grid-template-columns:1fr}.opa-grid .opa-full{grid-column:auto}}
@media(max-height:560px){.opa-app-page{padding-top:10px;padding-bottom:12px}}

/* ===== OPA V4 production registration ===== */
.opa-app-shell{
    width:min(calc(100% - 64px),1120px);
    margin:0 auto;
}
.opa-registration-page{align-items:flex-start}
.opa-registration-form{display:grid;gap:clamp(14px,2.2vh,22px)}
.opa-form-section{padding:clamp(18px,2.4vw,28px)}
.opa-section-heading{display:flex;align-items:flex-start;gap:14px;margin-bottom:clamp(16px,2vh,22px);padding-bottom:14px;border-bottom:1px solid #e8eaed}
.opa-section-heading h2{margin:0 0 4px;font-size:clamp(1.15rem,1.8vw,1.45rem);color:#202124}
.opa-section-heading p{margin:0;color:#5f6368;line-height:1.45}
.opa-section-number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#087fbd;color:#fff;font-weight:700}
.opa-required{color:#b3261e}
.opa-form-section small{font-weight:400;color:#6b7280;line-height:1.35}
.opa-check-list{display:grid;gap:12px;margin-top:20px;padding-top:18px;border-top:1px solid #e8eaed}
.opa-check-list label{display:flex;align-items:flex-start;gap:9px;font-weight:500;color:#303134}
.opa-check-list input{margin-top:3px}
.opa-registration-submit{text-align:center;padding:clamp(6px,1vh,12px) 0 8px}
.opa-registration-submit p{color:#5f6368}
.opa-registration-submit a{color:#087fbd;font-weight:600}
.opa-button--large{padding-left:32px;padding-right:32px}
.opa-message--error{border-color:#f0b7b3;background:#fce8e6;color:#7a1c17}
.opa-message--error ul{margin-bottom:0}
.opa-registration-result{max-width:680px;margin:0 auto;text-align:center}
.opa-registration-result h2{margin-top:8px}
.opa-success-icon{display:inline-flex;width:54px;height:54px;border-radius:50%;align-items:center;justify-content:center;background:#e6f4ea;color:#137333;font-size:30px;font-weight:700}
@media(max-width:720px){.opa-section-heading{gap:10px}.opa-section-number{flex-basis:30px;width:30px;height:30px}.opa-form-section{padding:17px 14px}}

@media(max-width:720px){
    .opa-app-shell{
        width:calc(100% - 24px);
    }
}

.google-header{position:relative;z-index:1000}
.top-links{display:flex;align-items:center;gap:22px;white-space:nowrap}
.opa-apps-panel{width:min(390px,calc(100vw - 24px));max-height:min(620px,calc(100vh - 110px));overflow-y:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:22px 18px;overscroll-behavior:contain}
.opa-apps-panel a{min-width:0;min-height:88px;padding:10px 6px;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;line-height:1.15;text-decoration:none}
.opa-apps-panel a:hover,.opa-apps-panel a:focus-visible{background:#eef5ff}
.opa-apps-panel a span{font-size:14px}
@media(max-width:1180px){.top-links{gap:15px}.top-links .nav-optional{display:none}}
@media(max-width:760px){.google-header{padding-left:12px;padding-right:12px}.brand small{display:none}.top-links{gap:12px}.top-links>a{display:none}.top-links>a[href="/login.php"],.top-links>a[href="/member/dashboard.php"]{display:inline-block}.opa-apps-panel{right:10px;width:min(360px,calc(100vw - 20px));padding:16px 12px}}
@media(max-width:430px){.opa-apps-panel a{min-height:78px;padding:8px 3px}.opa-apps-panel a span{font-size:12px}}


/* =========================================================
   OPA V4 MEMBER DASHBOARD
   Append to the bottom of /assets/css/v4-app.css
   ========================================================= */

.member-dashboard{
    width:100%;
    padding:clamp(26px,4vh,48px) clamp(18px,4vw,56px) clamp(34px,5vh,58px);
}

.dashboard-shell{
    width:min(1180px,100%);
    margin:0 auto;
}

.dashboard-heading{
    margin-bottom:24px;
}

.dashboard-kicker{
    margin:0 0 5px;
    color:#087fbd;
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.12em;
}

.dashboard-heading h1{
    margin:0;
    font-size:clamp(2rem,3vw,2.75rem);
    line-height:1.1;
    color:#202124;
}

.dashboard-welcome{
    margin:9px 0 0;
    color:#5f6368;
    font-size:1.08rem;
}

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

.status-card{
    border:1px solid #dfe3e8;
    border-radius:18px;
    padding:24px;
    background:#fff;
    box-shadow:0 3px 12px rgba(32,33,36,.06);
}

.status-card-top{
    display:flex;
    align-items:flex-start;
    gap:14px;
}

.status-icon{
    width:46px;
    height:46px;
    border-radius:13px;
    background:#eef7fc;
    display:grid;
    place-items:center;
    font-size:23px;
    flex:0 0 auto;
}

.status-eyebrow{
    display:block;
    color:#5f6368;
    font-size:.84rem;
    font-weight:700;
    margin-bottom:7px;
}

.status-pill{
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    padding:6px 11px;
    font-size:.86rem;
    font-weight:800;
    line-height:1;
}

.status-pill.success{background:#e6f4ea;color:#137333}
.status-pill.warning{background:#fef7e0;color:#8a5a00}
.status-pill.danger{background:#fce8e6;color:#b3261e}
.status-pill.neutral{background:#f1f3f4;color:#4b4f52}

.status-card p{
    margin:18px 0 0;
    color:#5f6368;
    line-height:1.55;
}

.status-detail{
    display:flex;
    justify-content:space-between;
    gap:15px;
    margin-top:18px;
    padding-top:15px;
    border-top:1px solid #edf0f2;
    color:#5f6368;
}

.status-detail strong{color:#202124}

.dashboard-notice{
    margin-top:20px;
    padding:17px 20px;
    border-radius:14px;
    display:flex;
    gap:13px;
    align-items:flex-start;
    line-height:1.45;
}

.dashboard-notice.warning{
    background:#fff8e1;
    border:1px solid #f1d98a;
    color:#6d5100;
}

.dashboard-notice.danger{
    background:#fce8e6;
    border:1px solid #efb8b2;
    color:#8c1d18;
}

.dashboard-notice p{
    margin:4px 0 0;
}

.notice-icon{font-size:22px}

.dashboard-section-title{
    margin:30px 0 14px;
}

.dashboard-section-title h2{
    margin:0 0 4px;
    font-size:1.45rem;
    color:#202124;
}

.dashboard-section-title p{
    margin:0;
    color:#5f6368;
}

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

.dashboard-action-card{
    display:flex;
    align-items:center;
    gap:14px;
    min-height:112px;
    padding:18px;
    border:1px solid #dfe3e8;
    border-radius:16px;
    background:#fff;
    color:#202124;
    text-decoration:none;
    box-shadow:0 2px 8px rgba(32,33,36,.04);
    transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;
}

.dashboard-action-card:hover,
.dashboard-action-card:focus-visible{
    transform:translateY(-2px);
    border-color:#9cc9e3;
    box-shadow:0 6px 16px rgba(32,33,36,.09);
}

.action-icon{
    width:44px;
    height:44px;
    border-radius:12px;
    background:#eef7fc;
    display:grid;
    place-items:center;
    font-size:22px;
    flex:0 0 auto;
}

.action-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:5px;
}

.action-copy strong{
    font-size:1rem;
}

.action-copy small{
    color:#5f6368;
    line-height:1.35;
}

.action-arrow{
    margin-left:auto;
    color:#087fbd;
    font-size:1.8rem;
    line-height:1;
}

.dashboard-summary{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:1px;
    margin-top:22px;
    overflow:hidden;
    border:1px solid #e2e5e9;
    border-radius:14px;
    background:#e2e5e9;
}

.dashboard-summary > div{
    background:#f8f9fa;
    padding:15px 18px;
}

.dashboard-summary span{
    display:block;
    color:#6b7075;
    font-size:.78rem;
    font-weight:700;
    margin-bottom:4px;
}

.dashboard-summary strong{
    color:#202124;
    font-size:.94rem;
}

@media(max-width:820px){
    .status-grid,
    .quick-access-grid{
        grid-template-columns:1fr;
    }
    .dashboard-summary{
        grid-template-columns:1fr;
    }
}

@media(max-width:520px){
    .member-dashboard{
        padding:22px 14px 32px;
    }
    .status-card{
        padding:19px;
    }
    .dashboard-action-card{
        min-height:96px;
    }
}

/* ===== OPA V4 Integrated Admin Portal Stage 1 ===== */
.opa-admin-filter{margin:0 0 20px}.opa-admin-filter-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr) auto;gap:14px;align-items:end}.opa-admin-filter-grid label{display:grid;gap:6px;font-weight:700}.opa-admin-filter-action{padding-bottom:1px}.opa-admin-list{display:grid;gap:10px}.opa-admin-member-row{display:grid;grid-template-columns:1.35fr 1fr 1.15fr auto;gap:18px;align-items:center;padding:17px 19px;border:1px solid #dfe3e8;border-radius:14px;background:#fff;color:#202124;text-decoration:none;box-shadow:0 2px 8px rgba(32,33,36,.04)}.opa-admin-member-row:hover{border-color:#9cc9e3;box-shadow:0 5px 14px rgba(32,33,36,.08)}.opa-admin-member-row>div{min-width:0;display:flex;flex-direction:column;gap:4px}.opa-admin-member-row small{color:#6b7075}.opa-admin-member-row>div:last-child{align-items:flex-end}.opa-admin-member-row b{font-size:1.6rem;color:#087fbd}.opa-admin-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.opa-admin-review-grid h2,.opa-admin-action-card h2,.opa-admin-bio h2{margin-top:0}.opa-admin-details{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1.4fr);gap:10px 16px;margin:0}.opa-admin-details dt{font-weight:700;color:#5f6368}.opa-admin-details dd{margin:0;overflow-wrap:anywhere}.opa-admin-details a{color:#087fbd;font-weight:600}.opa-admin-bio{margin-top:18px}.opa-admin-bio p{margin-bottom:0;line-height:1.7}.opa-admin-action-card{margin-top:18px;display:flex;justify-content:space-between;align-items:center;gap:24px}.opa-admin-action-card p{margin-bottom:0;color:#5f6368}.opa-admin-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.opa-button--danger{background:#b3261e}.opa-admin-back{margin:20px 0 0}.opa-admin-back a,.status-detail a{color:#087fbd;font-weight:700;text-decoration:none}@media(max-width:850px){.opa-admin-filter-grid,.opa-admin-member-row,.opa-admin-review-grid{grid-template-columns:1fr}.opa-admin-member-row>div:last-child{align-items:flex-start}.opa-admin-action-card{align-items:flex-start;flex-direction:column}.opa-admin-actions{justify-content:flex-start}}

/* ===== OPA V4 Directory & Member Privileges Stage 2 ===== */
.opa-directory-page .dashboard-heading{margin-bottom:22px}.opa-directory-notice{margin-bottom:22px}
.opa-directory-access-note{margin:0 0 22px;padding:12px 16px;border:1px solid #d7e9f3;border-radius:12px;background:#f3faff;color:#31576b;font-weight:600}
.opa-directory-filters{margin-bottom:26px}.opa-directory-filter-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:14px;align-items:end}
.opa-directory-filter-grid label{display:grid;gap:7px;font-weight:700;color:#303134}.opa-directory-filter-action{grid-column:1/-1;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.opa-directory-clear{color:#087fbd;font-weight:700;text-decoration:none}.opa-directory-clear:hover{text-decoration:underline}
.opa-directory-results-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 14px}.opa-directory-results-head h2{margin:0;font-size:clamp(1.3rem,2vw,1.65rem)}
.opa-directory-results-head span{color:#5f6368;font-weight:600}.opa-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.opa-directory-empty{grid-column:1/-1}
.opa-directory-empty p{margin-bottom:0;color:#5f6368}.opa-directory-member{display:flex;flex-direction:column;gap:18px}
.opa-directory-member-top{display:flex;align-items:center;gap:16px}.opa-directory-photo{width:78px;height:78px;flex:0 0 78px;border-radius:50%;object-fit:cover;border:1px solid #d9e3e8;background:#f7fbfd}
.opa-directory-identity{min-width:0}.opa-directory-identity h3{margin:0 0 5px;font-size:1.18rem;line-height:1.25;color:#202124}.opa-directory-identity p{margin:2px 0;color:#5f6368}
.opa-directory-identity .opa-directory-profession{color:#087fbd;font-weight:700}.opa-directory-details{display:grid;gap:9px;padding-top:2px}
.opa-directory-details p{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;margin:0}.opa-directory-details strong{color:#5f6368}.opa-directory-details span{color:#202124;overflow-wrap:anywhere}
.opa-directory-contact{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:15px;border-top:1px solid #e8eaed}.opa-directory-contact>div{display:grid;gap:4px;min-width:0}
.opa-directory-contact strong{font-size:.82rem;color:#5f6368;text-transform:uppercase;letter-spacing:.03em}.opa-directory-contact a{color:#087fbd;font-weight:600;overflow-wrap:anywhere}
.opa-directory-contact span{color:#6b7280;font-size:.94rem}.opa-directory-links{display:flex;gap:16px;flex-wrap:wrap;padding-top:2px}.opa-directory-links a{color:#087fbd;font-weight:700;text-decoration:none}
.opa-directory-links a:hover{text-decoration:underline}@media(max-width:980px){.opa-directory-filter-grid{grid-template-columns:1fr 1fr}.opa-directory-grid{grid-template-columns:1fr}}
@media(max-width:640px){.opa-directory-filter-grid{grid-template-columns:1fr}.opa-directory-member-top{align-items:flex-start}.opa-directory-photo{width:64px;height:64px;flex-basis:64px}
.opa-directory-details p{grid-template-columns:1fr;gap:2px}.opa-directory-contact{grid-template-columns:1fr}.opa-directory-results-head{align-items:flex-start;flex-direction:column;gap:4px}}

/* ===== OPA Directory Stage 2 — avatar and detail spacing correction ===== */

/* Keep member photographs / fallback OPA logo at avatar size */
.opa-directory-member .opa-directory-photo {
    width: 78px !important;
    height: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    min-height: 78px !important;
    max-height: 78px !important;
    flex: 0 0 78px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
}

/* Keep the identity block beside the avatar */
.opa-directory-member-top {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

/* Give labels and values proper separation */
.opa-directory-details p {
    display: grid !important;
    grid-template-columns: 110px minmax(0, 1fr) !important;
    column-gap: 16px !important;
    row-gap: 3px !important;
    margin: 0 !important;
}

.opa-directory-details strong {
    display: block;
    color: #5f6368;
}

.opa-directory-details span {
    display: block;
    min-width: 0;
}

/* Contact labels and values */
.opa-directory-contact > div {
    display: grid !important;
    gap: 5px !important;
}

/* Mobile */
@media (max-width: 640px) {
    .opa-directory-member .opa-directory-photo {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
        max-width: 64px !important;
        min-height: 64px !important;
        max-height: 64px !important;
        flex-basis: 64px !important;
    }

    .opa-directory-details p {
        grid-template-columns: 1fr !important;
        row-gap: 2px !important;
    }
}

.opa-directory-details strong::after,
.opa-directory-contact strong::after {
    content: ":";
}
/* ===== OPA Stage 3A — Member Profile Management ===== */
.opa-profile-page{padding:34px 20px 56px;background:#f8f9fa;min-height:calc(100vh - 150px)}
.opa-profile-shell{max-width:1040px;margin:0 auto}.opa-profile-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}
.opa-profile-heading h1{margin:4px 0 6px;font-size:32px}.opa-profile-heading p{margin:0;color:#5f6368}.opa-eyebrow{font-size:12px;font-weight:700;letter-spacing:.09em;color:#5f6368}
.opa-profile-status{display:flex;flex-wrap:wrap;gap:10px 24px;background:#fff;border:1px solid #e0e3e7;border-radius:14px;padding:15px 18px;margin:0 0 18px}
.opa-profile-card{background:#fff;border:1px solid #e0e3e7;border-radius:16px;padding:22px;margin:0 0 18px;box-shadow:0 1px 2px rgba(60,64,67,.06)}
.opa-profile-card h2{font-size:19px;margin:0 0 18px}.opa-card-intro{color:#5f6368;margin:-8px 0 18px}
.opa-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}.opa-form-grid label{display:flex;flex-direction:column;gap:7px;font-weight:600;color:#3c4043}
.opa-form-grid input,.opa-form-grid select,.opa-form-grid textarea{width:100%;box-sizing:border-box;border:1px solid #dadce0;border-radius:9px;padding:11px 12px;font:inherit;background:#fff;color:#202124}
.opa-form-grid input:focus,.opa-form-grid select:focus,.opa-form-grid textarea:focus{outline:2px solid rgba(26,115,232,.16);border-color:#1a73e8}.opa-form-grid input[readonly]{background:#f1f3f4;color:#5f6368}
.opa-form-grid small,.opa-photo-editor small{font-weight:400;color:#5f6368;line-height:1.4}.opa-span-2{grid-column:1/-1}
.opa-photo-editor{display:flex;align-items:center;gap:22px}.opa-profile-avatar{width:112px;height:112px;min-width:112px;object-fit:cover;border-radius:50%;border:1px solid #dadce0;background:#fff}
.opa-photo-editor>div{display:flex;flex-direction:column;gap:8px;min-width:0}.opa-alert{border-radius:10px;padding:13px 16px;margin-bottom:18px}
.opa-alert-success{background:#e6f4ea;color:#137333;border:1px solid #ceead6}.opa-alert-error{background:#fce8e6;color:#b3261e;border:1px solid #f4c7c3}
.opa-protected-card{background:#f8f9fa}.opa-protected-card p{margin:0;color:#5f6368;line-height:1.6}.opa-profile-actions{display:flex;gap:12px;align-items:center;margin-top:4px}
.opa-primary-button,.opa-secondary-button{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;padding:10px 17px;font-weight:600;text-decoration:none;cursor:pointer}
.opa-primary-button{border:1px solid #1a73e8;background:#1a73e8;color:#fff}.opa-secondary-button{border:1px solid #dadce0;background:#fff;color:#1a73e8}
@media(max-width:700px){.opa-profile-page{padding:24px 14px 42px}.opa-profile-heading{align-items:flex-start;flex-direction:column}.opa-form-grid{grid-template-columns:1fr}.opa-span-2{grid-column:auto}.opa-photo-editor{align-items:flex-start}.opa-profile-avatar{width:86px;height:86px;min-width:86px}.opa-profile-actions{align-items:stretch;flex-direction:column}}

.opa-directory-profile-link{display:inline-flex;margin-top:14px;padding:8px 14px;border:1px solid #dadce0;border-radius:8px;color:#087fbd;text-decoration:none;font-weight:700;background:#fff}
.opa-public-profile-page{padding:34px 20px 58px;background:#f8f9fa;min-height:calc(100vh - 150px)}.opa-public-profile-shell{max-width:1100px;margin:auto}.opa-profile-back{display:inline-block;margin-bottom:18px;color:#087fbd;text-decoration:none;font-weight:600}
.opa-public-profile-hero{display:flex;align-items:center;gap:28px;background:#fff;border:1px solid #e0e3e7;border-radius:18px;padding:28px;margin-bottom:20px}.opa-public-profile-photo{width:150px;height:150px;min-width:150px;object-fit:cover;border-radius:50%;border:1px solid #dadce0}.opa-public-profile-hero h1{font-size:34px;margin:5px 0 8px}.opa-designations{font-weight:700;margin:0 0 9px}.opa-profile-profession{font-size:18px;font-weight:700;color:#087fbd;margin:0}.opa-profile-role,.opa-profile-location{color:#5f6368;margin:4px 0}
.opa-public-profile-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:20px;align-items:start}.opa-public-profile-card{background:#fff;border:1px solid #e0e3e7;border-radius:16px;padding:22px;margin-bottom:20px}.opa-public-profile-card h2{font-size:19px;margin:0 0 16px}.opa-biography{line-height:1.72;color:#3c4043}.opa-profile-dl{margin:0}.opa-profile-dl>div{display:grid;grid-template-columns:165px minmax(0,1fr);gap:14px;padding:9px 0;border-bottom:1px solid #f0f1f2}.opa-profile-dl>div:last-child{border:0}.opa-profile-dl dt{font-weight:700;color:#5f6368}.opa-profile-dl dd{margin:0}.opa-profile-dl-side>div{grid-template-columns:1fr;gap:3px}.opa-profile-links{display:flex;flex-direction:column;gap:10px}.opa-profile-links a{color:#087fbd;text-decoration:none;font-weight:600}
@media(max-width:760px){.opa-public-profile-grid{grid-template-columns:1fr}.opa-public-profile-photo{width:105px;height:105px;min-width:105px}.opa-public-profile-hero h1{font-size:27px}}@media(max-width:520px){.opa-public-profile-page{padding:24px 14px 42px}.opa-public-profile-hero{flex-direction:column;align-items:flex-start}.opa-profile-dl>div{grid-template-columns:1fr;gap:3px}}

.opa-education-list,.opa-public-education-list{display:flex;flex-direction:column}.opa-education-item,.opa-public-education-item{display:flex;justify-content:space-between;gap:18px;padding:16px 0;border-bottom:1px solid #eceff1}.opa-education-item:last-child,.opa-public-education-item:last-child{border-bottom:0}.opa-education-item>div:first-child,.opa-public-education-item{display:flex;flex-direction:column;gap:4px}.opa-education-item small,.opa-public-education-item small{color:#5f6368}.opa-education-actions{display:flex;align-items:center;gap:12px}.opa-education-actions a,.opa-education-actions button{font:inherit;font-weight:600;color:#087fbd;text-decoration:none;background:none;border:0;padding:0;cursor:pointer}.opa-education-actions button{color:#b3261e}.opa-public-education-item{justify-content:flex-start}@media(max-width:600px){.opa-education-item{flex-direction:column}}

/* ===== OPA Profile — Education Integration ===== */

.opa-profile-heading-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.opa-education-profile-link {
    padding: 16px 18px;
    border: 1px solid #e0e3e7;
    border-radius: 12px;
    background: #f8f9fa;
}

.opa-education-profile-link strong {
    display: block;
    margin-bottom: 5px;
    color: #202124;
}

.opa-education-profile-link p {
    margin: 0 0 12px;
    color: #5f6368;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .opa-profile-heading-actions {
        width: 100%;
    }

    .opa-profile-heading-actions .opa-secondary-button {
        width: 100%;
        text-align: center;
    }
}


/* ===== Current Professional Appointment Checkbox ===== */

.opa-current-appointment-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 4px;
}

.opa-current-appointment-label {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
}

.opa-current-appointment-label input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 18px;
}

.opa-current-appointment-label span {
    display: inline !important;
}

.opa-current-appointment-row small {
    color: #5f6368;
    font-weight: 400;
}


.opa-public-appointment-description {
    margin-top: 6px;
    color: #3c4043;
    line-height: 1.55;
}


/* ===== OPA Main Contact Form ===== */

.opa-profile-card form {
    width: 100%;
}

.opa-profile-card .opa-form-field {
    margin-bottom: 20px;
}

.opa-profile-card .opa-form-field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: #3c4043;
}

.opa-profile-card .opa-form-field input,
.opa-profile-card .opa-form-field select,
.opa-profile-card .opa-form-field textarea {
    width: 100%;
    box-sizing: border-box;
}

.opa-profile-card .opa-form-field textarea {
    display: block;
    min-height: 160px;
    resize: vertical;
}

.opa-profile-card .opa-form-field small {
    display: block;
    margin-top: 7px;
    color: #5f6368;
    line-height: 1.4;
}

/* Keep the CAPTCHA answer box reasonably sized */
.opa-profile-card input[name="captcha"] {
    width: 180px;
    max-width: 100%;
}

/* Contact form button spacing */
.opa-profile-card .opa-profile-actions {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile */
@media (max-width: 700px) {
    .opa-profile-card input[name="captcha"] {
        width: 100%;
    }

    .opa-profile-card .opa-form-field textarea {
        min-height: 140px;
    }
}