/* VASH KAPITAL CRM 13.2.33 — MANAGER TRUTH CONSOLIDATED
   Frontend presentation/wording only.
   No backend / DB / Metrics Truth / FNS / banks / Telegram semantics.
*/

/* Registration next-action overlay: its historical runtime <style> is blocked by CSP,
   therefore the exact same layout contract is supplied as an external stylesheet. */
html body .vk-submit-registration-action-13229{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:12px 14px!important;
  margin:0 0 8px!important;
  border:1px solid rgba(45,107,238,.20)!important;
  border-left:3px solid #2d6bee!important;
  border-radius:12px!important;
  background:#f7faff!important;
  box-sizing:border-box!important;
  min-width:0!important;
}
html body .vk-submit-registration-action-13229 .vk-submit-copy-13229{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:4px!important;
  min-width:0!important;
}
html body .vk-submit-registration-action-13229 small{
  display:block!important;
  margin:0!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.055em!important;
  color:#2d6bee!important;
}
html body .vk-submit-registration-action-13229 strong{
  display:block!important;
  margin:0!important;
  font-size:15px!important;
  line-height:1.25!important;
  color:#153b80!important;
  white-space:normal!important;
}
html body .vk-submit-registration-action-13229 span{
  display:block!important;
  margin:0!important;
  font-size:11px!important;
  line-height:1.35!important;
  color:#66758f!important;
  white-space:normal!important;
}
html body .vk-submit-registration-action-13229 .btn{
  flex:0 0 auto!important;
  white-space:nowrap!important;
  min-height:36px!important;
}

/* Next Actions: undo the micro-typography that the 360 audit proved unreadable. */
html body #clientCard .ui79-action-copy{
  display:grid!important;
  gap:4px!important;
  min-width:0!important;
}
html body #clientCard .ui79-action-copy .eyebrow{
  display:block!important;
  font-size:10px!important;
  line-height:1.2!important;
}
html body #clientCard .ui79-action-copy h3{
  margin:0!important;
  font-size:15px!important;
  line-height:1.25!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
html body #clientCard .ui79-action-copy p,
html body #clientCard .ui79-action-copy time{
  margin:0!important;
  font-size:10.5px!important;
  line-height:1.35!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
html body #clientCard .ui79-action-center>header p{font-size:10.5px!important;line-height:1.3!important}

/* Client-card manager labels: 8–9px was repeatedly detected at 1366/1536/1920. */
@media (min-width:901px){
  html body #clientCard small{font-size:10px!important;line-height:1.3!important}
  html body #clientCard .eyebrow,
  html body #clientCard label,
  html body #clientCard [class*="label"]{font-size:10px!important;line-height:1.25!important}
  html body #clientCard .client-compact-info,
  html body #clientCard .client-compact-info span,
  html body #clientCard .client-compact-info summary{font-size:10.5px!important;line-height:1.35!important}

  /* The top header previously clipped long Russian section/client names. Wrap instead. */
  html body header.topbar .topbar-heading{min-width:0!important}
  html body header.topbar .topbar-title{min-width:0!important;overflow:visible!important}
  html body header.topbar #breadcrumb{
    max-width:100%!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    line-height:1.15!important;
  }
  html body header.topbar #pageTitle{
    max-width:100%!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    line-height:1.08!important;
  }

  /* Accounts funnel: make secondary labels/actions readable and allow prose to wrap. */
  html body #banksSection small,
  html body #banksTableWrap small,
  html body #banksTableWrap .link-button{
    font-size:10px!important;
    line-height:1.3!important;
  }

  html body #banksTableWrap td>span:not(.bank-clean-chip-13151),
  html body #banksTableWrap td>div:not(.bank-clean-chip-13151){
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  html body #banksTableWrap .bank-clean-chip-13151,
  html body #banksTableWrap [data-bank-quick-open]{
    max-width:260px!important;
  }

  /* Statistics: explanatory text and bank-pay rows were 8–9px. */
  html body #statsSection small,
  html body #statsSection .stat span,
  html body #statsSection table small,
  html body #statsSection table span{
    font-size:10px!important;
    line-height:1.3!important;
  }

  /* Admin page headings must not be ellipsized into unreadable fragments. */
  html body #adminTasksSection .eyebrow,
  html body #adminTasksSection small{font-size:10px!important;line-height:1.3!important}
}

/* Mobile web is intentionally not redesigned here:
   the project has a separate Android UX and the 360 mobile overflow finding remains DEFERRED. */
