:root{
  --blue:#1f6fe0;
  --blue-dark:#0b2d5c;
  --orange:#ff8a00;
  --bg:#f3f7ff;
  --line:#e6eefc;
  --text:#1b2430;
  --muted:#5f6b7a;
  --radius:14px;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  padding:18px 12px;
}

.wrap{
  max-width:500px;
  margin:0 auto;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
}

.topbar{
  height:6px;
  background: linear-gradient(90deg, var(--blue) 0%, #2d8cff 45%, var(--orange) 100%);
}

/* Header */
.header{
  padding:16px 18px 10px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
}

.brand{
  display:flex;
  gap:10px;
  align-items:center;
  min-width:0;
}

/* LOGO (Opción B) */
.logo{
  width:70px;
  height:70px;
  border-radius:12px;
  background: rgba(31,111,224,.10);
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex: 0 0 auto;
}
.logo img{
  width:80%;
  height:80%;
  object-fit:contain;
  display:block;
}

.brand-text{ min-width:0; }

.kicker{
  font-size:12px;
  color:var(--muted);
  margin:0 0 2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.brand-name{
  font-weight:800;
  color:var(--blue-dark);
  font-size:14px;
  line-height:1;
}
.brand-name span{ color:var(--orange); }

.badge{
  font-size:12px;
  border:1px solid var(--line);
  padding:6px 10px;
  border-radius:999px;
  color:var(--blue-dark);
  background:#f7fbff;
  white-space:nowrap;
}

/* Content */
.content{
  padding:6px 18px 18px;
}

h1{
  font-size:22px;
  line-height:1.15;
  margin:10px 0 8px;
  color:var(--blue-dark);
}

p{
  margin:0 0 12px;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}

.grid{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:10px;
}
.left{ flex: 1 1 260px; min-width:240px; }
.right{ flex: 1 1 180px; min-width:200px; }

.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  padding:14px;
}

.card h2{
  margin:0 0 10px;
  font-size:14px;
  color:var(--blue-dark);
}

.list{
  margin:10px 0 0;
  padding-left:18px;
  color:var(--text);
  font-size:13px;
  line-height:1.45;
}
.list li{ margin:6px 0; }

.hint{
  margin-top:10px;
  font-size:12px;
  color:var(--muted);
}

/* Table meta */
.meta{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}
.meta td{
  padding:7px 0;
  border-top:1px solid var(--line);
  vertical-align:top;
}
.meta td:first-child{ color:var(--muted); width:46%; }
.meta td:last-child{ color:var(--text); font-weight:600; }

/* Form */
form{ margin-top:12px; }

label{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin:10px 0 6px;
}

input{
  width:100%;
  padding:10px 11px;
  border:1px solid var(--line);
  border-radius:12px;
  font-size:14px;
  outline:none;
  background:#fff;
}

input:focus{
  border-color:#b9d3ff;
  box-shadow:0 0 0 4px rgba(31,111,224,.12);
}

.btn{
  margin-top:12px;
  width:100%;
  border:0;
  border-radius:12px;
  padding:12px 14px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  color:#fff;
  background: linear-gradient(90deg, var(--blue) 0%, #2d8cff 55%, var(--orange) 120%);
}
.btn:active{ transform: translateY(1px); }

/* Footer */
.footer{
  padding:12px 18px 16px;
  border-top:1px solid var(--line);
  background:#fbfdff;
  font-size:12px;
  color:var(--muted);
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}