/* Scoped customer and street-book presentation. No storage or financial changes. */
#app.app.full-pay:has(.v49-grid) .v49-gridhead,
#app.app.full-pay:has(.v49-grid) .v49-gridrow {
  grid-template-columns:37.5% repeat(12,minmax(0,1fr))!important;
}
#app.app.full-pay:has(.v49-grid) .v49-househead,
#app.app.full-pay:has(.v49-grid) .v49-housepair {
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:2px!important;padding:1px!important;min-width:0!important;
}
#app.app.full-pay:has(.v49-grid) .v49-househead span {text-align:center;font-size:clamp(8px,2.5vw,11px)!important;overflow:hidden;}
#app.app.full-pay:has(.v49-grid) .v49-house,
#app.app.full-pay:has(.v49-grid) .v49-price,
#app.app.full-pay:has(.v49-grid) .v49-owed {
  min-width:0!important;max-width:100%!important;padding:0 1px!important;
  font-size:clamp(8px,2.35vw,11px)!important;letter-spacing:-.25px;
  font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;
}
#app.app.full-pay:has(.v49-grid) .v49-house {font-size:clamp(10px,2.8vw,13px)!important;position:relative;}
#app.app.full-pay:has(.v49-grid) .v49-house .cr-warning-dot {position:absolute;right:0;top:0;transform:none;font-size:8px;min-width:8px;}
#app.app.full-pay:has(.v49-grid) .v49-owed {display:flex;align-items:center;justify-content:center;align-self:center;height:calc(var(--row) - 3px);box-sizing:border-box;border:1px solid #328bb1;border-radius:6px;background:linear-gradient(#14587d,#08263c);font-weight:850;color:#ffda77;box-shadow:inset 0 1px 2px #b9f3ff35;}
#app.app.full-pay:has(.v49-grid) .v49-owed.is-clear {color:#a2f8c0;}
#app.app.full-pay:has(.v49-grid) .v49-price span,
#app.app.full-pay:has(.v49-grid) .v49-owed span {min-width:0;overflow:hidden;text-overflow:ellipsis;}
#app.app.full-pay:has(.v49-grid) .v49-cell,
#app.app.full-pay:has(.v49-grid) .v49-empty {width:auto!important;min-width:0!important;max-width:100%!important;margin:1px 0!important;}
#app.app.full-pay:has(.v49-grid) .v49-roundhead {min-width:0;font-size:clamp(8px,2.4vw,11px)!important;}
/* Match the approved compact grid, without changing round status or handlers. */
#app.app.full-pay:has(.v49-grid) .v49-house,
#app.app.full-pay:has(.v49-grid) .v49-price,
#app.app.full-pay:has(.v49-grid) .v49-owed {
  box-sizing:border-box!important;width:100%!important;margin:0!important;
  align-self:center!important;height:calc(var(--row) - 3px)!important;
  min-height:0!important;max-height:calc(var(--row) - 3px)!important;
  background:linear-gradient(180deg,#14587d,#08263c)!important;
  border:1px solid #328bb1!important;border-radius:5px!important;
}
#app.app.full-pay:has(.v49-grid) .v49-cell,
#app.app.full-pay:has(.v49-grid) .v49-empty {
  box-sizing:border-box!important;justify-self:stretch!important;align-self:center!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:0!important;margin:1px .5px!important;
}
#app.app.full-pay:has(.v49-grid) .v49-cell.blank,
#app.app.full-pay:has(.v49-grid) .v49-empty {
  background:#092b43!important;border:1px solid #205170!important;
  color:#b4d5e8!important;font-size:clamp(10px,2.7vw,13px)!important;
  font-weight:600!important;line-height:1!important;
}
#app.app.full-pay:has(.v49-grid) .v49-cell.blank::after {content:'–'!important;}
#app.app.full-pay:has(.v49-grid) .v49-cell.missed::after {content:none!important;}
#app.app.full-pay:has(.v49-grid) .v49-cell.partial {font-size:0!important;}
#app.app.full-pay:has(.v49-grid) .v49-cell.partial::after {content:'PP'!important;font-size:clamp(8px,2.3vw,12px)!important;font-weight:800!important;}
#app.app.full-pay:has(.v49-grid) .v49-price,
#app.app.full-pay:has(.v49-grid) .v49-owed {font-weight:800!important;}
#modal.v44-customer-dialog .v43-summary {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}
#modal.v44-customer-dialog .v43-summary>div {min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;text-align:center;padding:8px 3px;border:1px solid #43cfff;border-radius:11px;background:linear-gradient(180deg,#0d648c,#073653 45%,#031c32);box-shadow:inset 0 2px 4px #a9ecff38,0 0 5px #00aaff33;}
#modal.v44-customer-dialog .v43-summary strong {font-size:clamp(14px,4.5vw,21px);font-weight:850;line-height:1.1;max-width:100%;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;}
#modal.v44-customer-dialog .v43-summary small {font-size:clamp(9px,2.6vw,12px);color:#c0e8fc;line-height:1.15;}
#modal.v44-customer-dialog .v43-summary .is-owed strong {color:#ffd05b;}
#modal.v44-customer-dialog .v43-summary .is-clear strong {color:#88e9ae;}
#modal.v44-customer-dialog .v43-summary-street {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 2px 3px;border-bottom:1px solid #2b8fb8;}
#modal.v44-customer-dialog .v43-summary-street strong {min-width:0;overflow-wrap:anywhere;font-size:16px;}
#modal.v44-customer-dialog .v43-summary-street .v43-close {position:static!important;flex:0 0 30px;}
