/* Customer profile page (Cert IQ design handoff, 2026-11-06). */
#v-customer-profile .cp-back { display: inline-block; margin-bottom: 16px; font-size: 13px; }
.cp-body { display: flex; flex-direction: column; gap: 24px; }
.cp-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.cp-head-t { min-width: 0; }
.cp-title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
html.certificate-workbench.tax-team-design .cp-title { font-size: 36px; }
.cp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cp-error { color: #9C2F19; }

.cp-complete { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 22px; border: 2px solid #222; border-radius: 12px; box-shadow: 4px 4px 0 #E5E8E7; background: #F7F7EC; margin: 0; }
.cp-complete.is-gaps { background: #FFF8F0; }
.cp-complete.is-blocked { background: #FBEDEA; }
.cp-complete-main { flex: 1 1 300px; min-width: 0; }
.cp-complete-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.cp-complete .ux-completeness-status { margin: 0; }
.cp-complete-count { font-size: 12px; font-weight: 400; color: #444; }
.cp-bar { display: flex; gap: 4px; margin-top: 10px; max-width: 420px; }
.cp-bar span { flex: 1; height: 6px; border-radius: 2px; background: #949300; }
.cp-bar span.is-gap { background: #DA720F; }
.cp-checks { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 12px; }
.cp-checks li.ok { color: #444; }
.cp-checks li.gap { color: #9C2F19; }

.cp-cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.cp-col { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.cp-panel { background: #fff; border: 2px solid #222; border-radius: 12px; box-shadow: 4px 4px 0 #E5E8E7; overflow: hidden; }
.cp-panel-h { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 18px 22px; border-bottom: 2px solid #222; }
.cp-panel-h h2 { margin: 0; font: 500 18px/1.3 var(--ff); }
.cp-panel-h > span, .cp-panel-aside > span { font-size: 12px; color: #666; }
.cp-panel-aside { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cp-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px 24px; padding: 20px 22px; }
.cp-field { min-width: 0; }
.cp-field-k { font-size: 12px; color: #666; }
.cp-field-v { margin-top: 4px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.cp-field-v.is-missing, .cp-addr-t.is-missing, .cp-contact-m.is-missing { color: #9C2F19; }
.cp-addr { display: flex; align-items: flex-start; gap: 16px; padding: 14px 22px; border-top: 1px solid #EEEEEE; }
.cp-addr:first-child { border-top: 0; }
.cp-addr .cust-eyebrow { flex: 0 0 64px; padding-top: 3px; }
.cp-addr-t { flex: 1 1 auto; font-size: 14px; line-height: 1.6; white-space: pre-line; }
.cp-panel > .workflow-note, .cp-addr + .workflow-note, .cp-states > .workflow-note { margin: 12px 22px; }
.cp-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px 22px; border-top: 1px solid #EEEEEE; }
.cp-avatar { flex: 0 0 34px; height: 34px; border-radius: 50%; background: #F2F2F2; color: #444; display: flex; align-items: center; justify-content: center; font: 700 12px var(--ff); }
.cp-contact-t { flex: 1 1 200px; min-width: 0; }
.cp-contact-n { font-size: 14px; font-weight: 500; }
.cp-contact-n span { font-weight: 400; color: #666; }
.cp-contact-m { margin-top: 3px; font-size: 12px; color: #666; overflow-wrap: anywhere; }
.cp-primary { padding: 4px 8px; border: 1px solid #DADADA; border-radius: 4px; background: #F9F9F9; font-size: 12px; font-weight: 500; }

.cp-states { display: flex; flex-direction: column; gap: 10px; padding: 16px 22px; }
.cp-states > .workflow-note { margin: 0; }
.cp-strip { display: flex; gap: 4px; margin-bottom: 6px; }
.cp-strip > div { flex: 1; min-width: 0; }
.cp-strip-bar { height: 10px; border-radius: 2px; }
.cp-strip-bar.on, .cp-step.is-current.on .cp-dot { background: #949300; }
.cp-strip-bar.review { background: #007681; }
.cp-strip-bar.miss { background: #F0C89A; }
.cp-strip-code { margin-top: 4px; font: 600 11px var(--ff); color: #444; }
.cp-state { padding: 14px 16px; border: 1px solid #DADADA; border-left: 4px solid #DA720F; border-radius: 6px; }
.cp-state.on { border-left-color: #949300; }
.cp-state.review { border-left-color: #007681; }
.cp-state-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.cp-state-n b { margin-right: 4px; }
.cp-steps { display: flex; align-items: flex-start; margin: 14px 0 4px; }
.cp-step { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.cp-step-track { display: flex; align-items: center; width: 100%; }
.cp-line { flex: 1; height: 2px; background: #DADADA; }
.cp-step:first-child .cp-line:first-child, .cp-step:last-child .cp-line:last-child { background: transparent; }
.cp-step.is-past .cp-line, .cp-step.is-current .cp-line:first-child { background: #222; }
.cp-dot { flex: 0 0 14px; height: 14px; border: 2px solid #BBBBBB; border-radius: 50%; background: #fff; box-sizing: border-box; }
.cp-step.is-past .cp-dot { background: #222; border-color: #222; }
.cp-step.is-current .cp-dot { border-color: transparent; box-shadow: 0 0 0 3px #FBE3CB; background: #DA720F; }
.cp-step.is-current.on .cp-dot { box-shadow: 0 0 0 3px #E9EBC4; }
.cp-step.is-current.review .cp-dot { background: #007681; box-shadow: 0 0 0 3px #CFE6E8; }
.cp-step-label { margin-top: 6px; font-size: 11px; line-height: 1.3; text-align: center; color: #999; }
.cp-step.is-past .cp-step-label { color: #444; }
.cp-step.is-current .cp-step-label { color: #222; font-weight: 600; }
.cp-state-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid #EEEEEE; font-size: 12px; color: #444; }
#v-customer-profile .cp-panel .workflow-upload-list, #v-customer-profile .cp-activity { padding: 16px 22px; }
#v-customer-profile .cp-panel .workflow-upload-list > p, #v-customer-profile .cp-activity > p { margin: 0; }
@media (max-width: 760px) { .cp-addr { flex-direction: column; gap: 6px; } }
