/* Container-safe presentation. Scoped to this plugin; no global theme overrides. */
:is(#cv23,.creed-voucher-form) {box-sizing:border-box;min-width:0!important;max-width:100%!important;overflow-wrap:anywhere;container-type:inline-size}
:is(#cv23,.creed-voucher-form) :where(div,section,article,form,fieldset,nav,header,details,label,p,pre) {box-sizing:border-box;min-width:0;max-width:100%}
:is(#cv23,.creed-voucher-form) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea,button,.button) {box-sizing:border-box;min-width:0;max-width:100%!important}
:is(#cv23,.creed-voucher-form) :is(button,.button,summary,a.nav-tab) {white-space:normal!important;overflow-wrap:anywhere}
:is(#cv23,.creed-voucher-form) :is(img,svg,canvas) {max-width:100%;height:auto}
:is(#cv23,.creed-voucher-form) :is(code,pre) {white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
:is(#cv23,.creed-voucher-form) .creed-table-scroll {display:block!important;box-sizing:border-box;width:100%;min-width:0!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-inline:contain}
:is(#cv23,.creed-voucher-form) .creed-table-scroll:focus-visible {outline:2px solid #185a91;outline-offset:2px}
:is(#cv23,.creed-voucher-form) .creed-table-scroll > table {display:table!important;table-layout:auto!important;width:100%!important;min-width:var(--creed-table-min,34rem)!important;max-width:none!important;margin:0!important;overflow:visible!important;border-collapse:collapse}
:is(#cv23,.creed-voucher-form) .creed-table-scroll > table > thead {display:table-header-group!important}
:is(#cv23,.creed-voucher-form) .creed-table-scroll > table > tbody {display:table-row-group!important}
:is(#cv23,.creed-voucher-form) .creed-table-scroll > table > tfoot {display:table-footer-group!important}
:is(#cv23,.creed-voucher-form) .creed-table-scroll > table > :is(thead,tbody,tfoot) > tr {display:table-row!important}
:is(#cv23,.creed-voucher-form) .creed-table-scroll > table > :is(thead,tbody,tfoot) > tr > :is(th,td) {display:table-cell!important;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;box-sizing:border-box;vertical-align:middle}
:is(#cv23,.creed-voucher-form) .creed-table-scroll > table > :is(thead,tbody,tfoot) > tr > :is(th,td)::before {content:none!important}

#cv23{width:100%;padding:clamp(8px,3%,24px);container-name:creed-voucher}
#cv23 .cv-tabs a.cv-tab{min-width:0;max-width:100%;flex:1 1 95px;white-space:normal;overflow-wrap:anywhere}
#cv23 :is(.cv-panel,.cv-header,.cv-analytics){padding:clamp(8px,3%,22px);min-width:0;max-width:100%}
#cv23 :is(.cv-toolbar,.cv-filter,.cv-panel form),#cv23>form{flex-wrap:wrap;min-width:0;max-width:100%}
#cv23 :is(.cv-toolbar,.cv-filter,.cv-panel form)>*{min-width:0;max-width:100%}
#cv23 label{min-width:0;max-width:100%;margin-right:0}
#cv23 :is(.cv-legend,.cv-status-legend)>span{min-width:0;max-width:100%;overflow-wrap:anywhere}
#cv23 .cv-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr))}
#cv23 .cv-metrics>div{min-width:0;max-width:100%;overflow-wrap:anywhere}
#cv23 #cv-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));max-width:100%;min-width:0}
#cv23 .cv-chart-scroll{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain}
#cv23 .cv-chart-scroll:focus-visible{outline:2px solid #185a91;outline-offset:2px}
#cv23 .cv-chart{min-width:460px;gap:8px}
#cv23 .cv-chart-month{white-space:normal;overflow-wrap:anywhere}
#cv23 :is(#cv-single,#cv-assign-dialog){max-width:calc(100% - 24px);overflow:auto;box-sizing:border-box}
.creed-voucher-form{padding:clamp(10px,3%,18px)!important}
.creed-voucher-form form{display:flex;flex-wrap:wrap;align-items:end;gap:8px}
.creed-voucher-form form label{flex:1 1 140px}
.creed-voucher-form form input:not([type=hidden]){width:100%}


.creed-grid-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin:12px 0;min-width:0;max-width:100%;box-sizing:border-box}
.creed-grid-toolbar label{display:flex;flex-direction:column;gap:4px;max-width:100%;min-width:0}
.creed-grid-toolbar input,.creed-grid-toolbar select{min-width:0;max-width:100%;box-sizing:border-box}
.creed-grid-count{font-size:13px;color:#526477;align-self:center}
.creed-table-scroll th .creed-grid-sort,.creed-table-scroll th .creed-sort-link{display:inline!important;background:transparent!important;color:inherit!important;border:0!important;padding:0!important;margin:0!important;font:inherit!important;text-align:inherit;min-height:0!important;box-shadow:none!important;text-decoration:none;cursor:pointer;white-space:normal!important}
.creed-table-scroll th .creed-grid-sort:focus-visible,.creed-table-scroll th .creed-sort-link:focus-visible{outline:2px solid #185a91;outline-offset:3px}
.creed-table-scroll tr[hidden]{display:none!important}
