/* Área de clientes de NemuBiz. Móvil primero: objetivos táctiles de 44 px, una columna que pasa a varias en pantallas grandes. */
body.portal { background: #f4f8ff; min-height: 100vh; display: flex; flex-direction: column; }
.pc-main { flex: 1 0 auto; width: 100%; max-width: 980px; margin: 0 auto; padding: 18px 14px 40px; }
.pc-main .pg { padding: 0; max-width: none; }
.pc-pie { flex: 0 0 auto; text-align: center; font-size: 12.5px; color: #6b7785; padding: 14px 12px 22px; }

/* Barra superior */
.pc-top { position: sticky; top: 0; z-index: 40; background: #0b2d5b; background-image: linear-gradient(90deg, #007aff, #00c2e8, #22d68f); background-repeat: no-repeat; background-position: left bottom; background-size: 100% 3px; }
.pc-top-in { max-width: 1100px; margin: 0 auto; padding: 10px 14px 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; }
.pc-marca { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0; }
.pc-marca img { display: block; height: 30px; width: auto; flex: 0 0 auto; }
.pc-marca span { font-size: 12.5px; font-weight: 600; opacity: .85; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .35); white-space: nowrap; }
.pc-volver { color: #cfe3ff; font-size: 13.5px; text-decoration: none; padding: 10px 4px; }
.pc-nav { display: flex; align-items: center; gap: 2px; }
.pc-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 13.5px; padding: 9px 11px; border-radius: 10px; white-space: nowrap; }
.pc-nav a:hover { background: rgba(255, 255, 255, .14); text-decoration: none; }
.pc-nav a.on { background: rgba(255, 255, 255, .2); }
.pc-nav .pc-sistema { background: linear-gradient(90deg, #007aff, #00a8e8); margin-left: 8px; border-radius: 999px; padding: 9px 16px; box-shadow: 0 4px 12px rgba(0, 122, 255, .35); }
.pc-nav .pc-sistema:hover { background: linear-gradient(90deg, #0a6ee6, #0098d4); }
.pc-nav .pc-salir { color: #cfe3ff; }
.pc-burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; padding: 0; }
.pc-burger i, .pc-burger i:before, .pc-burger i:after { display: block; width: 22px; height: 2px; background: #fff; margin: 0 auto; position: relative; }
.pc-burger i:before, .pc-burger i:after { content: ""; position: absolute; left: 0; }
.pc-burger i:before { top: -7px; } .pc-burger i:after { top: 7px; }
@media (max-width: 860px) {
    .pc-burger { display: block; }
    .pc-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #0b2d5b; flex-direction: column; align-items: stretch; padding: 8px 12px 14px; box-shadow: 0 12px 24px rgba(11, 45, 91, .35); }
    .pc-nav.abierto { display: flex; }
    .pc-nav a { padding: 14px 12px; font-size: 15px; }
    .pc-nav .pc-sistema { margin: 8px 0 0; text-align: center; }
}

/* Ingreso */
.pc-ingreso { max-width: 440px; margin: 4vh auto 0; }
.pc-tarjeta { background: #fff; border: 1px solid #d6e2f3; border-radius: 16px; box-shadow: 0 8px 28px rgba(11, 45, 91, .08); padding: 24px 22px; }
.pc-ingreso h1 { font-size: 24px; margin: 0 0 6px; }
.pc-ingreso .sub { margin: 0 0 18px; color: #4a5563; }
.pc-campo { margin-bottom: 14px; }
.pc-campo label { display: block; font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 5px; }
.pc-campo input { width: 100%; height: 50px; padding: 0 14px; font: inherit; font-size: 16px; border: 1px solid #c4d2e6; border-radius: 12px; background: #fff; }
.pc-campo input:focus { outline: none; border-color: #007aff; box-shadow: 0 0 0 3px rgba(0, 122, 255, .2); }
.pc-campo .ayuda { font-size: 12.5px; color: #6b7785; margin-top: 4px; }
.pc-btn { display: block; width: 100%; height: 52px; border: 0; border-radius: 26px; font: inherit; font-size: 16px; font-weight: 700; color: #fff; cursor: pointer; background: linear-gradient(90deg, #007aff 0%, #00a8e8 55%, #22d68f 100%); box-shadow: 0 8px 20px rgba(0, 122, 255, .3); }
.pc-btn:hover { filter: brightness(.95); }
.pc-error { margin: 0 0 14px; padding: 11px 14px; border-radius: 10px; background: #fde8e8; border: 1px solid #f5b5b5; color: #9b1c1c; font-size: 14px; }
.pc-nota { margin-top: 16px; font-size: 13px; color: #6b7785; text-align: center; }

/* Inicio */
.pc-saludo h1 { font-size: 22px; margin: 0 0 2px; } .pc-saludo p { margin: 0 0 14px; color: #4a5563; }
.pc-sistema-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px; margin-bottom: 14px; border-radius: 16px; color: #fff; background: #0b2d5b; background-image: linear-gradient(135deg, #0b2d5b 0%, #0a4aa6 60%, #007aff 100%); box-shadow: 0 10px 26px rgba(11, 45, 91, .25); }
.pc-sistema-card b { display: block; font-size: 17px; } .pc-sistema-card span { display: block; font-size: 13.5px; opacity: .85; word-break: break-all; }
.pc-sistema-card .pc-ir { display: inline-block; padding: 14px 26px; border-radius: 999px; background: #fff; color: #0b2d5b; font-weight: 800; font-size: 15.5px; text-decoration: none; min-height: 48px; }
.pc-sistema-card .pc-ir:hover { background: #e8f1ff; text-decoration: none; }
.pc-aviso { padding: 12px 16px; border-radius: 12px; margin-bottom: 14px; font-size: 14px; }
.pc-aviso.aviso { background: #fff6e0; border: 1px solid #f5d98a; color: #6b4a00; }
.pc-aviso.mal { background: #fde8e8; border: 1px solid #f5b5b5; color: #9b1c1c; }
.pc-aviso a { font-weight: 700; }
.pc-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pc-tile { display: block; background: #fff; border: 1px solid #d6e2f3; border-radius: 14px; padding: 16px; color: #1f2933; text-decoration: none; min-height: 112px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); transition: transform .15s, box-shadow .15s; }
.pc-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(11, 45, 91, .12); text-decoration: none; }
.pc-tile .t-ico { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #e8f1ff; font-size: 20px; margin-bottom: 8px; }
.pc-tile b { display: block; font-size: 15px; color: #0b2d5b; } .pc-tile small { display: block; color: #6b7785; font-size: 12.5px; margin-top: 2px; }
.pc-tile .t-n { float: right; min-width: 24px; height: 24px; line-height: 24px; padding: 0 7px; border-radius: 12px; background: #c0392b; color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
@media (min-width: 700px) { .pc-tiles { grid-template-columns: repeat(3, 1fr); } .pc-main { padding-top: 26px; } }
