
/* The public access screen always uses Jafet's dark identity. Dashboard theme
   preferences stay untouched. Explicit overrides isolate legacy ROIS home CSS. */
html body.rois-dossier[data-active-view='home'],
html body.rois-dossier[data-active-view='home'] :is(.app-shell,main,#homeView){background:#05080d!important;color:#f2f5fa!important}
html body.rois-dossier[data-active-view='home'] .app-shell{min-height:100dvh}
html body.rois-dossier[data-active-view='home'] main{padding:0!important;margin:0!important;max-width:none!important;width:100%!important}
html body.rois-dossier[data-active-view='home'] #homeView{padding:0!important;margin:0!important;min-height:calc(100dvh - 96px)}
html body.rois-dossier[data-active-view='home'] .topbar{position:relative!important;min-height:96px!important;height:auto!important;padding:18px clamp(20px,4vw,64px)!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:24px!important;border-bottom:1px solid #27364b!important}
html body.rois-dossier[data-active-view='home'] .topbar .brand{position:relative!important;width:220px!important;min-width:220px!important;max-width:220px!important;flex-basis:220px!important;height:54px!important;overflow:hidden!important;padding:0!important}
html body.rois-dossier[data-active-view='home'] .topbar .brand-logo{position:absolute!important;display:block!important;width:220px!important;height:auto!important;min-width:0!important;max-width:none!important;max-height:none!important;top:50%!important;left:0!important;transform:translateY(-50%)!important;filter:none!important;opacity:1!important;object-fit:contain!important;background:transparent!important;border:0!important;padding:0!important}
html body.rois-dossier[data-active-view='home'] .topbar>a:not(.brand){justify-self:end;color:#afbdd0!important;font-size:14px;line-height:1.5;text-decoration:none}
html body.rois-dossier[data-active-view='home'] .topbar>a:not(.brand):hover{color:#fff!important;text-decoration:underline}
html body.rois-dossier[data-active-view='home'] .topbar .btn{font-size:14px!important;min-height:48px!important;padding:12px 20px!important}
html body.rois-dossier #homeView .jafet-access{max-width:980px;margin:0 auto;padding:clamp(60px,10vh,112px) clamp(24px,5vw,64px)}
html body.rois-dossier #homeView .jafet-access h1{color:#f2f5fa!important;font-size:clamp(40px,5.2vw,64px);font-weight:500;letter-spacing:-.035em;line-height:1.12;margin:24px 0}
html body.rois-dossier #homeView .jafet-access>p{color:#afbdd0!important;font-size:18px;line-height:1.65;max-width:60ch}
html body.rois-dossier #homeView .jafet-access .eyebrow{color:#8fbaff!important;font-size:14px;letter-spacing:.16em}
html body.rois-dossier #homeView .jafet-access .hint{color:#afbdd0!important;font-size:15px;letter-spacing:normal;margin-top:20px}
html body.rois-dossier #homeView .jafet-access .btn.primary{display:inline-flex;align-items:center;justify-content:center;background:#1856b8!important;color:#fff!important;border:1px solid #69b5ff!important;border-radius:4px;min-height:52px;padding:14px 24px;font-size:14px;line-height:1.4;margin-top:16px;white-space:normal}
html body.rois-dossier #homeView .jafet-access .btn.primary:hover{background:#2065d8!important}
html body.rois-dossier #homeView .jafet-access .btn:focus-visible{outline:2px solid #8fbaff;outline-offset:5px}
html body.rois-dossier[data-active-view='home'] #loginModal .modal-card{width:min(100%,480px);padding:32px}
html body.rois-dossier[data-active-view='home'] #loginModal :is(label,input,.btn,.link-button){font-size:16px!important}
html body.rois-dossier[data-active-view='home'] #loginModal .link-button{color:#8fbaff!important;min-height:44px}
@media(max-width:640px){
  html body.rois-dossier[data-active-view='home'] .topbar{grid-template-columns:minmax(0,1fr) auto!important;gap:8px 16px!important;padding:14px 20px!important}
  html body.rois-dossier[data-active-view='home'] .topbar .brand{width:180px!important;min-width:0!important;max-width:180px!important;flex-basis:180px!important;height:44px!important;grid-column:1;grid-row:1}
  html body.rois-dossier[data-active-view='home'] .topbar .brand-logo{width:180px!important}
  html body.rois-dossier[data-active-view='home'] .topbar>a:not(.brand){grid-column:1/-1;grid-row:2;justify-self:start;padding:8px 0}
  html body.rois-dossier[data-active-view='home'] #sessionArea{grid-column:2;grid-row:1}
  html body.rois-dossier[data-active-view='home'] .topbar .btn{padding:10px 12px!important}
  html body.rois-dossier #homeView .jafet-access{padding:48px 24px}
  html body.rois-dossier #homeView .jafet-access .btn.primary{width:100%}
  html body.rois-dossier[data-active-view='home'] #loginModal .modal-card{padding:28px 20px}
}
.jafet-access{max-width:850px;margin:8vh auto;padding:45px 30px}.jafet-access h1{font-size:clamp(40px,6vw,80px);line-height:1.05;margin:25px 0}.jafet-access>p{font-size:18px;line-height:1.7}.jafet-access .hint{font-size:15px}.topbar{gap:24px}.topbar>a:not(.brand){font-size:14px}.topbar .brand-logo{width:210px;height:auto;object-fit:contain}.rois-sidebar-identity,.dashboard-rois-logo{content:url('/jafet-logo.png')!important;object-fit:contain!important}.rois-sidebar-identity{width:100%!important;height:auto!important;max-height:100px!important}.dashboard-rois-logo{max-width:160px!important}.nav-create-account,[data-registration-choice]{display:none!important}body[data-dashboard-theme='light'] .rois-sidebar-identity,body[data-dashboard-theme='light'] .dashboard-rois-logo{filter:brightness(0)!important}.sidebar-collapsed .rois-sidebar-identity{content:url('/jafet-isotipo.jpeg')!important}body[data-active-view='athlete'] .topbar{display:none}.modal.active{z-index:9999}.modal-card{max-height:90dvh;overflow:auto}html body[data-dashboard-theme='light'] #athleteView .side-nav button.active{background:#194bb7!important;color:#fff!important}html body[data-dashboard-theme='light'] #athleteView .side-nav button.active::before{background:#fff!important}
