/* Scoped preset experience; existing role descriptions remain the no-script fallback. */
body.bf-page #bf-role-apps .bf-role-lines article.bf-role-tab-ready{padding:0}
body.bf-page #bf-role-apps .bf-demo-card-toggle{font-family:inherit;color:inherit;text-align:left;background:none;border:0;padding:19px 18px 16px;display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;height:100%;cursor:pointer;border-radius:8px}
body.bf-page #bf-role-apps .bf-demo-card-name{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 12px;font-size:19px;line-height:1.5;color:var(--bf-ink)}
body.bf-page #bf-role-apps .bf-demo-card-name strong{font-weight:650}
body.bf-page #bf-role-apps .bf-demo-output-text{font-size:15px;line-height:1.65;color:#214c75;font-weight:550;margin:0}
body.bf-page #bf-role-apps .bf-role-tab-ready:hover{border-color:#7ba6d4;background:#fafdff}
.bf-demo-role-picker{display:none}
body.bf-page #bf-role-apps .bf-demo-card-toggle small{font-size:12px;font-weight:500;white-space:nowrap;color:#2662a1}
body.bf-page #bf-role-apps .bf-role-lines article.bf-role-demo-active{border-color:#6d9ed2;border-top-color:#256fbd;box-shadow:0 3px 14px #256fbd0c}
body.bf-page #bf-role-apps .bf-demo-card-toggle:hover{color:#1f65ad}
.bf-demo{scroll-margin-top:150px;margin-top:22px;border:1px solid #bfcfe1;border-radius:12px;background:#fff;overflow:hidden}
.bf-demo-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 22px 15px;background:#f0f5fb;border-bottom:1px solid #dce6f1}
.bf-demo-badge{display:inline-block;font-size:12px;color:#1b5b9b;background:#dfeaf8;border-radius:4px;padding:3px 7px;font-weight:600}
.bf-demo-meta{font-size:12px;color:#5d6c7f;margin-left:10px}
body.bf-page #bf-role-apps .bf-demo-head h3{margin:7px 0 0;font-size:20px;line-height:1.5;color:#263545}
.bf-demo button{font-family:inherit;cursor:pointer}
.bf-demo-reset{border:1px solid #b7cbe2;border-radius:6px;padding:7px 11px;color:#37618b;background:#fff;font-size:13px;flex-shrink:0}
.bf-demo-view-tabs{display:flex;gap:5px;padding:12px 22px 0;border-bottom:1px solid #dce6f1;background:#fff}
.bf-demo-view-tabs button{font-size:15px;padding:9px 15px;background:none;color:#516579;border:0;border-bottom:3px solid transparent}
.bf-demo-view-tabs button[aria-selected=true]{border-bottom-color:#256fbd;color:#1d5d9d;font-weight:650;background:#f4f8fd}
.bf-demo #bf-demo-content{padding:19px 22px 20px}
.bf-demo-question{font-size:17px;font-weight:600;color:#263545;margin:0 0 16px;line-height:1.65}
.bf-demo-question>span{font-size:12px;font-weight:500;color:#6a7a8c;display:block;margin-bottom:3px}
.bf-demo-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:620px;margin-bottom:17px}
.bf-demo-metrics>div{border-left:2px solid #bbd1ea;padding-left:12px}
.bf-demo-metrics span{font-size:13px;color:#56697c;display:block}
.bf-demo-metrics strong{display:block;font-size:31px;line-height:1.4;letter-spacing:-.7px;color:#215f9d}
.bf-demo-metrics strong small{font-size:14px;letter-spacing:0;font-weight:500;margin-left:5px}
.bf-demo-track{display:flex;gap:0;border:1px solid #dbe6f1;border-radius:7px;overflow:hidden;background:#f8fafd;margin-bottom:15px}
.bf-demo-track>div{flex:1;padding:9px 10px;text-align:center;min-width:0}
.bf-demo-track>div+div{border-left:1px solid #dbe6f1}
.bf-demo-track span{display:block;font-size:12px;color:#596e83;line-height:1.5}
.bf-demo-track b{display:block;font-size:17px;font-weight:600;color:#2e506f;line-height:1.7}
.bf-demo-findings{padding-left:20px;margin:0 0 14px;color:#44566a;font-size:15px;line-height:1.8;max-width:1000px}
.bf-demo-findings li+li{margin-top:6px}
.bf-demo-back{font-size:14px;line-height:1.7;text-align:left;background:#f1f6fc;color:#205e9e;border:1px solid #bfd3e9;border-radius:6px;padding:8px 12px}
.bf-demo-follow-answer{margin-top:12px;padding:12px 16px;border-left:3px solid #8eb1d9;background:#f6f8fb;font-size:15px;line-height:1.8;color:#44566a}
.bf-demo-follow-answer p{margin:5px 0 0}.bf-demo-follow-answer b{font-weight:600;color:#294760}
.bf-demo-table{overflow-x:auto;border:1px solid #dce6f0;border-radius:7px}
.bf-demo-table table{border-collapse:collapse;width:100%;font-size:15px;color:#354c63;text-align:left;line-height:1.7}
.bf-demo-table caption{text-align:left;font-size:13px;color:#5a6f83;padding:10px 14px;background:#f6f9fc;caption-side:top}
.bf-demo-table th,.bf-demo-table td{padding:11px 14px;border-top:1px solid #e0e8f1}
.bf-demo-table thead th{background:#edf4fc;font-weight:600}.bf-demo-table tbody th{font-weight:500}.bf-demo-table tbody tr:nth-child(even){background:#fafbfd}
.bf-demo-note{font-size:13px;line-height:1.75;color:#637486;margin:12px 0 15px;max-width:950px}
.bf-demo-task-intro{margin:0 0 13px;font-size:17px;font-weight:600;color:#263545}
.bf-demo-tasks{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bf-demo-tasks article{padding:15px 16px;background:#f7f9fc;border:1px solid #dce6f0;border-radius:7px}
.bf-demo-tasks article>div{display:flex;justify-content:space-between;gap:10px;align-items:start;color:#416384;font-size:13px;line-height:1.6}
.bf-demo-tasks small{font-size:11px;white-space:nowrap;color:#6b7682;background:#eaf0f6;padding:2px 5px;border-radius:3px}
.bf-demo-tasks h4{font-size:17px;color:#263545;line-height:1.6;margin:10px 0 5px}
.bf-demo-tasks p{font-size:15px;color:#4b6075;line-height:1.8;margin:0}
.bf-demo-status{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);margin:-1px}
.bf-demo button:hover{filter:brightness(.96)}
.bf-demo button:focus-visible,.bf-demo-table:focus-visible,.bf-demo-card-toggle:focus-visible{outline:3px solid #2767a8;outline-offset:3px;border-radius:4px}
@media(max-width:600px){
 .bf-demo{scroll-margin-top:125px;margin-top:18px}
 body.bf-page #bf-role-apps .bf-demo-card-toggle{padding:16px 18px}
 .bf-demo-head{padding:14px;align-items:flex-start;gap:8px}
 .bf-demo-head>div{min-width:0;flex:1}
 body.bf-page #bf-role-apps .bf-demo-head h3{display:none}
 .bf-demo-role-picker{display:block;max-width:100%;width:100%;margin-top:8px;font-family:inherit;font-size:16px;font-weight:600;line-height:1.5;color:#263545;background:#fff;border:1px solid #b7cbe2;border-radius:5px;padding:8px 5px}
 .bf-demo-meta{display:block;margin:6px 0 0}
 body.bf-page #bf-role-apps .bf-demo-head h3{font-size:18px}
 .bf-demo-reset{font-size:12px;padding:7px 8px}
 .bf-demo-view-tabs{padding:8px 9px 0;gap:0}.bf-demo-view-tabs button{flex:1;padding:9px 7px;font-size:14px}
 .bf-demo #bf-demo-content{padding:16px 14px}
 .bf-demo-question{font-size:16px}
 .bf-demo-metrics{gap:10px}.bf-demo-metrics span{font-size:12px}.bf-demo-metrics strong{font-size:29px}
 .bf-demo-track>div{padding:8px 4px}.bf-demo-track b{font-size:15px}.bf-demo-track span{font-size:11px}
 .bf-demo-table table{min-width:420px}.bf-demo-table th,.bf-demo-table td{padding:9px 10px}
 .bf-demo-tasks{grid-template-columns:1fr;gap:10px}
 .bf-demo-tasks article{padding:12px}.bf-demo-findings{font-size:15px;padding-left:18px}
}
