.person-journey-profile{display:flex;align-items:center;gap:16px;margin-bottom:20px;min-width:0}.person-journey-profile .avatar{width:58px;height:58px;flex:0 0 58px;background:var(--accent-muted,#263c34);color:var(--accent,#b5dec7)}.person-journey-profile>div{min-width:0}.person-journey-profile h2{margin:5px 0;font-size:25px;line-height:1.25;overflow-wrap:anywhere}.person-journey-profile p{margin:0;color:var(--muted,#a7b0be);overflow-wrap:anywhere}.person-journey-context{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:13px;color:var(--muted,#a7b0be)}.journey-scope{background:#233c33;color:#b5dec7}.person-journey-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.person-journey-summary>div{padding:16px 12px;background:var(--surface,#1b232d);border:1px solid var(--border,#343e4b);border-radius:14px;min-width:0}.person-journey-summary strong{display:block;font-size:25px}.person-journey-summary span{display:block;margin-top:5px;font-size:12px;color:var(--muted,#a7b0be)}.person-journey-actions{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:20px}.person-journey-actions .btn{white-space:normal}.person-journey-coverage,.person-journey-identities{border:1px solid var(--border,#343e4b);background:var(--surface,#182029);border-radius:14px;margin:16px 0;padding:14px 16px}.person-journey-coverage summary,.person-journey-identities summary{cursor:pointer;font-weight:600;line-height:1.6}.person-journey-coverage summary>span{display:block;font-size:12px;color:var(--muted,#a7b0be);font-weight:400}.person-journey-coverage ul{padding:0;list-style:none}.person-journey-coverage li{padding:12px 0;border-bottom:1px solid var(--border,#343e4b)}.person-journey-coverage li>.pill{margin-left:8px}.person-journey-coverage li p{font-size:13px;margin:8px 0 0;overflow-wrap:anywhere;color:var(--muted,#a7b0be)}.person-journey-section-head{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:center;margin-top:28px}.person-journey-section-head h3{font-size:19px;margin:0}.person-journey-section-head span{font-size:12px;color:var(--muted,#a7b0be)}.person-journey-filters{display:flex;gap:7px;overflow-x:auto;padding:14px 0 16px;overscroll-behavior-x:contain}.person-journey-filters .btn{font-size:12px;padding:8px 11px;flex:none;min-height:40px}.person-journey-filters .selected{background:var(--accent-muted,#263c34);color:var(--accent,#b5dec7);border-color:var(--accent,#b5dec7)}.person-journey-day{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#a7b0be);margin:18px 0 14px}.person-journey-event{position:relative;display:flex;gap:16px;padding-bottom:22px;min-width:0}.person-journey-event:before{content:'';position:absolute;left:5px;top:13px;bottom:0;width:1px;background:var(--border,#343e4b)}.person-journey-dot{margin-top:7px;z-index:1;width:11px;height:11px;flex:0 0 11px;border-radius:50%;background:#aab7ca;box-shadow:0 0 0 4px #aab7ca12}.person-journey-event[data-journey-kind=website] .person-journey-dot{background:#88aff8}.person-journey-event[data-journey-kind=applications] .person-journey-dot{background:#ba9bff}.person-journey-event[data-journey-kind=bookings] .person-journey-dot{background:#dfba72}.person-journey-event[data-journey-kind=calls] .person-journey-dot{background:#7fb6cc}.person-journey-event[data-journey-kind=sales] .person-journey-dot,.person-journey-event[data-journey-kind=commerce] .person-journey-dot{background:#b5dec7}.person-journey-event-body{flex:1;min-width:0}.person-journey-event-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.person-journey-event-head h4{margin:0;font-size:15px;line-height:1.5;overflow-wrap:anywhere}.person-journey-event-head .pill{font-size:10px;max-width:100%;overflow-wrap:anywhere;white-space:normal}.person-journey-event-body>p{margin:7px 0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.person-journey-clock{color:var(--muted,#a7b0be);font-size:12px!important}.person-journey-evidence{margin-top:10px;background:var(--surface,#1b232d);border:1px solid var(--border,#343e4b);border-radius:10px;padding:9px 12px;font-size:12px}.person-journey-evidence summary{cursor:pointer;color:var(--muted,#a7b0be)}.person-journey-evidence dl,.person-journey-identities dl{margin:12px 0 0}.person-journey-evidence dl>div,.person-journey-identities dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:10px;padding:7px 0}.person-journey-evidence dt,.person-journey-identities dt{color:var(--muted,#a7b0be)}.person-journey-evidence dd,.person-journey-identities dd{margin:0;overflow-wrap:anywhere}.person-journey-footer{text-align:center;margin:16px 0}.person-journey-footer p,.person-journey-footer-note{font-size:12px;color:var(--muted,#a7b0be);line-height:1.6}.person-journey-timeline .record-empty{margin:18px 0}.person-journey-timeline .record-empty h3{font-size:16px}.person-journey-timeline .record-empty p{font-size:13px;line-height:1.6}
@media(max-width:480px){.person-journey-profile h2{font-size:21px}.person-journey-summary{gap:7px}.person-journey-summary>div{padding:12px 9px}.person-journey-summary strong{font-size:22px}.person-journey-summary span{font-size:11px}.person-journey-actions>.btn{width:100%}.person-journey-coverage,.person-journey-identities{padding:12px}.person-journey-event{gap:13px}.person-journey-evidence dl>div,.person-journey-identities dl>div{grid-template-columns:minmax(0,1fr)}.person-journey-evidence dd,.person-journey-identities dd{margin-bottom:5px}}

.person-journey-context{margin-bottom:16px}
.person-journey-summary.person-profile-summary{margin:20px 0 12px;gap:12px}
.person-profile-summary>div{background:var(--panel2,#222b37);padding:16px;border-radius:14px}
.person-profile-summary>div>span{font-size:12px;line-height:1.5;margin:0 0 9px;color:var(--muted,#b0bac8)}
.person-profile-summary>div>strong{font-size:19px;line-height:1.4;overflow-wrap:anywhere;margin:4px 0}
.person-profile-summary>div>small{display:block;font-size:12px;line-height:1.6;color:var(--muted,#b0bac8);margin-top:6px;overflow-wrap:anywhere}
.person-profile-latest,.person-profile-note{font-size:12px;line-height:1.7;color:var(--muted,#b0bac8);overflow-wrap:anywhere}
.person-profile-section{margin:24px 0;padding:18px;border:1px solid var(--border,#343e4b);border-radius:16px;background:var(--panel,#191f28);min-width:0}
.person-profile-section>.person-journey-section-head{margin:0 0 16px}
.person-profile-purchases{display:grid;gap:12px}
.person-profile-purchase,.person-profile-response{padding:16px;background:var(--panel2,#222b37);border:1px solid var(--border,#343e4b);border-radius:12px;min-width:0}
.person-profile-purchase-heading,.person-profile-response-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:10px 18px}
.person-profile-purchase-heading>div{flex:1;min-width:150px}
.person-profile-purchase h4,.person-profile-response h4{font-size:15px;line-height:1.6;margin:0;overflow-wrap:anywhere}
.person-profile-purchase-heading p{font-size:13px;line-height:1.6;margin:4px 0 0;color:var(--muted,#b0bac8);overflow-wrap:anywhere}
.person-profile-purchase-value{font-size:17px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:100%}
.person-profile-purchase-date,.person-profile-response-date{font-size:12px;line-height:1.7;color:var(--muted,#b0bac8);margin:12px 0;overflow-wrap:anywhere}
.person-profile-purchase-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.person-profile-response+.person-profile-response{margin-top:14px}
.person-profile-response-heading>span{font-size:12px;color:var(--muted,#b0bac8)}
.person-profile-answers{margin:16px 0 0}
.person-profile-answers>div{padding:14px 0;border-top:1px solid var(--border,#343e4b)}
.person-profile-answers dt{font-size:13px;font-weight:600;line-height:1.7;overflow-wrap:anywhere}
.person-profile-answers dd{font-size:14px;line-height:1.8;white-space:pre-wrap;margin:8px 0 0;overflow-wrap:anywhere}
.person-profile-answer-list{white-space:normal;padding-left:20px;margin:0}
.person-profile-answer-list>li{white-space:pre-wrap;margin:3px 0}
.person-journey-highlights{display:grid;gap:7px;margin:12px 0;padding:12px 14px;border-radius:10px;background:var(--panel2,#222b37)}
.person-journey-highlights>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px;font-size:13px;line-height:1.6}
.person-journey-highlights dt{color:var(--muted,#b0bac8)}
.person-journey-highlights dd{margin:0;overflow-wrap:anywhere}
.person-journey-technical{display:flex;flex-wrap:wrap;gap:12px 20px;margin:16px 0;font-size:12px;color:var(--muted,#b0bac8)}
.person-journey-technical strong{margin-right:5px;font-variant-numeric:tabular-nums;color:var(--text,#f3f5f7)}
.person-journey-actions .btn,.person-journey-filters .btn,.person-profile-section .btn,.person-journey-footer .btn{min-height:44px;font-size:13px;line-height:1.5}
.person-journey-event-head .pill,.person-journey-event .person-journey-commerce .people-sales-value small{font-size:12px}
.person-journey-response{margin:12px 0;min-width:0}
.person-journey-response>.btn{min-height:44px;font-size:13px;line-height:1.5}
.person-journey-response>.person-profile-section{margin:14px 0;padding:14px}
.person-journey-response>.error-text{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.person-journey-evidence summary,.person-journey-coverage summary,.person-journey-identities summary{min-height:44px;display:list-item;align-content:center;font-size:12px}
@media(max-width:600px){
 .person-journey-summary.person-profile-summary{grid-template-columns:1fr;gap:10px}
 .person-profile-summary>div{padding:14px 16px}
 .person-profile-section{padding:14px 12px;margin:20px 0}
 .person-profile-purchase,.person-profile-response{padding:14px 12px}
 .person-profile-purchase-actions>.btn{width:100%;white-space:normal}
 .person-journey-highlights>div{grid-template-columns:minmax(0,1fr);gap:3px}
 .person-journey-profile .avatar{width:48px;height:48px;flex-basis:48px}
 .person-journey-profile{gap:12px}
}

/* A focused private person workspace. Shared modal defaults remain unchanged. */
:root:has(#modal.person-journey-dialog[open]){overflow:hidden;scrollbar-gutter:auto}
#modal.drawer.person-journey-dialog{width:min(760px,100vw);max-width:100vw;overflow:hidden;box-shadow:var(--ui-shadow);border-radius:var(--ui-radius) 0 0 var(--ui-radius)}
#modal.drawer.person-journey-dialog[open]{display:flex;flex-direction:column}
#modal.drawer.person-journey-dialog .modal-head{flex:none;gap:12px;border-bottom:1px solid var(--border);background:var(--panel);padding:18px 24px}
#modal.drawer.person-journey-dialog .modal-head h2{flex:1;min-width:0;font-size:18px;line-height:1.4;margin:0}
#modal.drawer.person-journey-dialog .modal-body{flex:1;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;padding:24px;background:var(--bg)}
#modal.drawer.person-journey-dialog .modal-head .icon-button{min-width:44px;min-height:44px}
#modal.drawer.person-journey-dialog .person-journey-size{min-height:44px;white-space:nowrap;font-size:12px;padding:9px 13px}
#modal.drawer.person-journey-dialog.person-journey-wide{width:100vw;max-width:100vw;border-radius:0;margin:0;height:100dvh;max-height:100dvh}
.person-journey-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;min-width:0}
.person-journey-overview{min-width:0;padding:22px;border:1px solid var(--border);border-radius:var(--ui-radius);background:linear-gradient(145deg,var(--panel2),var(--panel));box-shadow:0 2px 10px #00000008}
.person-journey-overview .person-journey-profile{margin-bottom:16px;align-items:flex-start}
.person-journey-overview .person-journey-profile .avatar{border-radius:18px;border:1px solid var(--border);font-weight:650}
.person-journey-overview .person-journey-profile h2{font-size:25px;letter-spacing:-.025em;margin:4px 0 8px}
.person-journey-overview .person-journey-profile p{font-size:13px;line-height:1.7}
.person-journey-overview .person-journey-context{margin:0;font-size:12px}
.person-journey-overview .person-profile-summary{margin:18px 0 12px;gap:10px}
.person-journey-overview .person-profile-summary>div{background:var(--bg);padding:14px;border-radius:var(--ui-radius-sm)}
.person-journey-overview .person-profile-summary>div>strong{font-size:18px;font-variant-numeric:tabular-nums}
.person-journey-overview .person-profile-summary>div>small{font-size:11px;line-height:1.6}
.person-journey-overview .person-journey-actions{margin:16px 0 0;gap:8px}
.person-journey-overview .person-journey-actions .btn{font-size:12px;min-height:44px}
.person-journey-overview .person-profile-latest{margin:10px 0;font-size:12px}
.person-journey-main{min-width:0}
.person-journey-tabs{display:flex;gap:6px;padding:5px;background:var(--panel);border:1px solid var(--border);border-radius:var(--ui-radius-sm);min-width:0}
.person-journey-tab{flex:1;min-width:0;min-height:44px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--muted);font-size:13px;font-weight:600;padding:10px 12px;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:8px;line-height:1.4;transition:background var(--ui-motion),color var(--ui-motion)}
.person-journey-tab:hover{background:var(--ui-hover);color:var(--text)}
.person-journey-tab[aria-selected=true]{background:var(--accent);color:var(--bg);border-color:var(--accent);box-shadow:0 2px 8px #00000012}
.person-journey-tab>span{font-size:11px;font-weight:650;border-radius:6px;padding:1px 6px;background:#ffffff0d;white-space:nowrap}
.person-journey-tab[aria-selected=true]>span{background:#10131912}
.person-journey-panel{min-width:0;animation:person-journey-reveal var(--ui-motion) ease-out}
.person-journey-main .person-journey-section-head{margin:22px 0 2px}
.person-journey-main .person-journey-section-head h3{font-size:18px;letter-spacing:-.02em}
.person-journey-availability{color:var(--muted);font-size:12px;line-height:1.7;margin:14px 4px 4px}
.person-journey-main .person-journey-filters{gap:8px;padding:14px 0}
.person-journey-main .person-journey-filters .btn{min-height:44px;border-radius:10px;font-size:12px}
.person-journey-main .person-journey-day{font-size:12px;font-weight:600;letter-spacing:.04em;margin:22px 0 14px}
.person-journey-main .person-journey-event{gap:16px;padding-bottom:16px}
.person-journey-main .person-journey-dot{margin-top:24px}
.person-journey-main .person-journey-event:before{top:30px;bottom:-4px}
.person-journey-main .person-journey-event-body{padding:18px 20px;border:1px solid var(--border);background:var(--panel);border-radius:16px;min-width:0}
.person-journey-main .person-journey-event-head h4{font-size:15px;font-weight:650;letter-spacing:-.01em;line-height:1.6}
.person-journey-main .person-journey-clock{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px;margin:12px 0 0;line-height:1.6;font-variant-numeric:tabular-nums}
.person-journey-source{font-weight:550;color:var(--muted)}
.person-journey-main .person-journey-evidence{background:transparent;border:0;border-top:1px solid var(--border);border-radius:0;padding:3px 0 0;margin-top:12px}
.person-journey-original+.person-journey-original{margin-top:16px;padding-top:16px;border-top:1px solid var(--border)}
.person-journey-original h5{font-size:13px;margin:0 0 10px}
.person-journey-original p,.person-journey-original small{color:var(--muted);line-height:1.7;overflow-wrap:anywhere}
.person-journey-main .person-journey-highlights{background:var(--bg);border:1px solid var(--border);gap:8px;padding:12px 14px}
.person-journey-main .person-profile-section{margin:20px 0;border-radius:var(--ui-radius);padding:20px;background:var(--panel)}
.person-journey-main .person-journey-coverage{margin:24px 0 0;background:var(--panel);border-radius:var(--ui-radius-sm);padding:12px 18px}
.person-journey-main .person-journey-coverage summary{font-weight:550;color:var(--muted)}
.person-journey-main .person-journey-coverage summary>span{display:inline;margin-left:10px;font-size:11px}
.person-journey-main .person-journey-coverage h4{font-size:13px;margin:20px 0 8px}
.person-journey-imports{margin:0 0 18px 28px;border:1px solid var(--border);border-radius:var(--ui-radius-sm);background:var(--panel);padding:10px 16px}
.person-journey-imports>summary{color:var(--muted);font-size:12px;min-height:32px;align-content:center;cursor:pointer}
.person-journey-imports>summary>span{font-weight:550;margin-right:12px}
.person-journey-imports>summary>small{font-size:11px}
.person-journey-imports[open]>.person-journey-event{margin-top:16px}
@keyframes person-journey-reveal{from{opacity:.6}to{opacity:1}}
@media(min-width:980px){
 #modal.drawer.person-journey-wide .person-journey-layout{grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:32px;max-width:1500px;margin:0 auto}
 #modal.drawer.person-journey-wide .person-journey-overview{align-self:start;position:sticky;top:0}
 #modal.drawer.person-journey-wide .person-profile-summary{grid-template-columns:minmax(0,1fr)}
 #modal.drawer.person-journey-wide .person-journey-actions{display:grid;grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px){
 #modal.drawer.person-journey-dialog{width:100%;max-width:100%;border-radius:0}
 #modal.drawer.person-journey-dialog .modal-head{padding:14px 16px;gap:8px}
 #modal.drawer.person-journey-dialog .modal-head h2{font-size:16px}
 #modal.drawer.person-journey-dialog .modal-body{padding:16px}
 #modal.drawer.person-journey-dialog .person-journey-size{font-size:11px;padding:9px 10px}
 .person-journey-overview{padding:16px}
 .person-journey-overview .person-profile-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .person-journey-overview [data-person-profile-value]{grid-column:1/-1}
 .person-journey-overview .person-profile-summary>div{padding:12px 14px}
 .person-journey-overview .person-profile-summary>div>strong{font-size:17px}
 .person-journey-overview .person-journey-actions .btn{flex:1 1 40%}
 .person-journey-overview .person-journey-actions [data-person-journey-action=operational]{flex-basis:100%}
 .person-journey-tab{font-size:12px;padding:10px 7px;gap:5px}
 .person-journey-tab>span{font-size:10px;padding:1px 4px}
 .person-journey-main .person-journey-event{gap:12px}
 .person-journey-main .person-journey-event-body{padding:16px 14px}
 .person-journey-main .person-profile-section{padding:16px 12px}
 .person-journey-main .person-journey-coverage{padding:12px}
 .person-journey-main .person-journey-coverage summary>span{display:block;margin-left:0}
}
@media(prefers-reduced-motion:reduce){.person-journey-tab{transition:none}.person-journey-panel{animation:none}}

/* Contact values and source references share one compact, readable pattern. */
.person-profile-contact{display:grid;gap:8px;margin:4px 0 12px;min-width:0}
.person-profile-contact>div{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--ui-radius-sm);background:var(--bg);min-width:0}
.person-profile-contact>div>div{flex:1;min-width:0}
.person-profile-contact span{font-size:12px;color:var(--muted);line-height:1.6}
.person-profile-contact p{margin:3px 0 0;font-size:13px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap;user-select:text}
.person-profile-contact .btn,.person-profile-reference-group .btn{min-height:44px;min-width:52px;font-size:12px;padding:8px 10px;flex:none}
.person-profile-copy-status{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 12px;overflow-wrap:anywhere}
.person-profile-copy-status:empty{display:none}
.person-profile-reference-group{margin-top:14px;padding:14px;border:1px solid var(--border);border-radius:var(--ui-radius-sm);background:var(--bg);min-width:0}
.person-profile-reference-group h5{margin:0;font-size:14px;line-height:1.6;color:var(--text);overflow-wrap:anywhere}
.person-profile-reference-group dl>div{align-items:center;min-width:0}
.person-profile-reference-group dd{display:flex;align-items:center;gap:12px;min-width:0;font-size:13px;line-height:1.6}
.person-profile-reference-group dd>span{flex:1;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}
.person-profile-reference-group .person-journey-evidence dd{display:block;white-space:pre-wrap}
.person-profile-reference-group dd>small{display:block;margin-top:6px;font-size:12px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}
.person-journey-glance,.person-profile-touches{margin:20px 0;padding:18px;border:1px solid var(--border);border-radius:var(--ui-radius-sm);background:var(--panel);min-width:0}
.person-journey-glance h3,.person-profile-touches h3{font-size:16px;line-height:1.5;margin:0 0 14px;letter-spacing:-.015em}
.person-journey-glance>dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}
.person-journey-glance>dl>div{display:flex;flex-direction:column;justify-content:space-between;gap:8px;padding:12px;background:var(--bg);border-radius:var(--ui-radius-sm);min-width:0}
.person-journey-glance dt{font-size:12px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}
.person-journey-glance dd{font-size:22px;font-weight:650;line-height:1.3;margin:0;font-variant-numeric:tabular-nums}
.person-journey-glance>.person-profile-note,.person-profile-touches>.person-profile-note{margin:12px 0 0}
.person-profile-touch-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.person-profile-touch-comparison>article{padding:14px;border:1px solid var(--border);border-radius:var(--ui-radius-sm);background:var(--bg);min-width:0}
.person-profile-touch-comparison>article:only-child{grid-column:1/-1}
.person-profile-touch-comparison h4{margin:0 0 9px;font-size:13px;line-height:1.6;font-weight:600}
.person-profile-touch-comparison time{font-size:12px;line-height:1.6;color:var(--muted)}
.person-profile-touch-comparison dl{margin:12px 0 0;display:grid;gap:8px}
.person-profile-touch-comparison dl>div{min-width:0}
.person-profile-touch-comparison dt{font-size:12px;color:var(--muted);line-height:1.5}
.person-profile-touch-comparison dd{font-size:13px;line-height:1.6;margin:3px 0 0;overflow-wrap:anywhere}
.person-journey-overview .person-profile-summary>div>small,.person-journey-tab>span,.person-journey-main .person-journey-coverage summary>span,.person-journey-imports>summary>small{font-size:12px}
.person-journey-imports>summary{min-height:44px}
.person-journey-orders{margin:22px 0 8px;padding:14px 16px;border:1px solid var(--border);border-radius:var(--ui-radius-sm);background:var(--panel);min-width:0}
.person-journey-orders>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer;font-size:14px;font-weight:600;list-style:none}
.person-journey-orders>summary::before{content:'▸';color:var(--muted)}
.person-journey-orders[open]>summary::before{content:'▾'}
.person-journey-orders>summary>span{flex:1;min-width:0}
.person-journey-orders>summary>small{font-size:12px;color:var(--muted);font-weight:400;text-align:right}
.person-journey-orders>.person-profile-note{margin:10px 0 16px}
.person-journey-orders .person-journey-event{margin-left:0}
.person-journey-orders .person-journey-dot{display:none}
.person-journey-orders .person-journey-event::before{display:none}
.person-journey-orders .person-journey-event:last-child{margin-bottom:0}
.person-journey-navigation{display:flex;align-items:center;gap:8px;order:2;margin-left:auto;flex:none}
.person-journey-navigation .btn{min-width:44px;min-height:44px;padding:8px;font-size:18px}
.person-journey-navigation>span{min-width:72px;text-align:center;font-size:13px;line-height:1.5;font-variant-numeric:tabular-nums;color:var(--text)}
.person-journey-navigation small{display:block;font-size:12px;color:var(--muted)}
#modal.drawer.person-journey-dialog .modal-head .person-journey-size{order:3}
#modal.drawer.person-journey-dialog .modal-head .icon-button{order:4}
.people-data-mode{display:grid;gap:12px;margin-bottom:20px;min-width:0}
.people-data-mode>div{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.people-data-mode .btn{min-height:44px;white-space:normal}
.people-data-mode>.report-note{margin:0}
@media(max-width:600px){
 .person-journey-glance,.person-profile-touches{padding:14px 12px}
 .person-journey-glance>dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .person-profile-touch-comparison{grid-template-columns:minmax(0,1fr)}
 .person-profile-reference-group{padding:12px}
 #modal.drawer.person-journey-dialog .person-journey-size,.person-journey-tab>span{font-size:12px}
 #modal.drawer.person-journey-dialog .modal-head{flex-wrap:wrap}
 #modal.drawer.person-journey-dialog .modal-head h2{flex-basis:calc(100% - 56px);order:0}
 #modal.drawer.person-journey-dialog .modal-head .icon-button{order:1}
 .person-journey-navigation{order:2;margin-left:0;margin-right:auto}
}

.person-recording-references{margin:0 0 24px;padding:24px;border:1px solid var(--border,#334155);border-radius:20px;background:linear-gradient(135deg,rgba(124,156,205,.07),transparent);display:grid;gap:16px}.person-recording-heading{display:flex;gap:16px;align-items:center;justify-content:space-between}.person-recording-heading h3{margin:5px 0}.person-recording-heading p,.recording-reference-card p{color:var(--muted,#aab6c5);font-size:.85rem;margin:6px 0}.recording-reference-card{padding:18px;border-radius:16px;border:1px solid var(--border,#334155);background:var(--panel,#17202b);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center}.recording-reference-card h4{margin:12px 0 4px}.recording-reference-card details{grid-column:1/-1;font-size:.8rem;min-width:0}.recording-reference-card dl{display:grid;gap:10px;margin:14px 0}.recording-reference-card dt{color:var(--muted,#aab6c5)}.recording-reference-card dd{margin:3px 0;overflow-wrap:anywhere}.recording-reference-choice{display:grid;gap:8px;font-size:.85rem}.recording-reference-choice select{width:100%;min-width:0}.person-recording-references>.person-profile-note{margin:0}@media(max-width:600px){.person-recording-references{padding:16px}.person-recording-heading{align-items:flex-start;flex-direction:column}.recording-reference-card{grid-template-columns:1fr}.recording-reference-card .btn{justify-self:start}}

/* One supplemental marketing source per purchase; original commerce is intact. */
.sale-source-slot{min-width:0;margin-top:12px}
.sale-source{display:grid;justify-items:start;gap:6px;min-width:0;font-size:12px;line-height:1.55}
.sale-source-chip{display:inline-flex;padding:4px 9px;border:1px solid var(--border);border-radius:999px;color:var(--muted);font-weight:600;max-width:100%;overflow-wrap:anywhere;white-space:normal}
.sale-source-chip.is-captured{color:var(--accent,#b6e2cf);background:rgba(152,212,184,.08);border-color:rgba(152,212,184,.24)}
.sale-source-campaign,.sale-source-medium,.sale-source-audience,.sale-source-ad,.sale-source-creative,.sale-source-note,.sale-source-entry{max-width:100%;min-width:0;overflow-wrap:anywhere;white-space:normal}
.sale-source-campaign{color:var(--text);font-weight:550}.sale-source-medium,.sale-source-audience,.sale-source-ad,.sale-source-creative,.sale-source-note{color:var(--muted)}
.sale-source-entry a{color:var(--accent,#b6e2cf);text-underline-offset:3px}
.sale-source-details{width:100%;min-width:0;margin-top:3px}.sale-source-details>summary{cursor:pointer;min-height:32px;display:flex;align-items:center;color:var(--muted);font-size:12px}
.sale-source-details>summary::before{content:'▸';margin-right:6px}.sale-source-details[open]>summary::before{content:'▾'}
.sale-source-touch{margin:8px 0;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--bg);min-width:0}
.sale-source-touch h5{font-size:12px;line-height:1.5;margin:0 0 9px}.sale-source-touch dl{display:grid;gap:8px;margin:0}.sale-source-touch dl>div{min-width:0}.sale-source-touch dt{font-size:11px;color:var(--muted)}.sale-source-touch dd{font-size:12px;margin:2px 0 0;overflow-wrap:anywhere;white-space:normal}.sale-source-details>p{color:var(--muted);font-size:11px;line-height:1.6;margin:8px 0}
.people-sales-grid .sale-source-slot{max-width:320px}.person-journey-commerce+.sale-source-slot{margin:12px 0}
@media(max-width:600px){.sale-source-details>summary{min-height:44px}.sale-source-touch{padding:10px}.people-sales-grid .sale-source-slot{max-width:100%}}
