/*
 * Every text input shows in capitals as it is typed (Igor, 27 Oct 2026; docs/mvp-v1/b2b-capitals.md). This only changes how the
 * text looks: the value, the caret and the selection are untouched, and the API saves the value in capitals itself
 * (RoboInsure.Web.Api/SavedText). Usernames (email inputs) and web addresses keep their case; so does any field marked
 * "ri-keep-case" (sign-in names, URLs, and the app's own wording in System Management). A link typed inside other text shows in
 * capitals here but is saved as typed (RoboInsure.Domain/Common/Capitals).
 */
/* :where() keeps this rule's weight at zero, so the exemptions below (and any page style) win over it. */
:where(input:not([type=email], [type=password], [type=url], [type=hidden], [type=checkbox], [type=radio]), textarea) {
    text-transform: uppercase;
}

input::placeholder,
textarea::placeholder,
.ri-keep-case input,
.ri-keep-case textarea {
    text-transform: none;
}
