.bfj-app{--teal:#075E5A;--turq:#18A69A;--gold:#C7A35B;--ivory:#F4F2EC;--ink:#101414;font-family:inherit;color:var(--ink);max-width:1180px;margin:auto}.bfj-head span,.bfj-step>span,.bfj-success>span{font-size:.78rem;letter-spacing:.14em;font-weight:800;color:var(--turq)}.bfj-head h2,.bfj-step h3,.bfj-success h3{font-size:clamp(1.7rem,3vw,2.5rem);margin:.35rem 0}.bfj-journeys{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0}.bfj-card{background:var(--teal);color:#fff;border:1px solid rgba(24,166,154,.8);border-radius:18px;padding:26px}.bfj-day{text-transform:capitalize;font-size:1.5rem;font-weight:800}.bfj-time{font-size:1.15rem;margin:10px 0}.bfj-remain{opacity:.88;margin-bottom:18px}.bfj-app button{border:0;border-radius:999px;padding:13px 22px;font-weight:800;cursor:pointer;background:linear-gradient(180deg,#e5c36f,var(--gold));color:#10201f}.bfj-app button:disabled{opacity:.45;cursor:not-allowed}.bfj-stage{background:#fafaf7;border-radius:22px;padding:clamp(22px,4vw,46px);margin:28px 0;box-shadow:0 12px 40px rgba(0,0,0,.08)}.bfj-summary,.bfj-picked{background:#eaf5f3;border-left:4px solid var(--turq);padding:15px 18px;border-radius:12px;margin:18px 0}.bfj-slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.bfj-slots button{background:#e4f3f1;color:var(--teal);border-radius:10px}.bfj-slots button:hover{background:var(--turq);color:#fff}.bfj-slots button.off{background:#e8e8e6;color:#888}.bfj-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.bfj-step label{display:block;font-weight:700;margin:12px 0}.bfj-step input,.bfj-step select,.bfj-step textarea{box-sizing:border-box;width:100%;margin-top:6px;padding:12px 14px;border:1px solid #ccd8d6;border-radius:9px;background:#fff;font:inherit}.bfj-check{font-weight:500!important}.bfj-check input{width:auto;margin-right:8px}.bfj-note{font-size:.9rem;color:#686d6c}.bfj-success{text-align:center}.bfj-success-icon{margin:0 auto 14px;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:var(--turq);color:#fff;font-size:2rem}.bfj-loading{padding:20px}@media(max-width:700px){.bfj-journeys,.bfj-grid{grid-template-columns:1fr}.bfj-slots{grid-template-columns:repeat(3,1fr)}}


/* v1.0.4 — aislamiento visual frente a estilos de Salient/WPBakery */
.bfj-app,.bfj-app *{box-sizing:border-box}
.bfj-app{font-family:Inter,Arial,sans-serif!important;color:#101414!important;line-height:1.45}
.bfj-app .bfj-stage,.bfj-app .bfj-step,.bfj-app form{color:#101414!important}
.bfj-app .bfj-step h1,.bfj-app .bfj-step h2,.bfj-app .bfj-step h3,.bfj-app .bfj-step h4,
.bfj-app .bfj-step p,.bfj-app .bfj-step label,.bfj-app .bfj-step .bfj-note,
.bfj-app .bfj-summary,.bfj-app .bfj-picked{color:#101414!important}
.bfj-app .bfj-step>span,.bfj-app .bfj-success>span,.bfj-app .bfj-head span{color:#18A69A!important}
.bfj-app .bfj-summary,.bfj-app .bfj-picked{background:#EAF5F3!important}
.bfj-app .bfj-step input:not([type="checkbox"]):not([type="radio"]),
.bfj-app .bfj-step select,.bfj-app .bfj-step textarea{
  display:block!important;width:100%!important;min-height:48px!important;
  margin-top:6px!important;padding:12px 14px!important;
  border:1px solid #CCD8D6!important;border-radius:9px!important;
  background:#FFFFFF!important;color:#101414!important;
  -webkit-text-fill-color:#101414!important;opacity:1!important;
  font-family:Inter,Arial,sans-serif!important;font-size:16px!important;line-height:1.35!important;
  box-shadow:none!important;
}
.bfj-app .bfj-step textarea{min-height:96px!important;resize:vertical}
.bfj-app .bfj-step input::placeholder,.bfj-app .bfj-step textarea::placeholder{color:#7A817F!important;opacity:1!important}
.bfj-app .bfj-step select option{color:#101414!important;background:#fff!important}
.bfj-app .bfj-check{display:flex!important;align-items:flex-start!important;gap:10px!important;color:#101414!important;font-weight:500!important}
.bfj-app .bfj-check input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;width:16px!important;height:16px!important;min-height:0!important;margin:3px 0 0!important;flex:0 0 16px!important;accent-color:#075E5A}
.bfj-app button{font-family:Inter,Arial,sans-serif!important;text-transform:none}
.bfj-app .bfj-card,.bfj-app .bfj-card *{color:#fff}
.bfj-app .bfj-card button{color:#10201F!important}
@media(max-width:700px){.bfj-app .bfj-stage{padding:22px 18px}.bfj-app .bfj-step input:not([type="checkbox"]):not([type="radio"]),.bfj-app .bfj-step select,.bfj-app .bfj-step textarea{font-size:16px!important}}

/* v1.4.0 Portal Profesional */
.bfj-portal{--p:#075E5A;--t:#18A69A;--g:#C7A35B;--i:#F4F2EC;--ink:#101414;max-width:1180px;margin:32px auto;font-family:Inter,Arial,sans-serif;color:var(--ink)}
.bfjp-login{max-width:520px;margin:60px auto;padding:38px;border:1px solid #dce6e4;border-radius:22px;background:#fafaf7;box-shadow:0 18px 60px rgba(0,0,0,.08)}.bfjp-login>span,.bfjp-title>span,.bfjp-card>span,.bfjp-head span{font-size:12px;letter-spacing:.14em;font-weight:800;color:var(--t)}.bfjp-login h2,.bfjp-head h2,.bfjp-title h3,.bfjp-card h3{margin:7px 0 10px;color:var(--ink);font-family:inherit}.bfjp-login label{display:block;margin:15px 0;font-weight:700}.bfjp-login input[type=text],.bfjp-login input[type=password]{width:100%;padding:13px;border:1px solid #ccd8d6;border-radius:9px;background:#fff;color:var(--ink)}.bfjp-login input[type=submit],.bfjp-primary{display:inline-block;border:0;border-radius:999px;padding:13px 22px;background:linear-gradient(180deg,#e5c36f,var(--g));color:#10201f!important;font-weight:800;text-decoration:none}.bfjp-security{font-size:13px;color:#686d6c;margin-top:20px}.bfjp-head{display:flex;justify-content:space-between;align-items:center;padding:22px 0;border-bottom:1px solid #dce6e4}.bfjp-logout,.bfjp-back{color:var(--p)!important;text-decoration:none;font-weight:700}.bfjp-nav{display:flex;gap:8px;margin:22px 0}.bfjp-nav a,.bfjp-filters a,.bfjp-dates a{padding:10px 15px;border-radius:999px;background:#eef3f2;color:var(--p)!important;text-decoration:none;font-weight:700}.bfjp-nav a.active,.bfjp-filters a.active,.bfjp-dates a.active{background:var(--p);color:#fff!important}.bfjp-notice{padding:13px 16px;background:#eaf5f3;border-left:4px solid var(--t);margin:16px 0;border-radius:8px}.bfjp-title{margin:30px 0 18px}.bfjp-title h3{font-size:32px}.bfjp-filters,.bfjp-dates{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.bfjp-list{border:1px solid #dce6e4;border-radius:16px;overflow:hidden;background:#fff}.bfjp-row{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:18px;align-items:center;padding:17px 20px;border-bottom:1px solid #e7eceb;color:var(--ink)!important;text-decoration:none}.bfjp-row:last-child{border-bottom:0}.bfjp-row:hover{background:#fafcfb}.bfjp-row div{display:flex;flex-direction:column}.bfjp-row small{color:#686d6c;margin-top:3px}.bfjp-row>div:nth-child(2) strong{display:block}.bfjp-row b{font-size:12px;color:var(--p)}.bfjp-row.agenda{grid-template-columns:80px 2fr 1fr auto}.bfjp-row .time{font-size:20px}.bfjp-row .status{font-size:12px;font-weight:800;padding:7px 10px;border-radius:999px;background:#eef3f2;width:max-content}.bfjp-row .status.pending{background:#fff4d7}.bfjp-row .status.confirmed{background:#e5f5ef}.bfjp-row .status.rejected{background:#f6e7e7}.bfjp-empty{padding:28px;text-align:center;color:#686d6c}.bfjp-card{margin-top:18px;padding:30px;border:1px solid #dce6e4;border-radius:18px;background:#fff}.bfjp-card h3{font-size:30px}.bfjp-details{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#e7eceb;border:1px solid #e7eceb;margin:22px 0}.bfjp-details>div{display:flex;flex-direction:column;padding:14px 16px;background:#fff}.bfjp-details small{color:#686d6c;margin-bottom:4px}.bfjp-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.bfjp-inline{margin:0}.bfjp-inline button{border:0;border-radius:999px;padding:12px 18px;font-weight:800;cursor:pointer}.bfjp-primary{background:linear-gradient(180deg,#e5c36f,var(--g));color:#10201f}.bfjp-secondary{background:#eef3f2;color:var(--p)}.bfjp-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.bfjp-stats>div{padding:18px;border-radius:14px;background:#fafaf7;border-left:4px solid var(--t);display:flex;flex-direction:column}.bfjp-stats strong{font-size:26px}.bfjp-stats span{font-size:13px;color:#686d6c}
@media(max-width:760px){.bfj-portal{margin:18px 12px}.bfjp-head{align-items:flex-start;gap:15px}.bfjp-row,.bfjp-row.agenda{grid-template-columns:1fr}.bfjp-details{grid-template-columns:1fr}.bfjp-stats{grid-template-columns:1fr 1fr}.bfjp-login{padding:25px;margin:25px auto}}

/* v1.4.1 Login propio */
.bfjp-login-form{display:grid;gap:16px;margin-top:24px}.bfjp-login-form label{display:grid;gap:7px;font-weight:700;color:#101414}.bfjp-login-form input[type=text],.bfjp-login-form input[type=password]{width:100%;min-height:48px;padding:11px 14px;border:1px solid #ccd7d5!important;border-radius:10px;background:#fff!important;color:#101414!important;font:inherit!important;box-sizing:border-box}.bfjp-login-form input:focus{outline:2px solid #18A69A;outline-offset:1px}.bfjp-login-form .bfjp-remember{display:flex;align-items:center;gap:9px;font-weight:500}.bfjp-login-form .bfjp-remember input{width:18px;height:18px;margin:0}.bfjp-login-form .bfjp-primary{border:0;cursor:pointer;width:100%;justify-content:center}.bfjp-login-error{margin:18px 0 0;padding:12px 14px;border-left:4px solid #C7A35B;background:#fff7e7;color:#101414;border-radius:8px}

/* v1.9.0 · Autogestión paciente */
.bfj-patient{max-width:850px;margin:28px auto 60px;color:#101414}
.bfj-patient-hero{padding:34px 38px;background:#075e5a;border-radius:20px 20px 0 0;color:#fff}
.bfj-patient-hero>span{color:#b8e4da;font-size:12px;font-weight:800;letter-spacing:.16em}
.bfj-patient-hero h2{color:#fff!important;font-size:clamp(26px,4vw,38px);line-height:1.2;margin:13px 0 10px}
.bfj-patient-hero p{color:#e5f3f0;margin:0}
.bfj-patient .bfj-patient-main{margin:0;border-radius:0 0 20px 20px;padding:32px 38px}
.bfj-patient-state{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #e2e9e7;padding-bottom:20px}
.bfj-patient-state span,.bfj-patient-datetime small{font-size:11px;font-weight:800;letter-spacing:.12em;color:#5d6d69}
.bfj-patient-state strong{background:#e8f5f1;border-radius:999px;padding:8px 14px;color:#075e5a}
.bfj-patient-datetime{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}
.bfj-patient-datetime>div{display:flex;flex-direction:column;gap:7px;background:#f4f2ec;border-radius:12px;padding:18px}
.bfj-patient-datetime strong{font-size:18px;color:#101414}
.bfj-patient-actions{padding:22px 0}.bfj-patient-actions h3,.bfj-patient-history h3{font-size:22px!important;color:#075e5a!important}
.bfj-patient-actions label{display:block;margin:20px 0 7px;font-weight:700}
.bfj-patient-actions select{width:100%;max-width:100%;display:block;min-height:48px;background:#fff!important;color:#101414!important;border:1px solid #cbd9d5;border-radius:9px;padding:10px 12px;margin-bottom:16px}
.bfj-patient-actions button{cursor:pointer;border:0;border-radius:999px;padding:13px 20px;font-weight:800}
.bfj-patient-actions .bfjp-primary{background:#075e5a;color:#fff!important}
.bfj-patient-divider{height:1px;background:#e2e9e7;margin:26px 0}
.bfj-patient-notice{background:#e8f5f1;border-left:4px solid #18a69a;padding:14px 18px;border-radius:8px}
.bfj-patient-history{margin-top:20px;border-top:1px solid #e2e9e7;padding-top:20px}
.bfj-patient-history ol{list-style:none;margin:0;padding:0}
.bfj-patient-history li{display:grid;grid-template-columns:1fr auto;gap:5px 12px;padding:15px 0;border-bottom:1px solid #edf1f0}
.bfj-patient-history li strong{color:#101414}.bfj-patient-history li span{color:#075e5a;font-weight:700}.bfj-patient-history li small{grid-column:1/-1;color:#65716e}
.bfj-patient-foot{font-size:13px;color:#65716e;margin-top:25px}
.bfj-history-list p{border-bottom:1px solid #e7eceb;padding:10px 0;margin:0}
@media(max-width:600px){.bfj-patient-hero{padding:25px 22px}.bfj-patient .bfj-patient-main{padding:24px 20px}.bfj-patient-datetime{grid-template-columns:1fr}.bfj-patient-state{align-items:flex-start;flex-direction:column}.bfj-patient-actions button{width:100%}}

/* Portal de Enfermería: historial general 1.9.1 */
.bfj-history-overview{display:grid;gap:12px}.bfjp-history-item{padding:18px 20px;background:#fff;border:1px solid #d8e9e6;border-radius:14px;display:grid;gap:10px}.bfjp-history-main{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.bfjp-history-main strong{color:#075e5a;font-size:17px}.bfjp-history-main span{font-size:13px;font-weight:700;color:#157e78}.bfjp-history-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 15px;font-size:13px;color:#425c59}.bfjp-history-item>a{font-weight:700;color:#075e5a;text-decoration:none;font-size:12px}.bfjp-history-note{font-size:12px;color:#56716c;margin-top:18px}@media(max-width:600px){.bfjp-history-meta{grid-template-columns:1fr}.bfjp-history-item{padding:15px}}

/* v2.0.0 · Panel de control */
.bfj-control-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 20px}.bfj-control-stat{background:#fff;border:1px solid #d8e9e6;border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:6px}.bfj-control-stat strong{font-size:32px;line-height:1.15;color:#075e5a}.bfj-control-stat span{font-size:13px;font-weight:700;color:#4b6661}.bfj-control-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 26px}.bfj-control-actions a{background:#075e5a;color:#fff!important;border-radius:8px;padding:11px 16px;font-size:13px;font-weight:700;text-decoration:none}.bfj-control-actions a:hover{background:#064844}.bfj-control-journeys{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bfj-control-journey{background:#fff;border:1px solid #d8e9e6;border-radius:14px;padding:18px}.bfj-control-journey-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.bfj-control-journey-head strong{color:#075e5a}.bfj-control-journey-head span{font-size:12px;color:#57716b}.bfj-control-track{height:10px;background:#e4efec;border-radius:99px;overflow:hidden;margin:15px 0 9px}.bfj-control-track>div{height:100%;background:#18a69a;border-radius:99px}.bfj-control-journey p{margin:0;font-size:12px;color:#4b6661}.bfj-admin-control{max-width:1150px}.bfj-admin-control .bfjp-title h3{font-size:23px;color:#075e5a}.bfj-admin-control .bfjp-title p{color:#4b6661}@media(max-width:720px){.bfj-control-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.bfj-control-journeys{grid-template-columns:1fr}}@media(max-width:420px){.bfj-control-stats{grid-template-columns:1fr 1fr}.bfj-control-stat{padding:13px}.bfj-control-stat strong{font-size:26px}}


/* v2.3.1 — Presentación premium del módulo público (sin alterar el portal interno) */
.bfj-app[data-bfj-app]{background:transparent!important;border:0!important;box-shadow:none!important;max-width:1240px;width:100%;padding:clamp(12px,2.5vw,30px) 0!important;margin:0 auto!important;--bfj-light:#f7faf8;--bfj-muted:#c5dfda}
.bfj-app[data-bfj-app] .bfj-head{background:transparent!important;padding:0 0 10px!important;border:0!important}
.bfj-app[data-bfj-app] .bfj-head>span{color:#e6c477!important;letter-spacing:.18em;font-size:12px;font-weight:800}
.bfj-app[data-bfj-app] .bfj-head h2{font-size:clamp(30px,4.1vw,55px)!important;line-height:1.12!important;letter-spacing:-.035em!important;max-width:900px;margin:14px 0 14px!important;font-weight:800!important;color:#fff!important}
.bfj-app[data-bfj-app] .bfj-head p{font-size:clamp(15px,1.4vw,18px)!important;color:#e2f0ed!important;line-height:1.6!important;margin:0!important}
.bfj-app[data-bfj-app] .bfj-journeys{gap:clamp(14px,2vw,24px)!important;margin:32px 0 10px!important}
.bfj-app[data-bfj-app] .bfj-card{display:grid;grid-template-columns:minmax(125px,.65fr) minmax(0,1.6fr);gap:22px;align-items:center;padding:clamp(20px,2.5vw,32px)!important;background:linear-gradient(145deg,#075a55,#034743)!important;border:1px solid rgba(147,218,202,.55)!important;border-radius:23px!important;box-shadow:0 12px 28px rgba(0,27,26,.14)!important;color:#fff!important;min-width:0;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.bfj-app[data-bfj-app] .bfj-card:hover{transform:translateY(-3px);border-color:#e3c273!important;box-shadow:0 16px 35px rgba(0,27,26,.22)!important}
.bfj-app[data-bfj-app] .bfj-card-date{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:170px;padding:16px 9px;background:rgba(255,255,255,.055);border-radius:15px;border:1px solid rgba(255,255,255,.065);text-align:center}
.bfj-app[data-bfj-app] .bfj-weekday,.bfj-app[data-bfj-app] .bfj-month{color:#e5f4f1!important;text-transform:uppercase;font-size:clamp(11px,1.05vw,14px);letter-spacing:.065em;font-weight:750}
.bfj-app[data-bfj-app] .bfj-date-number{color:#fff!important;font-size:clamp(56px,6vw,80px)!important;font-weight:850;line-height:1.1;letter-spacing:-.05em}
.bfj-app[data-bfj-app] .bfj-card-details{display:flex;flex-direction:column;justify-content:center;gap:14px;min-width:0;padding-left:18px;border-left:1px solid rgba(190,232,220,.33)}
.bfj-app[data-bfj-app] .bfj-time,.bfj-app[data-bfj-app] .bfj-remain{display:flex;align-items:center;gap:12px;margin:0!important;color:#f3faf8!important;opacity:1!important;font-size:clamp(13px,1.3vw,17px)!important;line-height:1.45}
.bfj-app[data-bfj-app] .bfj-remain strong{color:#fff!important;font-weight:800}
.bfj-app[data-bfj-app] .bfj-detail-icon{flex:0 0 26px;color:#e6c477!important;font-size:25px;line-height:1;text-align:center}
.bfj-app[data-bfj-app] .bfj-card button{width:100%;min-height:52px!important;padding:13px 16px!important;border-radius:9px!important;background:linear-gradient(180deg,#f1d685,#d5ac57)!important;color:#092b29!important;font-size:clamp(12px,1.05vw,15px)!important;line-height:1.25!important;font-weight:850!important;box-shadow:0 5px 13px rgba(0,0,0,.13);transition:filter .2s ease,transform .2s ease}
.bfj-app[data-bfj-app] .bfj-card button:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-1px)}
.bfj-app[data-bfj-app] button:focus-visible{outline:3px solid #f1d685!important;outline-offset:3px!important}
.bfj-app[data-bfj-app] .bfj-stage:not([hidden]){display:block!important;background:#f8faf9!important;border:1px solid #d4e7e2!important;box-shadow:0 15px 35px rgba(0,24,22,.12)!important;border-radius:20px!important;color:#101414!important;margin-top:28px!important}
.bfj-app[data-bfj-app] .bfj-stage[hidden]{display:none!important}
.bfj-app[data-bfj-app] .bfj-stage .bfj-step h3,.bfj-app[data-bfj-app] .bfj-stage .bfj-success h3{color:#075e5a!important;line-height:1.18!important}
.bfj-app[data-bfj-app] .bfj-slots{gap:12px!important}
.bfj-app[data-bfj-app] .bfj-slots button{border:1px solid #badbd3!important;border-radius:10px!important;min-height:48px!important;background:#e7f3ef!important;color:#075e5a!important}
.bfj-app[data-bfj-app] .bfj-slots button:hover:not(:disabled){background:#075e5a!important;color:#fff!important}
.bfj-app[data-bfj-app] .bfj-step form button[type=submit]{background:linear-gradient(180deg,#e9ca77,#c7a35b)!important;color:#10201f!important;border-radius:9px!important;min-height:48px!important}
.bfj-app[data-bfj-app] .bfj-loading{color:#f4f7f6!important}
@media(max-width:950px){.bfj-app[data-bfj-app] .bfj-card{grid-template-columns:1fr!important;gap:15px!important}.bfj-app[data-bfj-app] .bfj-card-date{min-height:110px;flex-direction:row;gap:12px}.bfj-app[data-bfj-app] .bfj-date-number{font-size:60px!important}.bfj-app[data-bfj-app] .bfj-card-details{padding-left:0;border-left:0;border-top:1px solid rgba(190,232,220,.33);padding-top:18px}}
@media(max-width:700px){.bfj-app[data-bfj-app] .bfj-journeys{grid-template-columns:1fr!important}.bfj-app[data-bfj-app] .bfj-card{grid-template-columns:minmax(110px,.7fr) minmax(0,1.6fr)!important;gap:13px!important;padding:16px!important}.bfj-app[data-bfj-app] .bfj-card-date{min-height:135px;flex-direction:column;gap:0}.bfj-app[data-bfj-app] .bfj-date-number{font-size:56px!important}.bfj-app[data-bfj-app] .bfj-card-details{padding:0 0 0 12px;border-top:0;border-left:1px solid rgba(190,232,220,.33);gap:12px}.bfj-app[data-bfj-app] .bfj-detail-icon{display:none}.bfj-app[data-bfj-app] .bfj-card button{font-size:12px!important;padding:12px 7px!important}.bfj-app[data-bfj-app] .bfj-head h2{font-size:clamp(28px,7vw,40px)!important}}
@media(max-width:380px){.bfj-app[data-bfj-app] .bfj-card{grid-template-columns:1fr!important}.bfj-app[data-bfj-app] .bfj-card-date{min-height:90px;flex-direction:row;gap:10px}.bfj-app[data-bfj-app] .bfj-card-details{border-left:0;border-top:1px solid rgba(190,232,220,.33);padding:15px 0 0}}
@media(prefers-reduced-motion:reduce){.bfj-app[data-bfj-app] .bfj-card,.bfj-app[data-bfj-app] .bfj-card button{transition:none!important}.bfj-app[data-bfj-app] .bfj-card:hover{transform:none}}

/* v2.3.2 — Evita paneles blancos en el flujo público, sin afectar portales internos */
.bfj-app[data-bfj-app],.bfj-app[data-bfj-app] .bfj-head,.bfj-app[data-bfj-app] .bfj-journeys{background:transparent!important}
.bfj-app[data-bfj-app] .bfj-stage:not([hidden]){background:linear-gradient(145deg,#075a55,#034743)!important;border:1px solid rgba(147,218,202,.55)!important;color:#f5fbf9!important;box-shadow:0 14px 35px rgba(0,27,26,.16)!important}
.bfj-app[data-bfj-app] .bfj-stage .bfj-step h3,.bfj-app[data-bfj-app] .bfj-stage .bfj-success h3{color:#fff!important}
.bfj-app[data-bfj-app] .bfj-stage .bfj-step>span,.bfj-app[data-bfj-app] .bfj-stage .bfj-success>span{color:#e6c477!important}
.bfj-app[data-bfj-app] .bfj-stage .bfj-note,.bfj-app[data-bfj-app] .bfj-stage p{color:#d9eae6!important}
.bfj-app[data-bfj-app] .bfj-stage .bfj-summary,.bfj-app[data-bfj-app] .bfj-stage .bfj-picked{background:rgba(255,255,255,.1)!important;border-left-color:#e6c477!important;color:#fff!important}
.bfj-app[data-bfj-app] .bfj-stage .bfj-step label,.bfj-app[data-bfj-app] .bfj-stage .bfj-check{color:#fff!important}
.bfj-app[data-bfj-app] .bfj-stage input:not([type=checkbox]),.bfj-app[data-bfj-app] .bfj-stage select,.bfj-app[data-bfj-app] .bfj-stage textarea{background:#fff!important;color:#101414!important}
.bfj-app[data-bfj-app] .bfj-stage .bfj-success-icon{background:#18a69a!important}
.bfj-app[data-bfj-app] .bfj-stage .bfj-slots button{background:#e7f3ef!important;color:#075e5a!important}
.bfj-app[data-bfj-app] .bfj-stage .bfj-slots button:hover:not(:disabled){background:#18a69a!important;color:#fff!important}
.bfj-app[data-bfj-app] .bfj-stage .bfj-slots button.off,.bfj-app[data-bfj-app] .bfj-stage .bfj-slots button:disabled{opacity:.5!important}


/* v2.4.8 — Solicitudes de cancelación, aisladas del resto del portal. */
.bfj-clinical-requests{box-sizing:border-box;max-width:100%;font-family:inherit;color:#e8f2ef;margin:20px 0}
.bfj-clinical-requests *{box-sizing:border-box}
.bfj-clinical-requests-head{margin:8px 0 22px}
.bfj-clinical-requests-head span{font-size:12px;letter-spacing:.14em;font-weight:700;color:#63c5bc}
.bfj-clinical-requests-head h3{font-size:clamp(23px,4vw,31px)!important;color:#fff!important;margin:8px 0!important}
.bfj-clinical-requests-head p{color:#b1c1bd!important;line-height:1.6;margin:0}
.bfj-clinical-requests-count{color:#bdd3ce;margin:0 0 14px;font-size:14px}
.bfj-clinical-requests-count strong{color:#fff}
.bfj-clinical-requests-card{border:1px solid #345b54;background:#122e29;border-radius:17px;padding:20px;margin:12px 0}
.bfj-clinical-requests-details{display:flex;flex-direction:column;gap:6px;color:#d7e7e2}
.bfj-clinical-requests-details strong{color:#fff;font-size:18px}
.bfj-clinical-requests-details small{color:#a8c3bd}
.bfj-clinical-requests-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.bfj-clinical-requests-actions form{margin:0;flex:1 1 175px}
.bfj-clinical-requests-actions button{width:100%;min-height:45px;background:transparent!important;border:1px solid #60c2b8!important;border-radius:12px!important;color:#d3f4ef!important;padding:10px 14px!important;font-weight:700;font-size:14px;line-height:1.25;cursor:pointer;box-shadow:none!important;text-transform:none!important}
/* Rechazar solicitud: único botón rojo; Aprobar conserva el contorno turquesa. */
.bfj-clinical-requests .bfj-clinical-requests-actions button.bfj-reject{
  background:#b7464a!important;
  border-color:#ca6265!important;
  color:#fff!important;
}
.bfj-clinical-requests .bfj-clinical-requests-actions button.bfj-reject:hover,
.bfj-clinical-requests .bfj-clinical-requests-actions button.bfj-reject:focus-visible{
  background:#99373b!important;
  border-color:#c65c60!important;
  color:#fff!important;
}
.bfj-clinical-requests-empty,.bfj-clinical-requests-notice,.bfj-clinical-requests-warning{border:1px solid #345b54;border-radius:12px;padding:15px;margin:12px 0;background:#153a33;color:#effaf6!important}
.bfj-clinical-requests-warning{border-color:#ba8d59;color:#ffd7a4!important}
@media(max-width:500px){.bfj-clinical-requests-card{padding:16px}.bfj-clinical-requests-actions{flex-direction:column}.bfj-clinical-requests-actions form{flex:1 1 auto}}
