:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#f8fcff;background:#001527}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 40% 10%,#095aa2 0,#003a70 25%,#001e39 58%,#001325 100%);min-height:100dvh}.app{max-width:720px;margin:auto;min-height:100dvh;background:linear-gradient(155deg,#004784 0%,#00294f 35%,#00152b 85%);box-shadow:0 0 55px #0009}.hero{position:relative;line-height:0}.hero img{width:100%;height:auto;display:block}.hero button{position:absolute;top:7%;width:8%;aspect-ratio:1;border:1px solid #49caff;background:linear-gradient(#144d76,#001b38);color:white;box-shadow:0 0 10px #2fc5ff;font-size:29px;border-radius:12px;line-height:1}.back{left:2%}.gear{right:2%;font-size:23px!important}.tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:0 18px 12px;margin-top:-1px;background:linear-gradient(#004a88,#002c55)}button{font:inherit;cursor:pointer}.tabs button,.primary,.add{background:linear-gradient(180deg,#164e77,#002344 68%,#001a36);border:1px solid #208bc2;border-radius:17px;box-shadow:inset 0 2px 3px #b9efff45,0 3px 0 #00101f,0 0 6px #1aaeff6b;color:white;font-weight:800;padding:12px 4px;font-size:clamp(12px,3.5vw,18px);white-space:nowrap}.tabs button span{font-size:1.35em;margin-right:5px}.tabs button.active,.primary,.add{background:linear-gradient(#6be9ff,#02b6f1 45%,#006bba);color:#052640;border-color:#65efff;box-shadow:inset 0 2px 5px #e0ffffb0,0 0 12px #04bfff}.tabs button:focus-visible,button:focus-visible{outline:3px solid white}main{padding:12px 18px 32px;min-height:60vh}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #23c5ff;border-radius:17px;background:linear-gradient(150deg,#125c8c,#00223e);box-shadow:inset 0 2px 4px #91e6ff75,0 0 13px #02baff85;margin:3px 0 28px;padding:12px 3px}.stat{text-align:center;border-right:1px solid #50a8d2;padding:0 2px}.stat:last-child{border:0}.stat strong{display:block;font-size:clamp(17px,4.6vw,29px);line-height:1.2}.stat small{font-size:clamp(10px,2.7vw,15px)}.stat .ico{color:#47c8ff}.stat .money{color:#ffd16a}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 2px 14px}.sectionhead h2{margin:0;font-size:clamp(22px,5vw,29px)}.add{padding:10px 20px;border-radius:13px;font-size:17px}.street,.panel,.job{border:1px solid #2cc9ff;border-radius:17px;background:linear-gradient(150deg,#126092,#002c54 55%,#00213e);box-shadow:inset 0 2px 4px #b5eeff8a,0 0 11px #12bdff82;margin-bottom:13px;padding:14px 16px}.street{width:100%;display:flex;text-align:left;align-items:center;gap:15px;color:white}.street .house{background:linear-gradient(#0d90cf,#00375c);box-shadow:inset 0 2px 4px #b9f5ff,0 0 8px #11caff;border:1px solid #32bfff;border-radius:12px;padding:9px;font-size:27px}.street .details{flex:1;min-width:0}.street .details strong{display:block;font-size:20px}.street .details small{display:block;color:#d4e9f9;margin-top:3px}.street .owed{border-left:1px solid #37b8e6;padding-left:12px;text-align:center;min-width:95px}.street .owed strong{display:block;color:#ffd267;font-size:20px}.street .owed small{font-size:12px}.arrow{font-size:35px;color:#74dcff}.panel h2,.panel h3{margin:0 0 12px}.panel p{color:#d3e8f7}.muted{color:#c3e1f3}.empty{text-align:center;padding:30px 14px}.smallbtn{background:linear-gradient(#1c6fa1,#002844);color:white;border:1px solid #30c5ff;border-radius:10px;padding:10px 12px;font-weight:700}.row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.row + .row{margin-top:10px}.job{display:flex;gap:12px;align-items:center;justify-content:space-between}.job strong{display:block}.job small{display:block;color:#c9e7f8}.job .btns{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.job .btns button{padding:8px 10px}.tag{color:#ffd06a;font-weight:800}.paid{color:#70f0c2}.field{display:block;margin:12px 0}.field span{display:block;margin-bottom:5px;font-weight:700}.field input,.field select{width:100%;padding:13px;background:#eaf8ff;border:1px solid #44b8ff;border-radius:10px;color:#09233d;font:inherit}.actions{display:flex;gap:10px;margin-top:20px}.actions button{flex:1;padding:13px;border-radius:11px;font-weight:800}.subtle{border:1px solid #6db2e4;background:#133e5c;color:white}dialog{border:1px solid #27d1ff;background:linear-gradient(#0a4f82,#001d36);border-radius:20px;color:white;width:min(94vw,480px);box-shadow:0 0 30px #02c5ff8a}dialog::backdrop{background:#000c}dialog h2{margin:0 0 15px}footer{text-align:center;font-size:11px;letter-spacing:2px;color:#79c8f0;padding:20px}footer small{display:block;font-size:9px;letter-spacing:1px;margin-top:5px}.notice{padding:12px;background:#002844;border:1px solid #3587b3;border-radius:12px;margin-bottom:14px}.pill{border-radius:10px;padding:6px 10px;background:#00426d;color:#e8f8ff;display:inline-block}.danger{color:#ffd0d0}@media(max-width:400px){.street{gap:8px;padding:12px 9px}.street .details strong{font-size:16px}.street .details small{font-size:12px}.street .owed{min-width:72px;padding-left:7px}.street .owed strong{font-size:16px}.street .house{font-size:21px;padding:6px}.arrow{font-size:24px}.add{padding:9px 12px;font-size:14px}}

[hidden]{display:none!important}.entry-screen{min-height:100dvh;max-width:720px;margin:auto;color:white;background:radial-gradient(ellipse at 50% 15%,#087cce,#003e79 42%,#00182f 85%);padding:32px 22px}.entry-logo{text-align:center;padding:48px 0 32px;text-shadow:0 4px 9px #00132a;font-size:clamp(44px,10vw,70px);font-style:italic;font-weight:1000;letter-spacing:-3px}.entry-logo .orange{color:#ff9c1a}.entry-logo small{display:block;font-size:16px;font-style:normal;letter-spacing:1px;color:#b6e7ff;margin-top:4px}.entry-body{border:1px solid #32c9ff;border-radius:24px;padding:28px 20px;background:linear-gradient(#12639a,#00264b);box-shadow:0 0 22px #00bbff6e,inset 0 2px 5px #9beaff66}.entry-kicker{color:#6de0ff;letter-spacing:2px;font-size:12px;font-weight:800}.entry-body h1{font-size:30px;line-height:1.1}.entry-body p{color:#c4eaff}.entry-button,.trade-tile{width:100%;border:1px solid #70f0ff;border-radius:16px;background:linear-gradient(#85f5ff,#04b9ef 55%,#0074b5);padding:17px;color:#002744;font-size:20px;font-weight:900;box-shadow:0 0 15px #08caff;margin-top:24px}.entry-note{text-align:center;font-size:13px;color:#9acbe5;margin-top:24px}.entry-back{background:transparent;color:#bfeaff;border:0;font-size:18px}.trade-tile{display:flex;gap:16px;align-items:center;text-align:left}.trade-tile small{display:block;font-size:13px;font-weight:500}.tile-icon{font-size:40px}

.home-screen{min-height:100dvh;max-width:720px;margin:auto;background:linear-gradient(165deg,#10141a,#030b16);padding:14px 16px 30px}.home-brand{display:block;width:100%;height:auto;margin:0 auto 12px}.home-trades{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-trade{display:block;padding:0;border:0;background:transparent;border-radius:19px;overflow:hidden;box-shadow:0 0 7px #03b7ff55;line-height:0}.home-trade img{width:100%;height:auto;display:block}.home-trade:focus-visible{outline:3px solid #69dcff}.home-test{text-align:center;color:#aeb9c5;font-size:11px;letter-spacing:1px;margin-top:18px}@media(max-width:380px){.home-screen{padding:10px}.home-trades{gap:8px}}
/* V4 compact outdoor payment-history grid */
.grid-head,.history-title,.grid-actions,.grid-search{display:flex;align-items:center;gap:9px;justify-content:space-between;margin:12px 16px;flex-wrap:wrap}.grid-head h2{margin:0;font-size:24px}.grid-head small{color:#c1dded}.grid-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 12px}.grid-stats>div{background:#143b5a;border:1px solid #397499;border-radius:11px;padding:9px 7px;min-width:0}.grid-stats small{display:block;color:#b4d0e0;font-size:12px}.grid-stats strong{display:block;font-size:clamp(16px,4vw,22px);white-space:nowrap}.grid-actions>*{flex:1;min-width:100px}.grid-search input{flex:1;min-width:150px;padding:14px 10px;border-radius:12px;background:#082d4b;border:1px solid #407ca2;color:white;font-size:16px}.history-title{justify-content:flex-start}.history-title span{color:#bdd7e9;font-size:13px}.history-title button:first-of-type{margin-left:auto}.history-wrap{overflow-x:auto;overscroll-behavior-x:contain;margin:0 8px;border:1px solid #3c779d;border-radius:8px}.history-table{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed;min-width:490px;background:#06243d}.history-table th,.history-table td{border-right:1px solid #245576;border-bottom:1px solid #245576;padding:4px;text-align:center}.history-table thead th{height:56px;background:#1b527b;font-size:18px}.history-table thead th small{display:block;font-size:10px;color:#b5d8ee}.history-table .sticky-house{position:sticky;left:0;z-index:2;width:112px;min-width:112px;text-align:left;background:#173d5d;box-shadow:3px 0 6px #00132366}.history-table thead .sticky-house{z-index:3}.history-table tbody th{height:69px}.history-table tbody th b,.history-table tbody th small{display:block}.history-table tbody th b{font-size:18px}.history-table tbody th small{color:#d3e9f7;font-size:14px}.history-table tbody th button{border:0;background:none;text-decoration:underline;color:#9cdbff;padding:0;font-size:12px}.grid-cell{display:block;width:100%;min-width:40px;height:57px;border:1px solid #7293ad;border-radius:11px;color:#fff;font-weight:900;font-size:29px;touch-action:manipulation}.grid-cell.paid{background:#096a50}.grid-cell.owed{background:#87501d;color:#ffe0a2}.grid-cell.missed{background:#75602d;color:#ffe7a3}.grid-cell.blank{background:#284966}.history-legend{display:flex;justify-content:space-around;gap:5px;flex-wrap:wrap;background:#09283f;padding:10px 4px;font-weight:700;font-size:12px}.grid-note{font-size:12px;color:#bad6e9;text-align:center;padding:0 14px}.street-row{margin-bottom:12px}.street-row .street{margin-bottom:4px}.move-today{display:block;margin-left:auto;margin-right:16px;background:#12557d;color:#fff;border:1px solid #3ac9ff;border-radius:10px;padding:9px 13px;font-weight:700}.field select{width:100%;padding:13px;background:#0c3657;color:#fff;border:1px solid #64bce6;border-radius:10px;font-size:16px}button:disabled{opacity:.35}tr[hidden]{display:none}

/* V5 separate compact street tabs */
.street-view-tabs{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 14px}.street-view-tabs button{min-width:0;white-space:normal;font-size:15px;padding:12px 6px}.work-toolbar{display:flex;gap:7px;margin:12px 14px}.work-toolbar button{flex:1;padding:10px 3px;font-size:12px}.work-heading{display:flex;justify-content:space-between;align-items:center;margin:15px 15px 8px}.work-heading small{color:#b8d7ea}.work-list{margin:0 12px 18px;border:1px solid #276c98;border-radius:12px;overflow:hidden}.work-house{display:flex;align-items:center;gap:9px;padding:8px 10px;border-bottom:1px solid #286084;background:linear-gradient(90deg,#16496c,#062b49);min-height:65px}.work-house:last-child{border-bottom:0}.work-house-info{flex:1;min-width:0}.work-house-info strong{display:block;font-size:19px}.work-house-info small{display:block;color:#c2ddeb;font-size:13px}.work-status{width:57px;height:49px;border-radius:10px;border:1px solid #74b7d7;color:white;font-weight:900;font-size:25px}.work-status.paid{background:#086b50}.work-status.owed{background:#80501d}.work-status.missed{background:#78632b}.work-status.blank{background:#294d6c}.work-edit{border:0;background:transparent;color:#a6ddff;text-decoration:underline;padding:10px 2px;font-size:13px}.history-wrap{max-height:min(62dvh,580px);overflow:auto}.history-table{table-layout:auto;width:max-content;min-width:100%}.history-table thead th{position:sticky;top:0;z-index:2}.history-table thead .sticky-house{z-index:4}.history-table th:not(.sticky-house),.history-table td{width:59px;min-width:59px}.history-table .sticky-house{width:106px;min-width:106px}.grid-cell{height:51px;min-width:44px}.history-table tbody th{height:60px}

/* V6 compact street actions */
.street-row{position:relative}.street-row .street{margin-bottom:12px}.today-mini{display:block;background:linear-gradient(#29a7d6,#075078);border:1px solid #63d9ff;border-radius:8px;font-size:12px;font-weight:800;color:#fff;padding:6px 5px;margin-top:7px;white-space:nowrap}.street .owed{min-width:82px}.street .details strong{font-size:clamp(16px,4vw,20px)}
.cash-head{display:flex;align-items:center;gap:10px;justify-content:space-between;border:1px solid #22baff;border-radius:18px;padding:13px;background:linear-gradient(140deg,#0a5185,#00213e);box-shadow:0 0 12px #08baff6e}.cash-head h2{font-size:clamp(23px,5vw,32px);margin:4px 0}.cash-head p{margin:0;color:#d1e7f4;font-size:12px}.cash-kicker{font-size:10px;letter-spacing:1px;color:#71dfff}.cash-total{text-align:right;min-width:116px}.cash-total small{display:block;color:#d1e7f4;font-size:11px}.cash-total strong{display:block;font-size:clamp(22px,5vw,30px);color:#ffd15e}.radar-layout{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:9px;margin-top:12px}.radar-display{background:#001a31;border:1px solid #2386b5;border-radius:16px;padding:7px;min-width:0}.radar-rings{position:relative;width:100%;aspect-ratio:1;border-radius:50%;border:3px solid #24cfff;box-shadow:0 0 15px #00bfff,inset 0 0 15px #00bfff;background:repeating-radial-gradient(circle at center,transparent 0 20%,#167f9c 20.5% 21%,transparent 21.5% 25%),linear-gradient(90deg,transparent 49.5%,#168cb4 50%,transparent 50.5%),linear-gradient(0deg,transparent 49.5%,#168cb4 50%,transparent 50.5%),#002e4a;overflow:hidden}.radar-sweep{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,transparent 0deg,#17dfffaa 42deg,transparent 48deg 360deg);animation:radarSpin 9s linear infinite}@keyframes radarSpin{to{transform:rotate(360deg)}}.radar-centre{position:absolute;top:50%;left:50%;width:10px;height:10px;background:#6ff2ff;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 12px #fff}.radar-pip{position:absolute;transform:translate(-50%,-50%);border:1px solid #ffd66d;border-radius:12px;padding:3px;background:#092c45;color:#ffdc8b;font-size:10px;font-weight:800;box-shadow:0 0 10px #ffad28;z-index:2}.radar-display>p{font-size:10px;text-align:center;color:#b2d9e9;margin:9px 0 2px}.radar-controls{display:flex;flex-direction:column;gap:9px}.radar-control{flex:1;background:linear-gradient(#17638f,#003054);border:1px solid #3dd1ff;border-radius:13px;color:#fff;font-weight:800;font-size:12px;padding:6px 3px;box-shadow:0 0 8px #16aaff88}.radar-control.active{background:linear-gradient(#62e9ff,#0084d3);color:#002c4d}.radar-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #36cbff;border-radius:16px;background:#063a61;margin:13px 0;padding:10px 0}.radar-summary>div{text-align:center;border-right:1px solid #2685b5}.radar-summary>div:last-child{border:0}.radar-summary b{display:block;font-size:clamp(16px,4vw,23px);color:#ffdc76}.radar-summary small{font-size:11px;color:#cde4f2}.map-screen{position:relative;min-height:calc(100dvh - 220px);display:flex;flex-direction:column}.map-top{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}.map-top strong{font-size:17px}.map-top button{font-size:12px}.map-frame{height:clamp(370px,65dvh,740px);background:#073151;border:1px solid #3acbff;border-radius:12px;overflow:hidden;z-index:0}.map-placeholder{padding:35px 12px;text-align:center;color:#d2e9f7}.map-placeholder small{display:block}.map-bottom{background:#063859;border:1px solid #2476a0;border-radius:12px;margin-top:9px;padding:10px;display:flex;flex-direction:column;gap:8px}.map-bottom strong{color:#ffda77}.map-bottom small{color:#c4e1ef}.map-bottom button{align-self:flex-start}.owed-list{margin-top:10px}.leaflet-container{background:#082b44;font-family:system-ui,sans-serif}

/* V7: original compact, two-column street working grid */
.compact-round-wrap{margin:8px 12px 14px;border:1px solid #3c779d;border-radius:10px;overflow:auto;max-height:58dvh;overscroll-behavior:contain;background:#082b47}
.compact-round{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed}
.compact-round th,.compact-round td{border-bottom:1px solid #285879;padding:5px 9px;text-align:left}
.compact-round thead th{position:sticky;top:0;background:#1b527b;z-index:2;height:42px;font-size:15px}
.compact-round thead th:first-child{width:43%}
.compact-round tbody th{background:#173d5d;height:59px}
.compact-round tbody th strong,.compact-round tbody th small{display:block}
.compact-round tbody th strong{font-size:19px}.compact-round tbody th small{color:#d0e5f3;font-size:13px}
.compact-round tbody th button{background:none;border:0;padding:0;color:#a8dfff;text-decoration:underline;font-size:12px}
.compact-round td{background:#092943;text-align:center}.compact-round .grid-cell{max-width:100px;height:49px;margin:auto;font-size:26px}
.v8-tools{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:8px 0}.v8-tools button{background:linear-gradient(#126caa,#07395f);color:white;border:1px solid #39b8e9;border-radius:9px;padding:10px;font-weight:700;font-size:13px}.route-street{padding:9px;border:1px solid #257ca5;border-radius:8px;margin:6px 0}.route-street label{display:block;padding:5px}.route-street input[type=checkbox],#modalFields input[type=checkbox]{width:auto;display:inline-block}#modalFields{max-height:55vh;overflow:auto}

.v9-inline{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}.v9-inline button,.v9-tools button{background:#0c4774;color:#e7f7ff;border:1px solid #399bd0;border-radius:9px;padding:9px;font:inherit}.v9-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v9-warn{color:#ffcc72}.v9-list{max-height:45vh;overflow:auto}.v9-list .row{gap:8px;margin:5px 0}.v9-list input{max-width:85px}textarea{max-width:100%;width:100%;background:#092d4c;color:white;border:1px solid #3988b5;border-radius:8px;padding:8px;box-sizing:border-box}

/* V12 */
.full-pay{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.full-pay[hidden]{display:none}.full-pay>.hero,.full-pay>.tabs,.full-pay>footer{display:none}.full-pay>main{min-height:0;flex:1;display:flex;flex-direction:column;padding:10px;gap:8px;overflow:auto}.v12-head,.v12-bar{display:flex;align-items:center;gap:8px;justify-content:space-between}.v12-head h2{font-size:20px;margin:0}.v12-scroll{flex:1;min-height:0;overflow:auto;border:1px solid #3c779d;border-radius:10px}.v12-scroll .compact-round th,.v12-scroll .compact-round td{height:39px;padding:3px 7px}.v12-scroll .compact-round thead th:first-child{width:43%}.v12-scroll .grid-cell{width:36px;height:34px;font-size:21px;min-width:0;padding:0}.v12-scroll .compact-round .v12-house{font-size:21px;font-weight:800;color:white;text-decoration:none}.v12-open{white-space:normal;width:100%;margin:5px 0}.v12-houses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.v12-picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;overflow:auto;flex:1;min-height:0}.v12-pick{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:#0b426d;border:1px solid #399bd0;border-radius:9px;padding:8px;text-align:center}.v12-pick:has(input:checked){background:#8c5b24;border-color:#ffd278}.v12-pick:has(input:disabled){opacity:.45}.full-pay .history-wrap{flex:1;max-height:none;min-height:0}.full-pay .grid-actions,.full-pay .grid-stats,.full-pay .grid-search,.full-pay .grid-note{display:none}
/* V13 unified street sheet */
.full-pay>main{overflow:hidden}.sheetstats,.sheetbottom{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;flex-shrink:0}.sheetstats>div{background:#123e60;border:1px solid #3685b2;border-radius:8px;padding:6px;text-align:center;font-size:11px}.sheetstats strong{display:block;font-size:17px}.sheetbottom button{padding:9px 3px;font-size:13px}.sheettable{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:12px}.sheettable th,.sheettable td{padding:4px 2px;text-align:center;border-bottom:1px solid #285879}.sheettable thead th{position:sticky;top:0;background:#1b527b;z-index:2}.sheettable thead small{display:block;font-size:10px}.sheettable th:first-child{width:17%}.sheettable th:nth-child(2){width:20%}.sheettable tbody tr:nth-child(odd){background:#103d5c}.sheettable tbody tr:nth-child(even){background:#0c304d}.sheetnumber{border:0;background:none;color:white;font-size:19px;font-weight:800;padding:4px;max-width:100%;overflow-wrap:anywhere}.sheettable .grid-cell{width:30px;height:30px;min-width:0;max-width:100%;padding:0;font-size:18px;margin:auto}.full-pay .v12-head h2{font-size:18px;text-align:center}.full-pay .history-legend{flex-shrink:0;font-size:11px}.full-pay .v12-head,.full-pay .v12-bar{flex-shrink:0}

/* V14 compact annual book */
.bookscroll{border:1px solid #49caff;box-shadow:0 0 9px #22aaff55;background:#032947;overscroll-behavior:contain}.booktable{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:350px;font-size:10px}.booktable th,.booktable td{padding:1px;text-align:center;border-bottom:1px solid #23618a;height:27px}.booktable th:first-child{width:54px;position:sticky;left:0;z-index:2;background:#10496f}.booktable thead th{position:sticky;top:0;z-index:3;background:linear-gradient(#218cbe,#08466f);height:30px;color:white}.booktable thead th:first-child{z-index:4}.booktable thead small{display:block;font-size:8px}.booktable tbody tr:nth-child(odd){background:#0b395b}.booktable tbody tr:nth-child(even){background:#072c4c}.bookhouse{display:flex;align-items:center;justify-content:space-between;gap:1px;width:100%;background:none;border:0;color:white;padding:0 2px;min-height:26px}.bookhouse b{font-size:12px;overflow-wrap:anywhere}.bookhouse small{font-size:9px;color:#c5e9ff}.booktable .grid-cell{width:100%;min-width:0;height:24px;padding:0;border-radius:4px;font-size:14px}.bookempty{color:#709bb9}.bookpaid{color:#80e9b1}.full-pay .sheetstats>div{background:linear-gradient(#125c85,#07334f);border-color:#3bb6e5}.full-pay .sheetbottom button{background:linear-gradient(#187fac,#063955);border-color:#4bc9f5}.full-pay>main{gap:5px;padding:7px}.full-pay .v12-head .smallbtn,.full-pay .v12-bar .smallbtn{padding:5px 8px}.full-pay .history-legend{padding:5px 2px}.booktable .grid-cell:focus-visible{outline:2px solid white;outline-offset:-2px}

.today-subtabs,.later-actions{display:flex;gap:6px;flex-shrink:0}.today-subtabs button{flex:1}.today-subtabs .chosen{background:linear-gradient(#32cafa,#0874ad);color:#052b49}.full-pay .v12-picks{grid-template-columns:repeat(5,minmax(0,1fr));align-content:start}.v12-pick strong{font-size:18px}.v12-pick input{accent-color:#ffc45f}.unfinished-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#ffad43;vertical-align:top}.booktable .grid-cell.owed,.compact-round .grid-cell.owed{background:#14527c;border-color:#387da7}.booktable .grid-cell.blank{background:#14527c;border-color:#387da7}
.cal-shell{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;gap:4px}.cal-fixed{flex:none}.cal-month{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:4px 0}.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.cal-grid button,.cal-grid>span{height:clamp(23px,4vh,34px);min-height:0}.cal-grid button{position:relative;padding:1px 0 5px;background:#103e60;color:white;border:1px solid #23668f;border-radius:6px;font-weight:bold}.cal-grid button.chosen{background:#087ec0;border-color:#74dfff}.cal-dots{position:absolute;bottom:2px;left:0;right:0;display:flex;justify-content:center;gap:3px}.cal-dots i{width:4px;height:4px;border-radius:100%;background:#73e4a3}.cal-dots .amber{background:#ffbb55}.cal-dots .blue{background:#63d5ff}.cal-legend{font-size:10px;color:#73e4a3;text-align:center}.cal-legend span{color:#ffbb55}.cal-legend em{color:#63d5ff;font-style:normal}.cal-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;font-size:10px;text-align:center}.cal-totals div{background:#103e60;padding:4px;border-radius:6px}.cal-totals b{display:block;font-size:14px}.cal-list{flex:1;min-height:0;overflow:auto}.cal-list p{margin:5px 0}main:has(.cal-shell){overflow:hidden;min-height:0}.cal-fixed .sectionhead{margin:0}.cal-fixed h2{font-size:16px}

/* V17 quick payments and compact calendar */
#modal:has(.quick-pay) .actions{display:none}#modal:has(.quick-pay) h2{font-size:21px;margin-bottom:8px}.quick-pay{display:grid;gap:8px}.quick-pay button{padding:10px 6px;font-size:15px;border-radius:9px}.quick-pay #quickPaid{background:#155d43;color:#a1f7bd}.quick-pay #quickMissed{background:#594321;color:#ffd278}.quick-row{display:grid;grid-template-columns:1fr 1fr;gap:6px}.quick-pay #quickMore,.quick-pay #quickClose{font-size:12px;padding:6px}.quick-pay #quickDetail:empty{display:none}.grid-cell.partial{background:#14527c;color:#ffd278;border-color:#387da7}.cal-grid button,.cal-grid>span{height:clamp(22px,3.5vh,29px);font-size:13px}.cal-month .smallbtn{padding:3px 9px;min-height:28px;font-size:16px}.cal-month strong{font-size:14px}.cal-grid{gap:2px}.cal-fixed .cal-month{margin:3px 0}.cal-list .panel{padding:7px}.cal-totals div{padding:3px}.cal-list{overscroll-behavior:contain}

.history-legend small{flex-basis:100%;text-align:center;font-size:10px;font-weight:400;color:#a7cce3}.history-legend span{font-size:10px}.grid-cell{touch-action:manipulation;user-select:none}

/* V19 compact payments and tappable radar */
.v19-cash{padding:10px 12px;margin-bottom:6px}.v19-cash h2{margin:0;font-size:20px}.v19-radar{display:block;width:100%;color:#bce7ff;cursor:pointer;padding:8px;margin:6px auto;max-width: min(100%, 46dvh);text-align:center}.v19-radar .radar-rings{width:100%;box-sizing:border-box}.v19-radar>small{display:block;margin-top:8px;font-size:11px}.v19-radar-tools{display:flex;gap:8px}.v19-radar-tools button{flex:1}.map-full>.hero,.map-full>.tabs,.map-full>footer{display:none}.map-full>main{overflow:hidden;display:flex;flex-direction:column}.map-full .map-screen{min-height:0;flex:1}.map-full .map-frame{flex:1;height:auto;min-height:0}.map-full .map-bottom{padding:6px;gap:4px}.v19-map-pin{background:#092c45;color:#ffd278;border:1px solid #ffd278;border-radius:12px;text-align:center;font-weight:bold;box-shadow:0 0 8px #ffad28}.v19-pay button{width:100%;color:#e5f6ff;background:linear-gradient(#17638f,#003054);border:1px solid #3dd1ff}.v19-pay button.primary{background:linear-gradient(#62e9ff,#0084d3);color:#002c4d}.v19-pay #quickClose{background:transparent;border:0}.v19-pay input{background:#09334e;color:white;border:1px solid #61c8ee}.v19-pay p{margin:0;color:#ffd278}

/* V21: preserve V19 size and layout */
.v19-cash .signature-slogan{display:block;color:#9ed5ef;font-style:italic;margin:2px 0}.app:has(#mapMode)>footer{display:none} .v19-radar{border:0!important;background:transparent!important;box-shadow:none!important}.v19-radar .radar-pip{background:#302719;color:#ffe19a;box-shadow:0 0 10px #ffbd48}


/* V24 home only */
#home.home-screen{position:relative;height:100dvh;min-height:0;max-width:720px;margin:auto;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;overflow:hidden;padding: max(12px,env(safe-area-inset-top)) 12px max(10px,env(safe-area-inset-bottom));background:radial-gradient(ellipse at 100% 100%,#9a3903 0,transparent 30%),radial-gradient(ellipse at 0 0,#a43f04 0,transparent 29%),linear-gradient(145deg,#090e15,#061522 44%,#080b10);}
#home[hidden]{display:none!important}#home::before,#home::after{content:'';position:absolute;pointer-events:none;width:110%;height:22%;border:2px solid #ff9d25;border-radius:50%;box-shadow:0 0 13px #ff8a00,0 0 35px #e44b00;transform:rotate(-28deg);left:-40%;top:-12%}#home::after{left:35%;top:auto;bottom:-12%}#homeSettings{position:absolute;right:12px;top:max(12px,env(safe-area-inset-top));z-index:2;background:#151c23;border:1px solid #c27c3b;color:#fff;border-radius:10px;width:40px;height:40px;font-size:23px}#home .home-art{position:relative;z-index:1;width:100%;flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding-top:36px}#home .home-brand{display:block;width:min(92%,500px);height:auto;max-height:30%;object-fit:contain;mix-blend-mode:lighten}#home .home-trades{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:9px;flex:1;min-height:0;max-height:calc(100vw * 1.1);max-width:620px}#home .home-trade{display:block;position:relative;min-height:0;padding:0;border:0;background:transparent;box-shadow:none;border-radius:15px;overflow:hidden}#home .home-trade img{display:block;width:100%;height:100%;object-fit:contain;opacity:1}#home .home-trade:active{filter:brightness(1.3)}#home .home-test{position:relative;font-size:10px;text-align:center;margin:8px 0 0;color:#a7afb8}#installSettings{background:#101a23;color:white;border:1px solid #f7a049;border-radius:18px;width:min(90vw,400px);padding:20px}#installSettings button{display:block;width:100%;margin:10px 0;padding:12px;border-radius:10px;background:#29323e;color:white;border:1px solid #b77837}#installSettings button[hidden]{display:none}#installSettings::backdrop{background:#000b}

/* V25: exact approved artwork, with independent accessible controls. */
#home.home-screen{height:100dvh;width:100%;max-width:none;padding:0;display:block;background:#030a10;overflow:hidden;isolation:isolate}
#home::before,#home::after{display:none}
#home .home-v25-stage{position:absolute;top:0;left:50%;transform:translateX(-50%);width:min(100%, 61dvh);aspect-ratio:852/1846;max-width:650px;}
#home .home-v25-art{display:block;width:100%;height:100%;object-fit:contain;user-select:none;pointer-events:none}
#home .home-v25-hit,#home #homeSettings{position:absolute;display:block;min-height:0;min-width:0;padding:0;margin:0;background:transparent;border:0;box-shadow:none;cursor:pointer;touch-action:manipulation;border-radius:12%;outline-offset:2px}
#home #homeSettings{left:85%;top:1.3%;width:12.5%;height:5.8%;right:auto;}
#home #homeWindows{left:2%;top:32.2%;width:47%;height:21.6%}
#home #homeGardens{left:51%;top:32.2%;width:47%;height:21.6%}
#home #homePressure{left:2%;top:55.2%;width:47%;height:21.5%}
#home #homeMoss{left:51%;top:55.2%;width:47%;height:21.5%}
#home .home-v25-hit:active,#home #homeSettings:active{background:#ffffff20;box-shadow:inset 0 0 15px #ffffff66}
#home .home-v25-hit:focus-visible,#home #homeSettings:focus-visible{outline:2px solid white}
#home .home-test{position:absolute;bottom:max(7px,env(safe-area-inset-bottom));left:0;right:0;text-align:center;margin:0;font-size:9px;letter-spacing:.04em;color:#b8c0ca;text-shadow:0 1px 4px #000,0 0 4px #000;pointer-events:none}
/* V26: Cash Radar only; live numbers and independently rendered markers. */
.v26-summary{display:grid;grid-template-columns:1fr .8fr 1.35fr;padding:10px 4px;gap:0;text-align:center;border:2px solid #46deff;box-shadow:0 0 12px #00a9ff,inset 0 0 8px #0085bd;background:linear-gradient(155deg,#073c68,#001a32)}.v26-summary>div{min-width:0;border-right:1px solid #35c9ff}.v26-summary>div:last-child{border:0}.v26-summary strong{display:block;font-size:clamp(17px,5vw,28px);overflow-wrap:anywhere;line-height:1.1}.v26-summary small{display:block;font-size:clamp(10px,2.8vw,15px);margin-top:4px}.v26-summary>div:last-child strong{color:#ffd34a;text-shadow:0 0 8px #ffb60055}
.app.cash-v26{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#00162d url('assets/cash-footer-v26.webp') center bottom/100% auto no-repeat}.cash-v26>.hero,.cash-v26>.tabs{flex:none}.cash-v26>.hero button{background:transparent;border:0;box-shadow:none;color:transparent;width:10%;top:7%;height:34%;border-radius:12px}.cash-v26>.hero .back{left:2%}.cash-v26>.hero .gear{right:2%}.cash-v26>.tabs{background:transparent;padding:8px 14px 12px}.cash-v26>.tabs button{border-color:#23cfff;box-shadow:0 0 7px #0099e8,inset 0 0 6px #1386b8}.cash-v26>.tabs button.active{color:white;box-shadow:0 0 13px #1edaff,inset 0 0 7px #9effff}.cash-v26>#content{display:flex;flex:1;min-height:0;overflow:hidden;flex-direction:column;gap:8px;padding:8px 16px 20px}.cash-v26 .v19-radar{flex:1;min-height:0;max-width:none;width:100%;margin:0;padding:6px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;container-type:size}.cash-v26 .radar-rings{flex:none;width:min(96cqw,calc(100cqh - 40px));border:3px solid #8cf5ff;box-shadow:0 0 6px #fff,0 0 18px #00bfff,inset 0 0 22px #007bc7;background:repeating-radial-gradient(circle,transparent 0 29%,#087fb5 29.5% 30%,transparent 30.5% 32%),linear-gradient(90deg,transparent 49.7%,#128bbc 50%,transparent 50.3%),linear-gradient(0deg,transparent 49.7%,#128bbc 50%,transparent 50.3%),radial-gradient(circle,#073c62,#00162e);overflow:hidden}.cash-v26 .radar-sweep{background:conic-gradient(transparent 0deg,#00c8ff99 42deg,#a2faff 44deg,transparent 45deg 360deg)}.v26-house{position:absolute;width:12%;transform:translate(-50%,-50%);z-index:2;filter:drop-shadow(0 0 4px #13cbff)}.v26-house svg{display:block;width:100%;height:auto}.v26-house b{position:absolute;right:-4px;top:-4px;background:#ffd257;color:#102438;border-radius:10px;min-width:16px;font-size:10px;padding:2px}.cash-v26 .v19-radar>small{font-size:13px;font-weight:700;color:white;margin-top:9px}.v26-note{font-size:9px;color:#a9d4ea;margin-top:3px}.cash-v26 .v19-radar-tools{flex:none;margin-bottom:clamp(0px,3dvh,26px)}.cash-v26 .v19-radar-tools button{border:2px solid #44dcff;box-shadow:0 0 9px #00a9ff,inset 0 0 8px #0077a8;background:linear-gradient(#07517d,#001e39);font-size:clamp(13px,4vw,19px);border-radius:15px}.cash-v26 footer{display:none}@media(prefers-reduced-motion:reduce){.cash-v26 .radar-sweep{animation:none}}

/* V27: continuous approved artwork behind independently working controls. */
.app.streets-v27,.app.cash-v26{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;background-color:#031c34;background-repeat:no-repeat;background-position:center;background-size:100% 100%;}
.app.streets-v27{background-image:url('assets/streets-scene-v27.webp')}.app.cash-v26{background-image:url('assets/cash-scene-v27.webp')}
.app.streets-v27>.hero,.app.cash-v26>.hero{flex:none;height:15.05dvh;background:transparent}.app.cash-v26>.hero{height:13.33dvh}
.app.streets-v27>.hero img,.app.cash-v26>.hero img{width:100%;height:100%;opacity:0;pointer-events:none}
.app.streets-v27>.hero button,.app.cash-v26>.hero button{background:transparent;border:0;box-shadow:none;color:transparent;width:12%;height:47%;top:5%;border-radius:12px}.app.streets-v27>.hero .back,.app.cash-v26>.hero .back{left:1%}.app.streets-v27>.hero .gear,.app.cash-v26>.hero .gear{right:1%}
.app.streets-v27>.tabs,.app.cash-v26>.tabs{flex:none;background:transparent;margin:0;padding:8px 16px 10px;gap:8px}
.app.streets-v27>.tabs button,.app.cash-v26>.tabs button{border:1.5px solid #40d9ff;box-shadow:0 0 8px #00aaff,inset 0 0 7px #0e7cbe;background:linear-gradient(#06486b,#00172e);border-radius:16px;padding:clamp(8px,1.6dvh,14px) 3px;color:white}
.app.streets-v27>.tabs button.active,.app.cash-v26>.tabs button.active{background:linear-gradient(#62efff,#00a8ed 60%,#0363ba);box-shadow:0 0 13px #00bfff,inset 0 0 6px #c5ffff;color:#03233b;border-color:#b0ffff}
.app.streets-v27>#content{display:flex;flex:1;min-height:0;overflow:hidden;flex-direction:column;padding:10px 16px 12px;gap:0;background:transparent}
.streets-v27 .stats,.cash-v26 .v26-summary{flex:none;margin:0 0 12px;padding:10px 4px;border:2px solid #71eaff;border-radius:17px;background:linear-gradient(150deg,#073a60e8,#00182ee8);box-shadow:0 0 10px #00aaff,inset 0 0 8px #007ec7}
.streets-v27 .sectionhead{flex:none;margin:7px 0 12px}.streets-v27 .sectionhead h2{font-style:italic;text-shadow:0 2px 7px #001020}.streets-v27 .sectionhead h2:after{content:'';display:block;height:2px;width:85%;background:linear-gradient(90deg,transparent,#ffb52d,transparent);box-shadow:0 0 6px #ff9e00;margin-top:4px}
.streets-v27 .street-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:5px 3px 12px;margin:0 -3px;scrollbar-width:thin}.streets-v27 .street-row{margin:0 0 12px}.streets-v27 .street{margin:0;border:2px solid #63e6ff;background:linear-gradient(150deg,#07517ce8,#001c36f5);box-shadow:0 0 9px #00aaff,inset 0 0 9px #077eb8;padding:clamp(9px,1.8dvh,16px) 9px}.streets-v27 .street .owed strong,.streets-v27 .stat .money{color:#ffd34a}.streets-v27 footer,.cash-v26 footer{display:none}
.cash-v26>#content{background:transparent;padding:8px 16px 12px;gap:0}.cash-v26 .v19-radar{padding:4px 0}.cash-v26 .radar-rings{width:min(100cqw,calc(100cqh - 48px));background:repeating-radial-gradient(circle,transparent 0 20%,#168ed1 20.3% 20.8%,transparent 21% 22%),linear-gradient(90deg,transparent 49.7%,#159ed2 50%,transparent 50.3%),linear-gradient(0deg,transparent 49.7%,#159ed2 50%,transparent 50.3%),radial-gradient(circle,#052e50,#00172f);border-color:#a1faff;box-shadow:0 0 6px #fff,0 0 18px #00bfff,inset 0 0 16px #087fc7}.cash-v26 .v19-radar>small{font-style:italic}.cash-v26 .v19-radar-tools{margin-bottom:clamp(0px,3dvh,25px)}
/* V28: one shared background layer, equal header geometry, live controls above it. */
.app.blue-v28{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#03192d url('assets/blue-background-v28.webp') center bottom/100% 100% no-repeat;isolation:isolate}
.app.blue-v28>.hero{height:auto;flex:none;background:transparent;aspect-ratio:505/177}
.app.blue-v28>.hero img{display:block;width:100%;height:100%;opacity:1;object-fit:fill;pointer-events:none}
.app.blue-v28>.hero button{background:transparent;border:0;box-shadow:none;color:transparent;width:11%;height:37%;top:7%;border-radius:12px}.app.blue-v28>.hero .back{left:2%}.app.blue-v28>.hero .gear{right:2%}
.app.blue-v28>.tabs{flex:none;background:transparent;margin:0;padding:8px 16px 12px;gap:8px}
.app.blue-v28>.tabs button{border:1.5px solid #40d9ff;box-shadow:0 0 8px #00aaff,inset 0 0 7px #0e7cbe;background:linear-gradient(#06486b,#00172e);border-radius:16px;padding:clamp(8px,1.6dvh,14px) 3px;color:white}
.app.blue-v28>.tabs button.active{background:linear-gradient(#62efff,#00a8ed 60%,#0363ba);box-shadow:0 0 13px #00bfff,inset 0 0 6px #c5ffff;color:#03233b;border-color:#b0ffff}
.app.blue-v28>#content{background:transparent;flex:1;min-height:0;padding:8px 16px 12px;display:flex;flex-direction:column;overflow:hidden;gap:0}
.app.blue-v28 footer{display:none}.app.today-v28>#content{overflow:auto;overscroll-behavior:contain;padding-bottom:18px;gap:8px}.today-v28 .today-subtabs button,.today-v28 .v8-tools button,.today-v28 #calendarOpen{border:1.5px solid #40d9ff;box-shadow:0 0 7px #00aaff,inset 0 0 6px #0e7cbe;border-radius:12px;background:linear-gradient(#07517d,#001e39);color:white}.today-v28 .today-subtabs .chosen{background:linear-gradient(#62efff,#00a8ed 60%,#0363ba);color:#03233b}.today-v28 .panel{border:2px solid #63e6ff;background:linear-gradient(150deg,#07517ce8,#001c36f5);box-shadow:0 0 9px #00aaff,inset 0 0 9px #077eb8}.today-v28 .sectionhead{margin:2px 0}.today-v28 .v8-tools{margin:3px 0}.blue-v28 .v19-radar-tools{margin-bottom:0}

/* V31: locked premium tile only */
#home #homeMoss .moss-lock-label{position:absolute;inset:auto 3% 3%;display:flex;flex-direction:column;align-items:center;gap:2px;padding:5px 2px;background:linear-gradient(145deg,#172617f5,#080e09f5);border:1px solid #e9c34d;border-radius:9px;color:#ffe28a;box-shadow:0 0 8px #e9c34566;font-size:clamp(8px,2.4vw,13px);font-weight:800;line-height:1.1;text-align:center}#homeMoss .moss-lock-label svg{width:clamp(14px,4vw,24px);height:auto}#homeMoss .moss-lock-label small{font-size:.85em;color:#fff}#mossLocked{background:linear-gradient(#18331e,#080f0a);color:#fff;border:2px solid #cfa948;border-radius:18px;text-align:center;width:min(88vw,380px);padding:22px;box-shadow:0 0 25px #000}#mossLocked::backdrop{background:#000b}#mossLocked h2{color:#a4ed58}#mossLocked .moss-price{font-size:32px;font-weight:800;color:#ffe28a;margin:12px}#mossLocked button{background:#293b1e;color:#ffe28a;border:1px solid #cfa948;border-radius:10px;width:100%;padding:12px}

/* V32: compact lock only, preserve original artwork */
#home #homeMoss .moss-lock-label{inset:4% 4% auto auto;width:clamp(22px,6vw,34px);height:clamp(22px,6vw,34px);padding:0;display:grid;place-items:center;border-radius:50%;background:#10180bcc;box-shadow:0 0 5px #e9c34566;pointer-events:none}#home #homeMoss .moss-lock-label svg{width:58%;height:58%}

/* V33 street-book refinement: fixed controls, readable houses, direct price edit */
.booktable th:first-child{width:76px;min-width:76px}.booktable th,.booktable td{height:30px}.bookhouse{min-height:20px;justify-content:center}.bookhouse b{font-size:17px;line-height:1.1}.bookprice{display:block;margin:0 auto;background:none;border:0;color:#a7e9ff;font-weight:800;font-size:11px;padding:1px 2px;cursor:pointer;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:2px}.bookdebt{display:block;color:#ffd36a;font-size:9px;font-weight:800;white-space:nowrap}.booktable .grid-cell{height:27px;font-size:16px}.bookscroll{flex:1;min-height:0}.order-house-list{max-height:48dvh;overflow:auto;display:grid;gap:5px}.order-house{display:flex;justify-content:space-between;align-items:center;padding:5px 9px;border:1px solid #2b9fce;border-radius:8px;background:#0c3b5a}.order-house span{display:flex;gap:5px}.order-house button{min-width:38px;font-size:19px}.sheetstats strong{font-size:18px}

/* V34: compact Streets calendar and finish-street controls */
.street-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.street-actions .smallbtn{white-space:nowrap}.sheetbottom{flex-wrap:wrap}.sheetbottom .finish-street{border-color:#3ce5a0;background:linear-gradient(180deg,#127b71,#07504e);color:#fff}.today-completed{margin:8px 0 12px;padding:10px 13px;border:1px solid #1e92c5;border-radius:13px;background:rgba(4,37,67,.85);display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.today-completed strong{color:#71edba}.today-completed span{font-size:12px;color:#d8f2ff}.today-calendar-link{background:transparent;border:0;color:#7fdbff;text-decoration:underline;font:inherit;cursor:pointer}.unfinished-toolbar{display:flex;justify-content:flex-end;margin:8px 0}.v12-picks{max-height:38vh;overflow:auto}
@media(max-width:390px){.street-actions{gap:5px}.street-actions button{font-size:12px;padding:8px}.sheetbottom .finish-street{flex:1 1 45%}}
/* V34 compact Streets list, retaining existing artwork and navigation */
.streets-v27 .stats{margin-bottom:9px;padding:7px 4px}.streets-v27 .sectionhead{margin:3px 0 8px}.streets-v27 .sectionhead h2{font-size:clamp(19px,4.6vw,25px)}.streets-v27 .street-row{margin-bottom:8px}.streets-v27 .street{padding:8px 9px;min-height:79px;gap:9px}.streets-v27 .street .house{padding:6px;font-size:21px}.streets-v27 .street .details strong{font-size:clamp(15px,4vw,19px)}.streets-v27 .street .details small{font-size:clamp(10px,2.7vw,13px)}.streets-v27 .street .owed strong{font-size:clamp(15px,4vw,19px)}.streets-v27 .today-mini{margin-top:4px;padding:5px}.streets-v27 .street-list{padding-top:3px}
/* V36 — Today is the work dashboard, with fixed header and compact scrolling cards. */
.app.today-v28>#content{overflow:hidden;display:flex;flex-direction:column;gap:8px;padding:8px 13px 12px}
.v36-page-title{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none}.v36-page-title h2{font-size:clamp(19px,5vw,25px);margin:0}.v36-page-title button{border:1px solid #51dfff;border-radius:10px;background:linear-gradient(#07547d,#04243e);color:white;padding:7px 11px}
.v36-money{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;flex:none}.v36-money>div{min-width:0;text-align:center;border:1.5px solid #43cfff;border-radius:12px;padding:8px 3px;background:linear-gradient(#09537a,#031b35);box-shadow:0 0 7px #009cdb8c}.v36-money small{display:block;font-size:clamp(10px,2.8vw,13px);color:#d8f3ff}.v36-money strong{display:block;font-size:clamp(15px,4.2vw,21px);color:#fff}.v36-money .bookpaid{color:#5bea9a}.v36-money .money{color:#ffd45b}
.today-v28 .today-subtabs{display:flex;gap:8px;flex:none;margin:0}.today-v28 .today-subtabs button{flex:1;min-width:0;padding:9px 5px;font-size:clamp(11px,3vw,14px)}
.v36-scroll{overflow:auto;min-height:0;flex:1;overscroll-behavior:contain;padding:2px 3px 14px;scrollbar-width:thin}.v36-list-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:17px;font-weight:800;margin:4px 0 11px}.v36-list-title button{font-size:12px;padding:8px 10px}
.v36-street-card{border:1.5px solid #4ad9ff;border-radius:14px;background:linear-gradient(130deg,#0a4267ee,#00172eeb);box-shadow:0 0 9px #00aaff88,inset 0 0 9px #0d6da088;padding:12px 13px;margin-bottom:10px}.v36-street-heading,.v36-card-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center}.v36-street-heading strong{display:block;font-size:clamp(16px,4.2vw,21px)}.v36-street-heading small{display:block;font-size:12px;color:#c9e5f3;margin-top:3px}.v36-owed{text-align:right;white-space:nowrap}.v36-owed small{display:block}.v36-owed b{color:#ffcd52;font-size:18px}.v36-card-bottom{margin-top:10px}.v36-progress{flex:1;min-width:0}.v36-progress>div{height:8px;background:#0a2944;border:1px solid #357fa2;border-radius:12px;overflow:hidden}.v36-progress span{display:block;height:100%;background:linear-gradient(90deg,#09a5de,#50ec93);border-radius:12px}.v36-progress small{display:block;margin-top:4px;font-size:11px;color:#d1ecff}.v36-card-bottom .add{font-size:13px;padding:8px 14px}.v36-remove{display:block;margin:5px 0 0 auto;background:none;border:0;color:#a8d5e9;font-size:11px;text-decoration:underline;padding:3px}.v36-tools{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.v36-tools button{background:linear-gradient(#0b5b87,#03253f);color:#fff;border:1px solid #40d3fa;border-radius:10px;padding:10px 4px;font-size:12px}.v36-recorded{margin-top:10px;padding:10px;border:1px solid #2682ac;border-radius:10px;font-size:12px;color:#82e9b0}.v36-empty,.v36-empty-house{text-align:center;border:1px solid #42bdf1;border-radius:14px;padding:22px 12px;background:#03243ddc}.v36-empty p,.v36-empty-house p{font-size:13px;color:#c4dce9}.v36-empty-house{margin:14px;min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center}.v36-empty-house h2{margin:0}.v36-empty-house .add{margin-top:8px}

/* V38: non-moving, shared shell on all Window Cleaning tabs. */
.app.blue-v28{height:100dvh;height:100svh;max-height:100dvh;overflow:hidden;display:flex;flex-direction:column}
.app.blue-v28>.hero{flex:0 0 auto;aspect-ratio:auto;height:clamp(94px,16.5dvh,145px);min-height:0;overflow:hidden}
.app.blue-v28>.hero img{width:100%;height:100%;object-fit:fill}
.app.blue-v28>.tabs{flex:0 0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:5px 12px 9px;gap:6px;margin:0;align-items:stretch}
.app.blue-v28>.tabs button{min-width:0;min-height:45px;padding:8px 2px;font-size:clamp(11px,3.2vw,15px);border-radius:12px}
.app.blue-v28>.tabs button span{font-size:1em;margin-right:3px}
.app.blue-v28>#content{flex:1 1 0;min-height:0;overflow:hidden;padding:8px 12px 10px}
.app.blue-v28>.hero,.app.blue-v28>.tabs{position:relative;z-index:2}
.app.blue-v28>.hero,.app.blue-v28>.tabs,.app.blue-v28>#content{width:100%}
.app.blue-v28.today-v28>#content{display:flex;flex-direction:column;gap:8px;overflow:hidden}
.v38-work-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex:none;font-size:clamp(15px,4vw,19px)}
.v38-work-head button{font-size:12px;padding:7px 9px;white-space:nowrap}
.v38-street-scroll{flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain;padding:4px 2px}
.v38-fixed-tools{flex:0 0 auto;border-top:1px solid #236b98;padding-top:7px}
.v38-fixed-tools .v36-tools{margin:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.v38-fixed-tools .v36-tools button{padding:9px 2px;font-size:clamp(10px,2.8vw,13px);min-width:0}
.v38-fixed-tools .v36-recorded{margin-top:7px;padding:7px;font-size:11px;text-align:center}
.app.blue-v28.today-v28 .v36-page-title h2{font-size:19px}
.app.blue-v28.today-v28 .v36-page-title button{font-size:13px;padding:7px 9px}
.app.blue-v28.today-v28 .v36-money>div{padding:6px 2px}
.app.blue-v28.streets-v27 .street-list{flex:1 1 0;min-height:0;overflow:auto}
.app.blue-v28.cash-v26>#content{overflow:auto;overscroll-behavior:contain}
@media(max-height:720px){.app.blue-v28>.hero{height:100px}.app.blue-v28>.tabs button{min-height:40px}.v38-fixed-tools .v36-recorded{display:none}}

/* V39: fixed bottom navigation; one stable shell, scroll only content. */
.app.blue-v28 {height:100dvh;max-height:100dvh;display:flex;flex-direction:column;overflow:hidden}
.app.blue-v28>.hero {order:0;height:clamp(86px,14dvh,122px);flex-shrink:0}
.app.blue-v28>#content {order:1;flex:1 1 0;min-height:0;overflow:hidden;padding:8px 12px}
.app.blue-v28>.tabs {order:2;flex:0 0 auto;position:relative;z-index:5;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 10px max(7px,env(safe-area-inset-bottom));padding:4px;background:linear-gradient(180deg,#06466b,#00192f);border:1.5px solid #40d8ff;border-radius:17px;box-shadow:0 0 12px #00a9ff8c,inset 0 0 9px #0a689a}
.app.blue-v28>.tabs button {border:0;border-radius:12px;min-height:52px;padding:5px 1px;font-size:clamp(11px,3.2vw,15px);background:transparent;box-shadow:none;color:#e4f6ff;white-space:normal}
.app.blue-v28>.tabs button span {display:block;font-size:22px;line-height:1.1;margin:0 0 2px}
.app.blue-v28>.tabs button.active {background:linear-gradient(180deg,#72f1ff,#09b8f4 52%,#0471cb);color:#00243e;box-shadow:0 0 9px #33d8ff,inset 0 1px 5px #e2ffff;border:0}
.app.blue-v28.today-v28>#content {gap:7px}
.app.blue-v28.today-v28 .v36-page-title {min-height:32px}
.app.blue-v28.today-v28 .v36-money {gap:5px}
.app.blue-v28.today-v28 .v36-money>div {padding:5px 2px}
.app.blue-v28.today-v28 .v38-work-head {margin:2px 0}
.app.blue-v28.today-v28 .v38-street-scroll {flex:1 1 0;min-height:0}
.app.blue-v28.today-v28 .v38-fixed-tools {padding-top:5px}
.app.blue-v28.today-v28 .v38-fixed-tools .v36-tools button {min-height:40px}
.app.blue-v28.today-v28 .v38-street-scroll:has(.v36-empty) + .v38-fixed-tools {flex:none}
.app.blue-v28.today-v28 .v38-work-head:has(+ .v38-street-scroll .v36-empty) button {display:none}
.app.blue-v28.streets-v27 .street-list {min-height:0;overflow-y:auto;overscroll-behavior:contain}
.app.blue-v28.cash-v26>#content {min-height:0;overflow-y:auto}
.app.blue-v28 footer {display:none}
@media(max-height:690px){.app.blue-v28>.hero{height:83px}.app.blue-v28>.tabs button{min-height:45px}.app.blue-v28.today-v28 .v36-recorded{display:none}}

/* V40 compact finish-street dialog: 5x5 fits a normal 25-house street. */
#modal.finish-dialog{width:min(96vw,650px);max-width:96vw;max-height:calc(100dvh - 32px);padding:14px;overflow:hidden;border-radius:20px}
#modal.finish-dialog #modalForm{display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - 60px);gap:7px}
#modal.finish-dialog #modalTitle{font-size:clamp(18px,4.6vw,25px);line-height:1.15;margin:0;flex-shrink:0}
#modal.finish-dialog #modalFields{flex:1;min-height:0;max-height:none;overflow:hidden;display:flex;flex-direction:column}
#modal.finish-dialog .finish-compact{display:flex;flex-direction:column;flex:1;min-height:0;gap:8px}
#modal.finish-dialog .finish-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;font-size:clamp(11px,3vw,15px);text-align:center}
#modal.finish-dialog .finish-counts b{padding:7px 2px;border:1px solid #3ba6d6;background:#103e61;border-radius:9px}
#modal.finish-dialog .finish-note{font-size:12px;line-height:1.25;color:#c5e7f6}
#modal.finish-dialog .finish-toolbar{display:flex;align-items:center;gap:7px;flex-shrink:0}
#modal.finish-dialog .finish-toolbar button{min-height:30px;padding:4px 10px;font-size:12px}
#modal.finish-dialog .finish-toolbar span{margin-left:auto;font-size:12px;color:#c9ebff}
#modal.finish-dialog .finish-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:minmax(46px,1fr);gap:5px;overflow-y:auto;overscroll-behavior:contain;min-height:0;align-content:start}
#modal.finish-dialog .finish-house{display:flex;align-items:center;justify-content:center;gap:5px;flex-direction:column;min-width:0;padding:4px 1px;border-radius:9px;border:1px solid #389bd0;background:#0b426d;font-size:clamp(12px,3.5vw,16px);font-weight:750;line-height:1.05;cursor:pointer}
#modal.finish-dialog .finish-house:has(input:checked){background:#14664f;border-color:#70efaa}
#modal.finish-dialog .finish-house input{width:17px;height:17px;min-height:0;margin:0;accent-color:#6ff3a8}
#modal.finish-dialog .finish-house span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
#modal.finish-dialog .actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0;flex-shrink:0}
#modal.finish-dialog .actions button{min-height:45px;margin:0}
@media(max-height:740px){#modal.finish-dialog .finish-grid{grid-auto-rows:minmax(40px,1fr);gap:4px}#modal.finish-dialog .finish-note{font-size:11px}#modal.finish-dialog .finish-compact{gap:5px}}

/* V41 customer card and compact finish street */
.v41-contact{padding:12px;border:1px solid #2ad6ff;border-radius:15px;background:linear-gradient(180deg,#10476a,#06243f);margin-bottom:12px}
.v41-contact h2{margin:0 0 5px;font-size:22px}
.v41-contact p{margin:5px 0 10px}
.v41-money{display:flex;gap:8px;justify-content:space-between}
.v41-money span{flex:1;background:#092e4a;border:1px solid #198ec2;border-radius:9px;padding:8px;font-size:13px}
.v41-money b{display:block;font-size:19px}
.v41-debt{color:#ffd466;font-weight:700}
.v41-house-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.v41-house-actions button{min-height:42px;border:1px solid #3ac8ed;background:#0d476c;color:white;border-radius:10px}
.v41-house-actions #deleteHouseV41{border-color:#db5b65;background:#67252f}
.finish-dialog .finish-house{min-height:47px}
.finish-dialog .finish-houses{overflow:auto;min-height:0;max-height:45dvh}

/* V42 compact customer search and debt collection */
.v42-search-open{margin:6px 0 10px;width:100%;min-height:39px}
.v42-search-results{max-height:52dvh;overflow:auto;display:grid;gap:7px;margin-top:10px}
.v42-search-result{display:flex;flex-direction:column;text-align:left;gap:4px;background:#0b3856;color:#fff;border:1px solid #2988ba;border-radius:10px;padding:10px}
.v42-search-result small{color:#c0eaff}
.v42-debt-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0 0 12px}
.v42-debt-actions button{min-height:42px;background:#0c4d73;color:#fff;border:1px solid #28b8e8;border-radius:10px}
.v42-debt-actions button:first-child{grid-column:1/-1;background:#0e5e84}
.v42-debt-list{max-height:25dvh;overflow:auto}
.v42-debt-list>div{display:flex;justify-content:space-between;padding:8px;border-bottom:1px solid #2c6886}

/* V43: approved compact customer card, no duplicate reminder controls */
#modal.v43-customer-dialog{width:min(94vw,440px);max-height:calc(100dvh - 40px);overflow:hidden;padding:0;border:1px solid #3bc9fb;border-radius:22px;background:linear-gradient(160deg,#075183 0%,#042844 58%,#021b31 100%);box-shadow:0 0 22px #00baff55;color:white}
#modal.v43-customer-dialog #modalForm{height:min(88dvh,800px);max-height:calc(100dvh - 42px);display:flex;flex-direction:column;min-height:0;padding:12px}
#modal.v43-customer-dialog #modalTitle{text-align:center;font-size:clamp(18px,5vw,23px);margin:3px 32px 10px;flex-shrink:0}
#modal.v43-customer-dialog #modalFields{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:0 3px 7px}
#modal.v43-customer-dialog .actions[hidden]{display:none!important}
.v43-customer{position:relative;display:grid;gap:9px}
.v43-close{position:absolute;right:2px;top:1px;border:1px solid #3ca5d6;background:#073a60;color:white;border-radius:50%;width:30px;height:30px;font-size:24px;line-height:24px;padding:0;z-index:1}
.v43-house{display:flex;gap:10px;align-items:center;padding:10px 11px;border:1px solid #2b9cda;background:#063d68;border-radius:12px}
.v43-house-icon{font-size:24px}
.v43-house strong{font-size:20px;display:block}.v43-house small{display:block;color:#b5e7ff;font-size:13px}
.v43-person{display:flex;flex-direction:column;gap:3px;padding:7px 10px;border:1px solid #1b77a9;border-radius:10px;background:#073352}
.v43-person strong{font-size:17px}.v43-person span{font-size:13px;color:#cceaff}
.v43-contact-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.v43-contact-buttons:has(#v43Email){grid-template-columns:repeat(4,minmax(0,1fr))}
.v43-contact-buttons button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:39px;padding:5px 3px;font-size:13px;border-radius:9px;background:#0a527b;color:white;border:1px solid #33a8df}
.v43-section{padding:10px 11px;border:1px solid #1f91c5;border-radius:12px;background:#052f50}
.v43-section-title{font-weight:800;font-size:15px;margin-bottom:7px}
.v43-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.v43-two>div{border:1px solid #217dab;border-radius:9px;padding:7px 8px;background:#063b5e}
.v43-two small{display:block;color:#bbddf3;font-size:11px}
.v43-two b{display:block;font-size:19px}.v43-owing{color:#ffd06b}
.v43-line{display:flex;justify-content:space-between;gap:10px;margin-top:9px;font-size:12px}
.v43-warning{font-size:12px;color:#ffdb7b;margin:8px 0 3px}
.v43-inline-button{width:100%;margin-top:9px;border:1px solid #2da6da;background:#0b507a;color:white;padding:8px;border-radius:8px;font-weight:700}
.v43-notes{font-size:13px;margin:0;line-height:1.35}
.v43-main-action,.v43-pay-menu button{width:100%;min-height:42px;border-radius:10px;border:1px solid #72e2ff;background:linear-gradient(#36c8f5,#0476b5);color:#001f34;font-weight:800}
.v43-danger-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.v43-danger-actions button{min-height:38px;border:1px solid #4289b5;border-radius:9px;background:#083c61;color:#fff;font-size:13px}
.v43-danger-actions button:last-child{border-color:#d86b7c;background:#5d2737}
.v43-pay-menu{display:grid;gap:10px;padding:6px}
.v43-edit{display:grid;gap:7px;padding:5px}
.v43-edit .field{margin:0}
@media(max-height:730px){#modal.v43-customer-dialog #modalForm{height:calc(100dvh - 38px)}.v43-customer{gap:6px}.v43-section{padding:8px}}

/* V44 mobile customer card: fit content, never force a tall empty popup. */
#modal.v44-customer-dialog{
 position:fixed!important;inset:auto!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;
 transform:translate(-50%,-50%)!important;margin:0!important;
 width:min(calc(100vw - 24px),420px)!important;max-width:420px!important;
 height:auto!important;max-height:calc(100dvh - 32px)!important;
 padding:0!important;overflow:hidden!important;border-radius:17px!important;
}
#modal.v44-customer-dialog #modalForm{
 display:flex!important;flex-direction:column!important;gap:0!important;
 height:auto!important;min-height:0!important;max-height:calc(100dvh - 34px)!important;
 padding:10px 12px 12px!important;overflow:hidden!important;
}
#modal.v44-customer-dialog #modalTitle{
 flex:0 0 auto!important;font-size:19px!important;line-height:1.25!important;
 margin:2px 32px 10px!important;padding:0!important;text-align:center!important;
}
#modal.v44-customer-dialog #modalFields{
 flex:0 1 auto!important;min-height:0!important;height:auto!important;
 max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;
 overscroll-behavior:contain!important;padding:0 1px 2px!important;
 scrollbar-width:thin;scrollbar-color:#318cc2 transparent;
}
#modal.v44-customer-dialog .actions{flex:0 0 auto!important;margin-top:8px!important}
#modal.v44-customer-dialog .actions[hidden]{display:none!important}
#modal.v44-customer-dialog .v43-customer{display:grid;gap:7px!important;align-content:start!important}
#modal.v44-customer-dialog .v43-house{padding:8px 10px!important;min-height:57px!important}
#modal.v44-customer-dialog .v43-house strong{font-size:18px!important}
#modal.v44-customer-dialog .v43-person{padding:7px 10px!important}
#modal.v44-customer-dialog .v43-contact-buttons button{min-height:35px!important;font-size:12px!important}
#modal.v44-customer-dialog .v43-section{padding:8px 10px!important}
#modal.v44-customer-dialog .v43-section-title{margin-bottom:5px!important;font-size:14px!important}
#modal.v44-customer-dialog .v43-two>div{padding:5px 7px!important}
#modal.v44-customer-dialog .v43-two b{font-size:18px!important}
#modal.v44-customer-dialog .v43-line{margin-top:6px!important}
#modal.v44-customer-dialog .v43-inline-button{min-height:34px!important;padding:6px!important;margin-top:7px!important;font-size:13px!important}
#modal.v44-customer-dialog .v43-main-action{min-height:38px!important;font-size:14px!important}
#modal.v44-customer-dialog .v43-danger-actions button{min-height:34px!important;font-size:12px!important}
#modal.v44-customer-dialog .v43-notes{font-size:12px!important}
#modal.v44-customer-dialog .v43-close{top:1px;right:1px}
#modal.v44-customer-dialog .v44-back{width:100%;padding:8px;background:#073d60;color:#fff;border:1px solid #2b9ed4;border-radius:9px}
@media(max-height:690px){#modal.v44-customer-dialog{max-height:calc(100dvh - 16px)!important}#modal.v44-customer-dialog #modalForm{max-height:calc(100dvh - 18px)!important}#modal.v44-customer-dialog .v43-section{padding:6px 8px!important}}

/* V45 last clean: one calendar-linked date, no separate date database */
.v45-last-clean{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:10px 12px;background:#073a5c;border:1px solid #27a4dc;border-radius:11px;color:#fff;text-align:left}
.v45-last-clean span{font-weight:700;font-size:13px;color:#c2eaff}
.v45-last-clean strong{font-size:18px}
.v45-last-clean small{font-size:11px;color:#9ddcf6}

/* V46: compact independent customer and price tap targets, preserve 12 round columns */
.booktable{min-width:0;width:100%;table-layout:fixed}
.booktable th:first-child{width:112px;min-width:112px}
.booktable thead th:first-child{padding:1px 3px}
.v46-col-head{display:grid;grid-template-columns:1fr 1fr;gap:3px;align-items:center;font-size:10px;white-space:nowrap}
.booktable tbody th:first-child{padding:2px 3px}
.v46-house-pair{display:grid;grid-template-columns:48% 52%;gap:3px;align-items:stretch}
.v46-house-pair .bookhouse,.v46-house-pair .bookprice{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;min-height:32px;margin:0;padding:1px 2px;border:1px solid #32bdf1;border-radius:7px;background:linear-gradient(180deg,#116d9e,#063956);color:#fff;text-decoration:none;box-shadow:inset 0 1px 2px #9be8ff22;font-size:12px;line-height:1}
.v46-house-pair .bookhouse b{font-size:14px;line-height:1;white-space:nowrap}
.v46-house-pair .bookprice{color:#83f4b5;border-color:#2bbba5;font-size:11px;font-weight:800}
.v46-house-pair button:focus-visible{outline:2px solid #fff;outline-offset:1px}
.booktable .bookdebt{font-size:9px;margin-top:2px}
@media(max-width:390px){.booktable th:first-child{width:106px;min-width:106px}.v46-house-pair .bookhouse b{font-size:13px}.v46-house-pair .bookprice{font-size:10px}}

/* V47 premium street-book visual polish; unchanged grid/payment calculations */
.full-pay>main{gap:6px;padding:7px 8px 8px;background:linear-gradient(155deg,#032342,#011a31 75%)}
.full-pay .v12-head{position:relative;min-height:43px}
.full-pay .v12-head::after{content:"";position:absolute;left:13%;right:13%;bottom:-4px;height:2px;pointer-events:none;background:linear-gradient(90deg,transparent,#13baff,transparent);box-shadow:0 0 9px #00bfff88}
.full-pay .v12-head h2{font-weight:850;letter-spacing:.15px;text-shadow:0 1px 7px #35baff44}
.full-pay .v12-head .smallbtn,.full-pay .v12-bar .smallbtn{border:1px solid #3acfff;border-radius:10px;background:linear-gradient(180deg,#0b6596,#042943);box-shadow:inset 0 1px 2px #a9efff55,0 0 5px #00aaff22;color:#fff}
.full-pay .v12-bar b{font-size:clamp(15px,4.2vw,19px);white-space:nowrap}
.full-pay .v47-stats{gap:6px}
.full-pay .v47-stats>div{min-width:0;padding:7px 3px 6px;border:1px solid #38c8fa;border-radius:11px;background:linear-gradient(180deg,#096d9e,#063b5b 42%,#03243f);box-shadow:inset 0 1px 2px #9eefff3d,0 0 8px #008bd32c}
.v47-stat-label{display:flex;align-items:center;justify-content:center;gap:4px;font-size:clamp(10px,2.8vw,12px);white-space:nowrap}
.v47-stat-icon{font-size:15px;font-weight:900;color:#a7e9ff}
.v47-collected-icon{color:#62f5a1}.v47-owed-icon{color:#ffcf59}
.full-pay .v47-stats strong{font-size:clamp(16px,4.7vw,21px);font-weight:850;line-height:1.25}
.v47-owed-amount{color:#fff}
.full-pay .bookscroll{border:1px solid #39c9ff;border-radius:12px;box-shadow:0 0 12px #03b9ff44, inset 0 0 5px #0086d222}
.full-pay .booktable thead th{background:linear-gradient(180deg,#1687bc,#07517b);border-bottom:1px solid #52d9ff;color:#fff}
.full-pay .booktable tbody tr:nth-child(odd){background:#0a3456}
.full-pay .booktable tbody tr:nth-child(even){background:#062b49}
.full-pay .booktable th,.full-pay .booktable td{border-bottom:1px solid #27698f}
.full-pay .booktable tbody th:first-child{background:#0a4165}
.full-pay .v46-house-pair .bookhouse{background:linear-gradient(180deg,#0e82b6,#084267);border-color:#36cfff;color:#fff;box-shadow:inset 0 1px 3px #b6f6ff55,0 0 3px #1fbfff44}
.full-pay .v46-house-pair .bookprice{background:linear-gradient(180deg,#075c63,#043e50);border-color:#27d9a8;color:#82ffb5;box-shadow:inset 0 1px 3px #9affd533,0 0 3px #16d4a033}
.full-pay .v46-house-pair button:active{filter:brightness(1.3)}
.full-pay .booktable .grid-cell{border-color:#245f86;border-radius:3px}
.full-pay .booktable .grid-cell.paid{background:#08724e;color:#a8ffcd;border-color:#25d78d}
.full-pay .booktable .grid-cell.missed{background:#5b2731;color:#ffb1b1;border-color:#dc6971}
.full-pay .booktable .grid-cell.partial{background:#6d4d12;color:#ffe5a0;border-color:#f1bc4c}
.full-pay .v47-legend{background:linear-gradient(180deg,#063354,#04283f);border:1px solid #267da8;border-radius:10px;padding:7px 3px;gap:5px}
.v47-legend>span{display:flex;align-items:center;gap:4px;white-space:nowrap}
.v47-legend-dot{display:inline-grid;place-items:center;width:17px;height:17px;flex-shrink:0;border-radius:50%;font-size:12px;font-style:normal;font-weight:900;border:1px solid currentColor}
.v47-legend-paid{color:#52f3a0}.v47-legend-missed{color:#ff767a}.v47-legend-part{color:#ffd36d}
.full-pay .v47-bottom{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.full-pay .v47-bottom button{min-width:0;width:100%;padding:10px 2px;min-height:43px;border-radius:10px;font-size:clamp(10px,2.7vw,13px);font-weight:800;white-space:nowrap;box-shadow:inset 0 1px 3px #a1eaff55,0 0 4px #16aefc33}
.full-pay .v47-bottom .finish-street{background:linear-gradient(180deg,#00c97c,#057144)!important;border-color:#55ffb0!important;color:white!important;box-shadow:inset 0 1px 4px #d1ffe077,0 0 7px #04d68066}
@media(max-width:375px){.full-pay .v47-bottom{gap:3px}.full-pay .v47-bottom button{font-size:10px;letter-spacing:-.2px}.v47-legend>span{font-size:9px}}

/* V48: genuinely compact premium book layout. Overrides inherited 57-69px grid sizing. */
.full-pay .bookscroll{min-height:0;overflow:auto;overscroll-behavior:contain}
.full-pay .booktable{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:0;font-size:10px}
.full-pay .booktable thead th{height:32px!important;min-height:32px;padding:2px 1px;font-size:11px}
.full-pay .booktable thead th:first-child{width:112px;min-width:112px}
.full-pay .booktable tbody tr{height:37px!important;min-height:37px!important;max-height:37px!important}
.full-pay .booktable tbody th,.full-pay .booktable tbody td{height:37px!important;min-height:37px!important;max-height:37px!important;padding:1px!important;vertical-align:middle}
.full-pay .booktable tbody th:first-child{padding:1px 3px!important}
.full-pay .v46-house-pair{height:33px;grid-template-columns:48% 52%;gap:4px}
.full-pay .v46-house-pair .bookhouse,.full-pay .v46-house-pair .bookprice{height:31px!important;min-height:31px!important;max-height:31px!important;border-radius:8px;padding:0 1px;box-shadow:inset 0 1px 3px #a4eaff44,0 0 5px #00c6ff33}
.full-pay .v46-house-pair .bookhouse b{font-size:14px;white-space:nowrap}
.full-pay .v46-house-pair .bookprice{font-size:11px}
.full-pay .booktable .grid-cell{height:33px!important;min-height:33px!important;max-height:33px!important;width:100%;margin:0;padding:0!important;border-radius:3px;font-size:14px}
.full-pay .booktable .bookempty{font-size:13px}
.full-pay .booktable .bookdebt{font-size:8px;line-height:1}
.full-pay .v12-head{min-height:37px}
.full-pay .v12-head::before{content:"";position:absolute;left:10%;top:0;width:25%;height:2px;transform:rotate(-13deg);background:#28c6ff;box-shadow:0 0 8px #00baff}
.full-pay .v47-stats>div{padding:5px 2px}
.full-pay .v47-legend{padding:6px 2px;flex-shrink:0}
.full-pay .v47-bottom{gap:5px;flex-shrink:0}
.full-pay .v47-bottom button{min-height:42px;padding:8px 1px}
@media(max-width:390px){.full-pay .booktable thead th:first-child{width:108px;min-width:108px}.full-pay .v46-house-pair .bookhouse b{font-size:13px}.full-pay .v46-house-pair .bookprice{font-size:10px}}
