/* LBM 28/09/2026 - 13:44 - v0.1.0 - Estilos mínimos del MVP. */
:root { font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #1f2937; background: #f4f6f8; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #0b6bcb; overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; }
button { border: 0; border-radius: 8px; padding: 10px 15px; background: #111827; color: white; cursor: pointer; }
button.secondary { background: #e5e7eb; color: #111827; }
button.danger-lite { background: #8a2f2f; }
button.small { padding: 7px 10px; font-size: 13px; }
input, select, textarea { width: 100%; border: 1px solid #d1d5db; border-radius: 8px; padding: 10px 11px; background: white; }
textarea { resize: vertical; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; background: #111827; color: white; }
.container { max-width: 1180px; margin: 0 auto; padding: 28px 20px 60px; }
.hero { margin-bottom: 34px; }
.hero h1 { margin-bottom: 6px; }
.section-title { display: flex; justify-content: space-between; align-items: end; margin: 34px 0 12px; }
.section-title h2, .section-title p { margin: 0; }
.section-title p { margin-top: 4px; color: #6b7280; }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: white; border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.035); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-head h3 { margin: 0; }
.stack { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .wide { grid-column: 1 / -1; }
.actions-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.actions-row form { margin: 0; }
.inline-form { display: inline-block; }
.details { margin: 14px 0; display: grid; gap: 8px; }
.details div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.details dt { color: #6b7280; }
.details dd { margin: 0; overflow-wrap: anywhere; }
.technical dd { font-size: 13px; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 999px; background: #eef0f2; font-size: 12px; }
.badge.ok { background: #dff7e8; color: #126437; }
.badge.bad { background: #fee2e2; color: #991b1b; }
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 18px; background: #e5e7eb; }
.alert.success { background: #dcfce7; color: #166534; }
.alert.error { background: #fee2e2; color: #991b1b; }
.muted { color: #6b7280; }
.top-gap { margin-top: 14px; }
.qr-box { margin-top: 14px; padding: 14px; border: 1px dashed #cbd5e1; border-radius: 10px; text-align: center; }
.qr-image { width: 280px; max-width: 100%; margin-top: 8px; }
.qr-debug, .debug-pre { white-space: pre-wrap; overflow: auto; max-height: 360px; padding: 12px; background: #111827; color: #d1fae5; border-radius: 8px; text-align: left; font-size: 11px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px; border-bottom: 1px solid #e5e7eb; text-align: left; vertical-align: top; }
th { color: #6b7280; }
.error-text { color: #991b1b; max-width: 260px; }
.note { margin-top: 32px; }
hr { border: 0; border-top: 1px solid #e5e7eb; margin: 24px 0; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login-card { width: min(440px, 100%); background: white; border: 1px solid #e5e7eb; border-radius: 14px; padding: 26px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.login-card h1 { margin-top: 0; }
@media (max-width: 760px) { .grid.two, .form-grid { grid-template-columns: 1fr; } .form-grid .wide { grid-column: auto; } .topbar { padding: 12px 14px; } .container { padding: 20px 12px 40px; } .details div { grid-template-columns: 1fr; gap: 2px; } }
