


.lk-create{
  --lk-surface:#fff;
  --lk-bg-soft:#f4fbf7;
  --lk-text:#0b1324;
  --lk-muted:#6b7280;
  --lk-border:#e5e7eb;
  --lk-accent:#10b981;
  --lk-button-text:#fff;
  background:linear-gradient(180deg,var(--lk-bg-soft),#f8fafc 120%);
  border-radius:18px;
  padding:22px;
  overflow:visible;
  box-shadow:0 10px 30px rgba(2,6,23,.06),0 4px 10px rgba(2,6,23,.04);
  max-width:100%;
  box-sizing:border-box;
}

.lk-public-missing{
  max-width:760px;
  margin:40px auto;
  padding:22px;
  border:1px solid rgba(15,23,42,.10);
  border-radius:8px;
  background:#fff;
  box-shadow:0 18px 44px rgba(15,23,42,.08);
}
.lk-public-missing h1{
  margin:0 0 8px;
  color:#0f172a;
}
.lk-public-missing p{
  color:#475569;
  line-height:1.55;
}
.lk-public-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
@media(max-width:560px){
  .lk-public-missing{
    width:min(100%,calc(100vw - 28px));
    margin:20px auto;
  }
  .lk-public-actions{
    display:grid;
  }
  .lk-public-actions .btn{
    width:100%;
  }
}
.lk-create *,
.lk-create *::before,
.lk-create *::after{box-sizing:border-box;}
@media (max-width:700px){
  .lk-create{
    width:min(100%, calc(100vw - 20px));
    margin-inline:auto;
    overflow-x:hidden;
  }
}


.lk-create h1{margin:6px 0 4px;font-size:28px;letter-spacing:0;}
.lk-create .muted{color:var(--lk-muted);}
.lk-create .meta{color:var(--lk-muted);font-size:14px;}


.lk-create .notice{
  border-radius:12px;
  padding:14px 16px;
  font-weight:600;
  line-height:1.4;
  margin:14px 0;
}
.lk-create .notice ul{margin:0;padding-left:18px;}
.lk-create .notice.success{background:#ecfdf5;border:1px solid #10b981;color:#065f46;}
.lk-create .notice.error{background:#fef2f2;border:1px solid #ef4444;color:#7f1d1d;}


.lk-create .form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 22px;
  margin-top:14px;
}
@media (max-width:920px){
  .lk-create .form-grid{grid-template-columns:1fr;}
}


.lk-create .field{min-width:0;}
.lk-create .field.locked{opacity:.9;}
.lk-create .field.locked .input{
  background:color-mix(in srgb, var(--lk-surface) 70%, #000 30%);
  border-color:color-mix(in srgb, var(--lk-border) 70%, #000 30%);
}
.lk-create .lock-badge{
  display:inline-flex;
  align-items:center;
  padding:4px 8px;
  border-radius:999px;
  background:#fee2e2;
  color:#b91c1c;
  font-size:12px;
  font-weight:800;
}


.lk-create .label-row{
  display:flex;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:8px;
  font-weight:600;
}


.lk-create .input{
  width:100%;
  min-width:0;
  padding:12px;
  font-size:15px;
  border-radius:12px;
  border:1px solid var(--lk-border);
  background:var(--lk-surface);
  color:var(--lk-text);
  transition:border-color .12s, box-shadow .12s, background-color .12s, opacity .12s;
}
.lk-create textarea.input{min-height:120px;resize:vertical;}
.lk-create .input:focus{
  outline:none;
  border-color:color-mix(in srgb, var(--lk-accent) 40%, var(--lk-border));
  box-shadow:0 0 0 4px color-mix(in srgb, var(--lk-accent) 14%, transparent);
}
.lk-create .input:disabled{opacity:.65;cursor:not-allowed;}
.lk-create input::placeholder,
.lk-create textarea::placeholder{color:var(--lk-muted);opacity:1;}


.lk-create select.input{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  cursor:pointer;
  padding-right:2.6em;
  background-color:var(--lk-surface);
  color:var(--lk-text);
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px),
    calc(100% - 2.5em) 50%;
  background-size:6px 6px,6px 6px,1px 2.2em;
  background-repeat:no-repeat;
}
.lk-create select.input option{background:#fff;color:#0b1324;}
.lk-create select.input option:disabled{color:#9ca3af;}


.lk-create .input-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}


.lk-create .lk-sl-prefix{
  flex:0 0 auto;
  font-family:ui-monospace, Menlo, Consolas, monospace;
  background:#f1f5f9;
  color:#0f172a;
  border:1px solid var(--lk-border);
  border-radius:12px;
  padding:10px 12px;
  opacity:.95;
}


.lk-create .preview{margin-top:8px;color:var(--lk-muted);}
.lk-create .preview code{
  background:#f8fafc;
  border:1px dashed var(--lk-border);
  padding:4px 8px;
  border-radius:8px;
}


.lk-create .btn{
  background:var(--lk-accent);
  color:var(--lk-button-text);
  border:1px solid transparent;
}


.lk-create .lk-upgrade-row{
  align-items:center;
  justify-content:space-between;
}
.lk-create .lk-up-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-left:8px;
  padding:6px 10px;
  border-radius:999px;
  background:#0b1324;
  color:#fff;
  text-decoration:none;
  font-weight:700;
}


.lk-create .lk-ul{
  margin:10px 0 0;
  padding-left:18px;
}
.lk-create .lk-ul li{margin:4px 0;}


.lk-tree-editor-shell{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(280px, 380px);
  gap:18px;
  align-items:start;
}
.lk-tree-editor-shell > form{min-width:0;}
.lk-preview-panel{
  position:sticky;
  top:10px;
  min-width:0;
}
.lk-preview-details{
  border:1px solid var(--lk-border);
  border-radius:18px;
  background:color-mix(in srgb, var(--lk-surface) 92%, transparent);
  box-shadow:0 12px 32px rgba(2,6,23,.08);
  overflow:hidden;
}
.lk-preview-details > summary,
.lk-link-advanced > summary{
  list-style:none;
  cursor:pointer;
}
.lk-preview-details > summary::-webkit-details-marker,
.lk-link-advanced > summary::-webkit-details-marker{display:none;}
.lk-preview-details > summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 16px;
  font-weight:900;
  border-bottom:1px solid color-mix(in srgb, var(--lk-border) 76%, transparent);
}
.lk-live-phone{
  padding:14px;
}
.lk-live-screen{
  width:min(100%, 340px);
  min-height:560px;
  margin-inline:auto;
  padding:18px 14px;
  border-radius:28px;
  border:1px solid rgba(15,23,42,.12);
  background:
    radial-gradient(circle at 50% -8%, color-mix(in srgb, var(--lk-accent) 16%, transparent), transparent 34%),
    var(--lk-bg-soft);
  color:var(--lk-text);
  box-shadow:0 20px 50px rgba(2,6,23,.16);
  overflow:hidden;
}
.lk-live-screen.bg-gradient{
  background:linear-gradient(145deg, var(--lk-bg-soft), color-mix(in srgb, var(--lk-accent) 18%, var(--lk-bg-soft)));
}
.lk-live-screen.bg-pattern{
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--lk-accent) 18%, transparent) 1px, transparent 0) 0 0 / 18px 18px,
    var(--lk-bg-soft);
}
.lk-live-cover{
  height:92px;
  margin:-18px -14px 14px;
  background:linear-gradient(135deg, color-mix(in srgb, var(--lk-accent) 30%, #fff), color-mix(in srgb, var(--lk-bg-soft) 85%, #fff));
  background-size:cover;
  background-position:center;
  display:none;
}
.lk-live-cover.has-cover{display:block;}
.lk-live-head{
  text-align:center;
  display:grid;
  gap:7px;
  justify-items:center;
}
.lk-live-avatar{
  width:78px;
  height:78px;
  border-radius:999px;
  object-fit:cover;
  border:2px solid rgba(255,255,255,.85);
  box-shadow:0 10px 28px rgba(2,6,23,.16);
}
.lk-live-avatar.avatar-rounded{border-radius:22%;}
.lk-live-avatar.avatar-square{border-radius:10px;}
.lk-live-avatar.avatar-small{width:62px;height:62px;}
.lk-live-avatar.avatar-large{width:96px;height:96px;}
.lk-live-title{
  margin:4px 0 0;
  font-size:20px;
  line-height:1.15;
  font-weight:950;
}
.lk-live-headline,
.lk-live-bio,
.lk-live-meta{
  margin:0;
  color:var(--lk-muted);
  line-height:1.35;
  font-size:13px;
}
.lk-live-badge{
  display:none;
  padding:5px 9px;
  border-radius:999px;
  background:color-mix(in srgb, var(--lk-accent) 16%, #fff);
  color:var(--lk-text);
  font-size:12px;
  font-weight:900;
}
.lk-live-badge.has-badge{display:inline-flex;}
.lk-live-buttons{
  margin-top:16px;
  display:grid;
  gap:10px;
}
.lk-live-socials{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:9px;
  margin-top:14px;
}
.lk-live-social{
  width:34px;
  height:34px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid color-mix(in srgb, var(--lk-border) 78%, transparent);
  background:color-mix(in srgb, var(--lk-surface) 88%, transparent);
  color:var(--lk-text);
  font-size:11px;
  font-weight:950;
  box-shadow:0 8px 18px rgba(2,6,23,.08);
}
.lk-live-button{
  position:relative;
  min-height:48px;
  border-radius:16px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:var(--lk-accent);
  color:var(--lk-button-text);
  box-shadow:0 10px 22px color-mix(in srgb, var(--lk-accent) 24%, transparent);
  font-weight:850;
  text-align:center;
  overflow:hidden;
}
.lk-live-button.outline{
  background:transparent;
  color:var(--lk-text);
  border:1px solid var(--lk-accent);
  box-shadow:none;
}
.lk-live-button.soft,
.lk-live-button.glass{
  background:color-mix(in srgb, var(--lk-accent) 13%, var(--lk-surface));
  color:var(--lk-text);
}
.lk-live-button.minimal{
  background:transparent;
  color:var(--lk-text);
  box-shadow:none;
}
.lk-live-button.gradient{
  background:linear-gradient(135deg, var(--lk-accent), color-mix(in srgb, var(--lk-accent) 45%, #0f172a));
}
.lk-live-button.image_top{
  flex-direction:column;
}
.lk-live-button.image_right{
  flex-direction:row-reverse;
}
.lk-live-thumb{
  width:42px;
  height:42px;
  border-radius:12px;
  object-fit:cover;
  flex:0 0 auto;
}
.lk-live-button.image_card{
  min-height:130px;
  align-items:flex-end;
  color:#fff;
  background:linear-gradient(180deg, rgba(2,6,23,.08), rgba(2,6,23,.72)), var(--lk-accent);
  background-size:cover;
  background-position:center;
}
.lk-live-button.background_image{
  min-height:120px;
  align-items:flex-end;
  color:#fff;
  background-size:cover;
  background-position:center;
}
.lk-live-text{
  min-width:0;
  display:grid;
  gap:2px;
}
.lk-live-subtitle{
  font-size:12px;
  line-height:1.25;
  opacity:.78;
  font-weight:650;
}
.lk-live-mini-badge{
  position:absolute;
  top:6px;
  right:8px;
  max-width:48%;
  padding:4px 7px;
  border-radius:999px;
  background:#0f172a;
  color:#fff;
  font-size:11px;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.lk-link-advanced{
  border:1px solid color-mix(in srgb, var(--lk-border) 80%, transparent);
  border-radius:14px;
  background:color-mix(in srgb, var(--lk-surface) 86%, transparent);
  overflow:hidden;
}
.lk-link-advanced > summary{
  padding:11px 12px;
  font-weight:900;
  color:var(--lk-text);
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.lk-link-advanced > summary::after{
  content:"+";
  font-weight:900;
  color:var(--lk-muted);
}
.lk-link-advanced[open] > summary::after{content:"-";}
.lk-link-advanced-body{
  border-top:1px solid color-mix(in srgb, var(--lk-border) 72%, transparent);
  padding:12px;
  display:grid;
  gap:10px;
}


#linksWrap{
  display:flex;
  flex-direction:column;
  gap:14px;
}


.link-card{
  background:var(--lk-surface);
  border:1px solid var(--lk-border);
  border-radius:16px;
  padding:14px;
  box-shadow:0 1px 2px rgba(2,6,23,.04);
  display:grid;
  gap:12px;
  min-width:0;
}
.link-card.is-dragging{
  opacity:.62;
  transform:scale(.995);
}
.link-card-reorder{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:8px;
  max-width:100%;
  min-width:0;
  position:relative;
  z-index:1;
}
.lk-drag-handle,
.lk-reorder-btn{
  min-height:34px;
  border-radius:8px;
  border:1px solid var(--lk-border);
  background:color-mix(in srgb, var(--lk-bg-soft) 58%, var(--lk-surface));
  color:var(--lk-text);
  cursor:pointer;
  font-size:12px;
  font-weight:800;
  line-height:1;
  padding:8px 10px;
  flex:0 0 auto;
  transition:border-color .12s ease, background .12s ease, opacity .12s ease, transform .12s ease;
}
.lk-drag-handle{
  cursor:grab;
}
.lk-drag-handle:active{
  cursor:grabbing;
}
.lk-drag-handle:hover,
.lk-drag-handle:focus-visible,
.lk-reorder-btn:hover,
.lk-reorder-btn:focus-visible{
  border-color:color-mix(in srgb, var(--lk-accent) 45%, var(--lk-border));
  background:color-mix(in srgb, var(--lk-accent) 10%, var(--lk-surface));
  outline:0;
  transform:translateY(-1px);
}
.lk-reorder-btn:disabled{
  opacity:.38;
  cursor:not-allowed;
  transform:none;
}


.link-card-top{
  display:grid;
  grid-template-columns:minmax(130px,160px) minmax(130px,1fr) minmax(150px,1.2fr) auto;
  gap:12px;
  align-items:start;
  min-width:0;
}
.link-card-top > *{
  min-width:0;
}
.link-card-top .col-remove{
  display:flex;
  justify-content:flex-end;
  min-width:34px;
}
.link-card-secondary{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.link-card-extras{
  display:grid;
  gap:10px;
}
.lk-link-style-grid,
.lk-color-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(140px, 1fr));
  gap:10px;
  min-width:0;
}
.lk-link-style-grid label,
.lk-color-grid label{
  display:grid;
  gap:6px;
  min-width:0;
}
.lk-color-grid label span{
  color:var(--lk-muted);
  font-size:13px;
  font-weight:700;
}
.lk-color-grid input[type="color"].input{
  height:44px;
  padding:6px;
}
.lk-button-color-grid{
  padding:10px;
  border:1px dashed color-mix(in srgb, var(--lk-border) 80%, transparent);
  border-radius:14px;
}
.link-card-thumbrow{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.link-card-thumbrow .input[type="file"]{
  max-width:360px;
}
.link-card-options{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.link-card-display{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  padding-top:2px;
}
.lk-button-empty-state{
  display:grid;
  gap:8px;
  padding:12px;
  margin-bottom:12px;
  border:1px dashed color-mix(in srgb, var(--lk-accent) 34%, var(--lk-border));
  border-radius:8px;
  background:color-mix(in srgb, var(--lk-accent) 7%, var(--lk-surface));
}
.lk-button-empty-state[hidden]{
  display:none;
}
.lk-button-empty-state strong{
  color:var(--lk-text);
  font-size:15px;
}
.lk-button-empty-state span{
  color:var(--lk-muted);
  font-size:13px;
  font-weight:700;
  line-height:1.4;
}
.lk-button-suggestions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.lk-button-suggestion{
  min-height:32px;
  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:12px;
  font-weight:800;
  padding:7px 10px;
}
.lk-button-suggestion:hover,
.lk-button-suggestion:focus-visible{
  border-color:color-mix(in srgb, var(--lk-accent) 45%, var(--lk-border));
  background:color-mix(in srgb, var(--lk-accent) 10%, var(--lk-surface));
  outline:0;
}


@media (max-width:980px){
  .link-card-top{
    grid-template-columns:1fr 1fr 40px;
  }
  .link-card-top .col-kind{
    grid-column:1;
  }
  .link-card-top .col-label{
    grid-column:2;
  }
  .link-card-top .col-main{
    grid-column:1 / span 2;
  }
  .link-card-top .col-remove{
    grid-column:3;
    grid-row:1 / span 2;
    align-self:start;
    justify-self:end;
  }
}
@media (max-width:640px){
  .link-card-top,
  .link-card-secondary,
  .lk-link-style-grid,
  .lk-color-grid{
    grid-template-columns:1fr;
  }
  .link-card-top .col-kind,
  .link-card-top .col-label,
  .link-card-top .col-main,
  .link-card-top .col-remove{
    grid-column:auto;
    grid-row:auto;
  }
  .link-card-top .col-remove{
    justify-self:end;
  }
}
@media (max-width:1080px){
  .lk-tree-editor-shell{
    grid-template-columns:1fr;
  }
  .lk-preview-panel{
    position:static;
    order:-1;
  }
  .lk-live-screen{
    min-height:0;
    width:min(100%, 430px);
  }
}
@media (max-width:700px){
  .lk-preview-details > summary{
    padding:12px 14px;
  }
  .lk-live-phone{
    padding:10px;
  }
  .lk-live-screen{
    width:min(100%, calc(100vw - 44px));
    border-radius:22px;
    padding:14px 12px;
  }
  .lk-live-cover{
    margin:-14px -12px 12px;
    height:74px;
  }
}


.kind-wrap{position:relative;}
.kind-ico{
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  pointer-events:none;
  opacity:.9;
}
.kind-wrap select.kind{padding-left:34px;}


.chk{
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  color:var(--lk-text);
}
.chk input[type="checkbox"]{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  width:42px;
  height:24px;
  border-radius:999px;
  background:#e5e7eb;
  border:1px solid #d1d5db;
  position:relative;
  cursor:pointer;
  transition:background .12s, border-color .12s;
  outline:none;
  flex:0 0 auto;
}
.chk input[type="checkbox"]::after{
  content:"";
  position:absolute;
  top:2px;
  left:2px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 2px rgba(2,6,23,.18);
  transition:transform .12s ease;
}
.chk input[type="checkbox"]:checked{
  background:color-mix(in srgb, var(--lk-accent) 86%, #fff);
  border-color:color-mix(in srgb, var(--lk-accent) 74%, #fff);
}
.chk input[type="checkbox"]:checked::after{transform:translateX(18px);}


.chkradio{
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}
.chkradio input[type="radio"]{
  margin:0;
}


.lk-helpwrap .lk-help{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border-radius:50%;
  font-size:12px;
  line-height:18px;
  background:#e2e8f0;
  color:#0f172a;
  cursor:help;
}


.icon-btn{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid var(--lk-border);
  background:var(--lk-surface);
  color:var(--lk-text);
  cursor:pointer;
  transition:transform .12s, background .12s, border-color .12s;
}
.icon-btn:hover{background:#fee2e2;border-color:#fecaca;transform:translateY(-1px);}


#addLinkBtn{
  background:var(--lk-surface) !important;
  color:var(--lk-text) !important;
  border:1px dashed var(--lk-border) !important;
  padding:10px 12px;
  border-radius:12px;
  font-weight:700;
}
#addLinkBtn:hover{
  border-color:color-mix(in srgb, var(--lk-accent) 45%, var(--lk-border)) !important;
  background:#f8fffb !important;
}


.lk-thumb-preview{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--lk-muted);
  font-size:14px;
}
.lk-thumb-preview img{
  width:64px;
  height:40px;
  object-fit:cover;
  border-radius:10px;
  border:1px solid var(--lk-border);
}


.lk-stepper{margin-top:10px;display:flex;flex-direction:column;gap:12px;}
.lk-stepper-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  position:sticky;
  top:10px;
  z-index:5;
  background:color-mix(in srgb, var(--lk-surface) 85%, transparent);
  border:1px solid color-mix(in srgb, var(--lk-border) 70%, transparent);
  border-radius:16px;
  padding:10px 12px;
  backdrop-filter:blur(8px);
}
.lk-steps-progress{display:flex;gap:8px;flex-wrap:wrap;}
.lk-stepper-actions{display:flex;gap:8px;flex-wrap:wrap;}


.lk-stepdot{
  border:1px solid var(--lk-border);
  background:var(--lk-surface);
  color:var(--lk-text);
  border-radius:999px;
  padding:8px 10px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
}
.lk-stepdot .n{
  width:22px;
  height:22px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:color-mix(in srgb, var(--lk-accent) 18%, transparent);
  font-weight:900;
}
.lk-stepdot[aria-current="step"]{
  border-color:color-mix(in srgb, var(--lk-accent) 50%, var(--lk-border));
  box-shadow:0 0 0 4px color-mix(in srgb, var(--lk-accent) 14%, transparent);
}


.lk-step{
  border:1px solid var(--lk-border);
  border-radius:16px;
  overflow:hidden;
  background:var(--lk-surface);
  box-shadow:0 1px 2px rgba(2,6,23,.04);
}


.lk-step-head{
  width:100%;
  text-align:left;
  padding:14px;
  display:grid;
  grid-template-columns:84px 1fr auto 24px;
  gap:10px;
  align-items:center;
  background:linear-gradient(180deg, color-mix(in srgb, var(--lk-surface) 92%, #f8fafc), var(--lk-surface));
  border:0;
  cursor:pointer;
}
.lk-step-head .k{font-weight:900;color:color-mix(in srgb, var(--lk-text) 75%, var(--lk-muted));}
.lk-step-head .h{font-size:16px;font-weight:900;}
.lk-step-head .m{color:var(--lk-muted);font-weight:600;}
.lk-step-head .chev{justify-self:end;transition:transform .16s ease;opacity:.8;}
.lk-step[aria-expanded="true"] .lk-step-head .chev{transform:rotate(180deg);}


.lk-step-body{
  padding:14px 14px 16px;
  border-top:1px solid color-mix(in srgb, var(--lk-border) 75%, transparent);
}


@media (max-width:600px){
  .lk-step-head{grid-template-columns:70px 1fr 24px;}
  .lk-step-head .m{grid-column:1/-1;}
  .lk-stepper-top{position:static;}
}


.lk-stepper-bottom{
  position:sticky;
  bottom:10px;
  z-index:6;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:12px;
  padding:10px 12px;
  border-radius:16px;
  background:color-mix(in srgb, var(--lk-surface) 88%, transparent);
  border:1px solid color-mix(in srgb, var(--lk-border) 70%, transparent);
  backdrop-filter:blur(10px);
  box-shadow:0 12px 30px rgba(2,6,23,.10),0 2px 10px rgba(2,6,23,.06);
}
.lk-stepper-bottom .lk-save{
  flex:0 0 auto;
  white-space:nowrap;
  padding:12px 14px;
  border-radius:14px;
}
.lk-stepper-bottom .btn[type="submit"]{width:auto;margin:0;box-shadow:none;}


.lk-stepper-bottom.lk-ported{
  position:fixed !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  top:auto !important;
  bottom:calc(12px + env(safe-area-inset-bottom) + var(--lk-footer-gap, 0px)) !important;
  width:min(980px, calc(100% - 24px)) !important;
  z-index:9999 !important;
}


@media (max-width:700px), (max-height:520px){
  .lk-stepper{padding-bottom:160px !important;}
}


.lk-mobile-fixedbar .lk-stepper-top{display:none;}


.lk-create .lk-stepper-top .btn.btn-ghost,
.lk-create .lk-stepper-bottom .btn.btn-ghost,
.lk-create .lk-stepper-bottom .lk-save{
  background:#0b1324 !important;
  color:#ffffff !important;
  border:1px solid rgba(255,255,255,0) !important;
  box-shadow:none !important;
  background-image:none !important;
  filter:none !important;
}
.lk-create .lk-stepper-top .btn.btn-ghost:disabled,
.lk-create .lk-stepper-bottom .btn.btn-ghost:disabled{
  opacity:.45 !important;
  cursor:not-allowed !important;
}
.lk-create .lk-stepper-top .btn.btn-ghost::before,
.lk-create .lk-stepper-top .btn.btn-ghost::after,
.lk-create .lk-stepper-bottom .btn.btn-ghost::before,
.lk-create .lk-stepper-bottom .btn.btn-ghost::after{
  content:none !important;
}


.lk-create.lk-dark-preview{
  color-scheme:dark;
  background:linear-gradient(180deg,
    color-mix(in srgb, var(--lk-bg-soft) 86%, #000) 0%,
    color-mix(in srgb, #0b1220 65%, transparent) 120%);
  box-shadow:0 10px 30px rgba(0,0,0,.25),0 4px 10px rgba(0,0,0,.18);
}
.lk-create.lk-dark-preview .notice.success{background:rgba(16,185,129,.15);border-color:#10b981;color:#6ee7b7;}
.lk-create.lk-dark-preview .notice.error{background:rgba(239,68,68,.15);border-color:#ef4444;color:#fca5a5;}
.lk-create.lk-dark-preview .input,
.lk-create.lk-dark-preview .lk-sl-prefix,
.lk-create.lk-dark-preview .link-card{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.22);
  color:#E5E7EB;
}
.lk-create.lk-dark-preview .lk-help{background:rgba(255,255,255,.16);color:#E5E7EB;}
.lk-create.lk-dark-preview #addLinkBtn{
  background:rgba(255,255,255,.06) !important;
  border-color:rgba(255,255,255,.22) !important;
  color:#E5E7EB !important;
}
.lk-create.lk-dark-preview .field.locked .input{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.18);
}
.lk-create.lk-dark-preview .lk-stepper-bottom{
  background:rgba(15,23,42,.75);
  border-color:rgba(255,255,255,.18);
}


@media (min-width:701px) and (min-height:521px){
  #lkStepBottom{display:none !important;}
  .lk-stepper-top{display:flex !important;}
}


.lk-save-overlay{
  position:fixed;
  inset:0;
  z-index:10050;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(8,13,24,.52);
  backdrop-filter:blur(8px);
}
.lk-tree-saving .lk-save-overlay{display:flex;}
.lk-save-card{
  width:min(420px, calc(100vw - 32px));
  max-width:100%;
  box-sizing:border-box;
  border:1px solid rgba(255,255,255,.22);
  border-radius:20px;
  padding:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.94));
  color:#0b1324;
  box-shadow:0 24px 70px rgba(2,6,23,.28);
  text-align:center;
}
.lk-save-spinner{
  width:42px;
  height:42px;
  margin:0 auto 14px;
  border-radius:999px;
  border:4px solid rgba(11,42,74,.14);
  border-top-color:#0b2a4a;
  animation:lkTreeSpin .8s linear infinite;
}
.lk-save-card strong{
  display:block;
  font-size:20px;
  margin-bottom:8px;
}
.lk-save-card span{
  display:block;
  color:#556275;
  line-height:1.45;
}
.lk-tree-saving .lk-save,
.lk-tree-saving button[type="submit"]{
  pointer-events:none;
  opacity:.78;
}
.lk-tree-saving .lk-save::after{
  content:"";
  display:inline-block;
  width:14px;
  height:14px;
  margin-left:8px;
  border-radius:999px;
  border:2px solid rgba(255,255,255,.35);
  border-top-color:#fff;
  vertical-align:-2px;
  animation:lkTreeSpin .8s linear infinite;
}
@keyframes lkTreeSpin{to{transform:rotate(360deg);}}
@media (prefers-reduced-motion:reduce){
  .lk-save-spinner,
  .lk-tree-saving .lk-save::after{animation:none;}
}


.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;
  }
}


.lk-create{
  background:
    radial-gradient(circle at 100% 0%, rgba(217,249,157,.38), transparent 28%),
    linear-gradient(180deg,#f8fafc,#ffffff 46%,#f8fbff);
  padding:26px 32px 22px;
  container-type:inline-size;
}
.lk-create-head{
  align-items:center;
  padding-top:12px;
  margin-bottom:18px;
}
.lk-create-title-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.lk-create-head h1{
  font-size:30px;
  line-height:1.12;
  margin:0;
}
.lk-create-head p.muted{
  margin-top:8px;
  font-size:15px;
}
.lk-ai-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(16,185,129,.28);
  background:#ecfdf5;
  color:#047857;
  font-size:13px;
  font-weight:900;
}
.lk-ai-pill::before{
  content:"+";
  display:inline-grid;
  place-items:center;
  width:18px;
  height:18px;
  border-radius:999px;
  background:#d1fae5;
}
.lk-builder-status{
  width:min(100%, 340px);
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 12px;
  border:1px solid #dbe4ee;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  box-shadow:0 8px 22px rgba(2,6,23,.06);
  color:#064e3b;
  font-size:13px;
  font-weight:900;
}
.lk-builder-status-bar{
  flex:1 1 auto;
  height:6px;
  min-width:90px;
  border-radius:999px;
  background:#edf2f7;
  overflow:hidden;
}
.lk-builder-status-bar span{
  display:block;
  height:100%;
  width:var(--lk-progress, 0%);
  border-radius:inherit;
  background:linear-gradient(90deg,#22c55e,#bef264);
}
.lk-tree-editor-shell{
  grid-template-columns:minmax(0, 1fr) minmax(330px, 410px);
  gap:24px;
}
.lk-checklist-builder{
  position:relative;
  gap:10px;
  padding-left:42px;
  margin-top:0;
}
.lk-checklist-builder::before{
  content:"";
  position:absolute;
  left:13px;
  top:18px;
  bottom:76px;
  width:2px;
  background:linear-gradient(180deg,#22c55e,#cbd5e1 78%);
}
.lk-checklist-builder .lk-stepper-top{
  display:none !important;
}
.lk-checklist-builder .lk-stepper-bottom{
  margin-left:-42px;
  justify-content:flex-end;
  background:rgba(255,255,255,.92);
}
.lk-checklist-builder .lk-stepper-bottom .lk-stepper-actions{
  display:none;
}
.lk-checklist-builder .lk-step{
  position:relative;
  overflow:visible;
  border-color:#dbe4ee;
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 28px rgba(15,23,42,.05);
}
.lk-checklist-builder .lk-step::before{
  content:attr(data-step);
  position:absolute;
  left:-42px;
  top:22px;
  z-index:2;
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:2px solid #cbd5e1;
  background:#f8fafc;
  color:#334155;
  font-size:13px;
  font-weight:950;
  box-shadow:0 0 0 6px #f8fafc;
}
.lk-checklist-builder .lk-step.lk-step-done::before{
  content:"\2713";
  border-color:#16a34a;
  background:#16a34a;
  color:#fff;
}
.lk-checklist-builder .lk-step[aria-expanded="true"]{
  border-color:#9bdc99;
  box-shadow:0 14px 34px rgba(16,185,129,.10),0 2px 8px rgba(15,23,42,.04);
}
.lk-checklist-builder .lk-step[aria-expanded="true"]::before{
  border-color:#22c55e;
  background:#dcfce7;
  color:#047857;
}
.lk-checklist-builder .lk-step.lk-step-done[aria-expanded="true"]::before{
  background:#16a34a;
  color:#fff;
}
.lk-checklist-builder .lk-step-head{
  min-height:82px;
  grid-template-columns:54px minmax(150px,.58fr) minmax(0,1fr) 38px;
  padding:14px 16px;
  background:#fff;
}
.lk-checklist-builder .lk-step-head .k{
  min-height:40px;
  padding:0;
  border-radius:999px;
  background:#eef2f7;
  color:#0f172a;
  font-size:0;
}
.lk-checklist-builder .lk-step-head .k::after{
  content:"";
  width:24px;
  height:24px;
  border-radius:8px;
  background:
    linear-gradient(90deg,#94a3b8 0 0) center 7px / 14px 2px no-repeat,
    linear-gradient(90deg,#cbd5e1 0 0) center 12px / 18px 2px no-repeat,
    linear-gradient(90deg,#cbd5e1 0 0) center 17px / 12px 2px no-repeat;
}
.lk-checklist-builder .lk-step-head .h{
  font-size:16px;
}
.lk-checklist-builder .lk-step-head .m{
  font-size:14px;
  line-height:1.35;
  min-width:0;
  overflow-wrap:normal;
  word-break:normal;
}
.lk-checklist-builder .lk-step-head .chev{
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid #dbe4ee;
  display:grid;
  place-items:center;
  color:#0f172a;
  font-size:0;
}
.lk-checklist-builder .lk-step-head .chev::before{
  content:">";
  font-size:18px;
  font-weight:900;
}
.lk-checklist-builder .lk-step[aria-expanded="true"] .lk-step-head .chev{
  transform:none;
  background:#ecfdf5;
  border-color:#bbf7d0;
}
.lk-checklist-builder .lk-step[aria-expanded="true"] .lk-step-head .chev::before{
  transform:rotate(90deg);
}
.lk-checklist-builder .lk-step-body{
  background:#fff;
  padding:18px;
}
.lk-preview-details{
  background:#fff;
}
.lk-preview-details > summary{
  min-height:74px;
}
.lk-live-screen{
  max-width:390px;
  min-height:520px;
  background:
    radial-gradient(circle at 50% 0%, rgba(226,240,255,.85), transparent 42%),
    var(--lk-bg-soft);
}
@media (max-width:1080px){
  .lk-tree-editor-shell{
    grid-template-columns:minmax(0, 1fr);
  }
  .lk-preview-panel{
    order:0;
  }
}
@container (max-width: 1160px){
  .lk-tree-editor-shell{
    grid-template-columns:minmax(0, 1fr);
  }
  .lk-preview-panel{
    position:static;
    top:auto;
    order:0;
  }
  .lk-preview-details{
    max-width:680px;
    margin-inline:auto;
  }
  .lk-checklist-builder .lk-step-head{
    grid-template-columns:54px minmax(0,1fr) 38px;
  }
  .lk-checklist-builder .lk-step-head .m{
    grid-column:2;
  }
  .lk-checklist-builder .lk-step-head .chev{
    grid-column:3;
    grid-row:1 / span 2;
  }
}
@media (max-width:700px){
  .lk-create{
    padding:18px 14px;
    width:min(100%, calc(100vw - 14px));
  }
  .lk-create-head h1{
    font-size:26px;
  }
  .lk-builder-status{
    width:100%;
  }
  .lk-checklist-builder{
    padding-left:34px;
  }
  .lk-checklist-builder::before{
    left:10px;
  }
  .lk-checklist-builder .lk-step::before{
    left:-34px;
    width:22px;
    height:22px;
    font-size:12px;
  }
  .lk-checklist-builder .lk-stepper-bottom{
    margin-left:-34px;
  }
  .lk-checklist-builder .lk-step-head{
    grid-template-columns:44px minmax(0,1fr) 34px;
  }
  .lk-checklist-builder .lk-step-head .m{
    grid-column:2;
  }
  .lk-checklist-builder .lk-step-head .chev{
    grid-column:3;
    grid-row:1 / span 2;
  }
}


.lk-checklist-builder .lk-step-head .k{
  grid-column:1;
  grid-row:1 / span 2;
  align-self:center;
}
.lk-checklist-builder .lk-step-head .h{
  grid-column:2;
  grid-row:1;
  min-width:0;
  line-height:1.16;
  overflow-wrap:break-word;
}
.lk-checklist-builder .lk-step-head .m{
  grid-column:3;
  grid-row:1 / span 2;
  align-self:center;
}
.lk-checklist-builder .lk-step-head .chev{
  grid-column:4;
  grid-row:1 / span 2;
}
#lkStepBottom .lk-stepper-actions{
  display:none !important;
}
#lkStepBottom{
  display:none !important;
  justify-content:flex-end;
}
@container (max-width: 1160px){
  .lk-checklist-builder .lk-step-head .h{
    grid-column:2;
    grid-row:1;
  }
  .lk-checklist-builder .lk-step-head .m{
    grid-column:2;
    grid-row:2;
    align-self:start;
  }
  .lk-checklist-builder .lk-step-head .chev{
    grid-column:3;
    grid-row:1 / span 2;
  }
}
@media (max-width:700px){
  .lk-checklist-builder .lk-step-head{
    align-items:center;
  }
  .lk-checklist-builder .lk-step-head .h{
    font-size:15px;
  }
  .lk-checklist-builder .lk-step-head .m{
    font-size:13px;
    line-height:1.3;
  }
}


