
/* =========================
   LIMPIPLAN VISUAL APP
   Capa visual segura
   ========================= */

:root{
  --lpv-bg:#eef5f9;
  --lpv-surface:#ffffff;
  --lpv-border:rgba(18,38,63,.10);
  --lpv-shadow:0 14px 34px rgba(15,23,42,.08);
  --lpv-blue:#0b4b86;
  --lpv-green:#5fb335;
  --lpv-text:#1f314d;
  --lpv-muted:#66778d;
  --lpv-radius:24px;
}

/* Base */
body .lpv-hidden{display:none!important;}
body .lpv-app-shell{
  border-radius:28px;
  background:linear-gradient(135deg,#eef7fb 0%, #f3fbf4 100%);
  border:1px solid var(--lpv-border);
  padding:18px;
  box-shadow:0 10px 28px rgba(15,23,42,.04);
}
body .lpv-app-title{
  margin:0 0 8px;
  font-size:38px;
  line-height:1.02;
  font-weight:300;
  color:var(--lpv-text);
}
body .lpv-app-subtitle{
  margin:0;
  font-size:17px;
  line-height:1.55;
  color:var(--lpv-muted);
}

/* App grid */
body .lpv-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:22px;
}
body .lpv-card,
body .lpv-grid > a,
body .lpv-grid > div,
body .lpv-grid > article{
  position:relative;
  display:block;
  min-height:164px;
  border-radius:26px;
  background:var(--lpv-surface);
  border:1px solid var(--lpv-border);
  box-shadow:var(--lpv-shadow);
  text-decoration:none;
  overflow:hidden;
}
body .lpv-card-inner{
  padding:22px 22px 20px;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:10px;
}
body .lpv-card-icon{
  width:60px;
  height:60px;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(11,75,134,.10), rgba(95,179,53,.14));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  line-height:1;
  color:var(--lpv-blue);
}
body .lpv-card-title{
  margin:0;
  font-size:23px;
  line-height:1.08;
  font-weight:800;
  color:var(--lpv-text);
}
body .lpv-card-text{
  margin:0;
  font-size:14px;
  line-height:1.55;
  color:var(--lpv-muted);
}
body .lpv-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 42px rgba(15,23,42,.10);
}

/* Pills / badge */
body .lpv-badge{
  position:absolute;
  top:14px;
  right:14px;
  min-width:28px;
  height:28px;
  padding:0 8px;
  border-radius:999px;
  background:#e11d48;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:900;
  box-shadow:0 8px 18px rgba(225,29,72,.25);
}
body .lpv-badge:empty{display:none;}

/* Detail second screen */
body .lpv-detail-toolbar{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 0 18px;
  padding:14px 16px;
  border-radius:20px;
  background:#fff;
  border:1px solid var(--lpv-border);
  box-shadow:0 10px 24px rgba(16,24,40,.05);
}
body .lpv-back{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:42px;
  border-radius:999px;
  background:var(--lpv-blue);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  padding:0 14px;
}
body .lpv-detail-title{
  margin:0;
  font-size:30px;
  line-height:1.1;
  color:var(--lpv-text);
  font-weight:700;
}
body .lpv-detail-sub{
  margin:4px 0 0 0;
  color:var(--lpv-muted);
  font-size:15px;
}

/* Hide repeated internal titles when we create our own shell */
body.lpv-docs-page .entry-content h1 + p:has(+ .lpv-grid),
body.lpv-docs-page .entry-content h2 + p:has(+ .lpv-grid){
  display:none!important;
}

/* Generic document cards/list */
body .lpv-doc-list{
  display:grid;
  gap:14px;
}
body .lpv-doc-item{
  background:#fff;
  border:1px solid var(--lpv-border);
  border-radius:20px;
  box-shadow:0 10px 24px rgba(16,24,40,.05);
  padding:18px;
}
body .lpv-doc-item-title{
  margin:0 0 8px;
  font-size:19px;
  line-height:1.2;
  color:var(--lpv-text);
  font-weight:800;
}
body .lpv-doc-item-meta{
  margin:0;
  color:var(--lpv-muted);
  font-size:14px;
  line-height:1.5;
}

/* Forms pages */
body.lpv-form-page .lp-card,
body.lpv-form-page .lp-documents-card,
body.lpv-form-page section{
  border-radius:24px!important;
  box-shadow:var(--lpv-shadow)!important;
  border:1px solid var(--lpv-border)!important;
}
body.lpv-form-page h1{
  font-size:38px!important;
  line-height:1.03!important;
  font-weight:300!important;
  color:var(--lpv-text)!important;
}
body.lpv-form-page .lp-card-title,
body.lpv-form-page h2{
  font-size:24px!important;
  line-height:1.1!important;
  color:var(--lpv-text)!important;
}

/* Alerts / help */
body .lpv-side-help{
  display:grid;
  gap:16px;
  margin-top:16px;
}
body .lpv-side-help .lpv-help-card{
  background:#fff;
  border-radius:20px;
  border:1px solid var(--lpv-border);
  box-shadow:0 10px 24px rgba(16,24,40,.05);
  padding:18px;
}
body .lpv-side-help h3{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.2;
  color:var(--lpv-text);
}
body .lpv-side-help p{
  margin:0;
  font-size:14px;
  line-height:1.6;
  color:var(--lpv-muted);
}

/* Generic pages clean-up */
body .lpv-clean-title{
  margin-bottom:18px;
}
body .lpv-clean-title .lpv-app-title{
  font-size:40px;
}

/* Responsive */
@media (max-width: 1050px){
  body .lpv-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 700px){
  body .lpv-grid{grid-template-columns:1fr;}
  body .lpv-app-title{font-size:32px;}
  body .lpv-card{min-height:148px;}
  body .lpv-card-title{font-size:21px;}
}
