/* ===== Pantalla de marcación /TimeAttendance (mobile first). Usa las variables --fm-* de landing.css ===== */
.fm-punch { min-height: 100svh; background: var(--fm-bg); color: var(--fm-ink); font-family: Inter, "Segoe UI", system-ui, sans-serif; }
.fm-punch *, .fm-punch *::before, .fm-punch *::after { box-sizing: border-box; }
.fm-punch__bar { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; background: var(--fm-navy); color: #fff; }
.fm-punch__bar strong { flex: 1; font-size: 1.05rem; }
.fm-punch__link { background: none; border: 0; color: #cfe3f6; font: inherit; cursor: pointer; text-decoration: underline; }
.fm-punch__main { width: min(520px, 100%); margin-inline: auto; padding: 1rem; display: grid; gap: 1rem; }
.fm-punch__card { background: #fff; border-radius: var(--fm-radius); box-shadow: var(--fm-shadow); padding: 1.2rem; display: grid; gap: .8rem; }
.fm-punch__card h1, .fm-punch__card h2 { margin: 0; font-size: 1.15rem; }
.fm-punch__muted { color: var(--fm-muted); font-size: .92rem; margin: 0; }
.fm-punch__project { display: flex; align-items: center; gap: .8rem; justify-content: space-between; padding: .8rem 0; border-top: 1px solid #e6edf4; }
.fm-punch__project:first-of-type { border-top: 0; }
.fm-punch__project strong { display: block; }
.fm-punch__big { font-size: 1.6rem; font-weight: 800; color: var(--fm-deep); }
.fm-punch__entry { display: flex; justify-content: space-between; gap: .5rem; padding: .5rem 0; border-top: 1px solid #e6edf4; font-size: .95rem; }
.fm-chip { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #e6edf4; color: var(--fm-deep); }
.fm-chip--warn { background: #fff1d6; color: #8a5a00; }
.fm-chip--ok { background: #dff3e8; color: #1d6b43; }
.fm-punch .fm-btn { width: 100%; }
.fm-punch details summary { cursor: pointer; font-weight: 600; color: var(--fm-deep); }
.fm-punch__flags { margin: .3rem 0 0; padding-left: 1.1rem; font-size: .92rem; }
.fm-punch__notice { font-size: .82rem; color: var(--fm-muted); text-align: center; margin: 0; }

/* Panel de captura (cámara + ubicación) a pantalla completa */
.fm-capture { position: fixed; inset: 0; z-index: 100; background: rgba(10, 25, 40, .88); display: grid; place-items: center; padding: 1rem; }
.fm-capture[hidden] { display: none; }
.fm-capture__card { width: min(420px, 100%); background: #fff; border-radius: var(--fm-radius); padding: 1rem; display: grid; gap: .7rem; }
.fm-capture__card h2 { margin: 0; font-size: 1.05rem; }
.fm-capture video { width: 100%; aspect-ratio: 4 / 3; background: #0b1b2b; border-radius: 12px; object-fit: cover; transform: scaleX(-1); }
.fm-capture__status { margin: 0; font-size: .9rem; color: var(--fm-muted); }
.fm-capture__status.is-ok { color: #1d6b43; font-weight: 600; }
.fm-capture__status.is-warn { color: #8a5a00; font-weight: 600; }
.fm-capture__actions { display: grid; gap: .5rem; }
.fm-btn--outline-dark { background: transparent; color: var(--fm-deep) !important; border-color: #b8c8d8; }
body.fm-noscroll { overflow: hidden; }
