/* Compact cohort-profile views, scoped independently of the general data tables. */
.ca-profiles-card,.ca-readouts-card{height:440px;display:flex;flex-direction:column;min-width:0;overflow:visible}
.ca-profiles-card .ca-heading,.ca-readouts-card .ca-heading{flex:none}
.ca-profile-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:6px 0 8px;flex:none}
.ca-profile-controls .ca-segment button{font-size:11px;padding:5px 8px}
.ca-profile-search{position:relative;flex:1 1 170px;min-width:140px}
.ca-profile-search input{height:30px;font-size:11px}
.ca-profile-search .ca-search-results{z-index:50;max-height:230px;overflow:auto}
.ca-profile-legend{display:flex;align-items:center;gap:5px;font-size:10px;color:#7c8790;margin:3px 0 9px;flex:none;white-space:nowrap}
.ca-profile-gradient{width:70px;height:7px;border-radius:2px;background:linear-gradient(90deg,#658caf,#fff,#d4705c)}
.ca-profile-legend>span:last-child{margin-left:3px}
.ca-profile-table-scroll{min-height:160px;flex:1;overflow:auto;position:relative;isolation:isolate;border-top:1px solid #e6eaed;border-bottom:1px solid #e6eaed;scrollbar-width:thin;scrollbar-color:#c5cccf transparent}
.ca-profile-table{border-collapse:separate!important;border-spacing:0!important;table-layout:fixed;font-size:10px;line-height:1.15}
.ca-profile-table th,.ca-profile-table td{box-sizing:border-box;border:0!important;padding:0;height:27px;font-weight:400;text-align:center}
.ca-profile-table thead th{position:sticky;top:0;z-index:6;height:58px;background:#fff!important;box-shadow:0 1px #e1e6e9;color:#7c8790;vertical-align:bottom;padding-bottom:5px;font-size:10px}
.ca-profile-table thead .ca-profile-name{z-index:9;vertical-align:bottom}
.ca-profile-table .ca-profile-name{position:sticky;left:0;z-index:2;text-align:left;background:#fff;color:#34404a;padding:0 6px;font-weight:500;box-shadow:1px 0 #e6eaed}
.ca-profile-table tbody tr:nth-child(even) .ca-profile-name,.ca-profile-table tbody tr:nth-child(even) .ca-profile-number{background:#f5f7f8}
.ca-profile-table tbody tr[data-reference="true"]>*{position:sticky;top:58px;z-index:4;box-shadow:0 1px #aebbc0,0 -1px #d1dadd}
.ca-profile-table tbody tr[data-reference="true"] .ca-profile-name{z-index:8;background:#edf1f3;font-weight:700;box-shadow:inset 3px 0 #8d9da7,1px 0 #d1dadd,0 1px #aebbc0}
.ca-profile-table tbody tr[data-reference="true"] .ca-profile-number{background:#edf1f3}
.ca-profile-table button{border:0;border-radius:0;background:none;color:inherit;cursor:pointer;padding:0;font:inherit}
.ca-profile-table .ca-profile-name>button:first-child{display:block;max-width:calc(100% - 23px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;height:27px;line-height:27px;font-weight:inherit}
.ca-profile-badge,.ca-profile-table .ca-profile-remove{position:absolute;right:5px;top:7px;font-size:8px;color:#687d8b}
.ca-profile-table .ca-profile-remove{top:3px;font-size:16px;width:20px;height:20px;line-height:20px;border-radius:50%}
.ca-profile-table .ca-profile-remove:hover{background:#e7ecef}
.ca-profile-table .ca-profile-column>button{writing-mode:vertical-rl;transform:rotate(180deg);font-size:9px;white-space:nowrap;max-height:52px;overflow:hidden}
.ca-profile-table td[data-cohort]{box-shadow:inset -1px 0 #fff,inset 0 -1px #fff}
.ca-profile-table td[data-current-cohort="true"]{outline:1px solid #9f905a;outline-offset:-2px}
.ca-profile-table td[data-cohort]>button{display:block;width:100%;height:27px}
.ca-profile-table .ca-profile-missing{background-image:repeating-linear-gradient(135deg,transparent,transparent 3px,#e4e9ec 3px,#e4e9ec 4px)}
.ca-profile-table .ca-profile-number{font-variant-numeric:tabular-nums;font-size:10px;color:#6c7881;background:#fff}
.ca-profile-table .ca-profile-r,.ca-profile-table .ca-profile-n{position:sticky;z-index:3}
.ca-profile-table .ca-profile-r{right:20px;box-shadow:-1px 0 #e1e6e9}
.ca-profile-table .ca-profile-n{right:0}
.ca-profile-table thead .ca-profile-r,.ca-profile-table thead .ca-profile-n{z-index:9}
.ca-profile-table tbody tr[data-reference="true"] .ca-profile-r,.ca-profile-table tbody tr[data-reference="true"] .ca-profile-n{z-index:8}
.ca-profile-table button:focus-visible{outline:2px solid #897c49;outline-offset:-2px}
.ca-profiles-card>.ca-note,.ca-readouts-card>.ca-note{flex:none;font-size:10px;line-height:1.4;margin:8px 0 0}
.ca-readout-dot-scroll{flex:1;min-height:180px;overflow:auto;position:relative;isolation:isolate;scrollbar-width:thin;scrollbar-color:#c5cccf transparent;border-top:1px solid #e6eaed}
.ca-readout-dot-content{min-width:300px;position:relative}
.ca-readout-sticky-header{position:sticky;top:0;z-index:2;background:#fff;height:0;box-sizing:content-box;box-shadow:0 1px #e6eaed}
.ca-readout-sticky-header span{position:absolute;transform:translateX(-50%);white-space:nowrap;line-height:1;color:#7c8790}
.ca-readout-header-name{top:8%;color:#34404a!important}
.ca-readout-header-kind{top:31%;font-size:9px}
.ca-readout-header-tick{top:66%;font-size:8.5px}
.ca-readout-dot-scroll svg{min-width:300px}
@media(max-width:760px){.ca-profiles-card,.ca-readouts-card{height:440px}.ca-profile-controls{gap:6px}.ca-profile-search{flex-basis:100%}}
