[data-receipt-fields] input:disabled,
[data-receipt-fields] select:disabled {
    background-color: #eee;
    color: #666;
    border-color: #ccc;
    opacity: 1;
    -webkit-text-fill-color: #666;
    cursor: not-allowed;
}

[data-receipt-fields] input[type="text"],
[data-receipt-fields] select { max-width: 100%; box-sizing: border-box; }

[data-receipt-fields] .receipt-scripted { border: 0; margin: 0; padding: 0; min-width: 0; }

/* Group the standard toggle and both receipt settings without enclosing the heading. */
div.content div.box[data-receipt-fields] {
    border: 1px solid #aaa;
    padding: 1em;
    margin-bottom: 1.5em;
    box-sizing: border-box;
}
