/* R28: presentation only. Existing text, controls, links and data stay in place. */

/* Login · Conexión Premium. Scope excludes the public calculator/homepage. */
:root body .public-page:has(.public-auth-layout){background:radial-gradient(ellipse at 5% 25%,#075dbb55,transparent 55%),#051a48;min-height:100dvh;color:#fff}
:root body .public-page:has(.public-auth-layout) .public-header{background:#061b46;border-bottom:1px solid #32d4f32b}
:root body .public-page:has(.public-auth-layout) .public-header .public-brand{background:#fff;border-radius:10px;padding:5px 12px}
:root body .public-page:has(.public-auth-layout) .public-header :is(a,button){color:#eaf6ff}
:root body .public-page:has(.public-auth-layout) .public-header .public-nav-active{color:#57e4ff}
:root body .public-page:has(.public-auth-layout) .public-header .public-register{background:#0065ff;color:white}
:root body .public-auth-layout{display:grid;grid-template-columns:1fr 1.12fr;gap:0;align-items:stretch;max-width:1180px;margin:48px auto 56px;padding:0 24px;isolation:isolate}
:root body .public-auth-layout .public-auth-copy{position:relative;overflow:hidden;border:1px solid #35bff12e;border-right:0;border-radius:24px 0 0 24px;background:radial-gradient(ellipse at 0 90%,#0084d83b,transparent 70%),#071e4b;padding:38px 40px;color:white;min-width:0;max-width:none;text-align:left}
:root body .public-auth-layout .public-auth-copy:after{content:'';position:absolute;pointer-events:none;right:-140px;bottom:-165px;width:450px;height:300px;border:2px solid #39d9f54d;border-radius:50%;box-shadow:0 0 35px #06b7ff2e,inset 0 0 25px #06b7ff18;transform:rotate(-28deg)}
:root body .public-auth-layout .nibra-auth-logo{background:white;width:165px;padding:8px;border-radius:13px;margin:0 0 25px}
:root body .public-auth-layout .public-auth-copy .public-kicker{color:#74dcf8!important;font-size:10px;letter-spacing:1.6px}
:root body .public-auth-layout .public-auth-copy h1{font-size:clamp(27px,3vw,37px);line-height:1.2;letter-spacing:-1px;color:white;margin:15px 0 19px}
:root body .public-auth-layout .public-auth-copy em{color:#39d7f5!important;font-style:normal}
:root body .public-auth-layout .public-auth-copy>p{color:#d5e6f8;font-size:13px;line-height:1.8}
:root body .public-auth-layout .public-auth-benefits{display:grid;gap:13px;margin:25px 0}
:root body .public-auth-layout .public-auth-benefits span{color:#d9ebff;font-size:12px;line-height:1.6}
:root body .public-auth-layout .public-auth-copy>a{position:relative;z-index:1;color:#9beeff;font-size:12px;display:inline-block;padding:8px 0}
:root body .public-auth-layout .public-auth-card{width:100%;max-width:none;margin:0;background:#fff;border:0;border-radius:75px 24px 24px 75px;padding:42px 42px 42px 56px;box-shadow:0 20px 55px #0002;align-self:stretch;min-width:0}
:root body .public-auth-layout .public-auth-tabs{background:#edf4ff;padding:5px;border-radius:12px;gap:5px;margin-bottom:28px}
:root body .public-auth-layout .public-auth-tabs button{border-radius:8px;color:#456482;font-size:13px;min-height:40px}
:root body .public-auth-layout .public-auth-tabs button.selected{background:#075bf0;color:white;box-shadow:0 4px 12px #075bf025}
:root body .public-auth-layout .public-auth-card h2{color:#081f51;font-size:clamp(25px,2.6vw,34px);letter-spacing:-1px;line-height:1.2}
:root body .public-auth-layout .public-auth-card>p{color:#61758e;font-size:13px;line-height:1.7}
:root body .public-auth-layout .public-auth-card label{color:#193557;font-size:13px;font-weight:650}
:root body .public-auth-layout .public-auth-card input:not([type=checkbox]){min-height:49px;border:1px solid #cbd9ec;border-radius:10px;background:#f7f9fd;font-size:16px;color:#122d51;padding:12px 14px}
:root body .public-auth-layout .public-auth-card input:focus{outline:3px solid #0877ff20;border-color:#0877ff}
:root body .public-auth-layout .public-auth-card button[type=submit]{background:linear-gradient(110deg,#007bff,#073be1);border:0;color:white;font-size:15px;font-weight:750;min-height:49px;border-radius:10px;box-shadow:0 7px 20px #075bf026}
:root body .public-auth-layout .public-auth-card :is(button.ghost,button.secondary){color:#0757df;min-height:42px}
:root body .public-page:has(.public-auth-layout) .public-footer{border-color:#69bdf02b;color:#b3cce6}
:root body .public-page:has(.public-auth-layout) .public-footer :is(a,span){color:#b3cce6}

/* Admin shell · Flujo Turquesa. Only the shell and home-specific classes. */
:root body[data-nibra-admin="1"] .shell{--n32-ink:#102e48;--n32-muted:#5c7489;--n32-line:#dae9ed;--n32-paper:#f3f8f9;--n32-violet:#087e86;--n32-green:#008b7a;--n32-navy:#092d50;--green:#008f89;background:#f3f8f9}
:root body[data-nibra-admin="1"] .shell>.sidebar{background:#fff;border-right:1px solid #dce9ef;box-shadow:6px 0 22px #143b4c05;padding:20px 14px 12px}
:root body[data-nibra-admin="1"] .sidebar .brand{background:#fff;border:1px solid #e1ebf2;padding:12px;margin-bottom:20px;box-shadow:none}
:root body[data-nibra-admin="1"] .sidebar .workspace-label{color:#65839c;letter-spacing:1.3px}
:root body[data-nibra-admin="1"] .sidebar .nav-button{color:#17364e;background:transparent;border:0;box-shadow:none;border-radius:10px;transform:none}
:root body[data-nibra-admin="1"] .sidebar .nav-button :is(svg,.platform-nav-icon){color:#214a63;background:transparent;box-shadow:none}
:root body[data-nibra-admin="1"] .sidebar .nav-button:hover{color:#006e75;background:#edf9f8;transform:none;box-shadow:none}
:root body[data-nibra-admin="1"] .sidebar .nav-button.active{background:#082d58;color:#fff;box-shadow:0 4px 10px #082d581a;border:0}
:root body[data-nibra-admin="1"] .sidebar .nav-button.active svg{color:#fff}
:root body[data-nibra-admin="1"] .sidebar .n31-menu{border-color:#e2edf1}
:root body[data-nibra-admin="1"] .sidebar .n31-menu>summary{color:#1c3e57}
:root body[data-nibra-admin="1"] .sidebar .n31-menu>summary span{color:#087c84}
:root body[data-nibra-admin="1"] .sidebar-bottom{background:#f3f9fb;border:1px solid #dbe9ef;color:#5d7588}
:root body[data-nibra-admin="1"] .sidebar-bottom b{color:#23475f}
:root body[data-nibra-admin="1"] .topbar{background:#ffffffed;border-bottom:1px solid #dfebef}
:root body[data-nibra-admin="1"] .avatar{background:#e2f7f3;color:#087b75}
:root body[data-nibra-admin="1"] .main-content:has(.home-command){background:radial-gradient(ellipse at 100% 0,#e2f5f2,transparent 60%),#f5f9fa}
:root body[data-nibra-admin="1"] .home-command{gap:18px;max-width:1540px}
:root body[data-nibra-admin="1"] .home-hero{display:grid;grid-template-columns:1.18fr 1fr;column-gap:38px;row-gap:10px;padding:26px;border:0!important;border-radius:20px;background:transparent;box-shadow:none;isolation:isolate}
:root body[data-nibra-admin="1"] .home-hero:before{content:'';position:absolute;z-index:-1;inset:0 auto 0 0;width:calc(54.13% - 4px);border:1px solid #13a49b55;border-radius:20px;background:radial-gradient(ellipse at 100% 0,#22c4b044,transparent 65%),linear-gradient(120deg,#095467,#009a92)}
:root body[data-nibra-admin="1"] .home-hero:after{right:48%;bottom:-100px;width:230px;height:230px;border:28px solid #8efbe410;z-index:-1}
:root body[data-nibra-admin="1"] .home-hero>div{display:contents}
:root body[data-nibra-admin="1"] .home-hero .home-kicker{grid-column:1;color:#adf5ec;font-size:9px;letter-spacing:1.5px}
:root body[data-nibra-admin="1"] .home-hero h1{grid-column:1;grid-row:2;font-size:clamp(25px,2.7vw,37px)!important;letter-spacing:-1px!important;line-height:1.14!important;margin:0}
:root body[data-nibra-admin="1"] .home-hero em{color:#b8fff1!important}
:root body[data-nibra-admin="1"] .home-hero p{grid-column:1;grid-row:3/5;line-height:1.75;font-size:12px;margin:0;max-width:470px}
:root body[data-nibra-admin="1"] .home-hero .home-hero-actions{grid-column:2;grid-row:1/4;display:flex;flex-wrap:wrap;align-content:center;gap:10px;margin:0;padding:20px;border-radius:17px;background:white;border:1px solid #dce9ee;box-shadow:0 5px 20px #1b6b7409}
:root body[data-nibra-admin="1"] .home-hero .home-hero-actions>button:first-child{background:linear-gradient(110deg,#008f92,#00a18e)!important;color:white;border:0!important;box-shadow:0 5px 12px #008f921c!important;padding:13px 16px}
:root body[data-nibra-admin="1"] .home-hero .home-hero-actions>.home-outline{color:#123b58!important;background:#f7fbfd!important;border:1px solid #d2e3eb!important;padding:13px 16px}
:root body[data-nibra-admin="1"] .home-hero>aside{grid-column:2;grid-row:4;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:6px 13px;padding:0;margin:0;min-width:0;color:#52718b;border:0}
:root body[data-nibra-admin="1"] .home-hero>aside :is(strong,small){color:#52718b;font-size:10px;line-height:1.6}
:root body[data-nibra-admin="1"] .home-hero>aside .home-live{background:#e9f7f2;border-color:#c1e4d6;color:#12684f;font-size:9px}
:root body[data-nibra-admin="1"] .home-hero>aside button{background:#fff!important;color:#1c5c6b!important;border:1px solid #cfe2e9!important;font-size:11px;padding:8px 11px}
:root body[data-nibra-admin="1"] .home-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
:root body[data-nibra-admin="1"] .home-kpi{position:relative;border:1px solid #dfebef;border-top:1px solid #dfebef;border-radius:16px;background:white;box-shadow:0 5px 18px #20667807;padding:19px 18px 19px 24px;min-width:0}
:root body[data-nibra-admin="1"] .home-kpi:before{content:'';position:absolute;left:10px;top:21px;bottom:21px;width:4px;border-radius:5px;background:#3388e8}
:root body[data-nibra-admin="1"] .home-kpi.k-green:before{background:#0ba779}
:root body[data-nibra-admin="1"] .home-kpi.k-amber:before{background:#d88e13}
:root body[data-nibra-admin="1"] .home-kpi.k-purple:before{background:#8a61da}
:root body[data-nibra-admin="1"] .home-kpi>span{color:#274b66;line-height:1.6;font-size:10px;letter-spacing:.35px}
:root body[data-nibra-admin="1"] .home-kpi strong{color:#10334e;font-size:32px}
:root body[data-nibra-admin="1"] .home-kpi small{color:#647d91;font-size:10px;line-height:1.6}
:root body[data-nibra-admin="1"] .home-section{border-color:#dce9ef!important;border-radius:17px!important;box-shadow:0 5px 18px #1e566507!important;padding:22px}
:root body[data-nibra-admin="1"] .home-kicker{color:#478193}
:root body[data-nibra-admin="1"] .home-section-title h2{color:#153a53}
:root body[data-nibra-admin="1"] .home-launches{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
:root body[data-nibra-admin="1"] .home-launch{padding:16px 13px;border:1px solid #cde0f3;background:#e9f2ff;color:#174f91;border-radius:12px;box-shadow:none}
:root body[data-nibra-admin="1"] .home-launch small{color:#4c6d8f;opacity:1;font-size:10px;line-height:1.6}
:root body[data-nibra-admin="1"] .home-launch.launch-purple{background:#f1eaff;border-color:#e0d3f6;color:#654295}
:root body[data-nibra-admin="1"] .home-launch.launch-teal{background:#def6ef;border-color:#bde8db;color:#096c5d}
:root body[data-nibra-admin="1"] .home-launch.launch-orange{background:#fff1d8;border-color:#f0d9ab;color:#86550b}
:root body[data-nibra-admin="1"] .home-platforms{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
:root body[data-nibra-admin="1"] .home-platform{display:grid;grid-template-columns:minmax(130px,1fr) minmax(180px,1.3fr) minmax(140px,1fr);align-items:center;gap:8px 20px;padding:17px 20px;border-color:#dce9ed!important}
:root body[data-nibra-admin="1"] .home-platform>header{grid-column:1;grid-row:1;display:flex;gap:10px;align-items:center}
:root body[data-nibra-admin="1"] .home-platform>h3{grid-column:1;grid-row:2;margin:0;font-size:19px}
:root body[data-nibra-admin="1"] .home-platform>.home-platform-numbers{grid-column:2;grid-row:1/3;margin:0}
:root body[data-nibra-admin="1"] .home-platform>p{grid-column:2;grid-row:3;margin:0;color:#60798d}
:root body[data-nibra-admin="1"] .home-platform>.home-source-time{grid-column:1/-1;grid-row:4;color:#667d8d;font-size:10px;line-height:1.6}
:root body[data-nibra-admin="1"] .home-platform>button{grid-column:3;grid-row:1/4;margin:0;background:#f0f8fc;color:#175c7b;border:1px solid #d0e4ee;box-shadow:none;justify-self:stretch}

@media(max-width:1100px){
 :root body[data-nibra-admin="1"] .home-launches{grid-template-columns:repeat(2,minmax(0,1fr))}
 :root body[data-nibra-admin="1"] .home-hero{column-gap:24px;padding:22px}
 :root body[data-nibra-admin="1"] .home-hero .home-hero-actions{padding:15px;flex-direction:column;align-items:stretch}
}
@media(max-width:760px){
 :root body .public-auth-layout{grid-template-columns:minmax(0,1fr)!important;padding:0 14px;max-width:580px;margin:22px auto 30px}
 :root body .public-auth-layout .public-auth-copy{border:1px solid #35bff12e;border-bottom:0;border-radius:22px 22px 0 0;padding:24px 25px;max-width:none;width:100%}
 :root body .public-auth-layout .nibra-auth-logo{width:115px;margin:0 0 16px;padding:5px}
 :root body .public-auth-layout .public-auth-copy h1{font-size:27px;margin:12px 0}
 :root body .public-auth-layout .public-auth-copy>p{font-size:12px;line-height:1.65;margin-bottom:10px}
 :root body .public-auth-layout .public-auth-benefits{display:flex;flex-wrap:wrap;gap:7px 15px;margin:14px 0 8px}
 :root body .public-auth-layout .public-auth-benefits span{font-size:10px;line-height:1.6}
 :root body .public-auth-layout .public-auth-card{border-radius:22px;padding:25px 22px;margin:0;max-width:none}
 :root body .public-auth-layout .public-auth-tabs{margin-bottom:22px}
 :root body .public-auth-layout .public-auth-card h2{font-size:28px}
 :root body .public-page:has(.public-auth-layout) .public-header nav{background:#082451;border:1px solid #34c7ed44}
 :root body[data-nibra-admin="1"] .home-hero{display:flex;flex-direction:column;padding:23px;gap:13px;background:linear-gradient(125deg,#075b6a,#009c91);border-radius:17px}
 :root body[data-nibra-admin="1"] .home-hero:before{content:none}
 :root body[data-nibra-admin="1"] .home-hero>div{display:contents}
 :root body[data-nibra-admin="1"] .home-hero .home-hero-actions{display:flex;width:100%;padding:14px;margin:3px 0 0;background:#fff;gap:10px}
 :root body[data-nibra-admin="1"] .home-hero>aside{width:100%;padding-top:9px;gap:7px 12px}
 :root body[data-nibra-admin="1"] .home-hero>aside :is(strong,small){color:#e0faf6}
 :root body[data-nibra-admin="1"] .home-hero h1{font-size:28px!important;line-height:1.18!important}
 :root body[data-nibra-admin="1"] .home-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 :root body[data-nibra-admin="1"] .home-kpi{padding:15px 12px 15px 21px}
 :root body[data-nibra-admin="1"] .home-kpi:before{left:8px;top:17px;bottom:17px;width:3px}
 :root body[data-nibra-admin="1"] .home-kpi strong{font-size:29px}
 :root body[data-nibra-admin="1"] .home-kpi>span{font-size:9px}
 :root body[data-nibra-admin="1"] .home-section{padding:17px}
 :root body[data-nibra-admin="1"] .home-launches{grid-template-columns:1fr}
 :root body[data-nibra-admin="1"] .home-launch{min-height:61px;padding:12px 14px}
 :root body[data-nibra-admin="1"] .home-platform{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:15px}
 :root body[data-nibra-admin="1"] .home-platform>header{grid-column:1;grid-row:1}
 :root body[data-nibra-admin="1"] .home-platform>h3{grid-column:1;grid-row:2}
 :root body[data-nibra-admin="1"] .home-platform>.home-platform-numbers{grid-column:2;grid-row:1/3;gap:10px}
 :root body[data-nibra-admin="1"] .home-platform>p{grid-column:1/-1;grid-row:3}
 :root body[data-nibra-admin="1"] .home-platform>.home-source-time{grid-column:1/-1;grid-row:4}
 :root body[data-nibra-admin="1"] .home-platform>button{grid-column:1/-1;grid-row:5;min-height:42px}
}
@media(prefers-reduced-motion:no-preference){
 :root body .public-auth-layout .public-auth-card{animation:n28-arrive .35s ease both}
 :root body[data-nibra-admin="1"] :is(.home-kpi,.home-section){animation:n28-arrive .3s ease both}
 :root body[data-nibra-admin="1"] .home-kpi:nth-child(2){animation-delay:.035s}
 :root body[data-nibra-admin="1"] .home-kpi:nth-child(3){animation-delay:.07s}
 :root body[data-nibra-admin="1"] .home-kpi:nth-child(4){animation-delay:.105s}
 @keyframes n28-arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
}
@media(prefers-reduced-motion:reduce){
 :root body .public-auth-layout *,:root body[data-nibra-admin="1"] :is(.sidebar,.home-command) *{animation:none!important;transition:none!important}
}
