/* Registration role page only. The existing brand artwork and registration POST are retained. */
body.r2-role501{margin:0;padding:0;background:#fff;color:#0b1f3a;min-height:100vh;min-height:100dvh;height:auto;display:flex;flex-direction:column}
body.r2-role501>main.wrap.page{width:100%;max-width:640px;margin:0 auto;padding:8px 10px 0!important;box-sizing:border-box;min-height:0;flex:0 0 auto}
.r2-role501 .role-page501{max-width:560px;width:100%;padding:0;margin:0 auto}
.r2-role501 .onb-flow-top{position:relative;display:flex;justify-content:center;align-items:center;min-height:64px;margin:0;padding:6px 36px;gap:0}
.r2-role501 .onb-flow-top h1{margin:0;padding:0;line-height:1}
.r2-role501 .role-logo501{display:block;width:clamp(140.8px,42.24vw,202.4px);height:auto;filter:none}
.r2-role501 .onb-back{position:absolute;left:0;top:50%;transform:translateY(-50%);width:36px;height:44px;display:grid;place-items:center;margin:0;padding:0;border:0;background:transparent;color:#46566b;text-decoration:none;font-size:30px}
.r2-role501 .onb-role-card-wrap{width:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;box-sizing:border-box}
.r2-role501 .welcome-button382{display:flex;align-items:center;justify-content:center;gap:16px;box-sizing:border-box;width:100%;min-width:0;min-height:46px;padding:10px 16px;border:1.5px solid #328b2c;border-radius:clamp(12px,2.7vw,28px);background:#fff;color:#328b2c;text-decoration:none;font-size:clamp(18px,4.3vw,24px);font-weight:600;line-height:1.2;margin:4px 0 14px}
.r2-role501 .welcome-button382 svg{width:clamp(26px,6.8vw,32px);height:clamp(26px,6.8vw,32px);flex:none;overflow:visible}
.r2-role501 .role-grid-v136{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px;margin:0;padding:0}
.r2-role501 .role-card-v136{--role-tone501:#138b15;position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;min-height:0;height:auto;margin:0;padding:6px;border:3px solid var(--role-tone501);border-radius:20px;background:#fff;box-shadow:0 4px 8px #10203320;box-sizing:border-box;overflow:visible;transform:none;cursor:pointer;transition:none}
.r2-role501 .role-collector501{--role-tone501:#007bff;border-color:var(--role-tone501)}
.r2-role501 .role-card-v136.is-selected{border-color:var(--role-tone501);box-shadow:0 0 0 1px var(--role-tone501),0 4px 8px #10203325;background:#fff;transform:none}
.r2-role501 .role-choice501{display:flex;flex-direction:column;flex:1;gap:0;width:100%;min-width:0;margin:0;padding:0;cursor:pointer;position:static}
.r2-role501 .role-choice501 input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.r2-role501 .role-card-v136:has(input:focus-visible){outline:3px solid #0b1f3a;outline-offset:3px}
.r2-role501 .role-card-v136__visual{display:block;width:100%;height:auto;aspect-ratio:358/462;flex:none;border-radius:11px;overflow:hidden;margin:0;padding:0}
.r2-role501 .role-card-v136__visual img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;transform:none}
.r2-role501 .role-card-v136__meta{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:7px;min-width:0;padding:9px 0 9px}
.r2-role501 .role-card-v136__headline{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:5px;min-width:0;margin:0}
.r2-role501 .role-card-v136__icon{display:grid;place-items:center;width:clamp(40px,12vw,56px);height:clamp(40px,12vw,56px);flex:0 0 auto;margin:0;border-radius:50%;background:var(--role-tone501);color:#fff}
.r2-role501 .role-card-v136__icon svg{display:block;width:76%;height:76%;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.r2-role501 .role-card-v136__title,.r2-role501 .role-card-v136.is-selected .role-card-v136__title{color:#0b1f3a;font-size:clamp(15px,4.35vw,24px);font-weight:800;line-height:1.15;letter-spacing:-.025em;white-space:nowrap}
.r2-role501 .role-card-v136__subtitle{display:block;min-height:0;margin:0;color:#46505a;font-size:clamp(13px,3.5vw,18px);font-weight:400;line-height:1.35;text-align:center}
.r2-role501 .role-card-v136__check{display:grid;place-items:center;position:absolute;top:5px;right:5px;width:29px;height:29px;background:var(--role-tone501);border:2px solid #fff;border-radius:50%;font-size:19px;line-height:1;color:#fff;box-shadow:none;opacity:0;transform:none;transition:none}
.r2-role501 .role-card-v136.is-selected .role-card-v136__check{opacity:1;transform:none}
.r2-role501 .role-details501{display:flex;align-items:center;justify-content:center;gap:6px;width:calc(100% - 10px);min-height:44px;box-sizing:border-box;margin:0 5px;padding:5px 1px;border:0;border-top:1px solid #d5dce1;border-radius:0;background:#fff;color:var(--role-tone501);font:inherit;font-size:clamp(18px,4.9vw,24px);font-weight:650;text-decoration:none;cursor:pointer}
body.r2-role501 #role-choice-final .onb-role-card-wrap .onb-continue-v104{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:48px;margin:16px 0 0;padding:10px 16px;border:0;border-radius:20px;background:linear-gradient(175deg,#29b626,#008000)!important;color:#fff!important;font-size:20px!important;font-weight:700!important;line-height:1.2;box-shadow:0 4px 8px #1020331c!important;transform:none}
.r2-role501 .onb-continue-arrow-v104{position:static!important;display:inline!important;width:auto!important;height:auto!important;margin:0;border:0;border-radius:0!important;background:transparent!important;font-size:34px!important;transform:none!important;line-height:1!important}
.r2-role501 .onb-continue-v104:disabled{opacity:.48;cursor:default}
.r2-role501 .welcome-button382:focus-visible,.r2-role501 .role-details501:focus-visible,.r2-role501 .onb-back:focus-visible,.r2-role501 .onb-continue-v104:focus-visible{outline:3px solid #0b1f3a;outline-offset:3px}
.role-dialog501{box-sizing:border-box;width:calc(100% - 32px);max-width:420px;max-height:85dvh;margin:auto;padding:22px;border:1px solid #dce4e8;border-radius:18px;background:#fff;color:#000;overflow:auto;box-shadow:0 15px 55px #092d5840}
.role-dialog501::backdrop{background:#08204f66}
.role-dialog501 h2{font-size:20px;line-height:1.25;margin:0 0 12px}
.role-dialog501 p{font-size:16px;line-height:1.5;margin:0 0 18px;text-align:center}
.role-dialog501 button{min-height:44px;padding:8px 18px;border:1px solid #328b2c;border-radius:12px;background:#fff;color:#256f20;font:inherit;font-weight:600;cursor:pointer}
.role-dialog501 button:focus-visible{outline:3px solid #0b1f3a;outline-offset:3px}
@media(max-width:340px){.r2-role501 .onb-flow-top{min-height:56px;padding-top:2px;padding-bottom:2px}.r2-role501 .welcome-button382{margin-bottom:10px}.r2-role501 .role-card-v136{padding:5px;border-radius:17px}.r2-role501 .role-grid-v136{gap:7px}.r2-role501 .role-card-v136__headline{gap:4px}.r2-role501 .role-card-v136__meta{padding-top:8px}body.r2-role501 #role-choice-final .onb-role-card-wrap .onb-continue-v104{margin-top:12px}}
@media(max-height:600px){.r2-role501 .onb-flow-top{min-height:52px}.r2-role501 .role-card-v136__visual{aspect-ratio:1/1}}

/* Final approved role design: all footer changes are confined to this page. */
.r2-role501 .role-details501>span{display:inline-grid;place-items:center;font-size:clamp(28px,7.8vw,36px);font-weight:600;line-height:1;text-decoration:none}
#role-donor-title501{color:#138b15}
#role-collector-title501{color:#007bff}
body.r2-role501>.recupet-legal-footer{margin-top:auto!important;position:static;flex:0 0 auto;padding:0!important}
body.r2-role501>.recupet-legal-footer .recupet-legal-footer-inner{box-sizing:border-box;width:100%;max-width:640px;min-height:0;display:flex!important;flex-direction:column;gap:10px;align-items:center;padding:12px 10px calc(14px + env(safe-area-inset-bottom))!important;color:#000}
.r2-role501 .recupet-footer-legal-links{order:0;max-width:100%;display:flex;justify-content:center;gap:8px;flex-wrap:wrap;white-space:normal}
.r2-role501 .recupet-footer-legal-links a{color:#000;font-size:clamp(11px,2.8vw,13px)}
.r2-role501 .recupet-footer-brandline{order:1;display:flex;align-items:center;justify-content:center;gap:6px;max-width:100%;width:100%;color:#000}
.r2-role501 .recupet-footer-brandline .footer-copy-text{white-space:normal!important;font-size:clamp(9px,2.4vw,11px);line-height:1.35;display:inline;min-width:0;color:#000}
.r2-role501 .recupet-footer-logo-wrap{flex:none;color:#000}
.r2-role501 .recupet-footer-logo-mono{filter:brightness(0)!important;opacity:1!important;width:clamp(65px,19vw,86px);height:auto}
.r2-role501 .footer-registered-mark{color:#000}
@media(prefers-reduced-motion:reduce){.r2-role501 .role-card-v136,.r2-role501 .role-card-v136__check{transition:none;animation:none}}

.r2-role501 .role-details501>span svg{display:block;width:clamp(28px,7.8vw,36px);height:clamp(28px,7.8vw,36px)}
/* Use the existing palette layer so its disabled treatment cannot replace this page's approved green CTA. */
@layer recupet-semantic-colors{
 body.r2-role501 #role-choice-final button[data-role-continue501]{background:linear-gradient(175deg,#29b626,#008000)!important;color:#fff!important;border:0!important;border-radius:20px!important;box-shadow:0 4px 8px #1020331c!important}
 body.r2-role501 #role-choice-final button[data-role-continue501]:disabled{background:#e3e7e9!important;color:#68737b!important;opacity:1!important;box-shadow:none!important;cursor:not-allowed!important}
}

@media(min-height:760px) and (max-width:600px){
 .r2-role501 .onb-flow-top{min-height:76px}
 .r2-role501 .welcome-button382{min-height:52px;margin-bottom:18px}
 .r2-role501 .role-card-v136__meta{padding-top:14px;padding-bottom:14px}
 .r2-role501 .role-details501{min-height:50px}
}

/* 506: approved compact instruction; card dimensions and controls are unchanged. */
.r2-role501 .role-prompt506{margin:0 0 10px;padding:0;color:#0b1f3a;font-family:inherit;font-size:clamp(15px,4vw,16px);font-weight:600;line-height:1.25;text-align:center;white-space:nowrap}
