/* CARIPVCARD 11.0 · límites de perfiles, tarjetas destacadas, avatar configurable y responsive global */

/* Landing: 4 perfiles por fila en escritorio y proporción más cercana a una VCard real */
.featured-profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;max-width:1280px!important}
.featured-profile-card{min-height:510px!important;border-radius:24px!important;overflow:hidden;box-shadow:0 18px 48px rgba(31,35,68,.10)}
.featured-profile-cover{height:215px!important;flex-basis:215px!important;background:linear-gradient(135deg,#2d245d,#7157df);position:relative;overflow:visible}
.featured-cover-img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.featured-profile-photo{width:98px!important;height:98px!important;bottom:-49px!important;border-width:6px!important;background:#fff;overflow:hidden;display:grid;place-items:center}
.featured-profile-photo img{width:100%;height:100%;object-fit:cover;display:block}
.featured-profile-body{padding:68px 20px 22px!important;min-height:295px!important}
.featured-profile-body h3{font-size:16px!important}.featured-profile-body>p{font-size:10.5px!important;line-height:1.5;min-height:42px!important}
.featured-profile-meta{font-size:9px!important;margin-top:20px!important}.featured-profile-link{font-size:9.5px!important;padding-top:17px!important}

/* Forma de foto reutilizable */
.avatar-shape-square,.avatar-shape-square img{border-radius:8px!important}.avatar-shape-rounded,.avatar-shape-rounded img{border-radius:24px!important}.avatar-shape-circle,.avatar-shape-circle img{border-radius:50%!important}
.profile-avatar-big img,.share-avatar img,.preview-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.avatar-shape-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:8px}.avatar-shape-options label{position:relative;display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #e3e5ed;border-radius:14px;background:#fff;cursor:pointer;color:#4a5060}.avatar-shape-options input{position:absolute;opacity:0;pointer-events:none}.avatar-shape-options label:has(input:checked){border-color:#765cf5;box-shadow:0 0 0 3px #f0edff;color:#5c46d7}.shape-demo{width:38px;height:38px;background:#eeeaff;color:#6d4aff;display:grid;place-items:center}.shape-demo.square{border-radius:6px}.shape-demo.rounded{border-radius:12px}.shape-demo.circle{border-radius:50%}.avatar-shape-options b{font-size:9px}

/* Ayuda de imágenes claramente diferenciada del control de carga */
.upload-guidance{background:linear-gradient(135deg,#f1efff,#f8f7ff)!important;border:1px solid #dcd5ff!important;border-left:4px solid #7157ef!important;box-shadow:none!important;padding:13px 14px!important}.upload-guidance>i{background:#fff!important;color:#6e54e8!important;border:1px solid #e0dcff}.upload-guidance strong{font-size:11px!important;color:#29263c}.upload-guidance span{font-size:9px!important;color:#676d7d}.upload-guidance small:not(.spec-kicker){font-size:8px!important;color:#989eaa}.spec-kicker{display:block!important;font-size:7px!important;font-weight:900!important;letter-spacing:1px!important;color:#7259e8!important;margin-bottom:3px!important}.modern-file .file-drop{background:#fff!important;border:1.5px dashed #bbb4e8!important;min-height:64px}.modern-file .file-drop:hover{background:#fbfaff!important;border-color:#7259e8!important}.modern-file .file-drop strong{font-size:10.5px!important}.modern-file .file-drop small{font-size:8.5px!important;color:#8b91a0!important}

/* Planes: cantidad de perfiles */
.plan-profile-limit,.plan-profile-count{display:flex;align-items:center;gap:7px;border-radius:12px;font-weight:800}.plan-profile-limit{padding:9px 10px;margin:12px 0;background:#f4f1ff;color:#5f49d4}.plan-profile-limit i{font-size:14px}.plan-profile-limit strong{font-size:16px}.plan-profile-limit span{font-size:9px}.plan-profile-count{width:max-content;padding:7px 9px;margin:12px 0;background:#f1efff;color:#644be0}.plan-profile-count i{font-size:12px}.plan-profile-count strong{font-size:13px}.plan-profile-count span{font-size:8.5px}

/* Responsive general de tablas y barras administrativas */
.table-wrap{width:100%;max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.modern-table{min-width:840px}.modern-table th,.modern-table td{white-space:nowrap}.modern-table .person-cell,.modern-table td[data-wrap]{white-space:normal}.smart-table-region{max-width:100%;overflow:hidden}.panel{max-width:100%}.smart-toolbar-left,.smart-toolbar-right{min-width:0}.modal-card{max-height:calc(100dvh - 24px);overflow:auto}.form-grid>*{min-width:0}.form-grid input,.form-grid select,.form-grid textarea{max-width:100%}

/* Editor responsive: evita desbordes y mantiene controles accesibles */
.profile-editor-shell,.editor-content,.appearance-layout,.appearance-controls,.live-profile-preview{min-width:0}.editor-content{overflow:hidden}.template-library,.template-library-body{max-width:100%}.v10-template-picker{overflow:auto}.editor-topbar{gap:12px;flex-wrap:wrap}.editor-top-actions{flex-wrap:wrap}.slug-input{max-width:100%}.slug-input input{min-width:0}

@media(max-width:1180px){.featured-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.featured-profile-card{min-height:490px!important}.featured-profile-cover{height:200px!important;flex-basis:200px!important}}
@media(max-width:920px){.featured-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modern-table{min-width:760px}.smart-toolbar{align-items:stretch}.smart-toolbar-left,.smart-toolbar-right{width:100%}.smart-search{width:100%!important}.appearance-layout{grid-template-columns:1fr!important}.live-profile-preview{position:static!important}.avatar-shape-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.featured-profile-grid{grid-template-columns:1fr}.featured-profile-card{min-height:520px!important}.featured-profile-cover{height:225px!important;flex-basis:225px!important}.featured-profile-photo{width:104px!important;height:104px!important;bottom:-52px!important}.featured-profile-body{padding-top:72px!important}.smart-toolbar-left,.smart-toolbar-right,.export-group{width:100%}.smart-toolbar-left{display:grid!important;grid-template-columns:1fr}.smart-search,.smart-size{width:100%!important}.export-group{display:grid!important;grid-template-columns:1fr 1fr}.smart-counter{white-space:normal}.modern-table{min-width:720px}.avatar-shape-options{grid-template-columns:1fr}.editor-top-actions{width:100%}.editor-top-actions>*{flex:1;justify-content:center}.modal{padding:8px!important}.modal-card{border-radius:18px!important;max-height:calc(100dvh - 16px)}.modal-form{padding:15px!important}}
@media(max-width:420px){.featured-profile-cover{height:205px!important;flex-basis:205px!important}.featured-profile-card{min-height:500px!important}.export-group{grid-template-columns:1fr}.modern-table{min-width:680px}}
