/* Each research study has its own visual grammar; the page owns its layout. */
.rhythm-page .rs-study{position:relative;box-sizing:border-box;width:100%;min-width:0;min-height:246px;padding:21px 25px;color:#111;font-family:'Work Sans',sans-serif}
.rhythm-page .rs-study *{box-sizing:border-box}
.rhythm-page .rs-study .rs-kicker{display:block;margin:0;font:400 11px/1.5 'IBM Plex Mono',monospace;letter-spacing:.07em;text-transform:uppercase;color:#666}
.rhythm-page .rs-study .rs-note{margin:0;color:#666;font:400 11px/1.5 'IBM Plex Mono',monospace}
.rhythm-page .rs-study svg{display:block;width:100%;overflow:visible}
.rhythm-page .rs-study svg path,.rhythm-page .rs-study svg line,.rhythm-page .rs-study svg circle{vector-effect:non-scaling-stroke}

/* 01 / A time series, rather than another set of activity bars. */
.rhythm-page .rs-baseline{padding-top:17px;background:transparent}
.rhythm-page .rs-baseline .rs-chart-caption{display:flex;justify-content:space-between;gap:20px;margin-top:14px;color:#333;font-size:13px;line-height:1.4}
.rhythm-page .rs-baseline .rs-chart-caption span:last-child{font:10px/1.5 'IBM Plex Mono',monospace;color:#777}
.rhythm-page .rs-baseline .rs-trend{height:118px;margin-top:9px}
.rhythm-page .rs-baseline .rs-chart-grid{stroke:#11111114;stroke-width:1;fill:none}
.rhythm-page .rs-baseline .rs-chart-area{fill:#a9202306;stroke:none}
.rhythm-page .rs-baseline .rs-chart-line{stroke:#a92023;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.rhythm-page .rs-baseline .rs-chart-point{fill:#fafafa;stroke:#a92023;stroke-width:1.5}
.rhythm-page .rs-baseline .rs-chart-weeks{display:flex;justify-content:space-between;margin:1px 0 16px;color:#777;font:10px/1.4 'IBM Plex Mono',monospace}

/* 02 / One task, its observed hesitation, and the step not reached. */
.rhythm-page .rs-friction .rs-task-route{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0;margin:26px 0 22px}
.rhythm-page .rs-friction .rs-task-stop{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;padding-inline:6px}
.rhythm-page .rs-friction .rs-task-stop:not(:last-child)::after{content:'';position:absolute;top:15px;left:calc(50% + 21px);width:calc(100% - 42px);border-top:1px solid #bababa}
.rhythm-page .rs-friction .rs-task-stop.is-friction::after{border-top-style:dashed;border-color:#ccc}
.rhythm-page .rs-friction .rs-task-stop i{display:grid;place-items:center;flex:none;width:32px;height:32px;aspect-ratio:1;border:1px solid #a6a6a6;border-radius:50%;font:11px 'IBM Plex Mono',monospace;font-style:normal}
.rhythm-page .rs-friction .rs-task-stop strong{margin-top:13px;font-size:13px;font-weight:400;line-height:1.4}
.rhythm-page .rs-friction .rs-task-stop small{margin-top:5px;color:#666;font:10px/1.4 'IBM Plex Mono',monospace}
.rhythm-page .rs-friction .rs-task-stop.is-friction i{border-color:#a92023;background:#a92023;color:#fff}
.rhythm-page .rs-friction .rs-task-stop.is-friction small{color:#a92023}
.rhythm-page .rs-friction .rs-task-stop.is-unreached{color:#777}
.rhythm-page .rs-friction .rs-task-stop.is-unreached i{border-color:#ccc;border-style:dashed}
.rhythm-page .rs-friction .rs-friction-finding{display:grid;grid-template-columns:63px 1fr;gap:14px;padding-top:13px;border-top:1px solid #dedede;align-items:start}
.rhythm-page .rs-friction .rs-friction-finding>span{color:#a92023;font:10px/1.6 'IBM Plex Mono',monospace;text-transform:uppercase}
.rhythm-page .rs-friction .rs-friction-finding p{margin:0;max-width:32ch;font-size:14px;line-height:1.45}

/* 03 / A compact research profile, grounded in role and context. */
.rhythm-page .rs-profile{background:transparent;padding:20px 25px}
.rhythm-page .rs-profile .rs-profile-person{display:flex;align-items:center;gap:17px;margin:17px 0 18px}
.rhythm-page .rs-profile .rs-role-mark{display:grid;place-items:center;flex:none;width:48px;height:48px;border:1px solid #d0d0d0;border-radius:50%;background:#fafafa;font:300 22px/1 'Work Sans',sans-serif;letter-spacing:-.04em}
.rhythm-page .rs-profile .rs-profile-person strong{display:block;font-size:23px;font-weight:300;line-height:1.2;letter-spacing:-.02em}
.rhythm-page .rs-profile .rs-profile-person small{display:block;margin-top:5px;color:#666;font-size:11px;line-height:1.4}
.rhythm-page .rs-profile dl{display:grid;grid-template-columns:67px 1fr;gap:10px 13px;margin:0}
.rhythm-page .rs-profile dt{color:#777;font:10px/1.5 'IBM Plex Mono',monospace;text-transform:uppercase}
.rhythm-page .rs-profile dd{margin:0;font-size:13px;line-height:1.4}
.rhythm-page .rs-profile .rs-note{margin-top:18px;padding-top:12px;border-top:1px solid #d8d8d8}

/* 04 / A verbatim moment becomes a useful research theme. */
.rhythm-page .rs-interview{padding:21px 29px}
.rhythm-page .rs-interview blockquote{margin:23px 0 24px;font:300 clamp(22px,2.05vw,29px)/1.27 'Work Sans',sans-serif;letter-spacing:-.025em;max-width:30ch}
.rhythm-page .rs-interview mark{padding:0;background:transparent;color:inherit;text-decoration:underline;text-decoration-color:#a92023;text-decoration-thickness:1px;text-underline-offset:5px}
.rhythm-page .rs-interview .rs-interview-codes{display:flex;flex-wrap:wrap;gap:10px 24px}
.rhythm-page .rs-interview .rs-interview-codes span{display:grid;gap:5px;font-size:12px;line-height:1.4;color:#555}
.rhythm-page .rs-interview .rs-interview-codes small{font:10px/1.4 'IBM Plex Mono',monospace;letter-spacing:.06em;color:#777}

/* 05 / Three independent sources converge on one supported finding. */
.rhythm-page .rs-synthesis{background:transparent;color:#111;padding:20px 24px}
.rhythm-page .rs-synthesis .rs-kicker{color:#666}
.rhythm-page .rs-synthesis .rs-evidence-join{display:grid;grid-template-columns:1fr 58px 1.18fr;align-items:center;min-height:165px;gap:0;margin-top:9px}
.rhythm-page .rs-synthesis .rs-evidence-sources{display:grid;gap:13px}
.rhythm-page .rs-synthesis .rs-evidence-sources span{display:grid;gap:4px;font-size:12px;line-height:1.35;color:#333}
.rhythm-page .rs-synthesis .rs-evidence-sources small{font:10px/1.4 'IBM Plex Mono',monospace;letter-spacing:.05em;color:#666}
.rhythm-page .rs-synthesis .rs-evidence-join svg{height:145px}
.rhythm-page .rs-synthesis .rs-evidence-join path{fill:none;stroke:#a92023;stroke-width:1.25}
.rhythm-page .rs-synthesis .rs-evidence-join circle{fill:#a92023;stroke:none}
.rhythm-page .rs-synthesis .rs-insight{padding-left:16px}
.rhythm-page .rs-synthesis .rs-insight small{display:block;font:10px/1.5 'IBM Plex Mono',monospace;letter-spacing:.06em;color:#aaa6a0}
.rhythm-page .rs-synthesis .rs-insight strong{display:block;margin-top:10px;max-width:18ch;font:300 24px/1.2 'Work Sans',sans-serif;letter-spacing:-.025em;color:#111}
.rhythm-page .rs-synthesis .rs-note{color:#666}

/* 06 / A red event trace gives the behaviour system a concrete form. */
.rhythm-page .rs-instrumentation{padding-top:18px}
.rhythm-page .rs-instrumentation .rs-event-trace{height:109px;margin:15px 0 0}
.rhythm-page .rs-instrumentation .rs-event-grid{fill:none;stroke:#11111116;stroke-width:1}
.rhythm-page .rs-instrumentation .rs-event-signal{fill:none;stroke:#a92023;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.rhythm-page .rs-instrumentation .rs-event-leader{stroke:#a9202366;stroke-width:1;stroke-dasharray:3 4}
.rhythm-page .rs-instrumentation .rs-event-trace circle{fill:#fafafa;stroke:#a92023;stroke-width:1.5}
.rhythm-page .rs-instrumentation .rs-event-names{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:3px;color:#555;font:10px/1.5 'IBM Plex Mono',monospace;text-align:center}
.rhythm-page .rs-instrumentation .rs-event-names span:first-child{text-align:left}
.rhythm-page .rs-instrumentation .rs-event-names span:last-child{text-align:right}
.rhythm-page .rs-instrumentation .rs-event-rule{display:grid;grid-template-columns:74px 1fr;gap:14px;margin-top:21px;padding-top:13px;border-top:1px solid #dedede}
.rhythm-page .rs-instrumentation .rs-event-rule>span{font:10px/1.6 'IBM Plex Mono',monospace;text-transform:uppercase;color:#777}
.rhythm-page .rs-instrumentation .rs-event-rule p{margin:0;font-size:13px;line-height:1.5;color:#555}

/* 07 / A prioritised working document closes the measurement loop. */
.rhythm-page .rs-recommendations{border:0;background:transparent;padding:19px 24px}
.rhythm-page .rs-recommendations .rs-action-header{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:8px}
.rhythm-page .rs-recommendations .rs-action-plan{list-style:none;padding:0;margin:0}
.rhythm-page .rs-recommendations .rs-action-plan li{display:grid;grid-template-columns:43px 1fr;align-items:start;gap:12px;padding:7px 0;border-bottom:1px solid #eaeaea}
.rhythm-page .rs-recommendations .rs-action-plan li>span{padding-top:2px;color:#a92023;font:10px/1.5 'IBM Plex Mono',monospace}
.rhythm-page .rs-recommendations .rs-action-plan strong{display:block;font-size:14px;font-weight:400;line-height:1.3}
.rhythm-page .rs-recommendations .rs-action-plan small{display:block;margin-top:4px;color:#777;font-size:11px;line-height:1.4}
.rhythm-page .rs-recommendations .rs-close-loop{display:flex;justify-content:space-between;gap:16px;margin-top:14px;color:#555;font:10px/1.5 'IBM Plex Mono',monospace}
.rhythm-page .rs-recommendations .rs-close-loop span:first-child{color:#a92023}
@media(max-width:760px){
 .rhythm-page .rs-study{padding:19px 20px;min-height:246px}
 .rhythm-page .rs-study .rs-kicker{font-size:11px}
 .rhythm-page .rs-baseline .rs-trend{height:125px}
 .rhythm-page .rs-profile .rs-profile-person strong{font-size:23px}
 .rhythm-page .rs-interview blockquote{font-size:25px}
 .rhythm-page .rs-synthesis .rs-evidence-join{grid-template-columns:1fr 37px 1.16fr;min-height:175px}
 .rhythm-page .rs-synthesis .rs-insight{padding-left:10px}
 .rhythm-page .rs-synthesis .rs-insight strong{font-size:22px}
 .rhythm-page .rs-synthesis .rs-evidence-sources span{font-size:11px}
 .rhythm-page .rs-instrumentation .rs-event-rule{grid-template-columns:66px 1fr;gap:11px}
}
@media(max-width:380px){
 .rhythm-page .rs-study{padding:17px 16px}
 .rhythm-page .rs-profile dl{grid-template-columns:57px 1fr;gap:10px}
 .rhythm-page .rs-interview blockquote{font-size:23px}
 .rhythm-page .rs-synthesis .rs-evidence-join{grid-template-columns:1fr 27px 1.12fr}
 .rhythm-page .rs-synthesis .rs-insight strong{font-size:20px}
 .rhythm-page .rs-synthesis .rs-evidence-sources small{font-size:10px;letter-spacing:0}
 .rhythm-page .rs-instrumentation .rs-event-names{font-size:11px;gap:4px}
 .rhythm-page .rs-recommendations .rs-action-header{gap:10px}
 .rhythm-page .rs-recommendations .rs-close-loop{font-size:10px;gap:10px}
}
