:root { --azul: #0b3d91; --azul2: #1559c7; --rojo: #d62839; --arena: #fbf6ec; --tinta: #14213d; --gris: #5c6478; }
body { margin: 0; background: var(--arena); color: var(--tinta); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.lp { max-width: 560px; margin: 0 auto; min-height: 100vh; padding-bottom: 76px; }
.top { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: var(--azul); color: #fff; }
.logo { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.adm { text-decoration: none; font-size: 1.2rem; }
.cont { padding: 16px; }
.cont h1 { font-size: 1.45rem; margin: 6px 0 12px; }
.cont h2 { font-size: 1.1rem; margin: 22px 0 10px; }
.hero { background: linear-gradient(135deg, var(--azul), var(--azul2)); color: #fff; border-radius: 18px; padding: 22px 18px; }
.hero h1 { font-size: 2rem; margin: 0 0 6px; }
.hero p { margin: 0 0 16px; opacity: .92; line-height: 1.45; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.btn-a, .btn-b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 16px; border-radius: 12px;
  font-weight: 700; text-decoration: none; border: 0; font-size: 1rem; cursor: pointer; }
.btn-a { background: var(--rojo); color: #fff; }
.btn-b { background: #fff; color: var(--azul); border: 2px solid var(--azul); }
.full { width: 100%; margin-top: 10px; }
.btn-a:disabled { opacity: .6; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.stats div { background: #fff; border-radius: 12px; padding: 10px; text-align: center; font-size: .78rem; color: var(--gris); }
.stats b { display: block; font-size: 1.4rem; color: var(--azul); }
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cat { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 12px; text-decoration: none;
  color: var(--tinta); font-size: .88rem; font-weight: 600; }
.cat span { font-size: 1.3rem; }
.filtros { display: grid; gap: 8px; margin-bottom: 10px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lista { display: grid; gap: 8px; }
.tarjeta, .item, .pub { display: flex; gap: 12px; background: #fff; border-radius: 14px; padding: 12px; text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.pub { display: block; }
.item { align-items: center; }
.flex1 { flex: 1; min-width: 0; }
.ico { width: 46px; height: 46px; border-radius: 12px; background: #e6eefc; display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.ico.big { width: 70px; height: 70px; font-size: 2.2rem; }
.t { font-weight: 700; }
.s { color: var(--gris); font-size: .86rem; margin: 3px 0; }
.link { color: var(--azul2); font-weight: 600; text-decoration: none; }
.precio { font-weight: 800; color: var(--azul); font-size: .9rem; text-align: right; }
.tag-demo { background: #ffe8a3; color: #6b4e00; font-size: .68rem; font-weight: 800; padding: 2px 6px; border-radius: 6px; margin-left: 4px; }
.tag-ver { background: #d8f3e3; color: #11643a; font-size: .7rem; font-weight: 700; padding: 2px 6px; border-radius: 6px; margin-left: 4px; }
.tag-nv { background: #eceef3; color: var(--gris); font-size: .7rem; padding: 2px 6px; border-radius: 6px; margin-left: 4px; }
.ptipo { font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 99px; background: #e6eefc; color: var(--azul); }
.ptipo-Demanda { background: #fde2e4; color: var(--rojo); }
.ptipo-Aviso { background: #eceef3; color: var(--gris); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip { border: 1.5px solid #c9d3e6; background: #fff; border-radius: 99px; padding: 7px 14px; font-weight: 600; cursor: pointer; color: var(--tinta); }
.chip.on { background: var(--azul); color: #fff; border-color: var(--azul); }
.perfil { background: #fff; border-radius: 18px; padding: 18px; margin-top: 10px; }
.perfil h1 { margin: 10px 0 6px; }
.form { display: grid; gap: 10px; }
.caja { background: #fff; border-radius: 14px; padding: 14px; margin: 16px 0 8px; }
.caja h2 { margin: 0; }
.campo { display: grid; gap: 4px; font-size: .88rem; font-weight: 600; }
.codigo { font-family: ui-monospace, monospace; font-size: 1.5rem; font-weight: 800; letter-spacing: 2px; background: var(--arena);
  border: 2px dashed var(--azul); border-radius: 12px; padding: 12px; text-align: center; margin: 8px 0; }
.nota { background: #fff7dc; border-radius: 10px; padding: 10px 12px; font-size: .84rem; color: #6b4e00; }
.estado { font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 99px; text-transform: capitalize; }
.est-pendiente { background: #fff1c2; color: #7a5700; } .est-aprobado { background: #d8f3e3; color: #11643a; }
.est-rechazado { background: #fde2e4; color: var(--rojo); }
.acciones { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mini { border: 1.5px solid #c9d3e6; background: #fff; border-radius: 8px; padding: 6px 10px; font-weight: 600; cursor: pointer; font-size: .82rem; }
.mini.ok { background: #11643a; color: #fff; border-color: #11643a; }
.barras { display: grid; gap: 6px; background: #fff; border-radius: 14px; padding: 12px; }
.barras div { display: grid; grid-template-columns: 110px 1fr 28px; gap: 8px; align-items: center; font-size: .82rem; }
.barras i { display: block; height: 10px; background: var(--azul2); border-radius: 6px; }
.s6 { grid-template-columns: repeat(3, 1fr); }
.nav { position: fixed; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; background: #fff; border-top: 1px solid #e3e7ef; z-index: 5; }
.nav a { flex: 1; max-width: 112px; display: grid; justify-items: center; padding: 8px 2px 10px; font-size: .7rem; color: var(--gris);
  text-decoration: none; font-weight: 600; }
.nav a span { font-size: 1.25rem; }
.nav a.on { color: var(--azul); }
