/* Estilos propios del panel (sin compilación de Tailwind). Galería de la nota: tarjetas
   ordenables con el mismo diseño que los gestores de Lara Turística. */
.lupa-gallery__hint{display:flex;align-items:center;gap:6px;margin:0 0 10px;font-size:12px;color:rgb(107 114 128)}
.lupa-gallery__hint-icon{width:16px;height:16px}
.lupa-gallery__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
@media (min-width:640px){.lupa-gallery__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1280px){.lupa-gallery__grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.lupa-gallery__card{position:relative;display:flex;flex-direction:column;overflow:hidden;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgb(0 0 0 / .05),0 0 0 1px rgb(3 7 18 / .06);transition:box-shadow .15s}
.lupa-gallery__card:hover{box-shadow:0 4px 12px rgb(0 0 0 / .08),0 0 0 1px rgb(3 7 18 / .08)}
.lupa-gallery__card.fi-sortable-ghost{opacity:.4;outline:2px dashed rgb(220 38 38);outline-offset:2px}
.lupa-gallery__card.sortable-chosen{box-shadow:0 12px 28px rgb(0 0 0 / .18),0 0 0 2px rgb(220 38 38)}
.lupa-gallery__photo{position:relative;aspect-ratio:4/3;width:100%;overflow:hidden;background:rgb(243 244 246);cursor:grab;touch-action:none;user-select:none}
.lupa-gallery__photo:active{cursor:grabbing}
.lupa-gallery__photo img{width:100%;height:100%;object-fit:cover;display:block}
.lupa-gallery__number{position:absolute;top:8px;left:8px;display:flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 8px;border-radius:999px;background:rgb(220 38 38);color:#fff;font-size:14px;font-weight:700;box-shadow:0 2px 6px rgb(0 0 0 / .25),0 0 0 2px #fff}
.lupa-gallery__grip{position:absolute;top:8px;right:8px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;background:rgb(255 255 255 / .9);color:rgb(55 65 81);box-shadow:0 1px 3px rgb(0 0 0 / .15)}
.lupa-gallery__grip svg{width:16px;height:16px}
.lupa-gallery__body{display:flex;flex:1;flex-direction:column;gap:6px;padding:10px}
.lupa-gallery__caption,.lupa-gallery__credit{width:100%;border:1px solid rgb(229 231 235);border-radius:8px;background:transparent;padding:6px 8px;font-size:13px;line-height:1.35;color:inherit;resize:vertical}
.lupa-gallery__credit{font-size:12px;color:rgb(107 114 128)}
.lupa-gallery__caption:focus,.lupa-gallery__credit:focus{outline:none;border-color:rgb(220 38 38);box-shadow:0 0 0 1px rgb(220 38 38)}
.lupa-gallery__footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgb(243 244 246);padding:2px 6px}
.lupa-gallery__footer > div{display:flex;align-items:center}
.lupa-gallery__empty{display:flex;flex-direction:column;align-items:center;gap:6px;border:2px dashed rgb(229 231 235);border-radius:16px;padding:32px 20px;text-align:center;font-size:14px;color:rgb(107 114 128)}
.lupa-gallery__empty strong{color:rgb(17 24 39)}
.lupa-gallery__empty-icon{width:32px;height:32px;color:rgb(220 38 38)}
/* Modo oscuro de Filament */
.dark .lupa-gallery__card{background:rgb(17 24 39);box-shadow:0 0 0 1px rgb(255 255 255 / .1)}
.dark .lupa-gallery__photo{background:rgb(255 255 255 / .05)}
.dark .lupa-gallery__number{box-shadow:0 2px 6px rgb(0 0 0 / .4),0 0 0 2px rgb(17 24 39)}
.dark .lupa-gallery__grip{background:rgb(17 24 39 / .85);color:rgb(229 231 235)}
.dark .lupa-gallery__caption,.dark .lupa-gallery__credit{border-color:rgb(255 255 255 / .12)}
.dark .lupa-gallery__footer{border-color:rgb(255 255 255 / .06)}
.dark .lupa-gallery__empty{border-color:rgb(255 255 255 / .1)}
.dark .lupa-gallery__empty strong{color:#fff}
