/* TASK16604: bounded composition of reviewed staff cohort anatomy. */
.staff-analytics-cohorts{min-width:0;max-width:100%;padding-top:0}
.staff-analytics-cohorts [hidden]{display:none!important}
.staff-analytics-cohorts h2{font-size:22px;font-weight:700;margin:0 0 12px}
.staff-analytics-cohorts h3{font-size:16px;font-weight:500;margin:20px 0 12px}
.staff-analytics-cohorts .cohort-meta,.staff-analytics-cohorts .cohort-state{font-size:12px;line-height:1.6;color:var(--sl-muted);margin:10px 0 16px;white-space:normal}
.staff-analytics-cohorts .cohort-toolbar{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:16px}
.staff-analytics-cohorts .sl-cohort-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
.staff-analytics-cohorts .sl-cohort-stages{grid-template-columns:repeat(5,minmax(0,1fr));min-width:0}
.staff-analytics-cohorts .sl-button,.staff-analytics-cohorts .sl-analytics-mode button,.staff-analytics-cohorts .sl-chart-view button,.staff-analytics-cohorts summary{min-height:44px}
.staff-ui .staff-analytics-cohorts :is([data-cohort-view],[data-cohort-chart-view]){min-height:44px;height:auto}
.staff-analytics-cohorts .sl-button--icon{min-width:44px;width:44px}
.staff-analytics-cohorts .sl-chart-step{min-width:44px;min-height:44px}
.staff-analytics-cohorts .sl-trend-actions .sl-text-link{min-width:44px;min-height:44px}
.staff-analytics-cohorts .sl-chart-day{padding:0}
.staff-analytics-cohorts .staff-data-scroll{margin:16px 0}
.staff-analytics-cohorts .staff-table th{white-space:normal}
.staff-analytics-cohorts .staff-table :is(th,td) button{font:inherit;min-height:44px;min-width:44px;text-align:left}
.staff-analytics-cohorts .staff-table td:not(:last-child){text-align:right;font-variant-numeric:tabular-nums}
.staff-analytics-cohorts .staff-table td small{display:block;font-size:11px;color:var(--sl-muted);font-weight:400;white-space:normal}
.staff-analytics-cohorts .staff-table td:last-child button{color:var(--sl-red)}
.staff-analytics-cohorts .cohort-inspector{width:min(960px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;border:1px solid var(--sl-border);border-radius:8px;padding:24px;background:#fff;color:var(--sl-ink);overflow:auto}
.staff-analytics-cohorts .cohort-inspector::backdrop{background:#30303370}
.staff-analytics-cohorts .cohort-inspector header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.staff-analytics-cohorts .cohort-inspector h2{overflow-wrap:anywhere;min-width:0}
.staff-analytics-cohorts .cohort-inspector dl{display:grid;gap:12px;margin:20px 0;font-size:13px}
.staff-analytics-cohorts .cohort-inspector dl>div{display:flex;justify-content:space-between;gap:20px}
.staff-analytics-cohorts .cohort-inspector dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}
.staff-analytics-cohorts .sl-calendar-grid button{height:44px}
.staff-analytics-cohorts .sl-select-trigger{min-height:44px}
@media(max-width:699px),(pointer:coarse){.staff-analytics-cohorts .cohort-chart-dense .sl-chart-days{pointer-events:none}}
@media(max-width:699px){.staff-analytics-cohorts .cohort-toolbar{display:block}.staff-analytics-cohorts .sl-analytics-mode{display:flex}.staff-analytics-cohorts .sl-date-range{width:100%}.staff-analytics-cohorts .sl-cohort-stages{grid-template-columns:minmax(0,1fr)}.staff-analytics-cohorts .sl-cohort-summary{grid-template-columns:minmax(0,1fr)}.staff-analytics-cohorts .cohort-inspector{width:100vw;height:100dvh;max-width:none;max-height:100dvh;border:0;border-radius:0;margin:0;padding:20px 16px}.staff-analytics-cohorts .cohort-inspector::backdrop{background:#fff}.staff-analytics-cohorts .cohort-inspector dl>div{flex-direction:column;gap:4px}.staff-analytics-cohorts .cohort-inspector dd{text-align:left}}
@media(prefers-reduced-motion:reduce){.staff-analytics-cohorts *{transition:none;scroll-behavior:auto}}
