.charges-search-panel{position:relative;margin:0 0 7px;padding:14px 16px;border:1px solid #dcebe2;border-radius:12px;background:#f8fcf9}
.charges-search-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:10px}
.charges-search-heading label{display:block;color:#102e23;font:800 14px Manrope}
.charges-search-heading small{display:block;margin-top:3px;color:#6c8175;font-size:12px}
.charges-search-count{color:#277252;font:700 12px 'DM Sans';white-space:nowrap}
.charges-search-field{display:flex;align-items:center;gap:8px;min-height:46px;padding:0 12px;border:1px solid #d2e5d9;border-radius:9px;background:white;color:#267353}
.charges-search-field:focus-within{border-color:#00a66f;box-shadow:0 0 0 3px #08b97720}
.charges-search-field>span{font-size:20px}
.charges-search-field input{min-width:0;flex:1;height:44px;border:0;outline:0;background:none;color:#132a20;font:500 14px 'DM Sans'}
.charges-search-clear{padding:5px;border:0;background:none;color:#087c68;font:700 12px 'DM Sans';cursor:pointer}
.charges-search-clear[hidden],.charges-search-suggestions[hidden],.charges-search-empty[hidden],.monthly-charge-row[hidden]{display:none!important}
.charges-search-suggestions{position:absolute;z-index:20;left:16px;right:16px;top:calc(100% - 5px);max-height:290px;overflow:auto;padding:5px;border:1px solid #cfe8d8;border-radius:10px;background:#fff;box-shadow:0 15px 35px #092b1f29}
.charges-search-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:11px;border:0;border-radius:7px;background:#fff;text-align:left;cursor:pointer}
.charges-search-option:hover,.charges-search-option:focus-visible{background:#eaf8ef}
.charges-search-option strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 12px Manrope;color:#143329}
.charges-search-option small{color:#718277;font:600 11px 'DM Sans';white-space:nowrap}
.charges-search-empty{margin:0;padding:20px 10px;color:#607568;text-align:center;font-size:13px}
@media(max-width:760px){
  .charges-search-panel{padding:12px}.charges-search-heading{align-items:start;flex-direction:column;gap:5px}.charges-search-heading small{font-size:12px}.charges-search-suggestions{left:12px;right:12px}
  #modal-root .modal-backdrop{z-index:12000;display:flex;align-items:center;justify-content:center;inset:auto 0 auto 0;top:var(--modal-visual-top,0px);height:var(--modal-visual-height,100dvh);padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom));overflow:hidden}
  #modal-root .client-modal-complete,#modal-root .monthly-payment-modal,#modal-root .plan-schedule-modal{display:flex;flex-direction:column;width:100%;max-width:min(560px,100%);max-height:calc(var(--modal-visual-height,100dvh) - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:0;overflow:hidden;padding:16px;border-radius:16px}
  #modal-root .client-modal-complete .modal-header,#modal-root .monthly-payment-modal .modal-header,#modal-root .plan-schedule-modal .modal-header{flex:0 0 auto;margin-bottom:12px}
  #modal-root .client-modal-complete .form-grid,#modal-root .monthly-payment-modal .form-grid,#modal-root .plan-schedule-modal .form-grid{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;align-content:start;padding:2px 3px 12px;scrollbar-width:thin}
  #modal-root .client-modal-complete .modal-footer,#modal-root .monthly-payment-modal .modal-footer,#modal-root .plan-schedule-modal .modal-footer{position:static;bottom:auto;flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:8px;margin:0;padding:12px 0 0;border-top:1px solid #dcebe2;background:#fff;box-shadow:none}
  #modal-root .client-modal-complete .modal-footer button,#modal-root .monthly-payment-modal .modal-footer button,#modal-root .plan-schedule-modal .modal-footer button{min-width:0;min-height:44px;white-space:normal;font-size:13px}
  #modal-root .monthly-payment-modal .monthly-payment-preview,#modal-root .plan-schedule-modal .plan-schedule-preview{flex:0 0 auto;max-height:100px;overflow:auto;margin:8px 0;font-size:12px}
  #modal-root .plan-schedule-modal .modal-note{flex:0 0 auto;margin:0 0 10px;font-size:12px}
}
@media(max-width:380px){#modal-root .client-modal-complete,#modal-root .monthly-payment-modal,#modal-root .plan-schedule-modal{padding:12px}}
