/* PHWO forms: gate card, focus mode, photo field */
.phwo-acct-gatecard { max-width: 560px; margin: 1.5rem auto; background: #fff; border-radius: 22px; padding: clamp(24px, 4vw, 40px); text-align: center; box-shadow: 0 20px 50px rgba(13,92,99,.14); border-top: 5px solid #E8A33D; }
.phwo-acct-gatecard-icon { width: 64px; height: 64px; margin: 0 auto .6rem; display: grid; place-items: center; font-size: 1.8rem; border-radius: 50%; background: #e2f4f0; }
.phwo-acct-gatecard-title { font-family: var(--phwo-font-head, Georgia, serif); font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: .2rem 0 .5rem; }
.phwo-acct-gatecard > p { color: #5f6f74; font-size: .97rem; }
.phwo-acct-gatecard-form { display: flex; gap: .5rem; margin: 1.1rem 0 .6rem; }
.phwo-acct-gatecard-form input[type=email] { flex: 1; padding: .85rem 1rem; border: 1.5px solid #cfdcdd; border-radius: 12px; font: inherit; font-size: 1rem; min-width: 0; }
.phwo-acct-gatecard-form input[type=email]:focus { outline: none; border-color: #0D5C63; box-shadow: 0 0 0 4px rgba(13,92,99,.14); }
.phwo-acct-gatecard-form .phwo-btn, .phwo-acct-gatecard .phwo-btn { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.3rem; border-radius: 12px; font-weight: 700; background: #E8A33D; color: #14262B; border: 0; cursor: pointer; font-size: 1rem; text-decoration: none; }
.phwo-acct-gatecard .phwo-acct-fine { font-size: .82rem; color: #5f6f74; margin: 0; }
.phwo-acct-hp { position: absolute !important; left: -9999px; }
body.phwo-gated .phwo-rishta-register form, body.phwo-gated .phwo-rishta-register .phwo-rishta-resume, body.phwo-gated .phwo-rishta-register .phwo-rishta-prep { display: none !important; }
@media (max-width: 560px) { .phwo-acct-gatecard-form { flex-direction: column; } }

/* focus mode */
body.phwo-form-only .phwo-page-head, body.phwo-form-only .phwo-reg-rail, body.phwo-form-only .phwo-reviewed, body.phwo-form-only .phwo-crumbs, body.phwo-form-only .phwo-cta-band, body.phwo-form-only .phwo-inline-cta, body.phwo-form-only .phwo-newsletter { display: none !important; }
body.phwo-form-only .phwo-reg-layout { display: block; }
body.phwo-form-only .phwo-reg-body, body.phwo-form-only .phwo-doc, body.phwo-form-only .phwo-prose { max-width: none; }
.phwo-form-only-wrap { max-width: 860px; margin: 1rem auto 3rem; }
.phwo-form-only-bar { display: flex; align-items: center; gap: 1rem; margin: 0 0 1rem; padding: .6rem .9rem; background: #fff; border: 1px solid #e1e9ea; border-radius: 12px; font-size: .92rem; }
.phwo-form-only-bar a { color: #0D5C63; font-weight: 600; text-decoration: none; white-space: nowrap; }
.phwo-form-only-bar span { color: #5f6f74; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phwo-form-only-wrap .phwo-public-form, .phwo-form-only-wrap .phwo-acct-form-target { margin: 0 auto; }
input.is-locked { background: #f1f4f4 !important; color: #5f6f74; }

/* photo field (all public forms) */
.phwo-photo-field { display: grid; gap: .4rem; }
.phwo-photo-row { display: flex; gap: 1rem; align-items: center; }
.phwo-photo-preview { width: 84px; height: 84px; border-radius: 50%; background: #f1f4f4; display: grid; place-items: center; font-size: 2rem; overflow: hidden; flex: none; border: 2px dashed #cfdcdd; }
.phwo-photo-field.has-photo .phwo-photo-preview { border-style: solid; border-color: #2A9D8F; }
.phwo-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.phwo-photo-btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.phwo-photo-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .9rem; border: 1.5px solid #0D5C63; color: #0D5C63; border-radius: 10px; font-weight: 600; font-size: .9rem; cursor: pointer; background: #fff; position: relative; }
.phwo-photo-btn:hover { background: #f2f8f8; }
.phwo-photo-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; left: 0; bottom: 0; pointer-events: none; }
.phwo-photo-btn.is-cam { display: none; }
.phwo-req { color: #b32d2e; font-style: normal; }
@media (max-width: 860px) { .phwo-photo-btn.is-cam { display: inline-flex; } }
