/* Contact page only; retain native form, field order and email reveal. */
.ivsmart-contact-r91 {display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;align-items:start;}
.ivsmart-contact-r91>.portal-heading {grid-column:1/-1;margin-bottom:0;}
.ivsmart-contact-r91>.portal-card {min-width:0;box-sizing:border-box;border:1px solid #dce6ee;border-radius:16px;background:#fff;padding:clamp(16px,2.5vw,30px);box-shadow:0 6px 22px rgba(18,49,76,.055);}
.ivsmart-contact-r91>.portal-card h2 {font-size:clamp(18px,2vw,23px);line-height:1.35;margin:0 0 18px;color:#163a56;}
.ivsmart-contact-r91>.portal-card p {line-height:1.65;overflow-wrap:anywhere;}
.ivsmart-contact-r91 .ivmg-contact {max-width:100%;}
.ivsmart-contact-r91 .ivsmart-contact-form-r91 {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;margin:0;}
.ivsmart-contact-form-r91>label {display:flex;flex-direction:column;gap:7px;min-width:0;font-weight:600;color:#29465c;font-size:14px;}
.ivsmart-contact-form-r91>label:has(textarea),.ivsmart-contact-form-r91>label:has(input[type=checkbox]),.ivsmart-contact-form-r91>label:has(input[type=radio]),.ivsmart-contact-form-r91>fieldset,.ivsmart-contact-form-r91>p,.ivsmart-contact-form-r91>button,.ivsmart-contact-form-r91>[role=alert] {grid-column:1/-1;}
.ivsmart-contact-form-r91>label:has(input[type=checkbox]),.ivsmart-contact-form-r91>label:has(input[type=radio]) {display:flex;flex-direction:row;align-items:flex-start;font-weight:400;line-height:1.5;}
.ivsmart-contact-form-r91 input:not([type=hidden]):not([type=checkbox]):not([type=radio]),.ivsmart-contact-form-r91 select,.ivsmart-contact-form-r91 textarea {width:100%;min-width:0;box-sizing:border-box;border:1px solid #cbdbe5;border-radius:9px;min-height:44px;padding:10px 12px;background:#fff;color:#17354b;font:inherit;font-weight:400;}
.ivsmart-contact-form-r91 textarea {min-height:130px;resize:vertical;}
.ivsmart-contact-form-r91 input:focus-visible,.ivsmart-contact-form-r91 select:focus-visible,.ivsmart-contact-form-r91 textarea:focus-visible {outline:2px solid #167eac;outline-offset:2px;}
.ivsmart-contact-form-r91>button[type=submit] {min-height:48px;border-radius:10px;width:100%;}
.ivsmart-contact-form-r91>p {margin:0;font-size:13px;color:#496577;}
@media(max-width:820px){.ivsmart-contact-r91 {grid-template-columns:minmax(0,1fr);gap:16px;}}
@media(max-width:520px){.ivsmart-contact-r91 .ivsmart-contact-form-r91 {grid-template-columns:minmax(0,1fr);gap:12px;}}

/* R10: sign-in and member registration only; do not modify other portal cards. */
.portal-columns:has(> .portal-card .ivforms-r2-register) {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px;}
.portal-columns:has(> .portal-card .ivforms-r2-register) > .portal-card {box-sizing:border-box;min-width:0;padding:clamp(18px,2.5vw,30px);border:1px solid #dce6ee;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(18,49,76,.06);}
.portal-columns:has(> .portal-card .ivforms-r2-register) > .portal-card h2 {font-size:clamp(20px,2vw,26px);line-height:1.25;color:#163a56;margin:0 0 16px;overflow-wrap:anywhere;}
.portal-columns:has(> .portal-card .ivforms-r2-register) > .portal-card > p {margin:0 0 16px;line-height:1.55;}
.portal-columns:has(> .portal-card .ivforms-r2-register) form:has(input[name="action"][value="account_login"]),.portal-columns .ivforms-r2-register {gap:14px!important;margin:0;}
.portal-columns .ivforms-r2-register {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.portal-columns .ivforms-r2-register > label,.portal-columns:has(.ivforms-r2-register) form:has(input[name="action"][value="account_login"]) > label {display:flex;flex-direction:column;gap:7px;min-width:0;font-size:14px;font-weight:600;color:#29465c;line-height:1.45;}
.portal-columns .ivforms-r2-register > label.ivforms-wide,.portal-columns .ivforms-r2-register > p,.portal-columns .ivforms-r2-register > button {grid-column:1/-1;}
.portal-columns .ivforms-r2-register > label.check-label {display:flex;flex-direction:row;align-items:flex-start;gap:9px;font-weight:400;}
.portal-columns .ivforms-r2-register > label.check-label input {flex:0 0 auto;width:17px!important;height:17px!important;min-height:0!important;margin-top:3px;}
.portal-columns:has(.ivforms-r2-register) form:has(input[name="action"][value="account_login"]) > label > input:not([type="hidden"]),.portal-columns .ivforms-r2-register > label > input:not([type="hidden"]):not([type="checkbox"]),.portal-columns .ivforms-r2-register > label > select {appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;display:block;width:100%!important;min-width:0;min-height:46px!important;height:46px!important;border:1px solid #cbdbe5!important;border-radius:9px!important;background-color:#fff!important;color:#17354c!important;font:inherit!important;font-size:15px!important;padding:10px 12px!important;box-shadow:none;}
.portal-columns .ivforms-r2-register > label > select {padding-inline-end:36px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2329465c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;text-overflow:ellipsis;}
[dir="rtl"] .portal-columns .ivforms-r2-register > label > select {background-position:left 12px center!important;}
.portal-columns:has(.ivforms-r2-register) form input:focus-visible,.portal-columns .ivforms-r2-register select:focus-visible {outline:2px solid #167eac;outline-offset:2px;}
.portal-columns:has(.ivforms-r2-register) form button[type="submit"] {min-height:46px;border-radius:9px;}
@media(max-width:820px){.portal-columns:has(> .portal-card .ivforms-r2-register){grid-template-columns:minmax(0,1fr);gap:16px;}}
@media(max-width:560px){.portal-columns .ivforms-r2-register{grid-template-columns:minmax(0,1fr)!important;}}
