:root{
 --polna-navy:#102e56;
 --polna-blue:#174d91;
 --polna-gold:#d4bb80;
 --polna-pale:#eaf0fa;
 --polna-ink:#172b46;
 --polna-muted:#63748a
}

body.login-body.polna-premium{
 margin:0;
 padding:0;
 display:flex;
 flex-direction:column;
 min-height:100vh;
 color:var(--polna-ink);
 background:
 radial-gradient(ellipse at 10% 10%,#e2ebf9,transparent 45%),
 #f4f6f9;
 font-family:Inter,system-ui,-apple-system,sans-serif
}

.polna-premium *{box-sizing:border-box}

.polna-premium [hidden]{display:none!important}

.polna-premium .public-login-header{
 position:sticky;
 top:0;
 z-index:50;
 width:100%;
 height:auto;
 min-height:65px;
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:14px;
 padding:12px 5%;
 background:#ffffff;
 color:var(--polna-navy);
 border-bottom:1px solid #dce5ef;
 box-shadow:none
}

.public-login-brand{
 display:flex;
 align-items:center;
 gap:12px
}

.public-login-logo{
 background:#102e56;
 color:#d4bb80;
 border-radius:10px;
 padding:10px 12px;
 font-weight:900;
 letter-spacing:1px
}

.public-login-brand strong{
 display:block;
 font-size:14px
}

.public-login-brand small{
 display:block;
 font-size:11px;
 color:#63748a
}

.public-login-security{
 font-size:11px;
 font-weight:700;
 color:#276447;
 padding:7px 10px;
 border:1px solid #cce2d5;
 border-radius:20px;
 background:#f0f9f3
}

.polna-premium .premium-main{
 flex:1;
 display:flex;
 align-items:center;
 justify-content:center;
 width:100%;
 max-width:none;
 margin:0;
 padding:28px 20px
}

.polna-premium .login-shell{
 width:min(1140px,100%);
 display:grid;
 grid-template-columns:1fr 1fr;
 border-radius:26px;
 overflow:hidden;
 border:1px solid #dce4ee;
 background:#fff;
 box-shadow:0 24px 75px #102e561c
}

.polna-premium .login-form{
 padding:clamp(28px,5vw,58px);
 align-self:center;
 min-width:0
}

.polna-premium .login-form h2{
 font-size:clamp(25px,3vw,34px);
 color:#102e56;
 margin:14px 0
}

.polna-premium .login-form input{
 min-height:50px;
 border:1px solid #cdd9e9;
 border-radius:10px
}

.polna-premium .login-form input:focus{
 outline:2px solid #174d91;
 outline-offset:2px
}

.polna-premium .login-form button{
 border-radius:10px;
 background:#174d91
}

.polna-premium .login-form button:hover{
 background:#123d76
}

.polna-premium .login-form small{
 color:#174d91;
 font-weight:800
}

.polna-form-brand{
 display:flex;
 align-items:center;
 gap:12px;
 margin-bottom:28px
}

.polna-form-brand b{
 background:#102e56;
 color:#fff;
 font-size:20px;
 padding:12px;
 border-radius:12px
}

.polna-form-brand strong{
 display:block;
 color:#102e56;
 font-size:15px
}

.polna-form-brand span{
 display:block;
 color:#63748a;
 font-size:11px
}

.polna-mobile-invitation{
 display:flex;
 align-items:center;
 gap:14px;
 margin-top:26px;
 padding:16px;
 background:#f0f5fc;
 border:1px solid #dce6f4;
 border-radius:12px
}

.polna-mobile-invitation strong{
 display:block;
 color:#102e56;
 font-size:14px
}

.polna-mobile-invitation span{
 display:block;
 font-size:11px;
 color:#63748a;
 line-height:1.6
}

.polna-mobile-invitation svg{
 width:34px;
 height:34px;
 flex-shrink:0;
 fill:none;
 stroke:#174d91;
 stroke-width:1.7
}

.polna-showcase{
 position:relative;
 overflow:hidden;
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:16px;
 padding:28px 22px;
 background:
 radial-gradient(ellipse at 85% 5%,#295d9a,transparent 55%),
 linear-gradient(145deg,#102e56,#081a32);
 color:white
}

.showcase-heading{text-align:center}

.showcase-heading>span{
 color:#d4bb80;
 font-size:9px;
 letter-spacing:1.5px;
 font-weight:800
}

.showcase-heading h2{
 margin:7px 0;
 color:#fff;
 font-size:21px
}

.showcase-heading p{
 margin:0;
 color:#c8d7ed;
 font-size:12px
}

/* Realistic hardware enclosure */

.polna-phone{
 position:relative;
 width:100%;
 max-width:328px;
 height:600px;
 padding:10px;
 border-radius:46px;
 background:linear-gradient(145deg,#354258,#0b111a);
 box-shadow:
  0 0 0 1px #ffffff38,
  0 0 0 3px #16243a,
  0 24px 45px #0008,
  0 36px 70px #07152488;
 transform:perspective(1000px) rotateY(-2deg);
 transition:transform .3s ease
}

.polna-phone:hover{
 transform:perspective(1000px) rotateY(0deg)
}

.polna-phone::before,
.polna-phone::after{
 content:"";
 position:absolute;
 width:3px;
 background:#526176;
 border-radius:3px
}

.polna-phone::before{
 left:-4px;top:110px;height:50px
}

.polna-phone::after{
 right:-4px;top:145px;height:55px
}

.polna-phone-notch{
 position:absolute;
 z-index:10;
 left:50%;
 top:17px;
 transform:translateX(-50%);
 width:104px;
 height:24px;
 border-radius:20px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 padding:0 11px;
 background:#030508
}

.phone-camera{
 width:10px;height:10px;
 border-radius:50%;
 background:radial-gradient(circle,#284667,#080b12)
}

.phone-speaker{
 width:34px;height:3px;
 background:#263140;
 border-radius:10px
}

.phone-sensor{
 width:5px;height:5px;
 background:#293b55;
 border-radius:50%
}

.polna-phone-screen{
 width:100%;
 height:100%;
 min-height:0;
 display:flex;
 flex-direction:column;
 overflow:hidden;
 border-radius:37px;
 background:#eff3f9;
 color:#102e56;
 border:1px solid #ffffff22
}

.phone-topspace{
 flex:0 0 37px;
 background:#174d91
}

.connect-header{
 background:#174d91;
 padding:5px 13px 13px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:7px;
 color:white;
 flex-shrink:0
}

.connect-brand{
 display:flex;
 align-items:center;
 gap:8px
}

.connect-brand svg{
 width:30px;height:30px;
 fill:none;stroke:#d4bb80;
 stroke-width:1.6
}

.connect-brand strong{
 display:block;
 font-size:16px
}

.connect-brand small{
 display:block;
 color:#d5e3f5;
 font-size:9px
}

.connect-preview-label{
 color:#fff;
 background:#ffffff22;
 border:1px solid #ffffff33;
 border-radius:6px;
 padding:4px 6px;
 font-size:8px;
 font-weight:800
}

.connect-scroll{
 flex:1;
 min-height:0;
 overflow-y:auto;
 overflow-x:hidden;
 padding:11px;
 scrollbar-width:thin;
 scrollbar-color:#bacbe0 transparent
}

.connect-hero{
 padding:13px;
 border-radius:11px;
 color:#fff;
 background:linear-gradient(135deg,#102e56,#2865a8);
 margin-bottom:10px
}

.connect-hero small{
 font-size:8px;
 letter-spacing:1px;
 color:#d4bb80
}

.connect-hero h3{
 font-size:19px;
 margin:6px 0
}

.connect-hero p{
 font-size:10px;
 line-height:1.4;
 margin:0;
 color:#dce8f8
}

.connect-identity{
 display:flex;
 align-items:center;
 gap:9px;
 background:#fff;
 border:1px solid #e0e7f0;
 border-radius:11px;
 padding:9px;
 margin-bottom:11px
}

.connect-avatar{
 background:#eaf0fa;
 border-radius:9px;
 padding:7px
}

.connect-avatar svg,
.connect-icon svg{
 width:23px;height:23px;
 stroke:#174d91;fill:none;
 stroke-width:1.7;
 stroke-linecap:round;
 stroke-linejoin:round
}

.connect-identity strong{
 font-size:11px;
 display:block
}

.connect-identity small{
 font-size:9px;
 color:#63748a;
 display:block
}

.connect-section-title{
 margin-bottom:8px;
 font-size:11px;
 font-weight:800
}

.connect-services{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:7px
}

.connect-service{
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:5px;
 min-height:70px;
 padding:8px 3px;
 background:white;
 color:#102e56;
 font-size:10px;
 font-weight:700;
 border:1px solid #e0e7f0;
 border-radius:10px;
 cursor:pointer
}

.connect-service:hover{
 background:#eaf0fa;
 border-color:#174d91
}

.connect-icon{
 display:flex;
 align-items:center;
 justify-content:center;
 width:31px;
 height:31px;
 background:#eaf0fa;
 border-radius:9px
}

.connect-disclaimer{
 font-size:9px;
 line-height:1.5;
 text-align:center;
 color:#63748a;
 margin:11px 0 3px
}

/* Interactive detail screens */

.connect-back{
 border:0;
 background:transparent;
 color:#174d91;
 cursor:pointer;
 font-size:12px;
 padding:8px 0
}

.connect-detail-card{
 padding:22px 12px;
 min-height:245px;
 background:#fff;
 border:1px solid #dce5f0;
 border-radius:13px;
 text-align:center
}

.connect-big-icon{
 display:grid;
 place-items:center;
 width:70px;height:70px;
 background:#eaf0fa;
 border-radius:20px;
 margin:0 auto 18px
}

.connect-big-icon svg{
 width:40px;height:40px;
 fill:none;
 stroke:#174d91;
 stroke-width:1.5
}

.connect-detail-card>span{
 font-size:8px;
 letter-spacing:1px;
 font-weight:800;
 color:#174d91
}

.connect-detail-card h3{
 font-size:17px;
 margin:12px 0
}

.connect-detail-card p{
 color:#526681;
 font-size:12px;
 line-height:1.6
}

.connect-detail-card small{
 font-size:10px;
 color:#63748a
}

.connect-page-controls{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
 margin:13px 0;
 font-size:11px
}

.connect-page-controls button{
 display:grid;
 place-items:center;
 background:#fff;
 border:1px solid #dce5f0;
 color:#174d91;
 border-radius:9px;
 width:36px;height:36px;
 cursor:pointer
}

.connect-page-controls svg{
 width:18px;height:18px;
 fill:none;stroke:currentColor;
 stroke-width:2
}

.connect-nav{
 display:flex;
 justify-content:space-around;
 align-items:center;
 gap:3px;
 padding:9px 4px 5px;
 background:#fff;
 border-top:1px solid #dce5f0;
 flex-shrink:0
}

.connect-nav button{
 background:transparent;
 border:0;
 color:#63748a;
 display:flex;
 flex-direction:column;
 align-items:center;
 gap:4px;
 font-size:8px;
 cursor:pointer
}

.connect-nav button:hover{
 color:#174d91
}

.connect-nav svg{
 width:20px;height:20px;
 fill:none;stroke:currentColor;
 stroke-width:1.7;
 stroke-linecap:round;
 stroke-linejoin:round
}

.phone-home-area{
 flex-shrink:0;
 display:flex;
 justify-content:center;
 align-items:center;
 height:18px;
 background:white
}

.phone-home-bar{
 height:4px;
 width:100px;
 background:#102e56;
 border-radius:10px
}

.showcase-release{
 color:#c5d6ec;
 font-size:10px;
 text-align:center
}

.polna-premium .public-login-footer{
 position:static;
 width:100%;
 min-height:45px;
 height:auto;
 margin:0;
 padding:14px 5%;
 background:white;
 color:#63748a;
 font-size:11px;
 border-top:1px solid #dce5f0;
 display:flex;
 justify-content:space-between;
 align-items:center;
 flex-wrap:wrap;
 gap:8px
}

.public-login-footer strong{
 color:#102e56
}

.polna-premium button:focus-visible{
 outline:2px solid #d4bb80;
 outline-offset:3px
}

@media(max-width:800px){
 .polna-premium .login-shell{
  grid-template-columns:1fr;
  max-width:500px
 }
 .polna-premium .premium-main{
  padding:14px
 }
 .polna-premium .login-form{
  padding:30px
 }
 .polna-showcase{
  padding:24px 18px
 }
 .public-login-brand small{
  font-size:9px
 }
 .public-login-security{
  font-size:9px
 }
}

@media(prefers-reduced-motion:reduce){
 .polna-phone,.polna-phone:hover{
  transform:none;
  transition:none
 }
}
