/* Portal de clientes: usa los componentes de app.css y agrega solo su marco. */
body.portal { background: var(--bg); }
.pt-brand { display: flex; justify-content: flex-start; margin-bottom: 4px; }
.pt-brand img { height: 30px; width: auto; }
.pt-help { margin-top: 14px; text-align: center; }
.pt-pw { position: relative; }
.pt-pw .input { padding-right: 44px; }
.pt-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }

.pt-shell { max-width: 1180px; margin: 0 auto; padding: 0 20px 40px; display: flex; flex-direction: column; gap: 16px; }
.pt-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pt-logo { height: 28px; width: auto; }
.pt-user { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pt-head { margin: 4px 0 0; }
.pt-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.pt-tab { flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); border-radius: 99px; padding: 8px 16px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.pt-tab:hover { color: var(--text); border-color: var(--line-2); }
.pt-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pt-body { display: flex; flex-direction: column; gap: 14px; }
.pt-ext { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.pt-cons { padding: 4px 0; }
.pt-table-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.pt-table-head h3 { margin: 0; }
.pt-table-head .input { max-width: 260px; }
.pt-table td { vertical-align: top; max-width: 360px; white-space: pre-wrap; overflow-wrap: anywhere; }
.pt-table tbody tr { cursor: default; }
.pt-pag { justify-content: flex-end; gap: 8px; margin-top: 10px; }
@media (max-width: 600px) {
  .pt-shell { padding: 0 14px 30px; }
  .pt-table-head .input { max-width: none; width: 100%; }
}
.pt-table th, .cl-table th { padding: 10px 14px; font-size: 12px; color: var(--muted); }
