/* Participant journey: neutral working surfaces, readable controls, and green reserved for open/success states. */
html[data-bb-page]:is([data-bb-page=directory],[data-bb-page=project],[data-bb-page=study-application]) {
  --bb-primary-fill:#246349; --bb-primary-fill-hover:#174a36; --bb-focus:#246349;
  --journey-soft:#f6f6f3; --journey-line:#deded8;
}
html[data-bb-page] :is(.project-status.is-live,.project-status.is-upcoming) {background:#e9f4ed!important;color:#20583e!important;border-color:#c8dfcf!important;}
html[data-bb-page=directory] .project-card[data-accent=forest] {background:#f4f8f5!important;border-color:#b9d4c3!important;}
html[data-bb-page=directory] .project-card[data-accent=blue] {background:#f4f7fb!important;border-color:#c6d8e8!important;}
html[data-bb-page=directory] .project-card[data-accent=amber] {background:#fbf8f0!important;border-color:#e6d5ae!important;}
html[data-bb-page=directory] .project-card[data-accent=plum] {background:#faf6fb!important;border-color:#dbc9df!important;}
html[data-bb-page=project] .glance-card {background:#fff!important;border-color:var(--journey-line)!important;box-shadow:none!important;}
html[data-bb-page=study-application] .overview h1 {font-size:clamp(28px,3vw,40px)!important;margin-bottom:20px!important;}
html[data-bb-page=study-application] .overview .eyebrow {color:#65655e;}
html[data-bb-page=study-application] #intro {gap:16px;}
html[data-bb-page=study-application] #intro>p {color:#4b4b47;font-size:16px;line-height:1.65;}
html[data-bb-page=study-application] #intro .fact {background:#fff!important;border:0;border-radius:12px;padding:16px;}
html[data-bb-page=study-application] #intro .fact-note {grid-column:1/-1;background:transparent!important;border-top:1px solid #d8d8d2;border-radius:0;padding:18px 0 0;}
html[data-bb-page=study-application] #intro .fact-note strong {font-size:16px;letter-spacing:0;margin-bottom:8px;}
html[data-bb-page=study-application] #intro .fact span {font-size:15px;line-height:1.6;}
html[data-bb-page=study-application] .details-link {color:#3f3f3a!important;font-size:15px;}
html[data-bb-page=study-application] .progress {height:6px;margin-bottom:26px;background:#e9e9e5;}
html[data-bb-page=study-application] .progress>span {background:#454540;}
html[data-bb-page=study-application] #step-count {color:#3f3f3a;font-weight:600;}
html[data-bb-page=study-application] h2 {font-size:24px;line-height:1.25;}
html[data-bb-page=study-application] .step-help {font-size:15px;margin-bottom:28px;}
html[data-bb-page=study-application] .question {margin-bottom:24px;}
html[data-bb-page=study-application] .question legend {font-size:16px;font-weight:600;margin-bottom:12px;}
html[data-bb-page=study-application] .choices {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
html[data-bb-page=study-application] .choice {min-width:0;}
html[data-bb-page=study-application] .choice span {min-height:58px;justify-content:flex-start;text-align:start;padding:14px 12px;border:1px solid #cfcfc8;border-radius:12px;background:#fff;color:#33332f;gap:10px;line-height:1.35;}
html[data-bb-page=study-application] .choice span::before {content:'';display:block;flex:0 0 18px;width:18px;height:18px;border:1.5px solid #999990;border-radius:50%;box-sizing:border-box;}
html[data-bb-page=study-application] .choice input:checked+span {background:#eeeeea!important;border:2px solid #454540!important;padding:13px 11px;color:#292926;}
html[data-bb-page=study-application] .choice input:checked+span::before {content:'';margin:0;border:5px solid #454540;background:#fff;}
html[data-bb-page=study-application] .choice input:focus-visible+span {outline:3px solid #454540;outline-offset:3px;}
html[data-bb-page=study-application] .form-actions {border-color:#e2e2dc;padding-top:22px;}
html[data-bb-page=study-application] :is(.primary,.back) {border-radius:12px!important;min-height:50px;box-shadow:none!important;}
html[data-bb-page=study-application] :is(.consent,.privacy-note) {font-size:15px;color:#45453f;}
html[data-bb-page=study-application] .reassurance {text-align:start;font-size:13px;line-height:1.5;margin-top:18px;}
html[data-bb-page=study-application] :is(.privacy-note,#status:not(.error):not(.success)) {background:var(--journey-soft);color:#454540;}
html[data-bb-page=study-application] #status.success {background:#e9f4ed;color:#20583e;}
@media(max-width:900px) {
 html[data-bb-page=study-application] .overview h1 {font-size:28px!important;margin-bottom:12px!important;}
 html[data-bb-page=study-application] .overview .eyebrow {margin-bottom:8px;}
 html[data-bb-page=study-application] .primary {flex:1;min-width:0;}
 html[data-bb-page=study-application] .choice span {font-size:15px;}
}
@media(max-width:359px) {html[data-bb-page=study-application] .choices {grid-template-columns:1fr;}}
@media(forced-colors:active) {
 html[data-bb-page=study-application] .choice input:checked+span {outline:2px solid Highlight;}
 html[data-bb-page=study-application] .choice span::before {border-color:ButtonText;}
}
