/* Loaded only on product pages, after the destination has been added in Spectra. */
.voucher-dedication-target .voucher-dedication-field {
    width: 100%;
    min-width: 0;
}
.voucher-dedication-target .voucher-dedication-field[hidden],
.voucher-dedication-target .voucher-dedication-status[hidden],
.pdf-coupon-fields .voucher-dedication-native {
    display: none !important;
}
.voucher-dedication-target .voucher-dedication-label {
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    color: #243a2e;
}
.voucher-dedication-target textarea.voucher-dedication-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 120px;
    margin: 0;
    padding: 12px;
    border: 1px solid #e3ded5;
    border-radius: 6px;
    background: #ffffff;
    color: #243a2e;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    resize: vertical;
}
.voucher-dedication-target textarea.voucher-dedication-input:focus-visible {
    outline: 2px solid #183d25;
    outline-offset: 2px;
}
.voucher-dedication-target .voucher-dedication-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: #626761;
}
.voucher-dedication-target .voucher-dedication-counter { margin-left: auto; }
.voucher-dedication-target .voucher-dedication-status { margin: 0; font-size: 14px; }

/* Spectra mode: Container owns the frame; Paragraph owns the typography. */
.voucher-dedication-input-template{display:flex;flex-direction:column;flex:1 1 auto;min-width:0;width:100%}
.voucher-dedication-input-template textarea.voucher-dedication-input{display:block;box-sizing:border-box;flex:1 1 auto;width:100%;max-width:100%;min-width:0;min-height:0;height:auto;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;appearance:none;color:inherit;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;resize:none}
.voucher-dedication-input-template textarea.voucher-dedication-input::placeholder{color:inherit;opacity:.55}
.voucher-dedication-input-template textarea.voucher-dedication-input:focus,
.voucher-dedication-input-template textarea.voucher-dedication-input:focus-visible{outline:none;box-shadow:none;border:0}
.wp-block-uagb-container.voucher-dedication-shell:focus-within{border-color:#183d25}
.voucher-dedication-retired,.voucher-dedication-input-template[hidden],.voucher-dedication-status[hidden]{display:none!important}
.voucher-dedication-shell ~ .voucher-dedication-footer{display:flex;justify-content:space-between;gap:4px 12px;flex-wrap:wrap;font-size:12px;color:#626761;line-height:1.4}
