.lk-shell .main,
.lk-shell main.content{
  position:relative !important;
  inset:auto !important;
  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;
  min-height:0;
  overflow:auto;
  padding:20px 0;
  background:
    linear-gradient(180deg,rgba(255,255,255,.45),rgba(255,255,255,0) 180px),
    var(--lk-ui-bg, #f4f8f6);
}
.lk-shell .main-inner{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  padding:0 clamp(14px,3vw,28px) 42px;
  box-sizing:border-box;
  min-width:0;
}
.lk-shell .main-inner:has(.lk-dash2),
.lk-shell .main-inner:has(.lk2-wrap),
.lk-shell .main-inner:has(.lk-create){
  max-width:1240px;
}
.lk-shell .main-inner > .text-bubble,
.lk-shell .main-inner > .container,
.lk-shell .main-inner > .lk-sl-card{
  max-width:100%;
}
.lk-shell .notice{
  border-radius:8px;
  border:1px solid var(--lk-shell-border);
  box-shadow:0 1px 2px rgba(16,24,40,.04);
}
.lk-shell .notice.success{
  border-color:rgba(18,128,92,.25);
  background:#e7f8ef;
}
.lk-shell .notice.error{
  border-color:rgba(180,35,24,.25);
  background:#fff0ed;
}
.lk-shell .footer{
  position:relative !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  z-index:100;
  min-height:auto !important;
  display:block !important;
  border-top:1px solid rgba(25,96,58,.13);
  background:linear-gradient(180deg,#ffffff,#eff8f2) !important;
  box-shadow:0 -10px 26px rgba(24,92,55,.06);
}
.lk-shell .footer-inner{
  width:100%;
  max-width:var(--lk-shell-max);
  margin:0 auto;
  padding:12px clamp(14px,3vw,28px) calc(12px + env(safe-area-inset-bottom));
  display:grid;
  grid-template-columns:minmax(150px,.7fr) minmax(0,2.2fr) minmax(118px,auto);
  align-items:center;
  gap:10px;
  text-align:left;
  font-size:14px;
}
.lk-shell .footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.lk-shell .footer-logo{
  font-weight:900;
  color:var(--lk-shell-ink);
  white-space:nowrap;
  letter-spacing:0;
}
.lk-shell .footer-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2px;
  min-width:0;
  flex-wrap:wrap;
}
.lk-shell .footer-links a{
  padding:6px 8px;
  border-radius:999px;
  color:#334155;
  font-weight:750;
  border:1px solid transparent;
  transition:background .16s ease,border-color .16s ease,color .16s ease;
}
.lk-shell .footer-links a:hover,
.lk-shell .footer-links a.is-active{
  color:var(--lk-shell-ink);
  background:#f1f7f3;
  border-color:rgba(25,96,58,.10);
}
.lk-shell .footer-cta{
  justify-self:end;
}
.lk-shell .footer-cta .btn{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:0 14px;
  background:var(--lk-shell-green-dark);
  color:#fff;
  border-color:transparent;
  font-weight:850;
}
.lk-shell #menuBackdrop{
  position:fixed;
  inset:0;
  display:none;
  background:rgba(16,24,40,.38);
  backdrop-filter:blur(3px);
  z-index:1180;
}
.lk-shell #menuBackdrop.show{
  display:block;
}
body.no-scroll .lk-shell .main{
  overflow:hidden;
}
.lk-shell .mobile-menu-toggle{
  display:none;
  min-height:42px;
  align-items:center;
  gap:10px;
  padding:0 13px;
  border-radius:999px;
  border:1px solid rgba(25,96,58,.16);
  background:rgba(255,255,255,.92);
  color:var(--lk-shell-ink);
  font-weight:900;
  box-shadow:0 8px 22px rgba(16,24,40,.08);
  cursor:pointer;
}
.lk-shell .hamburger{
  width:18px;
  display:grid;
  gap:4px;
}
.lk-shell .hamburger span{
  height:2px;
  border-radius:999px;
  background:currentColor;
}
@media (max-width:1180px){
  .lk-shell .footer-inner{
    grid-template-columns:minmax(150px,auto) minmax(0,1fr);
  }
  .lk-shell .footer-links{
    justify-content:flex-end;
  }
  .lk-shell .footer-cta{
    display:none;
  }
}
@media (max-width:920px){
  body{
    overflow:auto;
  }
  body.no-scroll{
    overflow:hidden;
  }
  .lk-shell.site-wrap{
    height:auto;
    min-height:100svh;
    grid-template-rows:auto minmax(0,1fr) auto;
    overflow:visible;
  }
  .lk-shell .only-mobile,
  .lk-shell .mobile-menu-toggle{
    display:inline-flex !important;
  }
  .lk-shell .header-inner{
    min-height:66px;
    gap:12px;
  }
  .lk-shell .brand img{
    height:40px;
  }
  .lk-shell .nav{
    order:2;
    margin-left:0 !important;
  }
  .lk-shell .mobile-menu-toggle{
    order:3;
    margin-left:auto !important;
  }
  .lk-shell .menu{
    position:fixed;
    top:var(--mobile-menu-top,74px) !important;
    left:12px !important;
    right:12px !important;
    width:auto;
    max-height:calc(100dvh - var(--mobile-menu-top,74px) - 16px);
    display:none;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:7px;
    padding:10px;
    overflow:auto;
    background:linear-gradient(180deg,#ffffff,#edf8f1);
    border:1px solid rgba(25,96,58,.16);
    border-radius:8px;
    box-shadow:0 22px 60px rgba(16,24,40,.22);
    z-index:1320;
    overscroll-behavior:contain;
  }
  .lk-shell .menu.show{ display:flex; }
  .lk-shell .menu > li{
    width:100%;
    border:1px solid rgba(25,96,58,.10);
    border-radius:8px;
    background:rgba(255,255,255,.92);
    overflow:hidden;
  }
  .lk-shell .menu > li > a,
  .lk-shell .menu > li > button.menu-trigger,
  .lk-shell #mainMenu > li.lang .lang-btn{
    width:100%;
    min-height:48px;
    justify-content:space-between !important;
    border:0;
    border-radius:0;
    box-shadow:none;
    padding:0 14px;
  }
  .lk-shell .menu > li > a.nav-action-primary{
    border-radius:0;
    justify-content:center !important;
  }
  .lk-shell .menu > li.lk-create-menu > button.menu-trigger{
    border-radius:0;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
  }
  .lk-shell .dropdown,
  .lk-shell #mainMenu > li.lang .dropdown{
    position:static !important;
    width:100%;
    max-width:none;
    min-width:0;
    max-height:none;
    display:none;
    padding:0 8px 8px !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    background:transparent !important;
  }
  .lk-shell .menu li.open > .dropdown{ display:block; }
  .lk-shell #mainMenu > li.lang.open > .dropdown{ display:block; }
  .lk-shell .dropdown a,
  .lk-shell .account-links a{
    white-space:normal;
    min-height:40px;
    padding:9px 10px;
  }
  .lk-shell .account-panel{
    min-width:0;
  }
  .lk-shell .main,
  .lk-shell main.content{
    overflow:visible;
    padding:12px 0 0;
  }
  .lk-shell .main-inner{
    padding-bottom:20px;
  }
  .lk-shell .footer{
    box-shadow:none;
  }
  .lk-shell .footer-inner{
    grid-template-columns:minmax(130px,auto) minmax(0,1fr);
    justify-items:stretch;
    text-align:left;
    gap:8px;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom));
    font-size:12px;
  }
  .lk-shell .footer-brand{
    font-size:13px;
  }
  .lk-shell .footer-logo{
    font-weight:850;
  }
  .lk-shell .footer-links{
    justify-content:flex-end;
    gap:2px;
    line-height:1.2;
  }
  .lk-shell .footer-links a{
    padding:4px 6px;
    font-size:12px;
    font-weight:720;
  }
  .lk-shell .footer-cta{
    display:none;
  }
}
@media (max-width:420px){
  .lk-shell .brand img{ height:36px; }
  .lk-shell .brand .title:not(:empty){ display:none; }
  .lk-shell .mobile-menu-toggle{ padding:0 11px; }
  .lk-shell .footer-inner{ padding-top:8px; padding-bottom:calc(8px + env(safe-area-inset-bottom)); }
  .lk-shell .footer-links a{ padding:3px 5px; font-size:11.5px; }
}
@media (max-width:700px){
  .lk-shell .footer-inner{
    grid-template-columns:1fr;
    justify-items:center;
    text-align:center;
  }
  .lk-shell .footer-links{
    justify-content:center;
  }
}

