/* V58: single authoritative Street Book visual layer. Only applies to active street payment grid. */
.app.full-pay:has(.v49-grid)>main{position:relative;isolation:isolate;gap:5px!important;padding:0 9px 9px!important;background:linear-gradient(180deg,#041b33 0%,#031b33 60%,#021124 100%)!important}
.app.full-pay:has(.v49-grid)>main::before{content:""!important;display:block!important;flex:0 0 80px!important;height:80px!important;min-height:80px!important;margin:0 -9px!important;background:url('assets/premium-header.png') center center/100% 100% no-repeat!important;filter:none!important}
.app.full-pay:has(.v49-grid)>main::after{content:""!important;position:absolute!important;inset:auto 0 0!important;height:180px!important;background:url('assets/cash-footer-v26.webp') center bottom/100% auto no-repeat!important;opacity:.25!important;z-index:-1!important;pointer-events:none!important}
.app.full-pay:has(.v49-grid) .v12-head{height:35px!important;min-height:35px!important;flex:0 0 35px!important;padding:0!important;background:linear-gradient(180deg,#063451,#041a32)!important;border-bottom:1px solid #20bfff!important;position:relative!important}
.app.full-pay:has(.v49-grid) .v12-head::before,.app.full-pay:has(.v49-grid) .v12-head::after{display:none!important;content:none!important}
.app.full-pay:has(.v49-grid) .v12-head h2{font-size:clamp(17px,4.7vw,23px)!important;line-height:1!important;font-weight:900!important;text-shadow:0 2px 4px #000!important}
.app.full-pay:has(.v49-grid) .v12-head h2::before{content:'⌂ ';color:#f6ffff}
.app.full-pay:has(.v49-grid) .v12-head .smallbtn{width:32px!important;min-width:32px!important;height:30px!important;min-height:30px!important;border-radius:8px!important;padding:0!important;background:linear-gradient(#137cba,#032b4e)!important;border:1px solid #45cfff!important;box-shadow:0 0 6px #00baff77,inset 0 1px 2px #fff6!important}
.app.full-pay:has(.v49-grid) .v47-stats{gap:6px!important;flex:0 0 auto!important}
.app.full-pay:has(.v49-grid) .v47-stats>div{min-height:49px!important;padding:4px 2px!important;border:1px solid #2bcaff!important;border-radius:10px!important;background:linear-gradient(180deg,#11668d 0%,#052a4a 40%,#03172d 100%)!important;box-shadow:inset 0 1px 2px #d0faff66,0 0 7px #00baff66!important}
.app.full-pay:has(.v49-grid) .v47-stat-label{font-size:clamp(9px,2.3vw,12px)!important;line-height:1.1!important}
.app.full-pay:has(.v49-grid) .v47-stats strong{font-size:clamp(16px,4vw,22px)!important;line-height:1.1!important;margin-top:1px!important}
.app.full-pay:has(.v49-grid) .v12-bar{height:33px!important;min-height:33px!important;flex:0 0 33px!important;gap:4px!important}
.app.full-pay:has(.v49-grid) .v12-bar b{font-size:clamp(13px,3.5vw,18px)!important}
.app.full-pay:has(.v49-grid) .v12-bar .smallbtn{height:29px!important;min-height:29px!important;padding:2px 8px!important;border-radius:8px!important}
.app.full-pay:has(.v49-grid) .v49-scroll{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;border:1px solid #42d4ff!important;border-radius:10px!important;background:#04223b!important;box-shadow:0 0 8px #00aaff77!important;scrollbar-width:none!important}
.app.full-pay:has(.v49-grid) .v49-scroll::-webkit-scrollbar{display:none!important}
.app.full-pay:has(.v49-grid) .v49-gridhead,.app.full-pay:has(.v49-grid) .v49-gridrow{grid-template-columns:clamp(101px,26vw,135px) repeat(12,minmax(0,1fr))!important}
.app.full-pay:has(.v49-grid) .v49-gridhead{height:27px!important;min-height:27px!important;background:linear-gradient(#147cbb,#043456)!important}
.app.full-pay:has(.v49-grid) .v49-gridrow{height:30px!important;min-height:30px!important;max-height:30px!important;background:#052b4a!important;border-bottom:1px solid #17618b!important}
.app.full-pay:has(.v49-grid) .v49-gridrow:nth-child(even){background:#063655!important}
.app.full-pay:has(.v49-grid) .v49-housepair{gap:2px!important;padding:1px 2px!important;background:transparent!important}
.app.full-pay:has(.v49-grid) .v49-house,.app.full-pay:has(.v49-grid) .v49-price{height:27px!important;min-height:27px!important;max-height:27px!important;border-radius:6px!important;padding:0!important;font-size:clamp(10px,2.5vw,13px)!important;background:linear-gradient(180deg,#146b9b,#032c4f)!important;border:1px solid #2bbef7!important;box-shadow:inset 0 1px 2px #b9f3ff55!important;color:#fff!important}
.app.full-pay:has(.v49-grid) .v49-price{font-size:clamp(9px,2.3vw,12px)!important}
.app.full-pay:has(.v49-grid) .v49-cell,.app.full-pay:has(.v49-grid) .v49-empty{height:27px!important;min-height:27px!important;max-height:27px!important;margin:1px!important;border-radius:2px!important;border:1px solid #16486b!important;background:#082c4a!important;box-shadow:none!important;color:#7faac5!important;font-size:12px!important}
.app.full-pay:has(.v49-grid) .v49-cell.blank,.app.full-pay:has(.v49-grid) .v49-cell.owed{background:#082c4a!important;border-color:#16486b!important}
.app.full-pay:has(.v49-grid) .v49-empty{font-size:0!important;color:transparent!important}
.app.full-pay:has(.v49-grid) .v49-cell.paid{font-size:0!important;position:relative!important;background:linear-gradient(#12a976,#046845)!important;border-color:#43ffb5!important;box-shadow:0 0 5px #13f59a99!important}
.app.full-pay:has(.v49-grid) .v49-cell.paid::after{content:'✓'!important;position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:clamp(12px,3vw,17px)!important;color:white!important;font-weight:900!important}
.app.full-pay:has(.v49-grid) .v49-cell.missed{background:#80283a!important;border-color:#ff647a!important;color:#fff!important}
.app.full-pay:has(.v49-grid) .v49-cell.partial{background:#74510b!important;border-color:#ffcf43!important;color:#fff1b0!important}
.app.full-pay:has(.v49-grid) .v47-legend{flex:0 0 auto!important;min-height:35px!important;padding:4px 2px!important;border-radius:8px!important;font-size:clamp(9px,2.25vw,12px)!important}
.app.full-pay:has(.v49-grid) .v47-legend small{font-size:clamp(9px,2.2vw,11px)!important}
.app.full-pay:has(.v49-grid) .v47-bottom{flex:0 0 auto!important;gap:5px!important}
.app.full-pay:has(.v49-grid) .v47-bottom button{min-height:37px!important;height:37px!important;padding:3px 1px!important;border-radius:8px!important;font-size:clamp(9px,2.3vw,12px)!important;background:linear-gradient(#0b8bc8,#043258)!important;border:1px solid #39d2ff!important;box-shadow:inset 0 2px 3px #c0f5ff66,0 0 5px #00baff66!important}
.app.full-pay:has(.v49-grid) .v47-bottom .finish-street{background:linear-gradient(#24dba0,#06754f)!important;border-color:#5bffbc!important}
@media(max-height:740px){.app.full-pay:has(.v49-grid)>main::before{flex-basis:58px!important;height:58px!important;min-height:58px!important}.app.full-pay:has(.v49-grid) .v47-stats>div{min-height:43px!important}.app.full-pay:has(.v49-grid) .v49-gridrow{height:27px!important;min-height:27px!important;max-height:27px!important}.app.full-pay:has(.v49-grid) .v49-cell,.app.full-pay:has(.v49-grid) .v49-empty,.app.full-pay:has(.v49-grid) .v49-house,.app.full-pay:has(.v49-grid) .v49-price{height:24px!important;min-height:24px!important;max-height:24px!important}}
