/* Shared interface casing: preserve existing acronyms and stored values.
   Use .text-verbatim for identifiers or names embedded in a heading. */
:is(h1,h2,h3,h4,h5,h6,label,legend,caption,figcaption,th,dt,summary,
    button,input[type="submit"],input[type="button"],input[type="reset"],
    .button,.btn,.db-btn,.link-button,.nav-link,.form-label,.form-check-label,
    [role="button"],[role="tab"],[role="heading"],
    .badge,.db-chip,.status-switch,.card-header,.section-head,
    .detail-label,.section-label,.serial-label,.serial-picker-label,
    .stock-callout-label,.document-date-label,.totals-title,
    [class$="-title"],[class*="-title "],[class$="-caption"],[class*="-caption "],
    [class$="-label"],[class*="-label "],
    .card-title,.modal-title,.section-title,.icon-title,.icon-caption,
    .notification-panel-head,.notification-group-title,.quick-head,
    .db-eyebrow,.db-kpi-top,.db-text-button,.db-legend,.db-empty>strong,
    .db-queue-row strong,.db-actions a,.db-operation-label,.db-filter select,
    .db-aging-row>div>span,.db-stage-content>span>strong,.db-data summary span,
    .db-mini-heading,.db-panel-head p,.db-kpi-note,.db-pipeline-total>span,
    .db-risk-total>span,.db-due-total>small,.db-stage-content>small,
    .metric>span,.metric>small,.stock-metric>span,.stock-metric>small,
    .form-actions a,.page-head a,.receipt-actions a,.panel-actions a,
    .customer-actions a,.stock-actions a,.filter-buttons a,
    .quick-grid a,.profile-links a,.notification-panel-footer a,
    .report-document-meta b,.report-heading h1,.report-slogan,
    .receipt-meta b,.receipt-meta strong,.help,.rule,.capability b) {
    text-transform: capitalize !important;
}
/* Form controls can inherit from labels; typed data must retain its exact case. */
input:not([type="submit"]):not([type="button"]):not([type="reset"]),
textarea,[contenteditable="true"],.text-verbatim,.text-verbatim * {
    text-transform: none !important;
}
