/* CRM y fichas en el panel. Compartido con /panel. */
.gc-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:4px 18px}
.gc-field{margin:6px 0}
.gc-field input,.gc-field select,.gc-field textarea{width:100%}
.gc-field--wide{grid-column:1/-1}
.gc-gal{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.gc-gal li{position:relative;width:110px;height:80px;cursor:move;margin:0}
.gc-gal img{width:100%;height:100%;object-fit:cover;border-radius:4px}
.gc-gal-x{position:absolute;top:-6px;right:-6px;width:22px;height:22px;border-radius:50%;border:0;background:#1d2327;color:#fff;cursor:pointer;line-height:1}
.gc-pill{display:inline-block;padding:2px 8px;border-radius:20px;font-size:12px;font-weight:600;background:#e7f6ec;color:#1e7a3c}
.gc-pill--reservado{background:#fff4d6;color:#8a5a00}
.gc-pill--vendido{background:#eee;color:#555}
.gc-tag{display:inline-block;padding:2px 8px;border-radius:3px;font-size:11px;font-weight:600;letter-spacing:.02em;background:#f0f0f1;color:#1d2327}
.gc-tag--tasacion{background:#ffc21a;color:#121413}
.gc-tag--coche{background:#dbe9ff;color:#0b3d91}
.gc-tag--financiacion{background:#e5f5e9;color:#1e6b33}
.gc-tag--contacto{background:#eee;color:#444}
.gc-stage{display:inline-flex;align-items:center;gap:6px;font-weight:600}
.gc-stage::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--c)}
.gc-crm__head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:10px 0 18px}
.gc-crm__head h1{margin:0;padding:0}
.gc-crm__actions{display:flex;gap:8px}
.gc-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin-bottom:18px}
.gc-kpi{background:#fff;border:1px solid #dcdcde;border-radius:6px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.gc-kpi span{font-size:12px;color:#646970}
.gc-kpi strong{font-size:26px;line-height:1.1;font-weight:700;color:#1d2327}
.gc-kpi--hot{border-color:#ffc21a;background:#fffaf0}
.gc-board-filter{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-bottom:14px}
.gc-board-filter button{border:1px solid #c3c4c7;background:#fff;border-radius:20px;padding:5px 12px;cursor:pointer;font-size:13px}
.gc-board-filter button.is-on{background:#1d2327;color:#fff;border-color:#1d2327}
.gc-board-search{margin-left:auto;min-width:240px}
.gc-board{display:grid;grid-template-columns:repeat(6,minmax(240px,1fr));gap:12px;overflow-x:auto;padding-bottom:12px;align-items:start}
.gc-col{background:#f0f0f1;border-radius:8px;padding:10px;min-height:300px;transition:background .2s}
.gc-col.is-over{background:#e6e9ee;outline:2px dashed var(--c)}
.gc-col header{display:flex;align-items:center;gap:8px;font-weight:600;font-size:13px;padding:2px 4px 10px}
.gc-col header em{font-style:normal;margin-left:auto;background:#fff;border-radius:10px;padding:0 8px;font-size:12px;color:#646970}
.gc-col__dot{width:9px;height:9px;border-radius:50%;background:var(--c)}
.gc-col__list{display:flex;flex-direction:column;gap:8px;min-height:200px}
.gc-card{background:#fff;border:1px solid #dcdcde;border-radius:6px;padding:10px 12px;cursor:grab;box-shadow:0 1px 1px rgba(0,0,0,.03);transition:box-shadow .2s,transform .2s}
.gc-card:hover{box-shadow:0 4px 14px rgba(0,0,0,.08)}
.gc-card.is-drag{opacity:.4}
.gc-card[hidden]{display:none}
.gc-card__top{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:6px}
.gc-card__top time{font-size:11px;color:#8c8f94}
.gc-card__name{display:block;font-weight:600;font-size:14px;color:#1d2327;text-decoration:none}
.gc-card__what{margin:3px 0 0;font-size:12px;color:#50575e}
.gc-card__foot{display:flex;justify-content:space-between;margin-top:8px;font-size:12px}
.gc-card__foot a{text-decoration:none}
.gc-card__seg{margin:6px 0 0;font-size:11px;color:#646970}
.gc-card__seg.is-late{color:#b32d2e;font-weight:600}
.gc-quick{display:flex;gap:8px;margin:4px 0 14px;flex-wrap:wrap}
.gc-h{margin:22px 0 6px;font-size:14px;border-top:1px solid #f0f0f1;padding-top:14px}
.gc-car-ref{display:flex;gap:14px;align-items:center}
.gc-car-ref img{border-radius:4px;width:120px;height:80px;object-fit:cover}
.gc-photos{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.gc-photos img{width:110px;height:80px;object-fit:cover;border-radius:4px}
.gc-note textarea{margin-bottom:6px}
.gc-note__bar{display:flex;gap:8px;justify-content:flex-end}
.gc-log{margin:16px 0 0;padding:0;list-style:none;border-left:2px solid #dcdcde}
.gc-log li{position:relative;padding:0 0 14px 16px;margin:0}
.gc-log li::before{content:'';position:absolute;left:-6px;top:4px;width:10px;height:10px;border-radius:50%;background:#c3c4c7}
.gc-log--llamada::before,.gc-log--whatsapp::before{background:#3e9b4f!important}
.gc-log--fase::before{background:#2f7de1!important}
.gc-log--sistema::before{background:#ffc21a!important}
.gc-log__k{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#646970}
.gc-log p{margin:2px 0}
.gc-log time{font-size:11px;color:#8c8f94}
.gc-dash{margin:0}
.gc-dash li{padding:8px 0;border-bottom:1px solid #f0f0f1;margin:0}
