/* Halko · ficha de cliente */
.fc{max-width:760px;margin:0 auto}
.fc-barra{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 6px;min-height:40px}
.fc-volver{color:var(--acc);font-weight:600;text-decoration:none;font-size:1rem;padding:6px 0}
.fc-cab{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;margin:4px 0 18px}
.fc-av{width:88px;height:88px;border-radius:50%;display:grid;place-items:center;font:700 2rem var(--fd);color:#0d1420;background:linear-gradient(145deg,#ffcf6b,var(--acc));box-shadow:0 10px 28px rgba(245,165,36,.28)}
.fc-cab h1{margin:6px 0 0;font-size:1.6rem;line-height:1.2;overflow-wrap:anywhere}
.fc-accs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 16px}
.fc-acc{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 4px 10px;border-radius:var(--r);background:var(--card2);border:1px solid var(--line);color:var(--acc);text-decoration:none;font-size:.78rem;font-weight:600;transition:transform .15s,border-color .15s}
.fc-acc svg{width:22px;height:22px;fill:currentColor}
.fc-acc span{color:var(--tx)}
.fc-acc:active{transform:scale(.96);border-color:var(--acc)}
.fc-acc.off{opacity:.35;pointer-events:none}
.fc-datos{padding:6px 18px}
.fc-dato{display:flex;flex-direction:column;gap:2px;padding:12px 0;border-bottom:1px solid var(--line)}
.fc-dato:last-of-type{border-bottom:0}
.fc-dato span{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--tx3)}
.fc-dato b,.fc-dato a{font-weight:500;color:var(--tx);overflow-wrap:anywhere}
.fc-dato a{color:var(--acc);text-decoration:none}
.fc-debe{border-color:rgba(245,165,36,.45)}
.fc-debe-t{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:6px}
.fc-debe-t span{display:block;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:var(--tx3);font-weight:600}
.fc-debe-t b{font:700 1.5rem var(--fd);color:var(--acc)}
.fc-fila{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid var(--line);color:var(--tx2);text-decoration:none;font-size:.9rem}
.fc-fila b{color:var(--tx)}
.fc-sec{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:22px 0 10px}
.fc-sec h3{margin:0;font-size:1.05rem}
.fc-sec h3 small{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;margin-left:6px;border-radius:99px;background:var(--card2);color:var(--tx2);font-size:.75rem;vertical-align:2px}
.fc-sec .btn{padding:6px 12px;font-size:.85rem}
.fc-exps{display:grid;gap:10px}
.fc-exp{position:relative;display:flex;flex-direction:column;gap:4px;padding:14px 38px 14px 16px;border-radius:var(--r);background:var(--card2);border:1px solid var(--line);color:var(--tx);text-decoration:none}
.fc-exp::after{content:"›";position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:1.5rem;color:var(--tx3)}
.fc-exp:active{border-color:var(--acc)}
.fc-exp-t{display:flex;align-items:center;justify-content:space-between;gap:10px}
.fc-exp-d{font-size:.92rem;color:var(--tx2);overflow-wrap:anywhere}
.fc-exp small{color:var(--tx3)}
.fc-vacio{text-align:center}
.fc-vacio p{margin:0 0 12px;color:var(--tx2)}
.fc-total{text-align:right;margin:12px 2px 0}
.fc-notas{white-space:normal;line-height:1.5;color:var(--tx2)}
.fc-form .btns{flex-wrap:wrap}
@media (min-width:861px){.fc-exps{grid-template-columns:1fr 1fr}}
@media (max-width:860px){
  .fc{animation:fcEntra .32s cubic-bezier(.2,.8,.2,1)}
  .fc-form .row{flex-direction:column;gap:0}
  .fc-acc{font-size:.72rem}
}
@keyframes fcEntra{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.fc{animation:none}}

/* Ventanas flotantes en el móvil: que no se arrastren de lado */
@media (max-width:860px){
  .modal{overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y}
  .modal > .card{max-width:100%;overflow-x:hidden}
}
