/* Cash controls use the same dimensions and surfaces as order controls. */
.list-card:has(#cash-results)>.list-controls{padding:0 20px 20px}
.list-search-row:has(#cash-type){align-items:stretch;gap:12px}
#cash-search,#cash-type,.cash-days .chip,#cash-day{
 height:48px;min-height:48px;border:1px solid #dce3ed;border-radius:10px;
 background-color:#f8fafc;color:var(--ink);font-size:14px;line-height:20px;
 padding:13px 14px;box-sizing:border-box
}
#cash-search{padding-left:42px;padding-right:44px}
.list-search-row:has(#cash-type) .list-search>svg,
.list-search-row:has(#cash-type) .clear-search{top:50%;transform:translateY(-50%)}
#cash-type{
 -webkit-appearance:none;appearance:none;flex:0 0 250px;width:250px;max-width:250px;
 padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d7b94' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");
 background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px
}
.cash-days{gap:8px}
#cash-day{width:176px;min-width:0}
.cash-days .chip.active{background:#edf3ff;color:var(--blue);border-color:#c8d9ff}
#main:has(>.cash-date-row)>.page-head .btn,
.cash-count-action .btn,#cash-results [data-action="reset-list"]{min-height:48px;border-radius:10px}
.cash-main-row{padding:20px}
.cash-count-empty,.cash-count-history{padding:16px 20px}
.cash-balance-unavailable,.cash-history-heading{padding-left:20px;padding-right:20px}
.cash-turnovers{padding:0 20px}
.unposted-cash>summary{padding:18px 20px}
.unposted-cash .card-body{padding:20px}
.cash-turnovers>summary,.cash-count-history>summary,.unposted-cash>summary{
 display:flex;align-items:center;gap:10px;list-style:none;line-height:20px
}
.cash-turnovers>summary{min-height:56px}
.cash-turnovers>summary span{margin-left:0}
.cash-turnovers>summary::-webkit-details-marker,
.cash-count-history>summary::-webkit-details-marker,
.unposted-cash>summary::-webkit-details-marker{display:none}
.cash-turnovers>summary::marker,.cash-count-history>summary::marker,.unposted-cash>summary::marker{content:''}
.cash-turnovers>summary::after,.cash-count-history>summary::after,.unposted-cash>summary::after{
 content:'';width:16px;height:16px;flex:0 0 16px;margin-left:auto;
 background:center/16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d7b94' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E")
}
.cash-turnovers[open]>summary::after,.cash-count-history[open]>summary::after,.unposted-cash[open]>summary::after{transform:rotate(180deg)}
#cash-search:focus-visible,#cash-type:focus-visible,#cash-day:focus-visible,
.cash-turnovers>summary:focus-visible,.cash-count-history>summary:focus-visible{
 outline:3px solid #91b1ff;outline-offset:2px
}
@media(max-width:760px){
 .cash-main-row{padding:14px;gap:16px}
 .cash-count-empty,.cash-count-history{padding:14px}
 .cash-balance-unavailable,.cash-history-heading{padding-left:14px;padding-right:14px}
 .cash-turnovers{padding:0 14px}
 .unposted-cash>summary,.unposted-cash .card-body{padding:14px}
}
@media(max-width:650px){
 .list-card:has(#cash-results)>.list-controls{padding:0 14px 14px}
 .list-search-row:has(#cash-type){gap:12px}
 #cash-type{flex:0 0 100%;width:100%;max-width:none}
 #cash-search,#cash-type,#cash-day{font-size:16px}
 #cash-day{width:100%}
 .cash-days .chip{font-size:13px;padding-left:12px;padding-right:12px}
 .cash-table tr{padding-left:14px;padding-right:14px}
}
@media(forced-colors:active){#cash-type{-webkit-appearance:auto;appearance:auto;background-image:none}}
