.lead-profile{--profile-gap:8px;font-size:13px;line-height:1.45}.lead-profile h1{font-size:24px;line-height:1.2;margin:0 0 7px}.profile-meta,.profile-tags,.profile-contact-strip{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.profile-meta{font-size:12px;color:var(--muted);justify-content:space-between}.profile-tags{margin:8px 0}.lead-profile .record-detail-tabs{display:flex;gap:0;margin:10px 0 8px;border-bottom:1px solid var(--border);overflow-x:auto}.lead-profile .record-detail-tabs button{flex:1;white-space:nowrap;min-height:38px;padding:7px 10px;border:0;border-bottom:3px solid transparent;background:transparent;font-size:12px;font-weight:600;transition:background 150ms,color 150ms}.lead-profile .record-detail-tabs button[aria-selected=true]{background:var(--selected,#fff0eb);border-bottom-color:var(--action);color:var(--action)}.lead-profile .record-detail-tabs button:hover{background:var(--selected,#fff0eb)}.lead-profile [data-record-panel]{padding:0!important}.profile-contact-strip{margin:8px 0 10px;font-size:12px;color:var(--muted)}.profile-contact{padding:4px 8px;border:1px solid var(--border);border-radius:5px;text-decoration:none;min-height:30px;display:inline-flex;align-items:center}.profile-contact:hover{background:var(--selected)}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--profile-gap)}.lead-profile .profile-section{border:1px solid var(--border,#e5dcda);border-radius:7px;background:var(--surface,#fff);padding:10px 12px!important;margin:0 0 8px;min-width:0}.profile-grid>.profile-section{margin:0}.profile-grid{margin-bottom:8px}.lead-profile h3{font-size:13px;margin:0 0 6px;line-height:1.4}.lead-profile p{margin:3px 0 7px;white-space:pre-wrap;overflow-wrap:anywhere}.lead-profile .profile-section--info{background:#f2f7fc;border-color:#d8e6f3}.lead-profile .profile-section--accent{background:var(--selected,#fff4ef)}.lead-profile .profile-section--warning{background:#fff4df}.profile-fields{display:grid;grid-template-columns:85px 1fr;gap:6px 8px;margin:4px 0}.profile-fields dt{color:var(--muted)}.profile-fields dd{margin:0;overflow-wrap:anywhere}.profile-checks{padding-left:18px;margin:0}.profile-checks li{margin:3px 0}.profile-note{color:var(--muted)}.profile-evidence{display:grid;gap:8px}.profile-evidence article{border:1px solid var(--border);border-radius:7px;padding:10px 12px}.profile-evidence header{display:flex;gap:7px;align-items:center}.profile-evidence small{color:var(--muted);font-size:11px}.source-number{background:#edf5ff;color:#245a91;border-radius:4px;padding:1px 5px;font-size:11px}.profile-section-heading{display:flex;align-items:center;justify-content:space-between;margin:10px 0}.profile-section-heading h3{margin:0}.profile-help{position:relative}.profile-help summary{list-style:none;border:1px solid var(--border);border-radius:50%;width:26px;height:26px;display:grid;place-content:center;cursor:pointer}.profile-help p{position:absolute;right:0;top:25px;width:280px;z-index:3;background:white;border:1px solid var(--border);padding:12px;box-shadow:0 4px 15px #0002;border-radius:7px}.needs-list{border:1px solid var(--border);border-radius:7px;overflow:hidden}.need-row{display:grid;grid-template-columns:minmax(125px,30%) 1fr;gap:12px;padding:10px 12px;border-bottom:1px solid var(--border)}.need-row:last-child{border:0}.need-row:nth-child(odd){background:#f7f9fb}.need-row small{display:block;color:var(--muted);font-size:11px;margin:3px 0}.need-row summary{color:var(--action);font-size:12px;cursor:pointer}.need-question{font-size:12px;color:var(--muted);margin-top:7px!important}.lead-profile .record-media{margin:10px 0;max-height:260px;overflow:auto}.lead-profile .record-media-image{height:180px;min-height:0}.lead-profile .record-media img{max-height:180px}.profile-empty{padding:14px;color:var(--muted)}
@media(max-width:560px){.profile-grid{grid-template-columns:1fr}.lead-profile h1{font-size:21px}.lead-profile .record-detail-tabs button{min-height:44px;padding:7px}.profile-contact{min-height:44px}.need-row{grid-template-columns:1fr;gap:4px}.profile-help summary{width:44px;height:44px}.profile-meta time{font-size:11px}}

.drawer .entity-form-actions [data-delisting-action]{min-height:36px;padding:7px 10px;border:1px solid var(--border);border-radius:6px;background:white;color:var(--action);font:inherit;font-size:12px;cursor:pointer;transition:background 150ms}.drawer .entity-form-actions [data-delisting-action]:hover{background:var(--selected)}

.lead-details-footer{position:sticky;bottom:0;background:#fff;border-top:1px solid #e5dcda;padding:12px 0;z-index:2}.lead-details-footer>button,.lead-summary-actions>[data-lead-details]{min-height:44px;min-width:140px;flex:1}.lead-summary-actions{flex-wrap:wrap}.lead-profile [data-record-panel][hidden]{display:none!important}
.lead-workspace.entity-panel{inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}.lead-workspace>.entity-panel-body{flex:1;min-height:0;padding:0!important;overflow:hidden}.lead-workspace>.entity-panel-head{padding:10px 20px}.lead-workspace-layout{display:grid;grid-template-columns:192px minmax(0,1fr);height:100%;min-height:0}.lead-workspace-rail{background:#fff0eb;border-right:1px solid #ecd6ce;padding:16px 12px;display:flex;flex-direction:column;gap:8px}.lead-workspace-rail>button{justify-content:flex-start;text-align:left;padding:12px 16px;min-height:48px;font-size:15px;font-weight:700;background:transparent;border-color:transparent;color:#81311e}.lead-workspace-rail>button[aria-selected=true]{background:#c43214;color:white;border-color:#c43214}.lead-workspace-content{overflow:auto;min-width:0;overscroll-behavior:contain}.lead-workspace-content>[data-main-panel]{padding:24px;max-width:1280px;margin:auto}.lead-workspace-content [hidden]{display:none!important}.lead-action-tabs{display:flex;gap:4px;overflow-x:auto;white-space:nowrap;border-bottom:1px solid #e5dcda;padding:0 0 10px;margin-bottom:18px;scrollbar-width:thin}.lead-action-tabs>button{flex-shrink:0;min-height:44px;border-color:transparent;color:#696366}.lead-action-tabs>button[aria-selected=true]{color:#c43214;background:#fff0eb;border-color:#efd4c9}.lead-workspace h2{font-size:23px;margin:0 0 16px}.workspace-evidence,.round-outreach{border-top:1px solid #e5dcda;margin-top:24px;padding-top:16px}.workspace-evidence>summary,.round-outreach>summary{cursor:pointer;font-weight:600;min-height:44px;display:list-item;align-content:center}.workspace-linked-records{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.workspace-linked-records article,.workspace-message{padding:18px;border:1px solid #e5dcda;border-radius:10px}.workspace-message p{white-space:pre-wrap}.workspace-empty{padding:40px 16px;color:#696366;border:1px dashed #e5dcda;border-radius:8px}.workspace-empty h3{font-size:15px;font-weight:500}.lead-workspace .venue-report-brand{display:none}.lead-workspace .venue-report-legend{flex-wrap:wrap}.approach-current{padding-top:12px}.approach-current>strong{display:block;font-size:17px}.approach-current>.meta{display:block;margin:4px 0 10px}.approach-current>p{max-width:1000px}.lead-workspace .round-heading{gap:10px;flex-wrap:wrap}.lead-workspace .round-heading>div:first-child{margin-right:auto}.round-archive:not([open]){margin-top:24px}.lead-workspace .round-archive article{content-visibility:auto}
@media(max-width:700px){.lead-workspace-layout{display:flex;flex-direction:column}.lead-workspace-rail{flex-direction:row;padding:8px;gap:4px;border-right:0;border-bottom:1px solid #ecd6ce}.lead-workspace-rail>button{flex:1;min-width:0;justify-content:center;font-size:13px;padding:10px 6px}.lead-workspace-content{flex:1;min-height:0}.lead-workspace-content>[data-main-panel]{padding:14px}.lead-workspace>.entity-panel-head{padding:8px 12px}.lead-workspace>.entity-panel-head strong{font-size:15px}.lead-action-tabs{margin-bottom:12px}.lead-workspace .round-heading .round-export-actions{display:flex;gap:6px}.lead-workspace .round-heading>.primary{min-height:44px}.lead-summary-actions>[data-lead-details]{flex-basis:100%}.approach-current>strong{font-size:15px}}

/* Keep the main workspace rail distinct from shared secondary tabs. */
.lead-workspace .lead-workspace-rail>button[aria-selected="true"]{background:#c43214!important;color:#fff!important;border-color:#c43214!important}
