/* =====================================================================
   PORTAL CIUDADANO: Mi espacio, pagos, consulta publica, acceso a la informacion, transparencia
   ===================================================================== */
.pt-app { max-width: 1100px; margin: 0 auto; padding: 18px 16px 40px; color: #0f172a; }
.pt-app [hidden] { display: none !important; }
.pt-cab { margin-bottom: 16px; }
.pt-cab h1 { font-size: 1.5rem; margin: 0; font-weight: 800; }
.pt-cab p { margin: 4px 0 0; color: #475569; }
.pt-rapidos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 18px; }
.pt-rapido { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 12px 14px; text-decoration: none; color: #0f172a;
  font-weight: 700; font-size: .88rem; cursor: pointer; text-align: left; font-family: inherit; }
.pt-rapido:hover, .pt-rapido:focus-visible { border-color: var(--bl-primario, #0284c7); box-shadow: 0 6px 16px rgb(15 23 42 / .07); outline: none; }
.pt-rapido i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #e0f2fe; color: #0369a1; flex: none; }
.pt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pt-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 14px 16px; min-width: 0; }
.pt-card.ancho { grid-column: 1 / -1; }
.pt-card h2 { font-size: 1rem; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.pt-card h2 i { color: var(--bl-primario, #0284c7); }
.pt-card h2 a { margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--bl-primario, #0284c7); text-decoration: none; }
.pt-alerta { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; display: flex; gap: 10px; align-items: flex-start; }
.pt-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pt-lista li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: #f8fafc; }
.pt-lista strong { display: block; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; }
.pt-lista small { display: block; color: #64748b; font-size: .78rem; }
.pt-lista a { color: inherit; text-decoration: none; }
.pt-vacio { color: #64748b; font-size: .88rem; margin: 0; }
.pt-est { font-size: .72rem; font-weight: 800; border-radius: 999px; padding: 2px 9px; background: #e2e8f0; color: #334155; white-space: nowrap; }
.pt-est.SUBSANACION, .pt-est.PRORROGADA { background: #fef3c7; color: #92400e; }
.pt-est.APROBADO, .pt-est.FINALIZADO, .pt-est.RESPONDIDA { background: #dcfce7; color: #166534; }
.pt-est.RECHAZADO, .pt-est.NEGADA, .pt-est.ANULADO { background: #fee2e2; color: #991b1b; }
.pt-est.EN_REVISION, .pt-est.EN_TRAMITE, .pt-est.PENDIENTE, .pt-est.RECIBIDA { background: #dbeafe; color: #1e40af; }
.pt-tabla { width: 100%; border-collapse: collapse; font-size: .88rem; }
.pt-tabla th, .pt-tabla td { padding: 7px 8px; border-bottom: 1px solid #e2e8f0; text-align: left; }
.pt-tabla th { font-size: .74rem; text-transform: uppercase; color: #64748b; }
.pt-tabla td.num, .pt-tabla th.num { text-align: right; font-variant-numeric: tabular-nums; }
.pt-tabla tfoot td { font-weight: 800; border-top: 2px solid #cbd5e1; }
.pt-total { font-size: 1.4rem; font-weight: 800; }
.pt-form { display: grid; gap: 12px; }
.pt-form label { display: grid; gap: 5px; font-weight: 700; font-size: .86rem; color: #334155; }
.pt-form input, .pt-form textarea, .pt-form select { border: 1px solid #cbd5e1; border-radius: 10px; padding: 10px 12px; font: inherit; font-weight: 400; font-size: .95rem; }
.pt-form small { font-weight: 400; color: #64748b; }
.pt-msg { border-radius: 12px; padding: 10px 12px; font-size: .9rem; }
.pt-msg.ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.pt-msg.mal { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.pt-linea { list-style: none; margin: 10px 0 0; padding: 0 0 0 14px; border-left: 3px solid #e2e8f0; display: grid; gap: 8px; }
.pt-linea li { position: relative; font-size: .88rem; }
.pt-linea li::before { content: ''; position: absolute; left: -21px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--bl-primario, #0284c7); }
.pt-linea small { color: #64748b; display: block; }
.pt-cargando { color: #64748b; font-size: .88rem; }
.pt-cargando i { margin-right: 6px; }
.pt-filtros { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.pt-filtros select, .pt-filtros input { border: 1px solid #cbd5e1; border-radius: 10px; padding: 8px 10px; font: inherit; }
.pt-numerales { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pt-numerales li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 12px; }
.pt-numerales .n { width: 44px; height: 44px; border-radius: 12px; background: #e0f2fe; color: #0369a1; display: grid; place-items: center; font-weight: 800; }
.pt-numerales .acc { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pt-numerales .acc a { font-size: .8rem; font-weight: 700; text-decoration: none; border: 1px solid #cbd5e1; border-radius: 8px; padding: 5px 9px; color: #0f172a; white-space: nowrap; }
.pt-numerales .acc a:hover { border-color: var(--bl-primario, #0284c7); }
.pt-numerales .na { color: #64748b; font-size: .8rem; }
@media (max-width: 760px) { .pt-grid { grid-template-columns: minmax(0, 1fr); } .pt-numerales li { grid-template-columns: 36px minmax(0, 1fr); } .pt-numerales .acc { grid-column: 2; justify-content: flex-start; } .pt-numerales .n { width: 36px; height: 36px; } }
