/* THESPACE Architekci 5.2.2 — isolated, responsive investor and architect cards. */
#ts51-inwestor,#ts52-architekt{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:20px 0!important;overflow:hidden!important}
#ts51-inwestor *,#ts52-architekt *{box-sizing:border-box}
/* Prevent duplicate outer padding after the collapsible wrapper is applied. */
#ts51-inwestor.ts461-unified,#ts52-architekt.ts461-unified{padding:0 24px!important;border:1px solid #e8e6e3!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
#ts51-inwestor.ts461-unified>.ts46-head,#ts52-architekt.ts461-unified>.ts46-head{display:grid!important;grid-template-columns:40px minmax(0,1fr) 112px!important;gap:16px!important;align-items:center!important;width:100%!important;min-height:94px!important;margin:0!important;padding:0!important}
#ts51-inwestor.ts461-unified>.ts46-content,#ts52-architekt.ts461-unified>.ts46-content{min-width:0!important;width:100%!important;padding:4px 0 24px!important}
#ts51-inwestor .ts51-profile-top{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;gap:12px!important;margin:0 0 16px!important;min-width:0!important}
#ts51-inwestor .ts51-profile-top>div{min-width:0!important;flex:1 1 260px!important}
#ts51-inwestor .ts51-profile-top p{margin:0!important;overflow-wrap:anywhere!important}
#ts51-inwestor .ts51-edit{display:inline-flex!important;align-items:center!important;justify-content:center!important;max-width:100%!important;white-space:normal!important;flex:0 1 auto!important;text-align:center!important}
#ts51-inwestor .ts51-group{min-width:0!important;padding:18px 0!important}
#ts51-inwestor .ts51-group h3{margin:0 0 14px!important}
#ts51-inwestor .ts51-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important;min-width:0!important;align-items:stretch!important}
#ts51-inwestor .ts51-field{display:flex!important;flex-direction:column!important;min-width:0!important;width:auto!important;max-width:100%!important;min-height:78px!important;margin:0!important;padding:15px 16px!important;border:0!important;border-radius:9px!important;background:#f7f7f5!important;overflow-wrap:anywhere!important;word-break:normal!important;white-space:normal!important}
#ts51-inwestor .ts51-field span{margin:0 0 7px!important;line-height:1.4!important}
#ts51-inwestor .ts51-field strong{min-width:0!important;max-width:100%!important;line-height:1.45!important;overflow-wrap:anywhere!important;white-space:normal!important}
#ts51-inwestor .ts51-profile-foot{display:flex!important;flex-wrap:wrap!important;gap:8px 20px!important;justify-content:space-between!important;min-width:0!important}
#ts52-architekt .ts52-person{min-width:0!important;flex-wrap:wrap!important}
#ts52-architekt .ts52-person>div{min-width:0!important;overflow-wrap:anywhere!important}
#ts52-architekt .ts52-contact{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#ts52-architekt .ts52-contact>div{min-width:0!important}
@media(max-width:700px){
 #ts51-inwestor.ts461-unified,#ts52-architekt.ts461-unified{padding:0 14px!important}
 #ts51-inwestor.ts461-unified>.ts46-head,#ts52-architekt.ts461-unified>.ts46-head{grid-template-columns:34px minmax(0,1fr) 88px!important;gap:9px!important;min-height:88px!important}
 #ts51-inwestor .ts51-fields,#ts52-architekt .ts52-contact{grid-template-columns:minmax(0,1fr)!important}
 #ts51-inwestor .ts51-field{min-height:0!important}
 #ts51-inwestor .ts51-edit{width:100%!important}
}
