/* Fleet Dynamics 2026 — Phase 124 / Full Build 124.29.14
   Escrow manual-date and layout correction. No DB/schema changes. */

/* ------------------------------------------------------------------
   Escrow form: one coherent visual system.
   ------------------------------------------------------------------ */
.phase12429-escrow-dialog .escrow-workflow-policy-form{
  column-gap:12px!important;
  row-gap:10px!important;
  align-items:start!important;
}
.phase12429-escrow-dialog .escrow-workflow-policy-form > .vista-field{
  min-width:0!important;
}
.phase12429-escrow-dialog .escrow-workflow-policy-form > .vista-field > label{
  margin-bottom:5px!important;
}
.phase12429-escrow-dialog .escrow-workflow-policy-form input,
.phase12429-escrow-dialog .escrow-workflow-policy-form select{
  box-sizing:border-box!important;
}

/* Date shell owns the visible text field + Calendar + Today. */
.phase12429-escrow-dialog .phase124292-date-shell{
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:36px!important;
  margin:0!important;
  padding:0!important;
}
.phase12429-escrow-dialog .phase124292-date-shell > .fd-date-display,
.phase12429-escrow-dialog .phase124292-date-shell > .phase124292-manual-date{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:36px!important;
  min-height:36px!important;
  margin:0!important;
  padding:6px 78px 6px 10px!important;
  box-sizing:border-box!important;
  border-radius:7px!important;
  cursor:text!important;
  font-variant-numeric:tabular-nums!important;
  user-select:text!important;
  -webkit-user-select:text!important;
}
.phase12429-escrow-dialog .phase124292-date-shell > input[data-fd-date-storage],
.phase12429-escrow-dialog .phase124292-date-shell > input[type="hidden"]{
  display:none!important;
}
.phase12429-escrow-dialog .phase124292-date-shell > .fd-date-control{
  position:absolute!important;
  top:3px!important;
  bottom:auto!important;
  width:32px!important;
  height:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:0!important;
  z-index:3!important;
}
.phase12429-escrow-dialog .phase124292-date-shell > [data-fd-date-open]{
  right:38px!important;
}
.phase12429-escrow-dialog .phase124292-date-shell > [data-fd-date-today]{
  right:3px!important;
  width:34px!important;
  font-size:9px!important;
}
.phase12429-escrow-dialog .phase124292-date-invalid{
  border-color:#d86a61!important;
  box-shadow:0 0 0 1px rgba(216,106,97,.26), inset 0 1px 2px rgba(0,0,0,.12)!important;
}

/* Historical picker controls are intentionally suppressed in Escrow.
   The Phase 124.20 Calendar/Today pair above is the only date control. */
.phase12429-escrow-dialog .picker-titlebar-picker-button,
.phase12429-escrow-dialog .customer-pickers-picker-button{
  display:none!important;
}

/* Hints sit consistently below their fields. */
.phase12429-escrow-dialog .service-frontoffice-runtime-upload-preview{
  display:block!important;
  clear:both!important;
  margin:5px 0 0!important;
  min-height:14px!important;
  line-height:1.25!important;
}

/* ------------------------------------------------------------------
   Installments: compact, even, readable.
   ------------------------------------------------------------------ */
.phase12429-escrow-dialog .escrow-workflow-installment-editor{
  display:grid!important;
  gap:8px!important;
}
.phase12429-escrow-dialog .escrow-workflow-editor-row{
  display:grid!important;
  grid-template-columns:36px minmax(190px,1fr) minmax(135px,.68fr) 88px minmax(280px,1.35fr)!important;
  gap:10px!important;
  align-items:end!important;
  margin:0!important;
  padding:10px 11px!important;
  border:1px solid rgba(203,240,255,.26)!important;
  border-radius:9px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.035))!important;
}
.phase12429-escrow-dialog .escrow-workflow-editor-row > strong{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:36px!important;
  min-height:36px!important;
  margin:0!important;
  font-size:18px!important;
  line-height:1!important;
}
.phase12429-escrow-dialog .phase124292-installment-field{
  display:grid!important;
  gap:5px!important;
  min-width:0!important;
  align-content:end!important;
  color:rgba(234,249,255,.84)!important;
  font-size:12px!important;
}
.phase12429-escrow-dialog .phase124292-installment-field > input,
.phase12429-escrow-dialog .phase12429-money-input > input{
  width:100%!important;
  min-width:0!important;
  height:36px!important;
  min-height:36px!important;
  box-sizing:border-box!important;
}

/* Paid is deliberately quiet; no custom red check artwork. */
.phase12429-escrow-dialog .escrow-policy-check.phase124292-paid-check{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:end!important;
  gap:7px!important;
  height:36px!important;
  min-height:36px!important;
  margin:0!important;
  padding:0 8px!important;
  border:1px solid rgba(203,240,255,.22)!important;
  border-radius:7px!important;
  background:rgba(255,255,255,.045)!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
}
.phase12429-escrow-dialog .escrow-policy-check.phase124292-paid-check input[type="checkbox"]{
  appearance:checkbox!important;
  -webkit-appearance:checkbox!important;
  width:15px!important;
  min-width:15px!important;
  max-width:15px!important;
  height:15px!important;
  min-height:15px!important;
  max-height:15px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:2px!important;
  background:initial!important;
  box-shadow:none!important;
  transform:none!important;
  accent-color:#347ca6!important;
}

/* Paid Date stays a single balanced row. */
.phase12429-escrow-dialog .phase124292-paid-date-line{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 112px!important;
  gap:7px!important;
  align-items:end!important;
  width:100%!important;
}
.phase12429-escrow-dialog .phase12429-same-due{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:112px!important;
  min-width:112px!important;
  max-width:112px!important;
  height:36px!important;
  min-height:36px!important;
  margin:0!important;
  padding:0 8px!important;
  font-size:10px!important;
  line-height:1.1!important;
  white-space:normal!important;
  text-align:center!important;
}

/* Currency symbol is visual prefix; stored value remains numeric. */
.phase12429-money-input{
  position:relative!important;
  display:block!important;
  width:100%!important;
}
.phase12429-money-prefix{
  position:absolute!important;
  left:10px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:2!important;
  color:#173d56!important;
  font-weight:900!important;
  pointer-events:none!important;
}
.phase12429-money-input > input{
  width:100%!important;
  padding-left:34px!important;
  box-sizing:border-box!important;
}

/* Expense documents: same visual language as New Vehicle, backed by Supra26. */
.phase12429-expense-documents{grid-column:1/-1!important}
.phase12429-document-manager{
  display:grid;
  gap:10px;
  border:1px solid rgba(203,240,255,.30);
  border-radius:10px;
  padding:10px;
  background:rgba(0,51,84,.18);
}
.phase12429-document-drop{
  position:relative;
  min-height:112px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  border:1px dashed rgba(188,231,250,.66);
  border-radius:10px;
  background:rgba(0,64,103,.20);
  color:#effbff;
  cursor:pointer;
  transition:.15s ease;
}
.phase12429-document-drop:hover,.phase12429-document-drop.is-dragging{
  background:rgba(31,128,177,.26);
  border-color:rgba(224,249,255,.9);
}
.phase12429-document-drop input[type="file"]{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}
.phase12429-document-drop>span{font-size:28px;line-height:1}
.phase12429-document-drop>strong{font-size:13px}
.phase12429-document-drop>small,.phase12429-document-manager>p{color:rgba(233,249,255,.72);font-size:11px;margin:0}
.phase12429-staged-list,.phase12429-file-documents{display:grid;gap:6px}
.phase12429-doc-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto auto;
  align-items:center;
  gap:8px;
  border:1px solid rgba(203,240,255,.19);
  border-radius:8px;
  padding:7px 8px;
  background:rgba(255,255,255,.055);
}
.phase12429-doc-row.is-staged{border-style:dashed}
.phase12429-doc-row strong,.phase12429-doc-row small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.phase12429-doc-row small{color:rgba(233,249,255,.68);margin-top:2px}
.phase12429-expense-documents-card{grid-column:1/-1}

/* Expense Edit is a true targeted modal layer. Picker popups remain above it. */
.vista-window.phase12429-expense-editor,
.vista-window.phase124292-forced-front{
  z-index:2147481200!important;
  box-shadow:0 22px 65px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.24)!important;
}


@media(max-width:980px){
  .phase12429-escrow-dialog .escrow-workflow-editor-row{
    grid-template-columns:34px minmax(165px,1fr) minmax(120px,.7fr) 82px minmax(240px,1.25fr)!important;
    gap:8px!important;
  }
  .phase12429-escrow-dialog .phase124292-paid-date-line{
    grid-template-columns:minmax(0,1fr) 102px!important;
  }
  .phase12429-escrow-dialog .phase12429-same-due{
    width:102px!important;
    min-width:102px!important;
    max-width:102px!important;
    font-size:9px!important;
  }
}
@media(max-width:760px){
  .phase12429-escrow-dialog .escrow-workflow-editor-row{
    grid-template-columns:36px minmax(0,1fr)!important;
    align-items:end!important;
  }
  .phase12429-escrow-dialog .escrow-workflow-editor-row > strong{
    grid-column:1;
    grid-row:1 / span 4;
    align-self:start!important;
    margin-top:18px!important;
  }
  .phase12429-escrow-dialog .phase124292-installment-field,
  .phase12429-escrow-dialog .escrow-policy-check.phase124292-paid-check{
    grid-column:2!important;
  }
  .phase12429-escrow-dialog .escrow-policy-check.phase124292-paid-check{
    width:max-content!important;
    justify-content:flex-start!important;
    padding:0 12px!important;
  }
}

/* ------------------------------------------------------------------
   Phase 124.29.14 — consolidated Escrow visual/date runtime styles.
   ------------------------------------------------------------------ */
.phase124298-escrow-dialog .escrow-workflow-policy-form{column-gap:14px!important;row-gap:12px!important;align-items:start!important}
.phase124298-escrow-dialog .vista-field:has(.phase124298-date-host){padding-right:0!important}
.phase124298-escrow-dialog .phase124298-valid-note{font-size:11px!important;font-weight:400!important;color:rgba(224,241,249,.80)!important}

.phase124298-escrow-dialog .phase124298-date-host{position:relative!important;display:block!important;width:100%!important;min-width:0!important;height:34px!important;overflow:hidden!important;border-radius:7px!important}
.phase124298-escrow-dialog .phase124298-date-input{display:block!important;width:100%!important;min-width:0!important;height:34px!important;min-height:34px!important;margin:0!important;padding:5px 80px 5px 10px!important;box-sizing:border-box!important;border:1px solid rgba(190,230,249,.62)!important;border-radius:7px!important;background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(220,236,245,.95))!important;color:#173d55!important;font-variant-numeric:tabular-nums!important;cursor:text!important}
.phase124298-escrow-dialog .phase124298-due-host .phase124298-date-input,.phase124298-escrow-dialog .phase124298-paid-input-host .phase124298-date-input{padding-right:10px!important}
.phase124298-escrow-dialog .phase124298-date-input::placeholder{color:#6d8797!important;opacity:1!important}
.phase124298-escrow-dialog .phase124298-date-invalid{border-color:#cf6159!important;box-shadow:0 0 0 1px rgba(207,97,89,.22),inset 0 1px 2px rgba(0,0,0,.12)!important}
.phase124298-escrow-dialog .phase124298-date-actions{position:absolute!important;right:3px!important;top:3px!important;display:flex!important;gap:2px!important;height:28px!important;z-index:6!important}
.phase124298-escrow-dialog .phase124298-date-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:28px!important;min-height:28px!important;margin:0!important;padding:0!important;border:1px solid rgba(122,178,208,.88)!important;border-radius:6px!important;background:linear-gradient(180deg,#6fa8c7,#39789b 48%,#286487)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.42),0 1px 1px rgba(0,35,58,.18)!important;text-shadow:0 1px 1px rgba(0,43,70,.75)!important;cursor:pointer!important;line-height:1!important}
.phase124298-escrow-dialog .phase124298-date-action:hover{background:linear-gradient(180deg,#85bdd9,#4d8eaf 48%,#32749a)!important}
.phase124298-escrow-dialog .phase124298-date-action-calendar{width:29px!important;min-width:29px!important;font:15px/1 'Segoe UI Symbol','Segoe UI',sans-serif!important}
.phase124298-escrow-dialog .phase124298-date-action-today{width:40px!important;min-width:40px!important;font-size:9px!important;font-weight:700!important}

.phase124298-escrow-dialog .escrow-workflow-installment-editor{display:grid!important;gap:10px!important}
.phase124298-escrow-dialog .escrow-workflow-editor-row.phase124298-installment-row{position:relative!important;display:grid!important;grid-template-columns:minmax(172px,.82fr) minmax(142px,.66fr) 84px minmax(420px,1.72fr)!important;column-gap:10px!important;row-gap:5px!important;align-items:end!important;margin:0!important;padding:11px 12px 11px 80px!important;border:1px solid rgba(203,240,255,.26)!important;border-radius:10px!important;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.035))!important;overflow:hidden!important}
.phase124298-escrow-dialog .escrow-workflow-editor-row.phase124298-installment-row::before{content:'';position:absolute;left:0;top:0;bottom:0;width:68px;background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.03));border-right:1px solid rgba(203,240,255,.14);pointer-events:none}
.phase124298-escrow-dialog .escrow-workflow-editor-row.phase124298-installment-row>strong{position:absolute!important;left:17px!important;top:50%!important;transform:translateY(-55%)!important;width:38px!important;height:auto!important;min-height:0!important;margin:0!important;text-align:center!important;font-size:42px!important;line-height:1!important;font-weight:700!important;color:rgba(236,248,255,.34)!important;text-shadow:0 1px 0 rgba(0,32,52,.14)!important;pointer-events:none!important}
.phase124298-escrow-dialog .phase124292-installment-field{display:grid!important;gap:5px!important;min-width:0!important;align-content:end!important;color:rgba(234,249,255,.84)!important;font-size:12px!important}
.phase124298-escrow-dialog .phase124292-due-field{grid-column:1!important}.phase124298-escrow-dialog .phase124292-amount-field{grid-column:2!important}.phase124298-escrow-dialog .escrow-policy-check.phase124292-paid-check{grid-column:3!important}.phase124298-escrow-dialog .phase124292-paid-date-field{grid-column:4!important}
.phase124298-escrow-dialog .escrow-policy-check.phase124292-paid-check{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;align-self:end!important;gap:7px!important;width:100%!important;height:34px!important;min-height:34px!important;margin:0!important;padding:0 8px!important;border:1px solid rgba(203,240,255,.22)!important;border-radius:7px!important;background:rgba(255,255,255,.045)!important;box-sizing:border-box!important;white-space:nowrap!important}
.phase124298-escrow-dialog .escrow-policy-check.phase124292-paid-check input[type=checkbox]{appearance:checkbox!important;-webkit-appearance:checkbox!important;width:15px!important;min-width:15px!important;height:15px!important;min-height:15px!important;margin:0!important;padding:0!important;accent-color:#347ca6!important}
.phase124298-escrow-dialog .phase124298-paid-line{display:grid!important;grid-template-columns:minmax(185px,1fr) 110px 71px!important;gap:7px!important;align-items:end!important;width:100%!important;min-width:0!important}
.phase124298-escrow-dialog .phase124298-paid-input-host{width:100%!important;min-width:0!important;height:34px!important;overflow:hidden!important;border-radius:7px!important}
.phase124298-escrow-dialog .phase124298-paid-actions{display:grid!important;grid-template-columns:29px 40px!important;gap:2px!important;width:71px!important;min-width:71px!important;align-items:center!important}
.phase124298-escrow-dialog .phase124298-paid-line>.phase12429-same-due{width:110px!important;min-width:110px!important;max-width:110px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:0 7px!important;font-size:9px!important;line-height:1.12!important;white-space:normal!important;text-align:center!important}

.phase124298-escrow-dialog .phase124298-money-input,.phase124298-escrow-dialog .phase12429-money-input{position:relative!important;display:block!important;width:100%!important;min-width:0!important}
.phase124298-escrow-dialog .phase124298-money-input::before,.phase124298-escrow-dialog .phase12429-money-input::before{display:none!important;content:none!important}
.phase124298-escrow-dialog .phase124298-money-input>.phase12429-money-prefix,.phase124298-escrow-dialog .phase12429-money-input>.phase12429-money-prefix{left:13px!important;top:50%!important;transform:translateY(-50%)!important;width:18px!important;min-width:18px!important;text-align:left!important;font-size:13px!important;font-weight:700!important;line-height:1!important;color:#173d55!important;opacity:1!important;text-shadow:none!important;z-index:3!important}
.phase124298-escrow-dialog .phase124298-money-input>input,.phase124298-escrow-dialog .phase12429-money-input>input{width:100%!important;min-width:0!important;padding-left:42px!important;box-sizing:border-box!important}
.phase124298-escrow-dialog .phase124298-money-input:has(input[readonly])>.phase12429-money-prefix,.phase124298-escrow-dialog .phase12429-money-input:has(input[readonly])>.phase12429-money-prefix{color:#567488!important}

.phase124298-escrow-dialog .phase124292-manual-date,.phase124298-escrow-dialog .fd-date-display,.phase124298-escrow-dialog [data-date-links-runtime-date-display],.phase124298-escrow-dialog .customer-pickers-picker-button,.phase124298-escrow-dialog .picker-titlebar-picker-button,.phase124298-escrow-dialog [data-fd-date-open],.phase124298-escrow-dialog [data-fd-date-today],.phase124298-escrow-dialog .phase124294-date-actions,.phase124298-escrow-dialog .phase124295-inline-actions,.phase124298-escrow-dialog .phase124297-date-actions{display:none!important}

.phase124298-calendar-popup{position:fixed!important;width:306px!important;padding:9px!important;box-sizing:border-box!important;border:1px solid rgba(168,218,242,.92)!important;border-radius:10px!important;background:linear-gradient(180deg,rgba(225,244,254,.99),rgba(156,201,225,.99))!important;box-shadow:0 18px 46px rgba(0,24,43,.48),inset 0 1px 0 #fff!important;color:#173d55!important}
.phase124298-calendar-head{display:grid!important;grid-template-columns:34px 1fr 34px!important;gap:6px!important;align-items:center!important;margin-bottom:7px!important}.phase124298-calendar-head strong{text-align:center!important;font-size:13px!important;font-weight:700!important}
.phase124298-calendar-popup button{border:1px solid rgba(79,135,166,.50)!important;border-radius:5px!important;background:linear-gradient(180deg,#fff,#d6e8f2)!important;color:#19455f!important;cursor:pointer!important}.phase124298-calendar-popup button:hover{background:linear-gradient(180deg,#82c8eb,#3c8db6)!important;color:#fff!important}
.phase124298-calendar-weekdays,.phase124298-calendar-grid{display:grid!important;grid-template-columns:repeat(7,1fr)!important;gap:3px!important}.phase124298-calendar-weekdays span{padding:3px 0!important;text-align:center!important;font-size:10px!important;font-weight:800!important;color:#4a6e84!important}.phase124298-calendar-grid button{height:31px!important;font-variant-numeric:tabular-nums!important}.phase124298-calendar-grid button.other{opacity:.45!important}.phase124298-calendar-grid button.today{border-color:#f0a43d!important;box-shadow:inset 0 0 0 1px #ffd6a8!important}.phase124298-calendar-grid button.selected{background:linear-gradient(180deg,#4ea9d7,#176f9c)!important;color:#fff!important;font-weight:800!important}.phase124298-calendar-footer{display:flex!important;justify-content:flex-end!important;gap:6px!important;margin-top:8px!important}.phase124298-calendar-footer button{padding:5px 9px!important}

@media(max-width:1100px){.phase124298-escrow-dialog .escrow-workflow-editor-row.phase124298-installment-row{grid-template-columns:minmax(155px,.82fr) minmax(128px,.63fr) 80px minmax(350px,1.55fr)!important;padding-left:76px!important}.phase124298-escrow-dialog .phase124298-paid-line{grid-template-columns:minmax(155px,1fr) 104px 71px!important}.phase124298-escrow-dialog .phase124298-paid-line>.phase12429-same-due{width:104px!important;min-width:104px!important;max-width:104px!important}}
@media(max-width:820px){.phase124298-escrow-dialog .escrow-workflow-editor-row.phase124298-installment-row{grid-template-columns:minmax(0,1fr)!important;padding:12px 12px 12px 74px!important}.phase124298-escrow-dialog .phase124292-due-field,.phase124298-escrow-dialog .phase124292-amount-field,.phase124298-escrow-dialog .phase124292-paid-date-field,.phase124298-escrow-dialog .escrow-policy-check.phase124292-paid-check{grid-column:1!important}.phase124298-escrow-dialog .phase124298-paid-line{grid-template-columns:minmax(0,1fr) 104px 71px!important}}


/* ===== Phase 124.29.14 — final isolated Escrow date controls ===== */
.phase124299-escrow-dialog .phase124299-date-host{position:relative!important;display:block!important;width:100%!important;min-width:0!important;height:34px!important;overflow:hidden!important;border-radius:7px!important}
.phase124299-escrow-dialog .phase124299-date-input{display:block!important;width:100%!important;min-width:0!important;height:34px!important;min-height:34px!important;margin:0!important;padding:5px 80px 5px 10px!important;box-sizing:border-box!important;border:1px solid rgba(190,230,249,.62)!important;border-radius:7px!important;background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(220,236,245,.95))!important;color:#173d55!important;font-variant-numeric:tabular-nums!important;cursor:text!important}
.phase124299-escrow-dialog .phase124299-due-host .phase124299-date-input,.phase124299-escrow-dialog .phase124299-paid-input-host .phase124299-date-input{padding-right:10px!important}
.phase124299-escrow-dialog .phase124299-date-input::placeholder{color:#6d8797!important;opacity:1!important}
.phase124299-escrow-dialog .phase124299-date-input.phase124299-date-invalid{border-color:#cf6159!important;box-shadow:0 0 0 1px rgba(207,97,89,.22),inset 0 1px 2px rgba(0,0,0,.12)!important}
.phase124299-escrow-dialog .phase124299-date-actions{position:absolute!important;right:3px!important;top:3px!important;display:flex!important;gap:2px!important;height:28px!important;z-index:8!important}
.phase124299-escrow-dialog .phase124299-date-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:28px!important;min-height:28px!important;margin:0!important;padding:0!important;border:1px solid rgba(122,178,208,.88)!important;border-radius:6px!important;background:linear-gradient(180deg,#6fa8c7,#39789b 48%,#286487)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.42),0 1px 1px rgba(0,35,58,.18)!important;text-shadow:0 1px 1px rgba(0,43,70,.75)!important;cursor:pointer!important;line-height:1!important}
.phase124299-escrow-dialog .phase124299-date-action:hover{background:linear-gradient(180deg,#85bdd9,#4d8eaf 48%,#32749a)!important}
.phase124299-escrow-dialog .phase124299-date-action-calendar{width:29px!important;min-width:29px!important;font:15px/1 'Segoe UI Symbol','Segoe UI',sans-serif!important}.phase124299-escrow-dialog .phase124299-date-action-today{width:40px!important;min-width:40px!important;font-size:9px!important;font-weight:700!important}
.phase124299-escrow-dialog .phase124299-valid-note{font-size:11px!important;font-weight:400!important;color:rgba(224,241,249,.80)!important}
.phase124299-escrow-dialog .phase124299-paid-line{display:grid!important;grid-template-columns:minmax(185px,1fr) 110px 71px!important;gap:7px!important;align-items:end!important;width:100%!important;min-width:0!important}.phase124299-escrow-dialog .phase124299-paid-input-host{width:100%!important;min-width:0!important;height:34px!important;overflow:hidden!important;border-radius:7px!important}.phase124299-escrow-dialog .phase124299-paid-actions{display:grid!important;grid-template-columns:29px 40px!important;gap:2px!important;width:71px!important;min-width:71px!important}.phase124299-escrow-dialog .phase124299-paid-line>.phase12429-same-due{width:110px!important;min-width:110px!important;max-width:110px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:0 7px!important;font-size:9px!important;line-height:1.12!important;white-space:normal!important;text-align:center!important}
.phase124299-escrow-dialog .phase124299-money-input>.phase12429-money-prefix,.phase124299-escrow-dialog .phase12429-money-input>.phase12429-money-prefix{color:#173d55!important;opacity:1!important;font-size:13px!important;font-weight:700!important;text-shadow:none!important}
/* Kill every historical Escrow date display/control after 124.29.14 owns the field. */
.phase124299-escrow-dialog .phase124292-manual-date,.phase124299-escrow-dialog .fd-date-display,.phase124299-escrow-dialog [data-date-links-runtime-date-display],.phase124299-escrow-dialog .phase124297-date-input,.phase124299-escrow-dialog .phase124298-date-input,.phase124299-escrow-dialog .customer-pickers-picker-button,.phase124299-escrow-dialog .picker-titlebar-picker-button,.phase124299-escrow-dialog [data-fd-date-open],.phase124299-escrow-dialog [data-fd-date-today],.phase124299-escrow-dialog .phase124298-date-actions,.phase124299-escrow-dialog .phase124298-paid-actions{display:none!important}
.phase124299-calendar-popup{position:fixed!important;width:306px!important;padding:9px!important;box-sizing:border-box!important;border:1px solid rgba(168,218,242,.92)!important;border-radius:10px!important;background:linear-gradient(180deg,rgba(225,244,254,.99),rgba(156,201,225,.99))!important;box-shadow:0 18px 46px rgba(0,24,43,.48),inset 0 1px 0 #fff!important;color:#173d55!important}
.phase124299-calendar-head{display:grid!important;grid-template-columns:34px 1fr 34px!important;gap:6px!important;align-items:center!important;margin-bottom:7px!important}.phase124299-calendar-head strong{text-align:center!important;font-size:13px!important}.phase124299-calendar-popup button{border:1px solid rgba(79,135,166,.50)!important;border-radius:5px!important;background:linear-gradient(180deg,#fff,#d6e8f2)!important;color:#19455f!important;cursor:pointer!important}.phase124299-calendar-popup button:hover{background:linear-gradient(180deg,#82c8eb,#3c8db6)!important;color:#fff!important}.phase124299-calendar-weekdays,.phase124299-calendar-grid{display:grid!important;grid-template-columns:repeat(7,1fr)!important;gap:3px!important}.phase124299-calendar-weekdays span{padding:3px 0!important;text-align:center!important;font-size:10px!important;font-weight:800!important;color:#4a6e84!important}.phase124299-calendar-grid button{height:31px!important;font-variant-numeric:tabular-nums!important}.phase124299-calendar-grid button.other{opacity:.45!important}.phase124299-calendar-grid button.today{border-color:#f0a43d!important;box-shadow:inset 0 0 0 1px #ffd6a8!important}.phase124299-calendar-grid button.selected{background:linear-gradient(180deg,#4ea9d7,#176f9c)!important;color:#fff!important;font-weight:800!important}.phase124299-calendar-footer{display:flex!important;justify-content:flex-end!important;gap:6px!important;margin-top:8px!important}.phase124299-calendar-footer button{padding:5px 9px!important}
@media(max-width:1100px){.phase124299-escrow-dialog .phase124299-paid-line{grid-template-columns:minmax(155px,1fr) 104px 71px!important}.phase124299-escrow-dialog .phase124299-paid-line>.phase12429-same-due{width:104px!important;min-width:104px!important;max-width:104px!important}}


/* ------------------------------------------------------------------
   Phase 124.29.14 — visual restoration only.
   Date/calendar runtime remains the working 124.29.14 implementation.
   ------------------------------------------------------------------ */

/* Valid From / Valid To: force the real 124.29.14 manual date display visible. */
.phase124299-escrow-dialog .phase1242910-top-date-host{
  position:relative!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  min-width:0!important;
  height:34px!important;
  min-height:34px!important;
  overflow:hidden!important;
  border-radius:7px!important;
}
.phase124299-escrow-dialog .phase1242910-top-date-input,
.phase124299-escrow-dialog .phase1242910-top-date-host > .phase124299-date-input{
  position:relative!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  min-width:0!important;
  height:34px!important;
  min-height:34px!important;
  margin:0!important;
  padding:5px 80px 5px 10px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(190,230,249,.62)!important;
  border-radius:7px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(220,236,245,.95))!important;
  color:#173d55!important;
  font-variant-numeric:tabular-nums!important;
  cursor:text!important;
  z-index:1!important;
}
.phase124299-escrow-dialog .phase1242910-top-date-host > .phase124299-date-actions{
  z-index:4!important;
}

/* Restore the approved installment visual language. */
.phase124299-escrow-dialog .escrow-workflow-installment-editor{
  display:grid!important;
  gap:10px!important;
}
.phase124299-escrow-dialog .escrow-workflow-editor-row.phase124299-installment-row{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(190px,.92fr) minmax(145px,.68fr) 88px minmax(390px,1.55fr)!important;
  column-gap:10px!important;
  row-gap:5px!important;
  align-items:end!important;
  margin:0!important;
  padding:11px 12px 11px 76px!important;
  overflow:hidden!important;
  border:1px solid rgba(203,240,255,.26)!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.035))!important;
}

/* Fade-number gutter. */
.phase124299-escrow-dialog .escrow-workflow-editor-row.phase124299-installment-row::before{
  content:''!important;
  position:absolute!important;
  left:0!important;
  top:0!important;
  bottom:0!important;
  width:66px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.025))!important;
  border-right:1px solid rgba(203,240,255,.14)!important;
  pointer-events:none!important;
}
.phase124299-escrow-dialog .escrow-workflow-editor-row.phase124299-installment-row > strong{
  position:absolute!important;
  left:15px!important;
  top:50%!important;
  transform:translateY(-55%)!important;
  display:block!important;
  width:38px!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
  font-size:42px!important;
  line-height:1!important;
  font-weight:700!important;
  color:rgba(236,248,255,.34)!important;
  text-shadow:0 1px 0 rgba(0,32,52,.14)!important;
  pointer-events:none!important;
  z-index:0!important;
}

/* Keep actual row content above the faded number gutter. */
.phase124299-escrow-dialog .escrow-workflow-editor-row.phase124299-installment-row > label,
.phase124299-escrow-dialog .escrow-workflow-editor-row.phase124299-installment-row > .escrow-policy-check{
  position:relative!important;
  z-index:1!important;
  min-width:0!important;
}

/* Due and Paid Date remain compact but readable. */
.phase124299-escrow-dialog .escrow-workflow-editor-row.phase124299-installment-row .phase124299-due-host,
.phase124299-escrow-dialog .escrow-workflow-editor-row.phase124299-installment-row .phase124299-paid-input-host{
  width:100%!important;
  min-width:0!important;
}
.phase124299-escrow-dialog .escrow-workflow-editor-row.phase124299-installment-row .phase124299-date-input{
  height:34px!important;
  min-height:34px!important;
  box-sizing:border-box!important;
}

/* Currency symbol stays integrated with the amount. */
.phase124299-escrow-dialog .phase124299-money-input > .phase12429-money-prefix,
.phase124299-escrow-dialog .phase12429-money-input > .phase12429-money-prefix{
  left:12px!important;
  color:#173d55!important;
  opacity:1!important;
  font-size:13px!important;
  font-weight:700!important;
  text-shadow:none!important;
}
.phase124299-escrow-dialog .phase124299-money-input > input,
.phase124299-escrow-dialog .phase12429-money-input > input{
  padding-left:38px!important;
}

/* Preserve Paid Date | Same as Due Date | Calendar | Today proportions. */
.phase124299-escrow-dialog .phase124299-paid-line{
  display:grid!important;
  grid-template-columns:minmax(185px,1fr) 110px 71px!important;
  gap:7px!important;
  align-items:end!important;
  width:100%!important;
  min-width:0!important;
}

@media(max-width:1100px){
  .phase124299-escrow-dialog .escrow-workflow-editor-row.phase124299-installment-row{
    grid-template-columns:minmax(165px,.88fr) minmax(130px,.62fr) 82px minmax(330px,1.42fr)!important;
    padding-left:72px!important;
  }
  .phase124299-escrow-dialog .phase124299-paid-line{
    grid-template-columns:minmax(155px,1fr) 104px 71px!important;
  }
}


/* Phase 124.29.14 — calendar year/month navigation polish */
.phase1242912-calendar-popup{width:318px!important;padding:10px!important;border-radius:11px!important;background:linear-gradient(180deg,rgba(239,249,255,.995) 0%,rgba(197,226,241,.995) 48%,rgba(164,207,230,.995) 100%)!important;border-color:rgba(143,201,231,.96)!important}
.phase1242912-calendar-head{grid-template-columns:34px minmax(0,1fr) 34px!important;gap:7px!important;margin-bottom:9px!important}
.phase1242912-calendar-title{display:block!important;width:100%!important;height:32px!important;padding:0 8px!important;border:1px solid rgba(75,135,168,.32)!important;border-radius:7px!important;background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(210,232,244,.72))!important;color:#173d55!important;font-size:13px!important;font-weight:800!important;text-align:center!important;cursor:pointer!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.88)!important}
.phase1242912-calendar-title:hover{background:linear-gradient(180deg,#fff,#c9e6f5)!important;color:#174e6e!important}
.phase1242912-calendar-title.is-year-view{font-size:15px!important;letter-spacing:.03em!important}
.phase1242912-month-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;padding:4px 0 2px!important}
.phase1242912-month-grid button{display:grid!important;place-items:center!important;gap:1px!important;height:52px!important;padding:5px 3px!important;border-radius:7px!important}
.phase1242912-month-grid button strong{font-size:13px!important;line-height:1!important}.phase1242912-month-grid button span{font-size:9px!important;opacity:.72!important}
.phase1242912-month-grid button.today{border-color:#e49b35!important;box-shadow:inset 0 0 0 1px #ffd7a6!important}
.phase1242912-month-grid button.selected{background:linear-gradient(180deg,#58b0dc,#1c739e)!important;border-color:#17658d!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.36)!important}
.phase1242912-year-hint{margin:7px 0 2px!important;text-align:center!important;color:#52758a!important;font-size:9px!important}

/* Phase 124.29.14 — folder-style policy document manager */
.phase1242912-policy-document-manager{display:grid!important;gap:10px!important;padding:11px!important;border:1px solid rgba(190,229,255,.30)!important;border-radius:11px!important;background:linear-gradient(180deg,rgba(68,130,167,.18),rgba(10,48,73,.16))!important}
.phase1242912-policy-document-drop{position:relative!important;display:grid!important;place-items:center!important;gap:3px!important;min-height:92px!important;padding:14px!important;border:1px dashed rgba(192,231,255,.58)!important;border-radius:10px!important;background:rgba(37,95,132,.24)!important;cursor:pointer!important;text-align:center!important;transition:.16s ease!important}
.phase1242912-policy-document-drop:hover,.phase1242912-policy-document-drop.is-dragging{border-color:rgba(223,246,255,.92)!important;background:rgba(74,145,187,.34)!important}
.phase1242912-policy-document-drop input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important}
.phase1242912-policy-document-drop>span{font-size:27px!important}.phase1242912-policy-document-drop strong{font-size:14px!important}
.phase1242912-policy-document-drop small,.phase1242912-policy-document-manager>p{color:rgba(231,246,255,.72)!important;font-size:11px!important}
.phase1242912-policy-document-list{display:grid!important;gap:7px!important}
.phase1242912-policy-doc-row{display:grid!important;grid-template-columns:28px minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important;min-height:42px!important;padding:7px 8px!important;border:1px solid rgba(196,231,250,.18)!important;border-radius:8px!important;background:rgba(7,42,65,.26)!important}
.phase1242912-policy-doc-row>span:first-child{text-align:center!important;font-size:18px!important}.phase1242912-policy-doc-row strong,.phase1242912-policy-doc-row small{display:block!important}.phase1242912-policy-doc-row small{margin-top:2px!important;color:rgba(230,245,254,.68)!important}
.phase1242912-policy-doc-row.is-existing{opacity:.92!important}.phase1242912-policy-doc-row.is-legacy{opacity:.72!important}.phase1242912-policy-doc-row.is-staged{border-color:rgba(139,210,243,.30)!important;background:rgba(55,128,167,.20)!important}
.phase1242912-policy-doc-group{display:grid!important;gap:6px!important;margin-bottom:10px!important}.phase1242912-policy-doc-group h5{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0!important;padding:6px 8px!important;border-radius:7px!important;background:rgba(78,144,182,.16)!important;font-size:12px!important}.phase1242912-policy-doc-group h5 span{font-size:10px!important;font-weight:400!important;color:rgba(228,245,254,.72)!important}

/* Phase 124.29.14 — historical rental selection state */
.fd-rental-form .fd-rental-vehicle-field > small{display:block;margin-top:5px;color:rgba(231,246,255,.72);font-size:11px}
.fd-rental-form .fd-rental-vehicle-field.is-historical{padding:8px;border:1px solid rgba(255,216,126,.28);border-radius:8px;background:rgba(255,190,73,.07)}
.fd-rental-form .fd-rental-vehicle-field.is-historical > label{color:#fff2c6!important}
