/* Rolevant Jobs RC41 V3.7 — single visual fidelity consolidation.
   Scope: existing H11/RC41 views, no new services/data/credentials, no brand substitution.
   Last visual layer: replaces scattered opaque mobile surfaces and aligns components.
*/

/* 1. Loader — authentic Vant, balanced optics, proper neon-glass and hierarchy. */
/* Never force the host visible: H11 controls auth-return display with native CSS/classes.
   A public visitor must see Welcome rather than an eternal "Validando tu acceso". */
.rj6-load-root .rj6-load-panel{
 width:min(100%,510px)!important;min-height:0!important;
 padding:clamp(23px,4.5svh,40px) clamp(18px,4.5vw,38px)!important;
 border:1px solid rgba(114,247,255,.84)!important;
 border-radius:clamp(24px,6vw,38px)!important;
 background:
  linear-gradient(132deg,rgba(122,255,255,.12) 0 11%,transparent 11.3% 78%,rgba(13,205,241,.075) 78.5%,transparent 85%),
  radial-gradient(ellipse 88% 50% at 74% 9%,rgba(27,203,235,.24),transparent 74%),
  linear-gradient(154deg,rgba(4,53,76,.75),rgba(1,22,38,.83) 56%,rgba(4,48,67,.73))!important;
 box-shadow:inset 0 1px rgba(234,255,255,.41),0 0 0 1px rgba(8,235,246,.13),
  0 0 23px rgba(3,242,255,.34),0 26px 48px rgba(0,8,27,.45)!important;
 backdrop-filter:blur(26px) saturate(1.65)!important;
 -webkit-backdrop-filter:blur(26px) saturate(1.65)!important;
 overflow:hidden!important;
 gap:0!important;
}
.rj6-load-root .rj6-load-panel::after{
 content:"";position:absolute;inset:3px;z-index:-1;pointer-events:none;
 border-radius:inherit;
 background:radial-gradient(ellipse 76% 32% at 52% 43%,rgba(2,227,246,.11),transparent 79%);
}
.rj6-load-root .rj6-load-brand{
 margin:0 auto clamp(14px,3svh,24px)!important;gap:9px!important;
}
.rj6-load-root .rj6-load-logo{width:clamp(40px,10vw,58px)!important;height:clamp(40px,10vw,58px)!important}
.rj6-load-root .rj6-load-name{font-size:clamp(22px,5.95vw,32px)!important;letter-spacing:-.04em!important}
.rj6-load-root .rj6-load-emblem{
 position:relative!important;isolation:isolate!important;
 display:grid!important;place-items:center!important;
 width:clamp(205px,67vw,315px)!important;
 height:clamp(205px,67vw,315px)!important;
 margin:0 auto clamp(11px,2svh,21px)!important;
 border-radius:50%!important;
}
.rj6-load-root .rj6-load-emblem::before{
 inset:8%!important;
 background:radial-gradient(circle at 50% 60%,rgba(0,228,249,.22),rgba(0,70,104,.10) 48%,transparent 75%)!important;
 box-shadow:0 0 37px rgba(0,231,242,.16)!important;
}
.rj6-load-root .rj6-load-art{
 position:absolute!important;z-index:2!important;
 inset:0!important;width:100%!important;height:100%!important;
 display:grid!important;place-items:center!important;
 border-radius:50%!important;
}
.rj6-load-root .rj6-load-emblem .rj6-load-mascot{
 position:absolute!important;z-index:2!important;
 left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;
 /* 0.9 × original 76%: exact 10% visual shrink, orbit size unchanged. */
 width:68.4%!important;height:68.4%!important;max-width:none!important;max-height:none!important;
 margin:0!important;
 object-fit:contain!important;object-position:center!important;
 transform:translate(-50%,-50%) scale(1.17)!important;
 filter:drop-shadow(0 12px 17px rgba(0,8,19,.64))
  drop-shadow(0 0 18px rgba(12,223,241,.37))!important;
}
.rj6-load-root .rj6-load-orbit{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 display:block!important;z-index:3!important;pointer-events:none!important;
}
.rj6-load-root .rj6-load-orbit .control-loading-ring{
 inset:3%!important;width:94%!important;height:94%!important;
 border-width:3px!important;
 box-shadow:0 0 14px rgba(2,251,251,.21),inset 0 0 13px rgba(12,226,244,.13)!important;
}
.rj6-load-root .rj6-load-orbit .control-loading-orbit{
 inset:9%!important;width:82%!important;height:82%!important;
 opacity:.72!important;
}
#authReturnLoading .rj6-load-panel #authReturnLoadingElapsed,
#controlLoadingOverlay .rj6-load-panel #controlLoadingElapsed,
#operationLoadingOverlay .rj6-load-panel #operationLoadingElapsed{display:none!important}
/* Original elapsed state still updates for internal diagnostics: only conceal its presentation. */
.rj6-load-root .rj6-load-panel>strong[id]{
 font-size:clamp(20px,5.7vw,28px)!important;
 line-height:1.13!important;margin:0 0 9px!important;
 letter-spacing:-.035em!important;
}
.rj6-load-root .rj6-load-panel>span[id]:not(.operation-loading-context){
 font-size:clamp(12px,3.55vw,15px)!important;
 margin:0 auto 20px!important;line-height:1.42!important;
 color:#d5edf6!important;
}
.rj6-load-root .control-loading-progress{
 width:95%!important;height:16px!important;
 border:1.5px solid rgba(88,241,253,.88)!important;
 background:linear-gradient(180deg,rgba(8,71,99,.91),rgba(2,26,48,.98))!important;
 box-shadow:0 0 16px rgba(0,230,254,.25),inset 0 1px 7px rgba(0,15,37,.59)!important;
}
.rj6-load-root .control-loading-progress>span{
 height:100%!important;width:64%!important;
 background:linear-gradient(180deg,#b0ffff 0%,#37fbff 32%,#04c5df 89%,#02aecb 100%)!important;
 box-shadow:inset 0 2px rgba(255,255,255,.45),0 0 16px rgba(0,246,255,.75)!important;
 animation:rj6-indeterminate 2.1s ease-in-out infinite!important;
}
.rj6-load-root .rj6-load-footer{
 width:100%;max-width:420px!important;
 gap:10px!important;margin:clamp(19px,3.5svh,31px) auto 0!important;
 color:#e5f6fa!important;font-size:clamp(11px,3.05vw,14px)!important;
 white-space:nowrap!important;
}
.rj6-load-root .rj6-load-footer::before,
.rj6-load-root .rj6-load-footer::after{
 content:"";flex:1 1 0;min-width:16px;height:1px;
 background:linear-gradient(90deg,transparent,rgba(120,235,247,.8))!important;
}
.rj6-load-root .rj6-load-footer::after{transform:rotate(180deg)}
.rj6-load-root .rj6-load-heartbeat{
 flex:0 0 auto;width:30px!important;height:20px!important;
 font-size:0!important;display:block!important;
 color:#2ff9fa!important;filter:drop-shadow(0 0 5px rgba(3,244,255,.55))!important;
}
@media(max-width:370px){
 .rj6-load-root .rj6-load-panel{padding:18px 12px!important}
 .rj6-load-root .rj6-load-emblem{width:min(67vw,245px)!important;height:min(67vw,245px)!important}
 .rj6-load-root .rj6-load-footer{font-size:10.5px!important;gap:6px!important}
}
@media(max-height:650px){
 .rj6-load-root .rj6-load-emblem{width:min(41svh,230px)!important;height:min(41svh,230px)!important}
 .rj6-load-root .rj6-load-panel{padding-block:13px!important}
 .rj6-load-root .rj6-load-footer{margin-top:12px!important}
}

/* 2. Public welcome/login — one viewport-backed canvas, with no hero clipping.
   Old V3.3 rendered the bright image in a hero-local ::before layer whose top
   started BELOW the wordmark; disable only that layer and paint its light on body.
   The app nav, native login form, brand and H11 events remain unchanged. */
body.rj4-access-ready:not(.role-session-active){
 background-color:#042638!important;
 /* Two independent cubic-bezier cyan ribbons live in the fixed page canvas,
    never in Vant's moving art container. No straight diagonal is used. */
 background-image:
  radial-gradient(ellipse 80vw 52svh at 81% 9%,rgba(3,226,244,.24),transparent 76%),
  url('/visual/rc41-auth-light-curves.svg?v=20261109-381'),
  radial-gradient(ellipse 104vw 73svh at -15% 79%,rgba(1,153,187,.24),transparent 77%),
  linear-gradient(155deg,#021b2a 0%,#064f63 49%,#05394b 78%,#031c2d 100%)!important;
 background-position:center top,center center,center top,center top!important;
 background-repeat:no-repeat!important;
 background-size:cover,100% 100%,cover,cover!important;
 background-attachment:fixed!important;
 min-height:100svh!important;
 overflow-x:clip!important;
}
body.rj4-access-ready:not(.role-session-active) .app-nav,
body.rj4-access-ready:not(.role-session-active) .app-shell,
body.rj4-access-ready:not(.role-session-active) .hero-grid{
 background:transparent!important;
 background-color:transparent!important;
 background-image:none!important;
 border-color:transparent!important;
 box-shadow:none!important;
}
body.rj4-access-ready:not(.role-session-active) .app-nav{
 border:0!important;border-bottom:0!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body.rj4-access-ready:not(.role-session-active) .app-nav::before,
body.rj4-access-ready:not(.role-session-active) .app-nav::after,
body.rj4-access-ready:not(.role-session-active) .hero-grid::before,
body.rj4-access-ready:not(.role-session-active) .hero-grid::after{
 content:none!important;
 display:none!important;
 background:none!important;
 box-shadow:none!important;
}
@media(max-width:760px){
 body.rj4-access-ready:not(.role-session-active) .app-nav{
  position:relative!important;z-index:2!important;
 }
 body.rj4-access-ready:not(.role-session-active) .hero-grid{
  position:relative!important;
  min-height:calc(100svh - 62px)!important;
  overflow:visible!important;
 }
 body.rj4-access-ready:not(.role-session-active) .app-footer{display:none!important}
}

/* 3. Authenticated radar — visual density, honest empty values and Vant crop. */
@media(max-width:760px){
 body.rj-radar-ready.role-session-active #rj-radar-home{
  gap:8px!important;padding-top:4px!important;padding-bottom:12px!important;
 }
 body.rj-radar-ready.role-session-active #rj-radar-home .rj-radar-intro{
  min-height:112px!important;padding:10px 125px 6px 4px!important;
  background:radial-gradient(ellipse 64% 110% at 92% 50%,rgba(2,209,231,.18),transparent 77%)!important;
 }
 body.rj-radar-ready.role-session-active #rj-radar-home .rj-radar-hero-vant{
  width:clamp(111px,30vw,140px)!important;height:136px!important;
  right:5px!important;top:-10px!important;
  object-fit:contain!important;
 }
 body.rj-radar-ready.role-session-active #rj-radar-home .rj-radar-intro::after{
  right:6px!important;opacity:.63!important;
 }
 body.rj-radar-ready.role-session-active #rj-radar-home .rj-radar-intro h1{
  font-size:clamp(23px,6vw,28px)!important;
 }
 body.rj-radar-ready.role-session-active #rj-radar-home .rj-radar-quick{
  min-height:50px!important;
 }
 body.rj-radar-ready.role-session-active #rj-radar-home .rj-radar-chips button{
  min-height:42px!important;gap:5px!important;
  background:linear-gradient(153deg,rgba(22,129,151,.43),rgba(2,57,77,.55))!important;
  border-color:rgba(117,237,245,.53)!important;
 }
 body.rj-radar-ready.role-session-active #rj-radar-home .rj-radar-metrics{
  gap:8px!important;margin:0 0 2px!important;
 }
 body.rj-radar-ready.role-session-active #rj-radar-home .rj-radar-metric{
  min-height:72px!important;
  padding:8px 9px!important;gap:2px 8px!important;
  background-image:linear-gradient(152deg,rgba(29,138,169,.52),rgba(3,37,62,.69))!important;
  box-shadow:inset 0 1px rgba(252,255,255,.30),0 7px 16px rgba(0,11,28,.24),0 0 13px rgba(11,235,247,.16)!important;
 }
 body.rj-radar-ready.role-session-active #rj-radar-home .rj-radar-metric__icon{
  width:37px!important;height:37px!important;
 }
 body.rj-radar-ready.role-session-active #rj-radar-home .rj-radar-heading{
  min-height:32px!important;margin:1px 0!important;
 }
 body.rj-radar-ready.role-session-active #rj-radar-home .rj-radar-empty{
  padding:12px 13px!important;
 }
 body.rj-radar-ready.role-session-active #rj-radar-home .rj-radar-empty p{
  margin:5px 0 10px!important;line-height:1.42!important;
 }
 body.rj-radar-ready.role-session-active #rj-radar-home .rj-radar-empty button{
  min-height:44px!important;padding:9px 12px!important;
 }
 body.rj-radar-ready.role-session-active #rj-radar-home .rj-radar-vant{
  gap:10px!important;overflow:visible!important;align-items:center!important;
 }
 body.rj-radar-ready.role-session-active #rj-radar-home .rj-radar-vant img{
  width:62px!important;height:68px!important;object-fit:contain!important;
  flex:0 0 62px!important;margin:0!important;
 }
 body.rj-radar-ready.role-session-active #rj-radar-home .rj-radar-vant>div{min-width:0!important}
 body.rj-radar-ready.role-session-active #rj-radar-home .rj-radar-vant p{
  margin:3px 0 0!important;line-height:1.36!important;
 }
}
body.rj-radar-ready #rj-radar-home .rj-radar-metric:disabled{
 opacity:.88!important;
}
body.rj-radar-ready #rj-radar-home .rj-radar-metric:disabled .rj-radar-metric__number{
 opacity:.75!important;color:#c1dce6!important;
}

/* 4. Native mobile shell — footer hidden only in authenticated app.
   Avoid overlays swallowing card CTA/navigation when content scrolls. */
@media(max-width:760px){
 body.role-session-active .app-footer{display:none!important}
 body.role-session-active .app-shell{
  padding-bottom:calc(96px + env(safe-area-inset-bottom))!important;
 }
 body.role-session-active .product-navigation{
  z-index:170!important;
  bottom:0!important;left:0!important;right:0!important;
  min-height:70px!important;
  padding:4px 6px calc(6px + env(safe-area-inset-bottom))!important;
  background:linear-gradient(180deg,rgba(2,53,69,.80),rgba(0,20,36,.96))!important;
  border-top:1px solid rgba(91,236,247,.38)!important;
  border-radius:19px 19px 0 0!important;
  backdrop-filter:blur(22px) saturate(1.44)!important;
  -webkit-backdrop-filter:blur(22px) saturate(1.44)!important;
 }
 body.role-session-active .product-navigation .product-nav-item{
  min-height:56px!important;border-radius:12px!important;
 }
 body.role-session-active .product-navigation .product-nav-item.is-active{
  border-color:rgba(22,230,244,.43)!important;
  box-shadow:inset 0 1px rgba(234,255,255,.17),0 0 12px rgba(8,226,236,.14)!important;
 }
}

/* 5. Owner control — compact cards + honest horizontal tabs with one active indicator. */
body.role-session-active #viewAdmin .admin-workspace-tabs{
 display:flex!important;flex-wrap:nowrap!important;
 align-items:center!important;gap:7px!important;
 overflow-x:auto!important;overflow-y:hidden!important;
 padding:6px 5px 10px!important;margin:8px 0!important;
 scroll-snap-type:x proximity!important;
 scrollbar-width:thin!important;overscroll-behavior-inline:contain!important;
 -webkit-overflow-scrolling:touch!important;
}
body.role-session-active #viewAdmin .admin-workspace-tabs button{
 flex:0 0 auto!important;white-space:nowrap!important;
 min-height:43px!important;max-width:none!important;
 padding:9px 13px!important;
 border:1px solid rgba(98,222,238,.28)!important;border-radius:12px!important;
 background:linear-gradient(150deg,rgba(12,99,121,.33),rgba(3,39,59,.60))!important;
 color:#d2e8f0!important;box-shadow:none!important;
 scroll-snap-align:start!important;
}
body.role-session-active #viewAdmin .admin-workspace-tabs button.is-active{
 color:#d2fffa!important;
 border-color:rgba(98,251,249,.70)!important;
 background:linear-gradient(150deg,rgba(10,153,173,.43),rgba(3,73,93,.60))!important;
 box-shadow:inset 0 1px rgba(237,255,255,.22),0 0 12px rgba(8,220,238,.16)!important;
}
body.role-session-active #viewAdmin .admin-workspace-tabs button::after,
body.role-session-active #viewAdmin .admin-workspace-tabs::after{
 content:none!important;display:none!important;
}
body.role-session-active #viewAdmin .admin-workspace-tabs button[hidden]{
 display:none!important;
}
body.role-session-active #viewAdmin .admin-overview-grid{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:9px!important;align-items:stretch!important;
}
body.role-session-active #viewAdmin .admin-overview-grid>button{
 min-width:0!important;min-height:114px!important;
 padding:13px!important;
 border-radius:15px!important;
 background:linear-gradient(145deg,rgba(30,132,157,.43),rgba(1,36,57,.69))!important;
 border:1px solid rgba(108,231,243,.38)!important;
 box-shadow:inset 0 1px rgba(248,255,255,.20),0 8px 17px rgba(0,11,28,.19)!important;
}
body.role-session-active #viewAdmin .admin-overview-grid>button span{
 font-size:10px!important;line-height:1.25!important;letter-spacing:.05em!important;
 overflow-wrap:anywhere!important;
}
body.role-session-active #viewAdmin .admin-overview-grid>button strong{
 font-size:clamp(15px,4.2vw,23px)!important;line-height:1.2!important;
 overflow-wrap:anywhere!important;
}
body.role-session-active #viewAdmin .admin-overview-grid>button small{
 font-size:11px!important;line-height:1.3!important;overflow-wrap:anywhere!important;
}
@media(max-width:360px){
 body.role-session-active #viewAdmin .admin-overview-grid{
  grid-template-columns:minmax(0,1fr)!important;
 }
 body.role-session-active #viewAdmin .admin-overview-grid>button{min-height:85px!important}
}

/* 6. Alerts / Telegram — fewer nested-looking frames, compact modules,
   distinction between enabled and genuinely disabled controls. */
body.role-session-active #viewSettings .settings-drawer[data-drawer="notifications"]{
 border-color:rgba(111,237,245,.43)!important;
 background:linear-gradient(147deg,rgba(24,122,148,.41),rgba(2,45,70,.70))!important;
 box-shadow:inset 0 1px rgba(236,255,255,.23),0 10px 25px rgba(0,10,30,.20)!important;
}
body.role-session-active #viewSettings .settings-drawer[data-drawer="notifications"] :is(.telegram-channel,.settings-connection-test,.alert-test-card,.telegram-channel-card){
 box-shadow:none!important;
}
body.role-session-active #viewSettings .settings-drawer[data-drawer="notifications"] .telegram-channel{
 padding:12px!important;margin:8px 0!important;
 border:1px solid rgba(116,237,245,.31)!important;
 border-radius:14px!important;
 background:rgba(2,37,57,.27)!important;
}
body.role-session-active #viewSettings .settings-drawer[data-drawer="notifications"] .alert-test-card{
 display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;
 gap:9px 11px!important;align-items:start!important;
 min-height:0!important;padding:12px!important;
 background:rgba(3,35,54,.36)!important;
 border:1px solid rgba(101,221,233,.32)!important;
 border-radius:13px!important;
}
body.role-session-active #viewSettings .settings-drawer[data-drawer="notifications"] .alert-test-card>button{
 grid-column:1/-1!important;min-height:44px!important;width:100%!important;margin:0!important;
}
body.role-session-active #viewSettings .settings-drawer[data-drawer="notifications"] :is(.telegram-channel-actions button,.telegram-authorization button,.alert-test-card button):not(:disabled){
 min-height:44px!important;
 color:#e7fcff!important;
 border:1px solid rgba(130,233,244,.55)!important;
 background:linear-gradient(150deg,rgba(17,127,154,.58),rgba(2,64,90,.77))!important;
 box-shadow:inset 0 1px rgba(252,255,255,.24),0 0 13px rgba(3,230,242,.10)!important;
}
body.role-session-active #viewSettings .settings-drawer[data-drawer="notifications"] button:disabled{
 opacity:.55!important;cursor:not-allowed!important;box-shadow:none!important;
}
body.role-session-active #viewSettings :is(.settings-drawer,.rj3-alert-hub){
 min-width:0!important;max-width:100%!important;
}
body.role-session-active #viewSettings :is(.settings-drawer,.rj3-alert-hub) :is(p,small){
 line-height:1.45!important;
}

/* Universal integrity: protected controls stay unavailable when explicitly hidden. */
body.role-session-active :is(button,a,input,select)[hidden]{display:none!important}
body.role-session-active :is(button,a,input,select):disabled{
 cursor:not-allowed!important;
}
@media(prefers-reduced-motion:reduce){
 .rj6-load-root .rj6-load-orbit *,.rj6-load-root .control-loading-progress>span{
  animation:none!important;
 }
 .rj6-load-root .rj6-load-mascot{transform:translate(-50%,-50%) scale(1.17)!important}
 body.role-session-active #viewAdmin .admin-workspace-tabs{scroll-behavior:auto!important}
}
