.lcgallery-shell{max-width:1120px;margin:24px auto;padding:0 14px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033}.lcgallery-shell *{box-sizing:border-box}.lcgallery-head{display:flex;gap:16px;align-items:center;background:#fff;border:1px solid #eef0f4;border-radius:24px;padding:18px;box-shadow:0 14px 38px rgba(15,23,42,.06);margin-bottom:16px}.lcgallery-logo{width:58px;height:58px;border-radius:20px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f97316,#fb923c);color:#fff;font-weight:950}.lcgallery-head h1{margin:0;font-size:28px;letter-spacing:-.04em}.lcgallery-head p{margin:5px 0 0;color:#64748b}.lcgallery-tabs{display:flex;gap:8px;flex-wrap:wrap;background:#fff;border:1px solid #eef0f4;border-radius:20px;padding:8px;margin-bottom:16px}.lcgallery-tabs a{border-radius:14px;text-decoration:none;font-weight:850;color:#475569;padding:10px 13px}.lcgallery-tabs a.active,.lcgallery-tabs a:hover{background:#f97316;color:#fff}.lcgallery-grid{display:grid;grid-template-columns:1fr;gap:16px}.lcgallery-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.lcgallery-grid.cards{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}.lcgallery-card{background:#fff;border:1px solid #eef0f4;border-radius:24px;padding:18px;box-shadow:0 14px 38px rgba(15,23,42,.06);margin-bottom:16px}.lcgallery-card h2,.lcgallery-card h3{margin:0 0 8px;color:#0f172a}.lcgallery-card p{color:#64748b;line-height:1.5}.lcgallery-input{width:100%;min-height:44px;border:1px solid #dbe2ea;border-radius:15px;padding:10px 13px;margin:6px 0 12px;background:#fff}.lcgallery-btn{border:0;background:#f97316;color:#fff!important;border-radius:15px;min-height:42px;padding:10px 14px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-weight:900;cursor:pointer}.lcgallery-btn.secondary{background:#f8fafc;color:#334155!important;border:1px solid #e2e8f0}.lcgallery-btn.danger{background:#ef4444}.lcgallery-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.resource-card img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:18px;background:#f8fafc;border:1px solid #eef0f4}.resource-card .doc{width:100%;aspect-ratio:1/1;border-radius:18px;background:#f8fafc;display:flex;align-items:center;justify-content:center;font-size:54px}.resource-card small{display:block;color:#94a3b8;font-weight:800;margin-top:6px}.lcgallery-notice{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:18px;padding:14px 16px;margin:12px 0}.lcgallery-notice.warn{background:#fffbeb;border-color:#fed7aa}.lcgallery-notice strong{display:block;color:#0f172a}.lcgallery-notice span{color:#64748b}.lcgallery-filter{display:grid;grid-template-columns:1fr 220px auto;gap:10px;align-items:end}@media(max-width:760px){.lcgallery-grid.two,.lcgallery-filter{grid-template-columns:1fr}.lcgallery-grid.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.lcgallery-head{border-radius:20px;padding:14px}.lcgallery-tabs{overflow:auto;flex-wrap:nowrap}.lcgallery-tabs a{white-space:nowrap}.lcgallery-card{border-radius:20px;padding:14px}.lcgallery-actions{display:grid}.lcgallery-btn{width:100%}}
.lcgallery-check{display:flex;gap:8px;align-items:center;font-weight:800;margin:6px 0 12px;color:#334155}.lcgallery-clean-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0;margin:12px 0;list-style:none}.lcgallery-clean-list li{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:14px;padding:10px;font-weight:900}.lcgallery-table-wrap{overflow:auto}.lcgallery-table{width:100%;border-collapse:separate;border-spacing:0 8px}.lcgallery-table th{text-align:left;color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.06em;padding:6px 10px}.lcgallery-table td{background:#f8fafc;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:12px 10px;vertical-align:top}.lcgallery-table td:first-child{border-left:1px solid #e2e8f0;border-radius:14px 0 0 14px}.lcgallery-table td:last-child{border-right:1px solid #e2e8f0;border-radius:0 14px 14px 0}.lcgallery-status{display:inline-flex;border-radius:999px;padding:6px 10px;font-weight:900;font-size:12px}.lcgallery-status.activo{background:#dcfce7;color:#166534}.lcgallery-status.inactivo{background:#fee2e2;color:#991b1b}@media(max-width:760px){.lcgallery-clean-list{grid-template-columns:1fr}.lcgallery-table{min-width:720px}}

/* v1.2.2 - Adaptación real a LandingClick Interface OS2 */
.lcgallery-admin-os2{background:#f5f6f8;margin-left:-20px;padding:24px 20px 60px;min-height:calc(100vh - 32px)}
.lcgallery-os2-shell{max-width:1130px!important;margin:0 auto!important;padding:0!important;background:transparent!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.lcgallery-heados2{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,#ff6a00,#f97316);color:#fff;border-radius:28px;padding:18px 20px;margin:0 0 14px;box-shadow:0 18px 42px rgba(249,115,22,.22)}
.lcgallery-heados2-left{display:flex;align-items:center;gap:14px;min-width:0}.lcgallery-heados2-mark{width:54px;height:54px;border-radius:19px;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.32);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:950;color:#fff}.lcgallery-heados2 h1{margin:0;color:#fff;font-size:25px;line-height:1.05;letter-spacing:-.04em}.lcgallery-heados2 p{margin:5px 0 0;color:rgba(255,255,255,.86);font-size:13px}.lcgallery-apps-btn{display:inline-flex;align-items:center;gap:8px;border-radius:15px;background:#fff;color:#c2410c!important;text-decoration:none;font-weight:950;padding:11px 14px;white-space:nowrap}
.lcgallery-os2-hero{display:grid;grid-template-columns:1.35fr .65fr;gap:14px;background:#fff;border:1px solid #e8ebf0;border-radius:28px;padding:18px;margin:0 0 14px;box-shadow:0 16px 38px rgba(15,23,42,.06)}
.lcgallery-os2-hero h2{font-size:22px;line-height:1.08;margin:5px 0;color:#101827;letter-spacing:-.035em}.lcgallery-os2-hero p{font-size:14px;color:#667085;margin:0;max-width:680px;line-height:1.5}.lcgallery-os2-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.lcgallery-os2-metrics div{background:#fff7ed;border:1px solid #fed7aa;border-radius:20px;padding:13px;text-align:center}.lcgallery-os2-metrics strong{display:block;color:#c2410c;font-size:20px;line-height:1}.lcgallery-os2-metrics span{display:block;color:#9a3412;font-size:11px;font-weight:850;margin-top:6px;text-transform:uppercase;letter-spacing:.05em}.lcgallery-interface-badge{display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:950}.lcgallery-interface-badge.is-on{background:#ecfdf3;color:#027a48;border:1px solid #abefc6}.lcgallery-interface-badge.is-off{background:#f8fafc;color:#475467;border:1px solid #e4e7ec}
.lcgallery-tabs-os2,.lcgallery-os2-shell .lc-os2-tabs{display:flex!important;gap:8px!important;overflow:auto!important;flex-wrap:nowrap!important;background:#fff!important;border:1px solid #e8ebf0!important;border-radius:22px!important;padding:8px!important;margin:0 0 14px!important;box-shadow:0 10px 26px rgba(15,23,42,.045)!important}.lcgallery-tabs-os2 a,.lcgallery-os2-shell .lc-os2-tab{white-space:nowrap!important;text-decoration:none!important;border-radius:15px!important;padding:10px 14px!important;font-weight:950!important;color:#475467!important;background:transparent!important;border:1px solid transparent!important}.lcgallery-tabs-os2 a.is-active,.lcgallery-os2-shell .lc-os2-tab.is-active{background:#ff6a00!important;color:#fff!important;border-color:#ff6a00!important;box-shadow:0 10px 22px rgba(249,115,22,.24)!important}
.lcgallery-os2-workarea{display:block}.lcgallery-grid{gap:14px!important}.lcgallery-card{border-radius:26px!important;border:1px solid #e8ebf0!important;box-shadow:0 16px 38px rgba(15,23,42,.055)!important;background:#fff!important}.lcgallery-card h2{font-size:20px!important;letter-spacing:-.03em!important}.lcgallery-input{border-radius:16px!important;border-color:#d0d5dd!important;box-shadow:0 1px 2px rgba(16,24,40,.04)!important}.lcgallery-btn{background:#ff6a00!important;border-radius:15px!important;box-shadow:0 8px 18px rgba(249,115,22,.18)!important}.lcgallery-btn.secondary{background:#fff!important;color:#344054!important;border:1px solid #d0d5dd!important;box-shadow:none!important}.lcgallery-btn.danger{background:#ef4444!important;color:#fff!important}.lcgallery-clean-list li{background:#fff7ed!important;border-color:#fed7aa!important}.resource-card{overflow:hidden}.resource-card img,.resource-card .doc{border-radius:20px!important}.lcgallery-table{min-width:760px}.lcgallery-status{border-radius:999px!important}.lcgallery-filter{background:#f8fafc;border:1px solid #e8ebf0;border-radius:20px;padding:12px}
@media(max-width:782px){.lcgallery-admin-os2{margin-left:-10px;padding:12px 10px 92px}.lcgallery-heados2{border-radius:22px;padding:14px}.lcgallery-heados2 h1{font-size:20px}.lcgallery-heados2 p{display:none}.lcgallery-heados2-mark{width:46px;height:46px;border-radius:16px}.lcgallery-apps-btn{padding:10px;font-size:0}.lcgallery-apps-btn::first-letter{font-size:14px}.lcgallery-os2-hero{grid-template-columns:1fr;border-radius:22px;padding:14px}.lcgallery-os2-metrics{grid-template-columns:repeat(3,1fr)}.lcgallery-os2-metrics div{padding:10px 6px;border-radius:16px}.lcgallery-os2-metrics strong{font-size:17px}.lcgallery-os2-metrics span{font-size:10px}.lcgallery-grid.two{grid-template-columns:1fr!important}.lcgallery-grid.cards{grid-template-columns:1fr!important}.lcgallery-card{border-radius:22px!important;padding:14px!important}.lcgallery-filter{grid-template-columns:1fr!important}.lcgallery-tabs-os2,.lcgallery-os2-shell .lc-os2-tabs{border-radius:18px!important}.lcgallery-table{min-width:0}.lcgallery-table thead{display:none}.lcgallery-table,.lcgallery-table tbody,.lcgallery-table tr,.lcgallery-table td{display:block;width:100%}.lcgallery-table tr{background:#fff;border:1px solid #e8ebf0;border-radius:18px;margin:0 0 10px;padding:10px}.lcgallery-table td{border:0!important;background:transparent!important;border-radius:0!important;display:flex;justify-content:space-between;gap:12px;padding:8px 4px!important}.lcgallery-table td::before{content:attr(data-label);font-weight:950;color:#667085}.lcgallery-table td[data-label="Acciones"]{display:block}.lcgallery-table td[data-label="Acciones"] .lcgallery-btn{width:100%}}


/* v1.2.3 - Frontend cliente limpio conectado a Interface v1.3 */
.lcgallery-interface-ready{max-width:1130px!important;margin:18px auto!important;padding:0 14px 34px!important;background:transparent!important;box-shadow:none!important;border:0!important;}
/* El Head oficial lo controla Interface. Gallery no sobrescribe .lc-os2-head. */
.lcgallery-client-summary{display:grid!important;grid-template-columns:1.2fr .8fr!important;gap:14px!important;align-items:stretch!important;background:#fff!important;border:1px solid #e8ebf0!important;border-radius:28px!important;padding:18px!important;margin:0 0 14px!important;box-shadow:0 16px 38px rgba(15,23,42,.055)!important;}
.lcgallery-client-kicker{display:inline-flex!important;align-items:center!important;border-radius:999px!important;padding:7px 11px!important;background:#fff7ed!important;border:1px solid #fed7aa!important;color:#c2410c!important;font-weight:950!important;font-size:12px!important;}
.lcgallery-client-copy h2{margin:8px 0 6px!important;color:#0f172a!important;font-size:24px!important;line-height:1.05!important;letter-spacing:-.04em!important;}
.lcgallery-client-copy p{margin:0!important;color:#667085!important;font-size:14px!important;line-height:1.5!important;max-width:680px!important;}
.lcgallery-client-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;}
.lcgallery-client-metrics div{background:#fff7ed!important;border:1px solid #fed7aa!important;border-radius:20px!important;padding:13px 10px!important;text-align:center!important;min-width:0!important;}
.lcgallery-client-metrics strong{display:block!important;color:#c2410c!important;font-size:21px!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.lcgallery-client-metrics span{display:block!important;color:#9a3412!important;font-size:10px!important;font-weight:900!important;margin-top:7px!important;text-transform:uppercase!important;letter-spacing:.05em!important;}
.lcgallery-client-tabs{flex-wrap:nowrap!important;overflow:auto!important;border-radius:22px!important;box-shadow:0 10px 26px rgba(15,23,42,.045)!important;}
.lcgallery-client-tabs a{white-space:nowrap!important;border-radius:15px!important;font-weight:950!important;}
.lcgallery-client-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important;gap:14px!important;}
.lcgallery-client-resource{padding:10px!important;overflow:hidden!important;transition:.16s ease!important;}
.lcgallery-client-resource:hover{transform:translateY(-2px)!important;border-color:#fdba74!important;box-shadow:0 18px 42px rgba(249,115,22,.10)!important;}
.lcgallery-resource-preview{position:relative!important;}
.lcgallery-client-resource img,.lcgallery-client-resource .doc{aspect-ratio:4/3!important;border-radius:20px!important;}
.lcgallery-resource-body{padding:10px 4px 4px!important;}
.lcgallery-resource-chip{display:inline-flex!important;border-radius:999px!important;background:#f8fafc!important;border:1px solid #e4e7ec!important;color:#475467!important;padding:5px 9px!important;font-size:11px!important;font-weight:900!important;margin-bottom:8px!important;}
.lcgallery-client-resource h3{font-size:17px!important;line-height:1.18!important;margin:0 0 5px!important;color:#101828!important;letter-spacing:-.02em!important;}
.lcgallery-client-resource p{font-size:13px!important;line-height:1.38!important;margin:0!important;color:#667085!important;}
.lcgallery-empty{grid-column:1/-1!important;text-align:center!important;color:#667085!important;}
@media(max-width:782px){.lcgallery-interface-ready{margin:0 auto!important;padding:0 10px 92px!important;max-width:100%!important;}.lcgallery-client-summary{grid-template-columns:1fr!important;border-radius:22px!important;padding:14px!important;margin:10px!important;}.lcgallery-client-copy h2{font-size:20px!important;}.lcgallery-client-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;}.lcgallery-client-metrics div{border-radius:16px!important;padding:10px 6px!important;}.lcgallery-client-metrics strong{font-size:17px!important;}.lcgallery-client-metrics span{font-size:9px!important;}.lcgallery-client-tabs{margin-left:10px!important;margin-right:10px!important;}.lcgallery-client-grid{grid-template-columns:1fr!important;margin-left:10px!important;margin-right:10px!important;}.lcgallery-client-resource{border-radius:22px!important;}.lcgallery-client-resource img,.lcgallery-client-resource .doc{aspect-ratio:16/10!important;}.lcgallery-actions{display:grid!important;grid-template-columns:1fr!important;}.lcgallery-actions .lcgallery-btn{width:100%!important;}}


/* v1.2.5 - Interface strict: Gallery no puede mostrar head propio.
   El único head permitido es .lc-os2-head generado por LandingClick Interface. */
.lcgallery-heados2,
.lcgallery-heados2-left,
.lcgallery-heados2-mark,
.lcgallery-apps-btn{
  display:none!important;
}
.lcgallery-interface-ready{
  margin-top:0!important;
}
@media(max-width:782px){
  .lcgallery-interface-ready{
    padding-top:0!important;
  }
}
