*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}#root{height:100vh}.login-bg{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.login-card{width:400px;padding:40px;background:#fff;border-radius:12px;box-shadow:0 20px 60px #00000026}.login-title{text-align:center;margin-bottom:30px;font-size:24px;font-weight:600}.logo-icon{font-size:48px;display:block;text-align:center;margin-bottom:16px;color:#667eea}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;flex-wrap:wrap;gap:8px}.detail-section{margin-bottom:24px}.detail-section h4{margin-bottom:12px;color:#1a1a1a;border-bottom:1px solid #f0f0f0;padding-bottom:8px}.info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px 24px}.info-item{display:flex;gap:8px;padding:4px 0}.info-label{color:#999;min-width:80px;flex-shrink:0}.info-value{color:#333}.timeline-item{padding:12px 16px;background:#fafafa;border-radius:8px;margin-bottom:8px;border-left:3px solid #667eea}.timeline-date{color:#999;font-size:12px}.timeline-action{font-weight:500;margin:4px 0}.timeline-detail{color:#666;font-size:13px}.checkin-card{text-align:center;padding:40px 20px;border:2px dashed #d9d9d9;border-radius:12px;cursor:pointer;transition:all .3s}.checkin-card:hover{border-color:#667eea;background:#f8f8ff}.photo-upload{position:relative;width:100px;height:100px;border:2px dashed #d9d9d9;border-radius:8px;overflow:hidden;cursor:pointer;display:flex;align-items:center;justify-content:center;background:#fafafa}.photo-upload:hover{border-color:#667eea}.photo-upload img{width:100%;height:100%;object-fit:cover}.photo-preview{width:200px;height:200px;object-fit:cover;border-radius:8px;border:1px solid #f0f0f0}.customer-photo-detail{width:200px;max-height:260px;object-fit:cover;border-radius:8px;border:1px solid #f0f0f0}.customer-header-card{transition:box-shadow .2s}.customer-header-card:hover{box-shadow:0 4px 16px #0000000f}.customer-header{display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center}.ch-photo{position:relative;width:clamp(64px,8vw,96px);height:clamp(64px,8vw,96px);flex-shrink:0}.ch-photo-img,.ch-photo .ant-image,.ch-photo .ant-image-img{width:100%!important;height:100%!important;object-fit:cover;border-radius:8px;cursor:pointer}.ch-photo .ant-image-img{transition:transform .2s}.ch-photo .ant-image:hover .ant-image-img{transform:scale(1.03)}.ch-photo-fallback{width:100%;height:100%;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:32px;font-weight:600;-webkit-user-select:none;user-select:none}.ch-status-dot{position:absolute;right:-2px;bottom:-2px;width:14px;height:14px;border-radius:50%;border:2px solid #fff;box-shadow:0 1px 3px #0003}.ch-status-new{background:#1677ff}.ch-status-following{background:#faad14}.ch-status-converted{background:#52c41a}.ch-status-invalid{background:#ff4d4f}.ch-summary{min-width:0;display:flex;flex-direction:column;gap:4px}.ch-name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ch-name{font-size:18px;font-weight:600;color:#1a1a1a}.ch-customer-no{color:#999;font-family:monospace;font-size:12px;margin-left:auto}.ch-contact-row{display:flex;gap:14px;color:#666;font-size:13px;flex-wrap:wrap}.ch-metrics-row{display:flex;gap:14px;font-size:13px;color:#666;flex-wrap:wrap;margin-top:2px}.ch-metric{color:#666}.ch-metric-warn{color:#ff4d4f;font-weight:500}.ch-metric-deal{color:#fa541c;font-weight:500}.ch-last-follow{margin-top:4px;font-size:12px;color:#555;background:#f5f5f5;padding:4px 10px;border-radius:4px;border-left:3px solid #667eea;align-self:flex-start;max-width:100%}.ch-actions{display:flex;flex-direction:column;gap:6px;flex-shrink:0}.ch-actions .ant-btn{min-width:108px}@media (max-width:768px){.customer-header{grid-template-columns:auto 1fr;gap:12px}.ch-actions{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;margin-top:8px}.ch-actions .ant-btn{flex:1;min-width:0}.ch-customer-no{margin-left:0}}.compact-form .ant-form-item{margin-bottom:8px}.compact-form .ant-divider{margin:8px 0}.filter-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px}.qr-modal-body{text-align:center;padding:20px}.qr-modal-body canvas{margin:16px auto}.qr-modal-body p{color:#666;font-size:13px;margin-top:12px}.funnel-chart{display:flex;flex-direction:column;align-items:center;gap:2px;padding:20px 0}.funnel-bar{height:44px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:14px;transition:all .3s;position:relative;min-width:80px}.funnel-bar .funnel-label{position:absolute;right:-10px;transform:translate(100%);color:#666;font-size:12px;font-weight:400;white-space:nowrap}.funnel-bar:hover{opacity:.85;transform:scaleX(1.02)}.intent-bar-wrap{display:flex;align-items:center;gap:12px;margin-bottom:10px}.intent-bar-label{width:24px;font-weight:700;font-size:15px;text-align:center}.intent-bar-track{flex:1;height:28px;background:#f0f0f0;border-radius:6px;overflow:hidden;position:relative}.intent-bar-fill{height:100%;border-radius:6px;display:flex;align-items:center;padding:0 10px;font-size:12px;color:#fff;font-weight:500;min-width:40px;transition:width .5s}.intent-bar-info{width:140px;font-size:12px;color:#666;text-align:right}
