 .hedomi-may-date{--may-accent:#a58b50;display:grid!important;grid-template-columns:1fr 1fr 1.5fr;width:100%;max-width:100%;box-sizing:border-box;padding:12px 8px;border:1px solid rgba(128,128,128,.4);border-radius:16px;background:rgba(128,128,128,.045);box-shadow:0 0 0 3px rgba(128,128,128,.13);color:inherit}.hedomi-may-date label{display:flex!important;flex-direction:column;align-items:center;gap:4px;min-width:0;margin:0!important;padding:4px 8px!important;color:inherit!important;font-size:14px!important}.hedomi-may-date label+label{border-left:1px solid rgba(128,128,128,.35)}.hedomi-may-date input{box-sizing:border-box;width:100%!important;min-width:0!important;height:60px!important;padding:4px!important;text-align:center!important;font:inherit!important;font-size:clamp(20px,4vw,32px)!important;background:transparent!important;color:inherit!important;border:0!important;border-radius:4px!important;box-shadow:none!important;outline:none!important}.hedomi-may-date input:focus{background:rgba(128,128,128,.1)!important;box-shadow:0 2px 0 var(--may-accent)!important}.hedomi-may-date.may-dark{color:#f5efff}.hedomi-may-date.may-light{color:#302b35}.hedomi-may-date[aria-invalid=true]{border-color:#b94c4c}.hc-couple-dategrid[hidden]{display:none!important}
/* Shared segmented gender controls; preserve configured palette and selection logic. */
:is(.gender.hedomi-gender-segment,.hc-couple-gender-options.hedomi-gender-segment){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:4px!important;border:1px solid rgba(128,128,128,.45)!important;border-radius:16px!important;margin:10px 0!important;}
.hedomi-gender-segment::after{display:none!important;}
.hedomi-gender-segment > :is(button.gender-change,button.hc-couple-gender-button){display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;min-width:0!important;min-height:48px!important;height:auto!important;margin:0!important;padding:10px 6px!important;box-sizing:border-box!important;white-space:normal!important;font-size:clamp(13px,2.5vw,17px)!important;line-height:1.3!important;cursor:pointer;}
.hedomi-gender-segment > button > span{color:inherit!important;overflow-wrap:anywhere;}
.hedomi-gender-segment > button:focus-visible{outline:2px solid currentColor!important;outline-offset:2px;}
.hedomi-gender-segment .hedomi-gender-symbol{font-size:1.3em;line-height:1;flex:none;}
body .hedomi-may-date.hedomi-may-date label input[type=text]{border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;border-radius:4px!important;}
body .hedomi-may-date.hedomi-may-date label input[type=text]:focus{box-shadow:0 2px 0 var(--may-accent)!important;background:rgba(128,128,128,.1)!important;}
body .hedomi-may-date.hedomi-may-date{box-shadow:none!important;}

.hc-couple-birthform .hedomi-gender-segment > button.hc-couple-gender-button{border-radius:11px!important;}


/* Mapas da Vida – standalone form only; leave the home tabs and other sites unchanged. */
.mdv-native-form{--mdv-control-border:rgba(214,179,111,.35);--mdv-control-gold:#d6b36f;--mdv-control-ink:#fbf5ff;color:var(--mdv-control-ink)!important;max-width:100%;box-sizing:border-box;}
.mdv-native-form :is(.md-birthdate-card,.hc-couple-person){background:transparent!important;box-shadow:none!important;border-color:var(--mdv-control-border)!important;}
.mdv-native-form label,.mdv-native-form .hc-couple-person-heading{color:inherit!important;}
.mdv-native-form :is(#nome,#couple_name,#couple_partner_name){width:100%!important;min-width:0!important;height:52px!important;padding:0 15px 0 44px!important;box-sizing:border-box!important;border:1px solid var(--mdv-control-border)!important;border-radius:12px!important;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23d6b36f' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M4.5 21v-2a7.5 7.5 0 0 1 15 0v2'/%3E%3C/svg%3E") no-repeat 14px center!important;color:inherit!important;font-size:16px!important;box-shadow:none!important;}
.mdv-native-form :is(#nome,#couple_name,#couple_partner_name):focus{outline:1px solid var(--mdv-control-gold)!important;outline-offset:2px;}
body .mdv-native-form .hedomi-may-date.hedomi-may-date{padding:7px 6px!important;background:transparent!important;border:1px solid var(--mdv-control-border)!important;border-radius:13px!important;gap:0!important;color:inherit!important;--may-accent:#d6b36f!important;}
body .mdv-native-form .hedomi-may-date label{gap:3px!important;padding:5px 8px!important;font-size:13px!important;color:#e8d4ad!important;}
body .mdv-native-form .hedomi-may-date label+label{border-color:var(--mdv-control-border)!important;}
body .mdv-native-form .hedomi-may-date.hedomi-may-date label input[type=text]{height:40px!important;padding:0 2px!important;font-size:clamp(18px,4vw,26px)!important;font-weight:500!important;letter-spacing:.02em;color:var(--mdv-control-ink)!important;}
.mdv-native-form input::placeholder{color:#b8aec5!important;opacity:.75!important;}
body .mdv-native-form .hedomi-may-date:focus-within{border-color:var(--mdv-control-gold)!important;}
body .mdv-native-form .hedomi-may-date[aria-invalid=true]{border-color:#e98787!important;}
.mdv-native-form :is(#personal-calculate,#calculateCouple){width:100%!important;max-width:460px;min-height:54px!important;padding:12px 20px!important;border:1px solid #d6b36f!important;border-radius:13px!important;background:linear-gradient(115deg,#eed49d,#c9a25f)!important;color:#21152e!important;font-size:17px!important;font-weight:700!important;box-shadow:none!important;transition:filter .18s ease,transform .18s ease;}
.mdv-native-form :is(#personal-calculate,#calculateCouple):hover{filter:brightness(1.08);transform:translateY(-1px);}
.mdv-native-form :is(#personal-calculate,#calculateCouple):focus-visible{outline:2px solid #f7dcaa!important;outline-offset:3px;}
@media(prefers-reduced-motion:reduce){.mdv-native-form :is(#personal-calculate,#calculateCouple){transition:none!important;transform:none!important;}}

/* Compact standalone couple layout: two balanced cards, one centered CTA. */
body .hc-couple-birthform.mdv-couple-compact{width:min(820px,100%)!important;max-width:820px!important;margin:0 auto!important;padding:0 12px!important;box-sizing:border-box;}
body .mdv-couple-compact .hc-couple-birthcards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;width:100%!important;}
body .mdv-couple-compact .hc-couple-person{padding:18px!important;border:1px solid rgba(214,179,111,.32)!important;border-radius:16px!important;background:transparent!important;box-sizing:border-box;}
body .mdv-couple-compact .hc-couple-person-heading{color:#d6b36f!important;margin:0 0 14px!important;font-size:17px!important;}
body .mdv-couple-compact .hc-couple-person-name{margin:0 0 12px!important;}
body .mdv-couple-compact :is(.mdv-name-label,.mdv-date-label){display:block!important;margin:0 0 7px!important;font-size:14px!important;color:#f5effa!important;}
body .mdv-couple-compact .hedomi-may-date{width:100%!important;max-width:100%!important;}
body .mdv-couple-compact .hc-couple-birth-actions{display:flex!important;justify-content:center!important;margin:18px auto 0!important;width:100%!important;}
body .mdv-couple-compact #calculateCouple{width:min(360px,100%)!important;min-width:0!important;margin:0 auto!important;}
body .mdv-couple-compact .hc-couple-dategrid[hidden]{display:none!important;}
@media(max-width:680px){body .mdv-couple-compact .hc-couple-birthcards{grid-template-columns:1fr!important;gap:12px!important;}body .mdv-couple-compact{max-width:440px!important;}body .mdv-couple-compact .hc-couple-person{padding:14px!important;}}

/* Give the matrix breathing room below the standalone Couple action. */
body .hc-couple-birthform.mdv-couple-compact{margin-bottom:36px!important;}
