/* 3.9.5: ERP → Personal externo → Café */
.cga-panel { display: flex; flex-direction: column; gap: 16px; }
.cga-head h3 { margin: 0 0 4px; }
.cga-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cga-card { display: flex; flex-direction: column; gap: 12px; }
.cga-row4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cga-f { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 700; color: #3b4148; }
.cga-f input { height: 38px; border: 1px solid #d5d9de; border-radius: 8px; padding: 0 10px; font: inherit; font-size: 15px; font-weight: 500; color: #15191d; background: #fff; }
.cga-f.wide input { max-width: 360px; }
.cga-machines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cga-machine { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid #e3e6ea; border-radius: 12px; font-size: 13.5px; }
.cga-machine b { font-size: 15px; }
.cga-dial select { height: 32px; border: 1px solid #d5d9de; border-radius: 8px; padding: 0 6px; font: inherit; font-size: 13px; }
.cga-door { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.cga-door label { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.cga-door label.is-off { color: #8a9198; }
.cga-actions { display: flex; justify-content: flex-end; }
@media (max-width: 1000px) { .cga-grid, .cga-machines { grid-template-columns: 1fr; } .cga-row4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 3.9.6: avance del equipo y videos del café */
.cga-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.cga-nav button { height: 38px; padding: 0 16px; border: 1px solid #d5d9de; border-radius: 999px; background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: #3b4148; cursor: pointer; }
.cga-nav button.on { background: #15191d; border-color: #15191d; color: #fff; }
.cga-team-wrap { overflow-x: auto; }
.cga-team { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cga-team th { text-align: left; font-size: 12px; color: #5b636b; font-weight: 800; padding: 8px 10px; border-bottom: 1px solid #e3e6ea; white-space: nowrap; }
.cga-team td { padding: 10px; border-bottom: 1px solid #eef0f2; vertical-align: middle; }
.cga-team td small { display: block; color: #5b636b; font-size: 12px; }
.cga-st { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.cga-st.ok { background: #e7f6ec; color: #11613a; }
.cga-st.now { background: #fff4d6; color: #6b4200; }
.cga-st.off { background: #f1f2f4; color: #8a9198; }
.cga-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.cga-video { display: flex; gap: 12px; padding: 12px; border: 1px solid #e3e6ea; border-radius: 12px; }
.cga-video.is-custom { border-color: #11613a; }
.cga-video video { width: 96px; height: 170px; object-fit: cover; border-radius: 10px; background: #16191c; flex-shrink: 0; }
.cga-video-t { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cga-video-a { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.cga-video-a label.btn { cursor: pointer; }
.cga-upbar { height: 8px; border-radius: 4px; background: #e3e6ea; overflow: hidden; }
.cga-upbar i { display: block; height: 8px; background: #11613a; }
.cga-video-a .btn { display: inline-flex; align-items: center; justify-content: center; }
