/* Bernard Health SeniorCare V4.3.73 — archivo médico de resultados aislado */
.bhra-shell{
  --bhra-navy:#182c5e;
  --bhra-blue:#2858a5;
  --bhra-sky:#3989c8;
  --bhra-ink:#162744;
  --bhra-muted:#66748b;
  --bhra-line:#dbe7f4;
  --bhra-soft:#f3f8fd;
  margin-top:18px;
  border:1px solid rgba(40,88,165,.16);
  border-radius:28px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 18px 55px rgba(24,44,94,.09);
  overflow:hidden;
}
.bhra-tabs{
  display:flex;
  gap:10px;
  padding:18px;
  border-bottom:1px solid var(--bhra-line);
  background:rgba(255,255,255,.92);
}
.bhra-tabs button{
  appearance:none;
  border:1px solid #d8e4f2;
  border-radius:16px;
  padding:12px 18px;
  background:#fff;
  color:#52637d;
  font:800 14px/1.1 inherit;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;
}
.bhra-tabs button:hover{transform:translateY(-1px);border-color:#a8c3e6;box-shadow:0 8px 20px rgba(40,88,165,.09)}
.bhra-tabs button.active{background:linear-gradient(135deg,var(--bhra-navy),var(--bhra-sky));border-color:transparent;color:#fff;box-shadow:0 10px 24px rgba(40,88,165,.23)}
.bhra-tabs button span{display:inline-grid;place-items:center;min-width:23px;height:23px;margin-left:7px;padding:0 6px;border-radius:999px;background:rgba(40,88,165,.09);font-size:12px}
.bhra-tabs button.active span{background:rgba(255,255,255,.2)}
.bhra-content{padding:24px}
.bhra-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.bhra-section-head>div:first-child>span,.bhra-patient-archive-head>div:last-child>span{display:block;margin-bottom:6px;color:var(--bhra-blue);font-size:12px;font-weight:900;letter-spacing:.16em}
.bhra-section-head h3,.bhra-patient-archive-head h3{margin:0;color:var(--bhra-ink);font-size:24px;line-height:1.15}
.bhra-section-head p,.bhra-patient-archive-head p{margin:6px 0 0;color:var(--bhra-muted);font-size:14px;line-height:1.45}
.bhra-count{display:grid;place-items:center;min-width:54px;height:54px;border-radius:18px;background:linear-gradient(145deg,#e8f2fc,#f8fbff);border:1px solid #d8e7f6;color:var(--bhra-blue);font-size:21px;font-weight:900;box-shadow:inset 0 1px 0 #fff}
.bhra-toolbar{margin-bottom:18px}
.bhra-toolbar label{display:block;color:#344761;font-size:13px;font-weight:800}
.bhra-toolbar input{width:100%;margin-top:7px;border:1px solid #d7e4f3;border-radius:15px;padding:13px 15px;background:#fff;color:var(--bhra-ink);font:600 14px/1.3 inherit;outline:none;box-shadow:0 5px 16px rgba(24,44,94,.04)}
.bhra-toolbar input:focus{border-color:#72a8da;box-shadow:0 0 0 4px rgba(57,137,200,.12)}
.bhra-list{display:grid;gap:14px}
.bhra-result-card{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:16px;align-items:start;padding:18px;border:1px solid var(--bhra-line);border-radius:20px;background:#fff;box-shadow:0 9px 25px rgba(24,44,94,.055)}
.bhra-result-avatar{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;background:linear-gradient(145deg,#e9f3fd,#f7fbff);border:1px solid #dceaf8;color:var(--bhra-blue);font-size:17px;font-weight:900;letter-spacing:.02em}
.bhra-result-avatar.large{width:62px;height:62px;border-radius:20px;font-size:19px}
.bhra-result-copy{min-width:0}
.bhra-result-topline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.bhra-result-topline strong{color:var(--bhra-ink);font-size:17px;line-height:1.25}
.bhra-result-copy h4{margin:4px 0 0;color:#35506d;font-size:14px}
.bhra-meta{display:flex;flex-wrap:wrap;gap:7px 14px;margin-top:9px;color:var(--bhra-muted);font-size:12px;font-weight:650}
.bhra-meta span{position:relative}
.bhra-meta span+span:before{content:'•';position:absolute;left:-9px;color:#a8b8ca}
.bhra-result-copy p{margin:12px 0 0;color:#52637a;font-size:13px;line-height:1.5;white-space:pre-wrap}
.bhra-status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;letter-spacing:.02em}
.bhra-status.is-reviewed{background:#e4f6ee;color:#147451}
.bhra-status.is-pending{background:#fff3d7;color:#8a6111}
.bhra-interpretation{display:grid;gap:5px;margin-top:12px;padding:11px 13px;border-left:3px solid var(--bhra-sky);border-radius:0 12px 12px 0;background:#f4f9fe;color:#405873;font-size:13px;line-height:1.45}
.bhra-interpretation b{color:var(--bhra-blue);font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.bhra-file-name{display:flex;align-items:center;gap:7px;margin-top:11px;color:#738098;font-size:11px;word-break:break-all}
.bhra-file-name svg{width:17px;height:17px;flex:0 0 auto;color:var(--bhra-sky)}
.bhra-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:330px}
.bhra-btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border:1px solid transparent;border-radius:12px;padding:9px 12px;font:800 12px/1 inherit;text-decoration:none;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}
.bhra-btn:hover{transform:translateY(-1px)}
.bhra-btn-light{background:#f4f8fd;border-color:#dce8f5;color:#315b8e}
.bhra-btn-primary{background:linear-gradient(135deg,var(--bhra-navy),var(--bhra-blue));color:#fff;box-shadow:0 7px 16px rgba(40,88,165,.18)}
.bhra-btn-restore{background:#eef8f4;border-color:#cfece1;color:#187456}
.bhra-folder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bhra-folder-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;padding:18px;border:1px solid var(--bhra-line);border-radius:20px;background:#fff;color:inherit;text-align:left;cursor:pointer;box-shadow:0 8px 24px rgba(24,44,94,.05);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.bhra-folder-card:hover{transform:translateY(-2px);border-color:#a9c9e8;box-shadow:0 14px 28px rgba(24,44,94,.09)}
.bhra-folder-card>b{color:var(--bhra-blue);font-size:25px}
.bhra-folder-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:linear-gradient(145deg,#eaf4fe,#f8fbff);color:var(--bhra-blue)}
.bhra-folder-icon svg{width:28px;height:28px}
.bhra-folder-copy{display:grid;gap:3px;min-width:0}
.bhra-folder-copy strong{color:var(--bhra-ink);font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bhra-folder-copy small{color:#4d6380;font-size:12px;font-weight:800}
.bhra-folder-copy em{color:#7a8799;font-size:11px;font-style:normal}
.bhra-folder-copy>span{margin-top:4px;color:var(--bhra-blue);font-size:11px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bhra-folder-back{margin-bottom:16px;border:1px solid #d7e5f3;border-radius:13px;padding:10px 13px;background:#fff;color:var(--bhra-blue);font:850 13px/1 inherit;cursor:pointer}
.bhra-patient-archive-head{display:flex;align-items:center;gap:15px;margin-bottom:18px;padding:16px;border:1px solid #dce9f6;border-radius:20px;background:linear-gradient(135deg,#f6faff,#eef6fd)}
.bhra-empty{display:grid;justify-items:center;gap:6px;padding:42px 20px;border:1px dashed #ccdaea;border-radius:20px;background:rgba(247,250,254,.75);text-align:center;color:#6a7890}
.bhra-empty svg{width:38px;height:38px;color:#7aaad5}
.bhra-empty h3{margin:5px 0 0;color:#304b6a;font-size:17px}
.bhra-empty p{margin:0;font-size:13px;line-height:1.45}
.bhra-search-empty{margin-top:14px}
.bhra-result-card[hidden],.bhra-folder-card[hidden],.bhra-search-empty[hidden]{display:none!important}
@media(max-width:900px){
  .bhra-result-card{grid-template-columns:48px minmax(0,1fr)}
  .bhra-result-avatar{width:48px;height:48px;border-radius:15px}
  .bhra-actions{grid-column:1/-1;max-width:none;justify-content:flex-start;padding-left:64px}
  .bhra-folder-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .bhra-shell{margin-top:14px;border-radius:22px}
  .bhra-tabs{padding:12px;gap:8px}
  .bhra-tabs button{flex:1;padding:11px 9px;font-size:12px}
  .bhra-tabs button span{min-width:21px;height:21px;margin-left:4px;padding:0 5px;font-size:11px}
  .bhra-content{padding:16px 14px 20px}
  .bhra-section-head{align-items:flex-start}
  .bhra-section-head h3,.bhra-patient-archive-head h3{font-size:20px}
  .bhra-section-head p,.bhra-patient-archive-head p{font-size:13px}
  .bhra-count{min-width:46px;height:46px;border-radius:15px;font-size:18px}
  .bhra-result-card{grid-template-columns:44px minmax(0,1fr);gap:12px;padding:15px;border-radius:18px}
  .bhra-result-avatar{width:44px;height:44px;border-radius:14px;font-size:15px}
  .bhra-result-topline strong{font-size:15px}
  .bhra-result-copy h4{font-size:13px}
  .bhra-meta{font-size:11px;gap:5px 12px}
  .bhra-result-copy p{font-size:12.5px}
  .bhra-actions{padding-left:56px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .bhra-actions .bhra-btn{width:100%;min-height:40px;padding:9px 8px;font-size:11.5px}
  .bhra-folder-card{grid-template-columns:46px minmax(0,1fr) auto;padding:15px;gap:12px;border-radius:18px}
  .bhra-folder-icon{width:46px;height:46px;border-radius:14px}
  .bhra-folder-icon svg{width:25px;height:25px}
  .bhra-folder-copy strong{font-size:15px}
  .bhra-patient-archive-head{padding:14px}
  .bhra-result-avatar.large{width:54px;height:54px;border-radius:17px}
}
@media(max-width:390px){
  .bhra-tabs button{font-size:11.3px}
  .bhra-actions{grid-template-columns:1fr;padding-left:0}
  .bhra-result-card{grid-template-columns:40px minmax(0,1fr)}
  .bhra-result-avatar{width:40px;height:40px;font-size:14px}
}
