:root{
  --ctaY-top:#ffe784;       
  --ctaY-btm:#ffd24d;       
  --ctaY-border:#f7d771;    
  --ctaY-text:#0b1b10;      
  --ctaY-shadow:rgba(255,210,77,.28);
}


button.btn.lemon,
a.btn.lemon,
.btn.lemon,
a.lk-home-btn.lk-home-btn--primary,
.lk-home-btn--primary{


  background: linear-gradient(180deg,var(--ctaY-top),var(--ctaY-btm)) !important;
  background-color: var(--ctaY-btm) !important;
  border: 2px solid var(--ctaY-border) !important;
  color: var(--ctaY-text) !important;
  box-shadow: 0 10px 28px var(--ctaY-shadow) !important;


  border-radius: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: transform .06s ease, filter .15s ease, box-shadow .15s ease !important;
}


button.btn.lemon:hover,
a.btn.lemon:hover,
.lk-home-btn--primary:hover{
  transform: translateY(-1px);
  filter: saturate(1.06);
  box-shadow: 0 12px 32px var(--ctaY-shadow);
}


button.btn.lemon:active,
a.btn.lemon:active,
.lk-home-btn--primary:active{
  transform: translateY(0);
}


button.btn.lemon:focus-visible,
a.btn.lemon:focus-visible,
.lk-home-btn--primary:focus-visible{
  outline: 2px solid var(--ctaY-border);
  outline-offset: 2px;
}


@media (min-width: 601px){
  footer.footer{
    position: fixed; left: 0; right: 0; bottom: 0;
    min-height: var(--footer-h);
    z-index: 900;
  }
  body{


    padding-bottom: calc(var(--footer-h) + env(safe-area-inset-bottom));
    overflow: hidden;  
  }
  .main, main.content{
    position: absolute;
    top: var(--menu-h);
    left: 0; right: 0;
    bottom: var(--footer-h);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
  }
  .site-wrap{
    height: 100svh;  
    overflow: hidden;
  }
}


@media (max-width: 600px){
  html, body{
    height: auto;
    min-height: 100dvh;
    overflow: auto;                
    touch-action: pan-y;
    padding-bottom: 0;             
  }


  .site-wrap{
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }


  .main, main.content{
    position: static;
    top: auto; right: auto; bottom: auto; left: auto;
    overflow: visible;             
    min-height: auto;
    padding: 16px;
  }


  footer.footer{
    position: static;
    margin-top: auto;
    min-height: auto;
  }


  .footer-inner{ flex-direction: column; gap: 8px; font-size: 13px; padding-bottom: 12px; }
  .footer-links{ order: 2; line-height: 1.4; }
  .footer-cta{ order: 1; }
}


.lk-home-cta:last-child { margin-bottom: 0 !important; }


.with-toggle .input-row,
.with-toggle .icon-btn,
#captcha-display,
.btn-step {
  color-scheme: light;
}


.with-toggle .icon-btn,
.btn-step {
  background-color: #fff;
  color: #111827;             
  border: 1px solid #d1d5db;  
  border-radius: 12px;
}


.with-toggle .icon-btn { padding: 0.45rem 0.75rem; }


.btn-step {
  width: 44px;
  height: 44px;
  font-size: 22px;
  line-height: 1;
}


#captcha-display {
  background-color: #fff;
  color: #111827;
  border: 1px solid #d1d5db;
  border-radius: 12px;
}


form, .form-card { color-scheme: light; }


.lk-maint-title{ margin:4px 0 12px; font-size:20px; color:#0f172a; }


.lk-maint-form{ display:grid; gap:12px; }
.lk-maint-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px; }
.lk-maint-wrap .amd-btn{ padding:10px 14px; border-radius:12px; }
.lk-maint-wrap .amd-btn.ghost{ background:#fff; border:1px solid #e6e9ee; }


.lk-switch{ display:flex; align-items:center; gap:12px; padding:12px; border:1px solid #e6e9ee; border-radius:14px; background:#fff;
  box-shadow:0 1px 2px rgba(16,24,40,.04); }
.lk-switch .label{ display:flex; flex-direction:column; line-height:1.2; color:#0f172a; }
.lk-switch small{ color:#667085; }


.lk-switch input{ display:none; }
.lk-switch .slider{
  width:48px; height:28px; border-radius:999px; background:#e6e9ee; position:relative; flex:0 0 auto;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.02);
}
.lk-switch .slider::after{
  content:""; position:absolute; top:3px; left:3px; width:22px; height:22px; border-radius:50%; background:#fff;
  box-shadow:0 1px 2px rgba(16,24,40,.12); transition:all .18s ease;
}
.lk-switch input:checked + .slider{ background:#a3e635; }           
.lk-switch input:checked + .slider::after{ transform:translateX(20px); }


.lk-maint-reason textarea{
  width:100%; min-height:96px; padding:10px 12px; border:1px solid #e6e9ee; border-radius:10px; resize:vertical;
  background:#fff; color:#0f172a; box-shadow:0 1px 2px rgba(16,24,40,.04);
}


.lk-maint-actions{ display:flex; gap:8px; align-items:center; }


.lk-maint-box{
  margin:10px 0; padding:12px 14px; border-radius:12px; border:1px solid #e6e9ee; background:#fff;
  box-shadow:0 1px 2px rgba(16,24,40,.04);
}
.lk-maint-box.success{ border-color:#16a34a33; }
.lk-maint-box.error{ border-color:#ef444433; }
.lk-maint-box.warn{ border-color:#f59e0b33; }
.lk-maint-box .muted{ color:#667085; }
.lk-maint-box .reason{ margin-top:4px; }


@media (max-width: 800px){


  .header-inner{
    justify-content: space-between;
  }


  #mobileToggle{
    position: static !important;
    z-index: 1001;
    white-space: nowrap;
  }


  .nav{
    margin-left: 0;
  }


  .menu{
    position: fixed;
    left: 12px;
    right: 12px;
    top: 72px;  
    max-height: calc(100vh - 96px);
    overflow: auto;


    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 12px;


    background: #fff;
    border: 1px solid var(--mid-gray);
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(0,0,0,.12);
    z-index: 1000;
  }
  .menu.show{ display:flex; }


  .menu > li.right{
    margin-left: 0 !important;
  }


  .menu > li{
    width: 100%;
  }


  .menu > li > a,
  .menu > li > button.menu-trigger{
    width: 100%;
    justify-content: space-between;
    padding: 14px 12px;
    border-radius: 12px;
    line-height: 1.2;
  }


  .menu > li.sep{ display:none !important; }


  .dropdown{
    position: static !important;
    display: none;
    min-width: 0 !important;
    padding: 6px 0 !important;
    border: 0 !important;
    border-radius: 12px;
    box-shadow: none !important;
    background: transparent !important;
    margin-top: 4px;
  }
  .menu li.open > .dropdown{ display:block; }


  .dropdown a{
    padding: 12px 12px;
    border-radius: 10px;
    margin-left: 10px;
    width: calc(100% - 10px);
  }


  #mainMenu > li.lang{
    margin: 0 !important;
  }
  #mainMenu > li.lang .lang-btn{
    width: 100% !important;
    justify-content: space-between !important;
  }


  #menuBackdrop{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.25);
    display: none;
    z-index: 999;
  }
  #menuBackdrop.show{ display:block; }


  .dropdown .menu-sep{
    margin: 8px 12px;
  }
}


@media (max-width: 800px){


  .header-inner{
    display: flex;
    align-items: center;
  }


  .nav{
    margin-left: auto;
    display: flex;
    align-items: center;
  }


  #mobileToggle{
    margin-left: auto;
  }
}
.header{
  background-color: #eaf9f0;
  background-image: linear-gradient(0deg,#eaf9f0,#dcf6e6);
}
body.login .header,
body.auth .header{
  background-color: #eaf9f0;
  background-image: linear-gradient(0deg,#eaf9f0,#dcf6e6);
}


@media (max-width: 800px){
   
  .header-inner{
    display:flex;
    align-items:center;
    justify-content:flex-start !important;  
  }


  .nav{
    order: 2;
    margin-left: 0 !important;
  }


  #mobileToggle{
    order: 3;
    margin-left: auto !important;  
    align-self: center;
  }
}


