.dn-contact {
    max-width: 39rem;
    margin: 1rem auto;
    text-align: left;
    color: #000;
    overflow-wrap: anywhere;
}
.dn-contact label {
    display: block;
    margin: .8rem 0 .22rem;
    font-weight: bold;
}
.dn-contact input[type=email],
.dn-contact input[type=text],
.dn-contact textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: .5rem;
    border: 1px solid #80796f;
    border-radius: 3px;
    font: inherit;
    color: #000;
    background: #fff;
}
.dn-contact textarea { min-height: 7rem; }
.dn-contact .dn-code { max-width: 11rem !important; }
.dn-contact button,
.dn-contact-confirm button {
    width: auto;
    max-width: 100%;
    padding: .5rem 1rem;
    font: inherit;
    color: #000;
    cursor: pointer;
}
.dn-contact button { margin: .7rem 0; }
.dn-contact button:disabled { opacity: .7; cursor: progress; }
.dn-contact .dn-honey {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.dn-captcha-image { display: block; max-width: 100%; height: auto; margin: .3rem 0; }
.dn-contact .dn-error,
.dn-contact .dn-success { padding: .65rem; color: #000; background: #fff; }
.dn-error { border-left: 4px solid #8b2828; }
.dn-success { border-left: 4px solid #496840; }
.dn-contact [hidden], .dn-contact-confirm:not([open]) { display: none !important; }
.dn-contact-confirm[open] {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: min(23rem, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    margin: auto;
    padding: 1.5rem;
    border: 1px solid #817467;
    border-radius: .3rem;
    color: #000;
    background: #fffcf5;
    text-align: center;
    box-shadow: 0 .5rem 2rem #33291e40;
}
.dn-contact-confirm::backdrop { background: rgb(36 31 25 / 50%); }
.dn-contact-confirm h2 { margin: 0 0 1rem; font: bold 1.3rem/1.3 Georgia, serif; color: #000; }
.dn-contact :focus-visible,
.dn-contact-confirm :focus-visible { outline: 2px solid #57421e; outline-offset: 2px; }
