/*
 * app.css — Jornada Laboral v1.0
 * CSS de producción: Tailwind base + clases del proyecto
 * Generado para instalación offline sin CDN
 *
 * Para regenerar:
 *   npm install tailwindcss
 *   npx tailwindcss -i input.css -o public/assets/css/app.css --minify
 */

/* ── Reset & Base (Tailwind Preflight) ── */
*,::after,::before{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e2e8f0}
html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
body{margin:0;line-height:inherit}
hr{height:0;color:inherit;border-top-width:1px}
abbr:where([title]){text-decoration:underline dotted}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}
a{color:inherit;text-decoration:inherit}
b,strong{font-weight:bolder}
code,kbd,pre,samp{font-family:"Courier New",monospace;font-size:1em}
small{font-size:80%}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sub{bottom:-.25em}sup{top:-.5em}
table{text-indent:0;border-color:inherit;border-collapse:collapse}
button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}
button,select{text-transform:none}
[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}
:-moz-focusring{outline:auto}
:-moz-ui-invalid{box-shadow:none}
progress{vertical-align:baseline}
::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}
[type=search]{-webkit-appearance:textfield;outline-offset:-2px}
::-webkit-search-decoration{-webkit-appearance:none}
::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}
summary{display:list-item}
blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}
fieldset{margin:0;padding:0}
legend{padding:0}
menu,ol,ul{list-style:none;margin:0;padding:0}
textarea{resize:vertical}
input::placeholder,textarea::placeholder{opacity:1;color:#94a3b8}
[role=button],button{cursor:pointer}
:disabled{cursor:default}
audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}
img,video{max-width:100%;height:auto}
[hidden]{display:none}

/* ── Variables CSS ── */
:root{
  --color-navy:  #1e3a5f;
  --color-blue:  #2563eb;
  --color-slate: #64748b;
  --color-light: #f1f5f9;
  --color-border:#e2e8f0;
}

/* ── Alpine.js ── */
[x-cloak]{display:none!important}

/* ── Utilidades custom ── */
.bg-grid{
  background-image:linear-gradient(rgba(59,130,246,.05) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(59,130,246,.05) 1px,transparent 1px);
  background-size:40px 40px;
}

/* ════════════════════════════════════════════
   TAILWIND UTILITIES — clases del proyecto
   ════════════════════════════════════════════ */

/* Layout */
.block{display:block}.flex{display:flex}.grid{display:grid}
.inline-block{display:inline-block}.inline-flex{display:inline-flex}
.hidden{display:none}.table{display:table}.table-cell{display:table-cell}
.contents{display:contents}
.h-full{height:100%}.w-full{width:100%}.min-h-full{min-height:100%}
.min-h-screen{min-height:100vh}.h-screen{height:100vh}
.h-1{height:.25rem}.h-2{height:.5rem}.h-3{height:.75rem}.h-4{height:1rem}
.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}
.h-9{height:2.25rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}
.h-16{height:4rem}.h-20{height:5rem}.h-24{height:6rem}.h-48{height:12rem}
.h-72{height:18rem}.h-96{height:24rem}
.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-2{width:.5rem}.w-3{width:.75rem}
.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}
.w-8{width:2rem}.w-9{width:2.25rem}.w-10{width:2.5rem}.w-11{width:2.75rem}
.w-12{width:3rem}.w-16{width:4rem}.w-20{width:5rem}.w-24{width:6rem}
.w-28{width:7rem}.w-32{width:8rem}.w-36{width:9rem}.w-40{width:10rem}
.w-48{width:12rem}.w-64{width:16rem}.w-72{width:18rem}.w-80{width:20rem}
.max-w-md{max-width:28rem}.max-w-lg{max-width:32rem}.max-w-xl{max-width:36rem}
.max-w-2xl{max-width:42rem}.max-w-4xl{max-width:56rem}.max-w-none{max-width:none}
.max-h-48{max-height:12rem}.max-h-72{max-height:18rem}.max-h-96{max-height:24rem}
.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}
.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}
.items-start{align-items:flex-start}.items-center{align-items:center}.items-end{align-items:flex-end}
.justify-start{justify-content:flex-start}.justify-center{justify-content:center}
.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}
.self-center{align-self:center}
.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}
.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}
.gap-10{gap:2.5rem}.gap-12{gap:3rem}
.col-span-2{grid-column:span 2/span 2}.col-span-3{grid-column:span 3/span 3}
.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}
.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}

/* Position */
.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.sticky{position:sticky}
.inset-0{inset:0}.inset-y-0{top:0;bottom:0}.top-0{top:0}.right-0{right:0}
.bottom-0{bottom:0}.left-0{left:0}.z-10{z-index:10}.z-20{z-index:20}
.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}

/* Spacing — Margin */
.m-0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}
.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-0\.5{margin-top:.125rem}
.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}
.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}
.mt-8{margin-top:2rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}
.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}
.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}
.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}
.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}
.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}
.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}
.mx-2{margin-left:.5rem;margin-right:.5rem}
.-mt-1{margin-top:-.25rem}

/* Spacing — Padding */
.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}
.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}
.px-1{padding-left:.25rem;padding-right:.25rem}
.px-1\.5{padding-left:.375rem;padding-right:.375rem}
.px-2{padding-left:.5rem;padding-right:.5rem}
.px-3{padding-left:.75rem;padding-right:.75rem}
.px-4{padding-left:1rem;padding-right:1rem}
.px-5{padding-left:1.25rem;padding-right:1.25rem}
.px-6{padding-left:1.5rem;padding-right:1.5rem}
.px-8{padding-left:2rem;padding-right:2rem}
.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}
.py-1{padding-top:.25rem;padding-bottom:.25rem}
.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}
.py-2{padding-top:.5rem;padding-bottom:.5rem}
.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}
.py-3{padding-top:.75rem;padding-bottom:.75rem}
.py-4{padding-top:1rem;padding-bottom:1rem}
.py-5{padding-top:1.25rem;padding-bottom:1.25rem}
.py-6{padding-top:1.5rem;padding-bottom:1.5rem}
.py-8{padding-top:2rem;padding-bottom:2rem}
.py-10{padding-top:2.5rem;padding-bottom:2.5rem}
.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}
.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}
.pb-6{padding-bottom:1.5rem}
.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}
.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}

/* Typography */
.text-xs{font-size:.75rem;line-height:1rem}
.text-sm{font-size:.875rem;line-height:1.25rem}
.text-base{font-size:1rem;line-height:1.5rem}
.text-lg{font-size:1.125rem;line-height:1.75rem}
.text-xl{font-size:1.25rem;line-height:1.75rem}
.text-2xl{font-size:1.5rem;line-height:2rem}
.text-3xl{font-size:1.875rem;line-height:2.25rem}
.text-4xl{font-size:2.25rem;line-height:2.5rem}
.text-5xl{font-size:3rem;line-height:1}
.font-mono{font-family:"Courier New",monospace}
.font-normal{font-weight:400}.font-medium{font-weight:500}
.font-semibold{font-weight:600}.font-bold{font-weight:700}
.italic{font-style:italic}
.tracking-tight{letter-spacing:-.025em}.tracking-wider{letter-spacing:.05em}
.tracking-widest{letter-spacing:.1em}
.leading-none{line-height:1}.leading-tight{line-height:1.25}
.leading-snug{line-height:1.375}.leading-normal{line-height:1.5}
.leading-relaxed{line-height:1.625}.leading-loose{line-height:2}
.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}
.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}
.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.whitespace-nowrap{white-space:nowrap}.break-all{word-break:break-all}

/* Colors — Text */
.text-white{color:#fff}
.text-slate-300{color:#cbd5e1}.text-slate-400{color:#94a3b8}.text-slate-500{color:#64748b}
.text-slate-600{color:#475569}.text-slate-700{color:#334155}.text-slate-800{color:#1e293b}
.text-slate-900{color:#0f172a}
.text-blue-600{color:#2563eb}.text-blue-700{color:#1d4ed8}.text-blue-800{color:#1e40af}
.text-blue-900{color:#1e3a8a}
.text-green-600{color:#16a34a}.text-green-700{color:#15803d}.text-green-800{color:#166534}
.text-red-400{color:#f87171}.text-red-500{color:#ef4444}.text-red-600{color:#dc2626}
.text-red-700{color:#b91c1c}
.text-amber-600{color:#d97706}.text-amber-700{color:#b45309}.text-amber-800{color:#92400e}
.text-orange-600{color:#ea580c}.text-orange-700{color:#c2410c}
.text-purple-500{color:#a855f7}.text-purple-600{color:#9333ea}.text-purple-700{color:#7e22ce}
.text-indigo-600{color:#4f46e5}
.text-gray-400{color:#9ca3af}.text-gray-500{color:#6b7280}.text-gray-600{color:#4b5563}

/* Colors — Background */
.bg-white{background-color:#fff}
.bg-slate-50{background-color:#f8fafc}.bg-slate-100{background-color:#f1f5f9}
.bg-slate-200{background-color:#e2e8f0}.bg-slate-700{background-color:#334155}
.bg-slate-800{background-color:#1e293b}.bg-slate-900{background-color:#0f172a}
.bg-blue-50{background-color:#eff6ff}.bg-blue-100{background-color:#dbeafe}
.bg-blue-600{background-color:#2563eb}.bg-blue-700{background-color:#1d4ed8}
.bg-blue-800{background-color:#1e40af}
.bg-green-50{background-color:#f0fdf4}.bg-green-100{background-color:#dcfce7}
.bg-green-600{background-color:#16a34a}.bg-green-700{background-color:#15803d}
.bg-red-50{background-color:#fef2f2}.bg-red-100{background-color:#fee2e2}
.bg-red-500{background-color:#ef4444}.bg-red-600{background-color:#dc2626}
.bg-amber-50{background-color:#fffbeb}.bg-amber-100{background-color:#fef3c7}
.bg-amber-500{background-color:#f59e0b}.bg-amber-600{background-color:#d97706}
.bg-orange-50{background-color:#fff7ed}.bg-orange-100{background-color:#ffedd5}
.bg-purple-50{background-color:#faf5ff}.bg-purple-100{background-color:#ede9fe}
.bg-purple-600{background-color:#9333ea}
.bg-black\/60{background-color:rgb(0 0 0/.6)}

/* Colors — Border */
.border-slate-100{border-color:#f1f5f9}.border-slate-200{border-color:#e2e8f0}
.border-slate-300{border-color:#cbd5e1}.border-slate-600{border-color:#475569}
.border-slate-700{border-color:#334155}
.border-blue-200{border-color:#bfdbfe}.border-blue-300{border-color:#93c5fd}
.border-blue-600{border-color:#2563eb}
.border-green-200{border-color:#bbf7d0}.border-red-200{border-color:#fecaca}
.border-red-300{border-color:#fca5a5}.border-amber-200{border-color:#fde68a}
.border-amber-300{border-color:#fcd34d}.border-purple-100{border-color:#ede9fe}
.border-orange-200{border-color:#fed7aa}

/* Border */
.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}
.border-t{border-top-width:1px}.border-b{border-bottom-width:1px}
.border-l{border-left-width:1px}.border-r{border-right-width:1px}
.border-l-4{border-left-width:4px}

/* Border Radius */
.rounded{border-radius:.25rem}.rounded-sm{border-radius:.125rem}
.rounded-md{border-radius:.375rem}.rounded-lg{border-radius:.5rem}
.rounded-xl{border-radius:.75rem}.rounded-2xl{border-radius:1rem}
.rounded-full{border-radius:9999px}.rounded-none{border-radius:0}
.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}

/* Shadow */
.shadow-sm{box-shadow:0 1px 2px 0 rgb(0 0 0/.05)}
.shadow{box-shadow:0 1px 3px 0 rgb(0 0 0/.1),0 1px 2px -1px rgb(0 0 0/.1)}
.shadow-md{box-shadow:0 4px 6px -1px rgb(0 0 0/.1),0 2px 4px -2px rgb(0 0 0/.1)}
.shadow-lg{box-shadow:0 10px 15px -3px rgb(0 0 0/.1),0 4px 6px -4px rgb(0 0 0/.1)}
.shadow-2xl{box-shadow:0 25px 50px -12px rgb(0 0 0/.25)}
.shadow-none{box-shadow:none}

/* Outline & Ring */
.outline-none{outline:2px solid transparent;outline-offset:2px}
.ring-1{box-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-shadow-width,0px)) var(--tw-ring-color,rgb(59 130 246/.5))}
.ring-2{box-shadow:0 0 0 2px var(--tw-ring-color,#3b82f6)}
.focus\:ring-2:focus{box-shadow:0 0 0 3px rgb(59 130 246/.3)}
.focus\:ring-blue-400:focus{box-shadow:0 0 0 3px rgb(96 165 250/.4)}
.focus\:ring-blue-500:focus{box-shadow:0 0 0 3px rgb(59 130 246/.5)}
.focus\:ring-red-400:focus{box-shadow:0 0 0 3px rgb(248 113 113/.4)}
.focus\:ring-amber-400:focus{box-shadow:0 0 0 3px rgb(251 191 36/.4)}
.focus\:outline-none:focus{outline:none}
.focus\:border-transparent:focus{border-color:transparent}

/* Overflow */
.overflow-hidden{overflow:hidden}.overflow-auto{overflow:auto}
.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}
.overflow-y-hidden{overflow-y:hidden}

/* Object fit */
.object-cover{object-fit:cover}.object-contain{object-fit:contain}

/* Opacity */
.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}
.opacity-75{opacity:.75}.opacity-100{opacity:1}

/* Cursor */
.cursor-pointer{cursor:pointer}.cursor-not-allowed{cursor:not-allowed}
.cursor-default{cursor:default}

/* Select */
.select-none{user-select:none}

/* Pointer events */
.pointer-events-none{pointer-events:none}

/* Table */
.table-auto{table-layout:auto}.table-fixed{table-layout:fixed}
.border-collapse{border-collapse:collapse}.border-separate{border-collapse:separate}

/* Divide */
.divide-y > :not([hidden]) ~ :not([hidden]){border-top-width:1px;border-top-color:#e2e8f0}
.divide-x > :not([hidden]) ~ :not([hidden]){border-left-width:1px;border-left-color:#e2e8f0}
.divide-slate-100 > :not([hidden]) ~ :not([hidden]){border-color:#f1f5f9}
.divide-slate-200 > :not([hidden]) ~ :not([hidden]){border-color:#e2e8f0}

/* Space */
.space-y-1 > :not([hidden]) ~ :not([hidden]){margin-top:.25rem}
.space-y-2 > :not([hidden]) ~ :not([hidden]){margin-top:.5rem}
.space-y-3 > :not([hidden]) ~ :not([hidden]){margin-top:.75rem}
.space-y-4 > :not([hidden]) ~ :not([hidden]){margin-top:1rem}
.space-y-5 > :not([hidden]) ~ :not([hidden]){margin-top:1.25rem}
.space-x-2 > :not([hidden]) ~ :not([hidden]){margin-left:.5rem}
.space-x-3 > :not([hidden]) ~ :not([hidden]){margin-left:.75rem}

/* Transition */
.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:150ms}
.transition-colors{transition-property:color,background-color,border-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:150ms}
.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:150ms}
.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:150ms}
.duration-200{transition-duration:200ms}.duration-300{transition-duration:300ms}
.ease-linear{transition-timing-function:linear}
.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}

/* Transform */
.transform{transform:translateX(var(--tw-translate-x,0)) translateY(var(--tw-translate-y,0))}
.-translate-x-full{--tw-translate-x:-100%}
.translate-x-0{--tw-translate-x:0}
.-translate-y-1{--tw-translate-y:-.25rem}

/* Animate */
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.5}}
.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.animate-spin{animation:spin 1s linear infinite}

/* ── Hover states ── */
.hover\:bg-slate-50:hover{background-color:#f8fafc}
.hover\:bg-slate-100:hover{background-color:#f1f5f9}
.hover\:bg-slate-200:hover{background-color:#e2e8f0}
.hover\:bg-slate-600:hover{background-color:#475569}
.hover\:bg-slate-700:hover{background-color:#334155}
.hover\:bg-slate-800:hover{background-color:#1e293b}
.hover\:bg-blue-50:hover{background-color:#eff6ff}
.hover\:bg-blue-600:hover{background-color:#2563eb}
.hover\:bg-blue-700:hover{background-color:#1d4ed8}
.hover\:bg-blue-800:hover{background-color:#1e40af}
.hover\:bg-green-50:hover{background-color:#f0fdf4}
.hover\:bg-green-600:hover{background-color:#16a34a}
.hover\:bg-green-700:hover{background-color:#15803d}
.hover\:bg-green-800:hover{background-color:#166534}
.hover\:bg-red-50:hover{background-color:#fef2f2}
.hover\:bg-red-600:hover{background-color:#dc2626}
.hover\:bg-red-700:hover{background-color:#b91c1c}
.hover\:bg-amber-50:hover{background-color:#fffbeb}
.hover\:bg-amber-600:hover{background-color:#d97706}
.hover\:bg-amber-700:hover{background-color:#b45309}
.hover\:bg-purple-50:hover{background-color:#faf5ff}
.hover\:text-white:hover{color:#fff}
.hover\:text-slate-800:hover{color:#1e293b}
.hover\:text-slate-900:hover{color:#0f172a}
.hover\:text-blue-600:hover{color:#2563eb}
.hover\:text-blue-700:hover{color:#1d4ed8}
.hover\:text-blue-800:hover{color:#1e40af}
.hover\:text-green-600:hover{color:#16a34a}
.hover\:text-green-800:hover{color:#166534}
.hover\:text-red-400:hover{color:#f87171}
.hover\:text-red-700:hover{color:#b91c1c}
.hover\:text-amber-900:hover{color:#78350f}
.hover\:border-blue-300:hover{border-color:#93c5fd}
.hover\:border-slate-600:hover{border-color:#475569}

/* Focus visible */
.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}
.focus\:ring-offset-slate-800:focus{--tw-ring-offset-color:#1e293b}

/* ── Responsive (Mobile-first) ── */
@media(min-width:640px){
  .sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}
  .sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .sm\:flex-row{flex-direction:row}
  .sm\:text-sm{font-size:.875rem;line-height:1.25rem}
  .sm\:text-base{font-size:1rem;line-height:1.5rem}
  .sm\:block{display:block}
  .sm\:inline-block{display:inline-block}
  .sm\:col-span-2{grid-column:span 2/span 2}
}

@media(min-width:768px){
  .md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
  .md\:flex{display:flex}
  .md\:hidden{display:none}
  .md\:table-cell{display:table-cell}
  .md\:col-span-2{grid-column:span 2/span 2}
  .md\:col-span-4{grid-column:span 4/span 4}
}

@media(min-width:1024px){
  .lg\:flex{display:flex}
  .lg\:hidden{display:none}
  .lg\:block{display:block}
  .lg\:table-cell{display:table-cell}
  .lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lg\:col-span-2{grid-column:span 2/span 2}
  .lg\:px-8{padding-left:2rem;padding-right:2rem}
  .lg\:pl-64{padding-left:16rem}
  .lg\:flex-col{flex-direction:column}
  .lg\:flex-row{flex-direction:row}
  .lg\:inset-y-0{top:0;bottom:0}
  .lg\:fixed{position:fixed}
  .lg\:w-64{width:16rem}
}

@media(min-width:1280px){
  .xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}
  .xl\:col-span-2{grid-column:span 2/span 2}
}

/* ════════════════════════════════════════════
   MOBILE RESPONSIVE — v2.8.9
   Correcciones de scroll lateral en tablas
   ════════════════════════════════════════════ */

/* Contenedor de tabla con scroll elegante */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  /* Sombra sutil que indica scroll disponible */
  background:
    linear-gradient(to right, white 30%, rgba(255,255,255,0)),
    linear-gradient(to right, rgba(255,255,255,0), white 70%) 0 100%,
    radial-gradient(farthest-side at 0%  50%, rgba(0,0,0,.08), transparent),
    radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.08), transparent) 0 100%;
  background-repeat: no-repeat;
  background-color: white;
  background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
  background-attachment: local, local, scroll, scroll;
}

/* Tarjeta de fila móvil — alternativa a tabla en pantallas pequeñas */
.row-card {
  display: block;
  padding: .75rem 1rem;
  border-bottom: 1px solid #f1f5f9;
}
.row-card:last-child { border-bottom: none; }
.row-card:hover { background: #f8fafc; }

.row-card__primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .25rem;
}
.row-card__secondary {
  font-size: .75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.row-card__actions {
  display: flex;
  gap: .5rem;
  margin-top: .375rem;
}

/* En tablet y desktop volvemos a tabla normal */
@media (min-width: 640px) {
  .row-card { display: none; }
}

/* Ocultar filas de tabla en mobile cuando se usan row-cards */
.table-hide-mobile tbody tr {
  display: none;
}
@media (min-width: 640px) {
  .table-hide-mobile tbody tr {
    display: table-row;
  }
}

/* Clases faltantes de responsive */
@media (min-width: 640px) {
  .sm\:table-cell  { display: table-cell; }
  .sm\:hidden      { display: none; }
  .sm\:flex        { display: flex; }
  .sm\:w-auto      { width: auto; }
  .sm\:text-left   { text-align: left; }
  .sm\:gap-3       { gap: .75rem; }
  .sm\:px-4        { padding-left: 1rem; padding-right: 1rem; }
  .sm\:py-3        { padding-top: .75rem; padding-bottom: .75rem; }
  .sm\:items-center{ align-items: center; }
  .sm\:flex-row    { flex-direction: row; }
  .sm\:justify-between { justify-content: space-between; }
}

@media (min-width: 768px) {
  .md\:table      { display: table; }
  .md\:table-row  { display: table-row; }
}

/* Reducir padding de tabla en mobile */
@media (max-width: 639px) {
  .mobile-compact th,
  .mobile-compact td {
    padding-left: .625rem;
    padding-right: .625rem;
  }
  .mobile-compact th:first-child,
  .mobile-compact td:first-child {
    padding-left: .875rem;
  }
}

/* Truncar texto largo en celdas mobile */
@media (max-width: 639px) {
  .mobile-truncate {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Mejorar formularios de filtro en mobile */
@media (max-width: 639px) {
  .filter-form .grid {
    grid-template-columns: 1fr 1fr;
  }
  .filter-form .col-span-2 {
    grid-column: span 2;
  }
}

/* Stat cards — 2 columnas en mobile */
@media (max-width: 639px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Botones de acción — más pequeños en mobile */
@media (max-width: 639px) {
  .action-btn {
    padding: .375rem .75rem;
    font-size: .75rem;
  }
}

/* Topnav — comprimir nombre en mobile */
@media (max-width: 639px) {
  .topnav-app-name {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
