/* The follow-up dialog is an administrative surface: tenant branding must
   not reduce its contrast or alter the approved light composition. */
#followupBackdrop{padding:clamp(12px,3vw,32px);overflow:auto;align-items:center;justify-content:center}
body[data-visual-system="nplus1"] #followupBackdrop>.followupDialog{
  box-sizing:border-box;width:min(1280px,calc(100vw - 32px));max-width:1280px;
  max-height:calc(100dvh - 32px);overflow:auto;padding:36px 40px 24px;
  border:1px solid #d7e5f3!important;border-radius:24px!important;background:#fff!important;
  color:#0b1f42!important;box-shadow:0 24px 70px rgba(20,52,91,.2)!important;
}
body[data-visual-system="nplus1"] #followupBackdrop>.followupDialog :is(h3,label){color:#091a3a!important;-webkit-text-fill-color:#091a3a!important}
body[data-visual-system="nplus1"] #followupBackdrop>.followupDialog :is(.modalHeader small,.followupClientLockNote){color:#58708f!important;-webkit-text-fill-color:#58708f!important;opacity:1!important}
body[data-visual-system="nplus1"] #followupBackdrop>.followupDialog #followupDialogTitle,
body[data-visual-system="nplus1"] #followupBackdrop>.followupDialog .followupFormGrid>.field>label{color:#091a3a!important;-webkit-text-fill-color:#091a3a!important}
#followupBackdrop .followupDialogHeader{position:relative!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:24px!important;padding:0 0 34px!important}
#followupBackdrop .followupDialogIdentity{display:flex;align-items:center;gap:28px;min-width:0}
#followupBackdrop .followupDialogIdentity h3{margin:0 0 7px!important;font-size:clamp(32px,3.5vw,50px)!important;line-height:1!important;letter-spacing:-.035em}
#followupBackdrop .followupDialogIdentity small{display:block;font-size:clamp(17px,2vw,28px)!important;line-height:1.25!important}
#followupBackdrop .followupHeroIcon{display:grid;width:108px;height:108px;flex:0 0 108px;place-items:center;border-radius:20px;background:#eaf4ff;color:#0877ef}
#followupBackdrop .followupHeroIcon svg{width:58px;height:58px}
body[data-visual-system="nplus1"] #followupBackdrop>.followupDialog .followupIcon{color:#0877ef!important;-webkit-text-fill-color:#0877ef!important}
#followupBackdrop .followupIcon svg,#followupBackdrop #followupSave svg,#followupBackdrop #followupClose svg{display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#followupBackdrop #followupClose{position:static!important;display:grid!important;width:72px;height:72px;min-width:72px;min-height:72px;margin-left:auto!important;padding:0!important;place-items:center;border:0!important;border-radius:18px!important;background:#f1f5fa!important;color:#18345a!important;box-shadow:none!important}
#followupBackdrop #followupClose svg{width:38px;height:38px}
#followupBackdrop .followupFormGrid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:30px 32px!important}
#followupBackdrop .followupFormGrid>.field{display:grid!important;align-content:start;gap:12px!important;min-width:0}
#followupBackdrop .followupFormGrid>.field.span2{grid-column:1/-1!important}
#followupBackdrop .followupFormGrid label{display:flex!important;align-items:center!important;gap:13px!important;margin:0!important;font-size:24px!important;font-weight:800!important;line-height:1.2!important}
#followupBackdrop .followupFormGrid label>.followupIcon{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center}
#followupBackdrop .followupFormGrid label svg{width:30px;height:30px}
body[data-visual-system="nplus1"] #followupBackdrop>.followupDialog :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){box-sizing:border-box;width:100%;border:1px solid #bdd0e5!important;border-radius:14px!important;background:#fff!important;color:#0b1f42!important;-webkit-text-fill-color:#0b1f42!important;box-shadow:0 1px 2px rgba(20,52,91,.04)!important;font-size:23px!important}
#followupBackdrop>.followupDialog :is(input:not([type="checkbox"]):not([type="radio"]),select){height:82px!important;padding:0 28px!important}
#followupBackdrop>.followupDialog textarea{min-height:190px!important;padding:24px 28px!important;resize:vertical}
#followupBackdrop>.followupDialog :is(input,textarea)::placeholder{color:#6c819e!important;-webkit-text-fill-color:#6c819e!important;opacity:1!important}
#followupBackdrop>.followupDialog :is(input,select,textarea):focus-visible{outline:3px solid rgba(0,111,238,.3)!important;outline-offset:2px;border-color:#0877ef!important}
#followupBackdrop .relationshipFormStatus{margin:0 0 24px!important;color:#0b1f42!important;-webkit-text-fill-color:#0b1f42!important;background:#eef6ff!important;border-color:#86b9ef!important}
#followupBackdrop .followupActions{position:sticky;bottom:-24px;z-index:2;display:flex!important;justify-content:flex-end!important;gap:18px!important;margin:38px 0 0!important;padding:24px 0 0!important;border-top:1px solid #dbe7f3;background:#fff!important}
#followupBackdrop .followupActions .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:72px!important;padding:0 44px!important;border:1px solid #b7cce1!important;border-radius:14px!important;background:#fff!important;color:#0b1f42!important;-webkit-text-fill-color:#0b1f42!important;font-size:22px!important;font-weight:800!important}
#followupBackdrop .followupActions .primary{min-width:390px;background:#0877ef!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#0877ef!important;box-shadow:0 10px 22px rgba(8,119,239,.23)!important}
#followupBackdrop #followupSave svg{width:30px;height:30px;margin-right:14px}
#followupBackdrop .followupActions .btn:disabled{opacity:.58!important;cursor:wait}

@media(max-width:720px){
  #followupBackdrop{padding:8px;align-items:flex-start}
  #followupBackdrop>.followupDialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:20px 16px 16px;border-radius:18px!important}
  #followupBackdrop .followupDialogHeader{gap:12px!important;padding-bottom:24px!important}
  #followupBackdrop .followupDialogIdentity{gap:14px;align-items:flex-start}
  #followupBackdrop .followupHeroIcon{width:54px;height:54px;flex-basis:54px;border-radius:13px}
  #followupBackdrop .followupHeroIcon svg{width:31px;height:31px}
  #followupBackdrop .followupDialogIdentity h3{font-size:28px!important;line-height:1.05!important}
  #followupBackdrop .followupDialogIdentity small{font-size:15px!important}
  #followupBackdrop #followupClose{width:48px;height:48px;min-width:48px;min-height:48px;border-radius:12px!important}
  #followupBackdrop #followupClose svg{width:27px;height:27px}
  #followupBackdrop .followupFormGrid{grid-template-columns:minmax(0,1fr)!important;gap:22px!important}
  #followupBackdrop .followupFormGrid>.field.span2{grid-column:auto!important}
  #followupBackdrop .followupFormGrid label{gap:9px!important;font-size:17px!important}
  #followupBackdrop .followupFormGrid label>.followupIcon{width:25px;height:25px;flex-basis:25px}
  #followupBackdrop .followupFormGrid label svg{width:23px;height:23px}
  #followupBackdrop>.followupDialog :is(input:not([type="checkbox"]):not([type="radio"]),select){height:58px!important;padding:0 16px!important;font-size:17px!important}
  #followupBackdrop>.followupDialog textarea{min-height:140px!important;padding:16px!important;font-size:17px!important}
  #followupBackdrop .followupActions{bottom:-16px;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.55fr);gap:10px!important;margin-top:26px!important;padding-top:16px!important}
  #followupBackdrop .followupActions .btn{min-width:0!important;min-height:56px!important;padding:0 10px!important;font-size:15px!important}
  #followupBackdrop #followupSave svg{width:23px;height:23px;margin-right:7px}
}
