.lk-create{
  position:relative;
  isolation:isolate;
  width:min(100%, 1280px);
  margin-inline:auto;
  border:1px solid color-mix(in srgb, var(--lk-border) 88%, transparent);
  border-radius:8px;
  box-shadow:0 24px 70px rgba(2,6,23,.10);
}
.lk-create::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:5px;
  border-radius:8px 8px 0 0;
  background:linear-gradient(90deg,#d9f99d,#60a5fa,#fde68a);
}
.lk-create-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  min-width:0;
  padding-top:10px;
}
.lk-create-head > div:first-child{
  min-width:0;
  flex:1 1 680px;
  max-width:780px;
}
.lk-create-head h1{
  margin-top:10px;
  margin-bottom:8px;
  color:var(--lk-text);
  font-size:clamp(26px, 3vw, 38px);
  line-height:1.05;
  letter-spacing:0;
}
.lk-create-head p.muted{
  margin:0;
}
.lk-tree-editor-shell{
  margin-top:18px;
  grid-template-columns:minmax(0, 1fr) minmax(320px, 400px);
  gap:22px;
}
.lk-stepper-top,
.lk-stepper-bottom,
.lk-preview-details,
.lk-step,
.link-card,
.lk-save-card{
  border-radius:8px;
}
.lk-stepper-top{
  top:12px;
  box-shadow:0 12px 34px rgba(2,6,23,.08);
}
.lk-stepdot{
  min-height:40px;
  border-radius:999px;
  font-weight:800;
  transition:border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}
.lk-stepdot:hover{
  transform:translateY(-1px);
  border-color:color-mix(in srgb, var(--lk-accent) 34%, var(--lk-border));
}
.lk-stepdot[aria-current="step"]{
  background:color-mix(in srgb, var(--lk-accent) 12%, var(--lk-surface));
}
.lk-step{
  box-shadow:0 12px 30px rgba(2,6,23,.05);
}
.lk-step-head{
  min-height:72px;
}
.lk-step-head:focus-visible,
.lk-stepdot:focus-visible,
.icon-btn:focus-visible,
#addLinkBtn:focus-visible,
.lk-preview-details > summary:focus-visible,
.lk-link-advanced > summary:focus-visible{
  outline:0;
  box-shadow:0 0 0 4px color-mix(in srgb, var(--lk-accent) 16%, transparent);
}
.lk-step-head .k{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  background:color-mix(in srgb, var(--lk-accent) 12%, transparent);
}
.lk-step[aria-expanded="true"]{
  border-color:color-mix(in srgb, var(--lk-accent) 30%, var(--lk-border));
}
.lk-step[aria-expanded="true"] .lk-step-head{
  background:linear-gradient(180deg, color-mix(in srgb, var(--lk-accent) 8%, var(--lk-surface)), var(--lk-surface));
}
.lk-step-body{
  padding:18px;
}
.lk-checklist-builder .lk-stepper-actions{
  display:none;
}
.lk-checklist-builder .lk-stepper-top{
  position:static;
  top:auto;
  display:grid;
  gap:10px;
}
.lk-checklist-builder .lk-steps-progress{
  width:100%;
  display:grid;
  grid-template-columns:repeat(7, minmax(0, 1fr));
}
.lk-checklist-builder .lk-stepdot{
  justify-content:center;
  min-width:0;
  padding-inline:8px;
}
.lk-checklist-builder .lk-stepdot .t{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.lk-checklist-builder .lk-step{
  border-radius:8px;
}
.lk-checklist-builder .lk-step-head{
  grid-template-columns:auto minmax(0, .42fr) minmax(0, 1fr) auto;
}
.lk-social-builder-card,
.lk-publish-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border:1px dashed color-mix(in srgb, var(--lk-accent) 32%, var(--lk-border));
  border-radius:8px;
  padding:16px;
  background:color-mix(in srgb, var(--lk-accent) 6%, var(--lk-surface));
}
.lk-social-builder-card strong,
.lk-publish-card strong{
  display:block;
  color:var(--lk-text);
  font-size:16px;
}
.lk-social-suggestions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}
.lk-social-suggestion{
  min-height:36px;
  border:1px solid color-mix(in srgb, var(--lk-border) 82%, transparent);
  border-radius:999px;
  background:var(--lk-surface);
  color:var(--lk-text);
  cursor:pointer;
  font-size:13px;
  font-weight:900;
  padding:8px 11px;
}
.lk-social-suggestion:hover,
.lk-social-suggestion:focus-visible{
  border-color:color-mix(in srgb, var(--lk-accent) 46%, var(--lk-border));
  background:color-mix(in srgb, var(--lk-accent) 10%, var(--lk-surface));
  outline:0;
}
.link-card.lk-social-row{
  border-style:dashed;
  background:color-mix(in srgb, var(--lk-accent) 5%, var(--lk-surface));
}
.link-card.lk-social-row .link-card-extras{
  display:none;
}
.lk-create .field{
  min-width:0;
}
.lk-create .label-row span:first-child{
  color:var(--lk-text);
  font-weight:900;
}
.lk-create .input{
  min-height:46px;
  border-radius:8px;
  box-shadow:inset 0 1px 0 rgba(2,6,23,.03);
}
.lk-create textarea.input{
  min-height:136px;
}
.lk-create .input[type="color"]{
  cursor:pointer;
}
.lk-create input[type="file"].input{
  padding:9px 12px;
}
.lk-create .lk-sl-prefix,
.lk-create .preview code{
  border-radius:8px;
  overflow-wrap:anywhere;
}
.lk-template-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.lk-template-card{
  display:grid;
  gap:5px;
  min-height:92px;
  padding:12px;
  border:1px solid color-mix(in srgb, var(--lk-border) 82%, transparent);
  border-radius:8px;
  background:linear-gradient(180deg, var(--lk-surface), color-mix(in srgb, var(--lk-bg-soft) 38%, var(--lk-surface)));
  color:var(--lk-text);
  text-align:left;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(2,6,23,.04);
  transition:border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}
.lk-template-card strong{
  font-size:13px;
  line-height:1.2;
}
.lk-template-card span{
  color:var(--lk-muted);
  font-size:12px;
  line-height:1.35;
}
.lk-template-card:hover,
.lk-template-card:focus-visible,
.lk-template-card.is-active{
  border-color:color-mix(in srgb, var(--lk-accent) 38%, var(--lk-border));
  box-shadow:0 14px 30px rgba(2,6,23,.08);
  transform:translateY(-1px);
}
.lk-template-card:focus-visible{
  outline:0;
}
.lk-preview-panel{
  top:14px;
}
.lk-preview-details{
  border-color:color-mix(in srgb, var(--lk-border) 86%, transparent);
  box-shadow:0 24px 60px rgba(2,6,23,.12);
}
.lk-preview-details > summary{
  background:linear-gradient(180deg, var(--lk-surface), color-mix(in srgb, var(--lk-bg-soft) 50%, var(--lk-surface)));
}
.lk-live-screen{
  border-radius:26px;
  border:8px solid #111827;
  box-shadow:0 28px 70px rgba(2,6,23,.22);
}
.lk-live-avatar{
  border-width:3px;
}
.lk-live-button{
  border-radius:14px;
}
.link-card{
  position:relative;
  overflow:hidden;
  border-color:color-mix(in srgb, var(--lk-border) 88%, transparent);
  box-shadow:0 12px 28px rgba(2,6,23,.05);
}
.link-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:color-mix(in srgb, var(--lk-accent) 70%, var(--lk-border));
}
.link-card-top,
.link-card-secondary,
.link-card-options,
.link-card-extras{
  position:relative;
  z-index:1;
}
.link-card-options,
.link-card-display{
  padding:8px;
  border:1px solid color-mix(in srgb, var(--lk-border) 76%, transparent);
  border-radius:8px;
  background:color-mix(in srgb, var(--lk-bg-soft) 42%, var(--lk-surface));
}
.chk,
.chkradio{
  min-height:34px;
}
.chkradio{
  padding:6px 8px;
  border-radius:8px;
  background:color-mix(in srgb, var(--lk-surface) 82%, transparent);
}
.lk-link-advanced{
  border-radius:8px;
}
.lk-link-advanced > summary{
  min-height:44px;
}
.lk-link-advanced[open]{
  border-color:color-mix(in srgb, var(--lk-accent) 24%, var(--lk-border));
}
.lk-button-color-grid{
  border-radius:8px;
}
.icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
}
#addLinkBtn{
  border-radius:8px;
  min-height:44px;
}
.lk-stepper-bottom.lk-ported{
  border-radius:8px;
  box-shadow:0 18px 48px rgba(2,6,23,.18);
}
@media (max-width:1080px){
  .lk-tree-editor-shell{
    gap:18px;
  }
  .lk-preview-panel{
    order:-1;
  }
  .lk-preview-details{
    max-width:560px;
    margin-inline:auto;
  }
}
@media (max-width:700px){
  .lk-create{
    width:min(100%, calc(100vw - 16px));
    padding:16px;
  }
  .lk-checklist-builder .lk-steps-progress{
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }
  .lk-social-builder-card,
  .lk-publish-card{
    align-items:stretch;
    flex-direction:column;
  }
  .lk-social-suggestions{
    justify-content:flex-start;
  }
  .lk-create-head{
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }
  .lk-create-head h1{
    font-size:clamp(25px, 8vw, 32px);
  }
  .lk-step-body{
    padding:14px;
  }
  .lk-step-head{
    grid-template-columns:1fr 24px;
    gap:8px;
  }
  .lk-step-head .k,
  .lk-step-head .h,
  .lk-step-head .m{
    grid-column:1;
  }
  .lk-step-head .chev{
    grid-column:2;
    grid-row:1 / span 3;
  }
  .link-card{
    padding:12px;
  }
  .link-card-options,
  .link-card-display{
    align-items:stretch;
  }
  .chk,
  .chkradio{
    white-space:normal;
  }
  .lk-live-screen{
    width:min(100%, calc(100vw - 54px));
    border-width:6px;
  }
}
@media (max-width:430px){
  .lk-steps-progress{
    width:100%;
  }
  .lk-stepdot{
    flex:1 1 calc(50% - 6px);
    justify-content:center;
  }
  .lk-stepdot .t{
    font-size:12px;
  }
}

.lk-live-screen.layout-compact .lk-live-buttons{margin-top:10px;}
.lk-live-screen.layout-compact .lk-live-button{min-height:42px;padding-block:8px;}
.lk-live-screen.layout-profile_card .lk-live-head,
.lk-live-screen.layout-business .lk-live-head,
.lk-live-screen.layout-creator .lk-live-head{
  padding:12px;
  border:1px solid color-mix(in srgb, var(--lk-border) 76%, transparent);
  border-radius:18px;
  background:color-mix(in srgb, var(--lk-surface) 78%, transparent);
}
.lk-live-screen.layout-image_cards .lk-live-buttons{
  grid-template-columns:1fr 1fr;
}
.lk-live-screen.width-narrow{max-width:300px;}
.lk-live-screen.width-wide{max-width:430px;}
.lk-live-screen.font-rounded{font-family:ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;}
.lk-live-screen.font-serif{font-family:Georgia, "Times New Roman", serif;}
.lk-live-screen.font-mono{font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;}
.lk-live-screen.radius-sharp .lk-live-button{border-radius:6px;}
.lk-live-screen.radius-rounded .lk-live-button{border-radius:22px;}
.lk-live-screen.radius-pill .lk-live-button{border-radius:999px;}
.lk-live-screen.shadow-none .lk-live-button{box-shadow:none;}
.lk-live-screen.shadow-medium .lk-live-button{box-shadow:0 14px 30px color-mix(in srgb, var(--lk-accent) 28%, transparent);}
.lk-live-screen.shadow-strong .lk-live-button{box-shadow:0 18px 42px color-mix(in srgb, var(--lk-accent) 36%, transparent);}
.lk-live-button.is-featured{outline:2px solid color-mix(in srgb, var(--lk-accent) 42%, #fff);outline-offset:2px;}
.lk-live-cta{
  display:inline-flex;
  align-self:center;
  margin-top:4px;
  padding:4px 8px;
  border-radius:999px;
  background:color-mix(in srgb, currentColor 12%, transparent);
  font-size:11px;
  font-weight:900;
}

@media (max-width:1080px){
  .lk-tree-editor-shell{
    display:grid;
    grid-template-columns:minmax(0, 1fr) !important;
  }
  .lk-preview-panel{
    order:-1;
    position:relative;
    top:auto;
    width:100%;
  }
  .lk-preview-details{
    width:100%;
    max-width:560px;
    margin-inline:auto;
  }
}
@media (max-width:700px){
  .lk-create{
    overflow:hidden;
  }
  .lk-preview-details{
    max-width:100%;
  }
  .lk-live-phone{
    padding:10px;
  }
  .lk-live-screen{
    width:min(100%, calc(100vw - 52px));
    max-width:380px;
    min-height:420px;
    border-width:5px;
  }
  .lk-live-screen.layout-image_cards .lk-live-buttons{
    grid-template-columns:1fr;
  }
}

.lk-tree-editor-shell{
  grid-template-columns:minmax(0, 1fr) minmax(380px, 500px);
}
.lk-preview-panel{
  top:16px;
}
.lk-preview-details{
  box-shadow:0 28px 78px rgba(2,6,23,.14);
}
.lk-preview-details > summary{
  flex-wrap:wrap;
}
.lk-preview-title{
  display:grid;
  gap:2px;
  min-width:0;
}
.lk-preview-title span:first-child{
  color:var(--lk-text);
  font-size:15px;
}
.lk-preview-toggle{
  display:inline-flex;
  gap:4px;
  padding:4px;
  border:1px solid color-mix(in srgb, var(--lk-border) 78%, transparent);
  border-radius:999px;
  background:color-mix(in srgb, var(--lk-surface) 84%, transparent);
}
.lk-preview-toggle button{
  min-height:30px;
  padding:5px 10px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--lk-muted);
  font:inherit;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.lk-preview-toggle button[aria-pressed="true"]{
  background:var(--lk-text);
  color:var(--lk-surface);
}
.lk-preview-toggle button:focus-visible{
  outline:0;
  box-shadow:0 0 0 3px color-mix(in srgb, var(--lk-accent) 18%, transparent);
}
.lk-live-phone{
  padding:18px;
}
.lk-live-screen{
  width:min(100%, 440px);
  min-height:640px;
}
.lk-live-screen.is-mobile-preview{
  width:min(100%, 340px);
  min-height:560px;
}
.lk-live-screen.is-desktop-preview{
  width:min(100%, 460px);
  min-height:640px;
}
@media (max-width:1080px){
  .lk-tree-editor-shell{
    grid-template-columns:1fr !important;
  }
  .lk-tree-editor-shell > form{
    order:0;
  }
  .lk-preview-panel{
    order:1;
    position:static;
    top:auto;
  }
  .lk-preview-details{
    width:100%;
    max-width:680px;
    margin-inline:auto;
  }
  .lk-live-screen.is-desktop-preview{
    width:min(100%, 460px);
  }
  .lk-template-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:700px){
  .lk-create{
    padding-bottom:calc(96px + env(safe-area-inset-bottom));
  }
  .lk-create-head{
    justify-content:flex-start;
    align-content:flex-start;
    min-height:0;
  }
  .lk-create-head > div:first-child{
    flex-basis:auto;
  }
  .lk-create-head .lk-quota-dock{
    margin-top:0;
  }
  .lk-tree-editor-shell > form{
    order:0;
  }
  .lk-preview-panel{
    order:1;
    position:static;
    top:auto;
  }
  .lk-preview-details{
    max-width:100%;
  }
  .lk-preview-details > summary{
    align-items:flex-start;
  }
  .lk-preview-toggle{
    width:100%;
    justify-content:space-between;
  }
  .lk-preview-toggle button{
    flex:1 1 0;
  }
  .lk-live-phone{
    padding:10px;
    overflow-x:hidden;
  }
  .lk-live-screen{
    width:min(100%, calc(100vw - 52px));
    max-width:360px;
    min-height:430px;
    border-width:5px;
  }
  .lk-live-screen.is-mobile-preview{
    width:min(100%, 300px, calc(100vw - 84px));
    max-width:300px;
    min-height:520px;
  }
  .lk-live-screen.is-desktop-preview{
    width:min(100%, 390px, calc(100vw - 52px));
    max-width:390px;
    min-height:430px;
  }
  .lk-template-grid{
    grid-template-columns:1fr;
  }
}

 
