.lk-edit-card,
.lk-edit-card *{
  box-sizing:border-box;
}
.lk-edit-card [hidden]{
  display:none !important;
}
.lk-edit-card{
  width:min(100%, calc(100vw - 24px));
  max-width:100%;
  min-width:0;
  border-radius:8px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  background:#f8fbff;
  box-shadow:0 18px 45px rgba(15,23,42,.10);
}
.lk-edit-head{
  padding:20px;
  background:linear-gradient(180deg, #ffffff, #f8fbff);
  border-bottom:1px solid rgba(15,23,42,.08);
}
.lk-edit-titleRow{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  flex-wrap:wrap;
}
.lk-edit-head h1{
  margin:0 0 6px;
  font-size:26px;
  letter-spacing:0;
}
.lk-edit-sub{
  margin:0;
  color:#4b5563;
  line-height:1.45;
}
.lk-edit-plan{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(16,185,129,.16);
  background:#ecfdf5;
  color:#047857;
  font-weight:900;
  font-size:12px;
}
.lk-edit-summary{
  display:grid;
  grid-template-columns:2fr repeat(3, minmax(120px, 1fr));
  gap:10px;
  margin-top:16px;
}
.lk-edit-tile{
  min-width:0;
  padding:12px;
  border:1px solid rgba(15,23,42,.10);
  border-radius:8px;
  background:#fff;
}
.lk-edit-tile span{
  display:block;
  margin-bottom:5px;
  color:#64748b;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}
.lk-edit-tile strong,
.lk-edit-tile code,
.lk-edit-shortLink{
  display:block;
  max-width:100%;
  color:#0f172a;
  font-weight:900;
  overflow-wrap:anywhere;
}
.lk-edit-shortLink{
  color:#0f3a8a;
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:15px;
  border:0 !important;
}
.lk-edit-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.lk-edit-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  color:#111827;
  font-weight:850;
  cursor:pointer;
  text-decoration:none !important;
}
.lk-edit-btn:hover{
  border-color:rgba(16,185,129,.30);
  color:#047857;
}
.lk-edit-btn-primary{
  background:#064e3b;
  border-color:#064e3b;
  color:#fff;
}
.lk-edit-body{
  padding:18px;
}
.lk-edit-form{
  display:grid;
  gap:14px;
}
.lk-edit-section{
  min-width:0;
  padding:14px;
  border:1px solid rgba(15,23,42,.10);
  border-radius:8px;
  background:#fff;
}
.lk-edit-section.is-locked{
  border-style:dashed;
  background:#f8fafc;
}
.lk-edit-sectionHead{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin-bottom:10px;
}
.lk-edit-sectionHead label,
.lk-edit-sectionHead legend{
  margin:0;
  font-weight:900;
  color:#111827;
}
.lk-edit-help,
.lk-edit-muted{
  color:#64748b;
  font-size:13px;
  line-height:1.45;
}
.lk-edit-fieldGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px;
}
.lk-edit-options{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.lk-edit-option{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:9px 11px;
  border:1px solid rgba(15,23,42,.10);
  border-radius:8px;
  background:#f8fafc;
  color:#111827;
  font-weight:750;
  cursor:pointer;
}
.lk-edit-option:hover{
  border-color:rgba(16,185,129,.28);
  background:#ecfdf5;
}
.lk-edit-option:has(input:checked){
  border-color:rgba(16,185,129,.52);
  background:#ecfdf5;
  box-shadow:inset 0 0 0 1px rgba(16,185,129,.12);
}
.lk-edit-option input{
  accent-color:#10b981;
}
.lk-edit-option.is-disabled{
  opacity:.62;
  cursor:not-allowed;
}
.lk-edit-input,
.lk-edit-section input.input,
.lk-edit-section input[type="url"],
.lk-edit-section input[type="password"],
.lk-edit-section input[type="number"],
.lk-edit-section input[type="datetime-local"]{
  width:100%;
  min-width:0;
  border-radius:8px;
  border:1px solid rgba(15,23,42,.14);
  background:#fff;
  padding:11px 12px;
  color:#111827;
}
.lk-edit-section input:focus{
  border-color:rgba(16,185,129,.40);
  box-shadow:0 0 0 4px rgba(16,185,129,.10);
  outline:0;
}
.lk-edit-meter{
  display:grid;
  gap:7px;
  margin-top:10px;
}
.lk-edit-meterTop{
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:#334155;
  font-size:13px;
  font-weight:800;
}
.lk-edit-meterBar{
  height:10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:#eef2f7;
  overflow:hidden;
}
.lk-edit-meterFill{
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#10b981,#22c55e);
}
.lk-edit-passwordPanel,
.lk-edit-clickPanel,
.lk-edit-expiryPanel{
  display:grid;
  gap:10px;
  margin-top:10px;
  padding:12px;
  border:1px solid rgba(16,185,129,.14);
  border-radius:8px;
  background:#f8fbff;
}
.lk-edit-passWrap{
  display:flex;
  align-items:stretch;
  gap:8px;
  min-width:0;
}
.lk-edit-passWrap input{
  min-width:0;
}
.lk-edit-passToggle{
  flex:0 0 auto;
  min-height:42px;
  padding:0 12px;
  border-radius:8px;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  color:#334155;
  font-weight:850;
  cursor:pointer;
}
.lk-edit-lockNote{
  padding:12px;
  border-radius:8px;
  border:1px solid rgba(245,158,11,.24);
  background:#fffbeb;
  color:#92400e;
  font-size:13px;
  line-height:1.45;
}
.lk-sr-panel{
  margin-top:14px;
  display:grid;
  gap:14px;
  border-color:rgba(16,185,129,.30);
  background:linear-gradient(180deg,#f8fbff,#ffffff);
  box-shadow:0 14px 32px rgba(16,185,129,.08);
}
.lk-sr-topline{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.lk-sr-grid{
  display:grid;
  gap:10px;
}
.lk-sr-rule{
  display:grid;
  grid-template-columns:180px 210px minmax(0,1fr) 90px auto;
  gap:8px;
  align-items:end;
  padding:10px;
  border:1px solid rgba(15,23,42,.10);
  border-radius:8px;
  background:#f8fafc;
}
.lk-sr-rule label,
.lk-sr-add label{
  display:grid;
  gap:5px;
  min-width:0;
  color:#475569;
  font-size:12px;
  font-weight:800;
}
.lk-sr-rule select,
.lk-sr-rule input,
.lk-sr-add select,
.lk-sr-add input{
  width:100%;
  min-width:0;
  min-height:40px;
  border-radius:8px;
  border:1px solid rgba(15,23,42,.14);
  background:#fff;
  padding:9px 10px;
  color:#111827;
}
.lk-sr-rule .lk-sr-country-select,
.lk-sr-add .lk-sr-country-select,
.lk-sr-rule.is-country .lk-sr-language-select,
.lk-sr-add.is-country .lk-sr-language-select{
  display:none;
}
.lk-sr-rule .lk-sr-custom-hint,
.lk-sr-add .lk-sr-custom-hint{
  display:none;
  color:#64748b;
  font-size:12px;
  font-weight:600;
  line-height:1.35;
}
.lk-sr-rule.is-country .lk-sr-country-select,
.lk-sr-add.is-country .lk-sr-country-select{
  display:block;
}
.lk-sr-rule.is-custom .lk-sr-custom-hint,
.lk-sr-add.is-custom .lk-sr-custom-hint{
  display:block;
}
.lk-sr-rule:not(.is-custom) .lk-sr-match-input,
.lk-sr-add:not(.is-custom) .lk-sr-match-input{
  display:none;
}
.lk-sr-labelline{
  display:flex;
  align-items:center;
  gap:6px;
}
.lk-sr-helpTip{
  position:relative;
  display:none;
  place-items:center;
  width:20px;
  height:20px;
  border-radius:999px;
  border:1px solid rgba(16,185,129,.24);
  background:#ecfdf5;
  color:#047857;
  font-size:12px;
  font-weight:900;
  cursor:help;
}
.is-country .lk-sr-helpTip{
  display:inline-grid;
}
.lk-sr-tipText{
  position:absolute;
  left:50%;
  bottom:calc(100% + 8px);
  z-index:20;
  width:min(260px, calc(100vw - 40px));
  padding:9px 10px;
  border-radius:8px;
  border:1px solid rgba(15,23,42,.12);
  background:#0f172a;
  color:#fff;
  box-shadow:0 12px 28px rgba(15,23,42,.24);
  font-size:12px;
  font-weight:700;
  line-height:1.35;
  opacity:0;
  pointer-events:none;
  transform:translate(-50%, 4px);
  transition:opacity .14s ease, transform .14s ease;
}
.lk-sr-helpTip:hover .lk-sr-tipText,
.lk-sr-helpTip:focus .lk-sr-tipText{
  opacity:1;
  transform:translate(-50%, 0);
}
.lk-sr-add{
  display:grid;
  grid-template-columns:180px 210px minmax(0,1fr) 90px auto;
  gap:8px;
  align-items:end;
  padding:12px;
  border:1px dashed rgba(16,185,129,.30);
  border-radius:8px;
  background:#f8fbff;
}
.lk-sr-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.lk-sr-actions form{
  margin:0;
}
.lk-sr-mini{
  color:#64748b;
  font-size:12px;
}
.lk-sr-fallback{
  padding:10px;
  border-radius:8px;
  background:#f8fafc;
  border:1px solid rgba(15,23,42,.10);
  overflow-wrap:anywhere;
}
.lk-sr-callout{
  display:grid;
  gap:4px;
  padding:12px;
  border-radius:8px;
  border:1px solid rgba(16,185,129,.16);
  background:#ecfdf5;
}
.lk-sr-callout strong{
  color:#0f172a;
  font-size:14px;
}
.lk-edit-toast{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:9999;
  display:none;
  max-width:min(360px, calc(100vw - 36px));
  padding:12px 14px;
  border-radius:8px;
  border:1px solid rgba(15,23,42,.12);
  background:#0f172a;
  color:#fff;
  box-shadow:0 16px 38px rgba(15,23,42,.24);
}
.lk-edit-toast b{ display:block; margin-bottom:3px; }
.lk-edit-toast .t{ color:#cbd5e1; font-size:13px; }
@media (max-width:900px){
  .lk-edit-summary{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width:640px){
  .lk-edit-card{
    width:min(100%, calc(100vw - 16px));
  }
  .lk-edit-head,
  .lk-edit-body{
    padding:14px;
  }
  .lk-edit-summary,
  .lk-edit-fieldGrid{
    grid-template-columns:1fr;
  }
  .lk-sr-rule,
  .lk-sr-add{
    grid-template-columns:1fr;
  }
  .lk-edit-options,
  .lk-edit-actions,
  .lk-edit-passWrap{
    align-items:stretch;
  }
  .lk-edit-option,
  .lk-edit-btn,
  .lk-edit-passWrap{
    width:100%;
  }
}

 
.lk-edit-card{
  position:relative;
  isolation:isolate;
  box-shadow:0 24px 70px rgba(15,23,42,.12);
}
.lk-edit-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:5px;
  background:linear-gradient(90deg,#d9f99d,#60a5fa,#fde68a);
  z-index:2;
}
.lk-edit-head{
  padding-top:24px;
}
.lk-edit-head h1{
  color:#0f172a;
  line-height:1.08;
}
.lk-edit-summary{
  align-items:stretch;
}
.lk-edit-tile,
.lk-edit-section,
.lk-edit-lockNote,
.lk-edit-passwordPanel,
.lk-edit-clickPanel,
.lk-edit-expiryPanel{
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}
.lk-edit-tile{
  display:grid;
  align-content:start;
}
.lk-edit-form{
  max-width:100%;
}
.lk-edit-section{
  transition:border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.lk-edit-section:focus-within{
  border-color:rgba(16,185,129,.28);
  box-shadow:0 0 0 4px rgba(16,185,129,.09), 0 12px 30px rgba(15,23,42,.06);
  transform:translateY(-1px);
}
.lk-edit-section input[type="checkbox"],
.lk-edit-section input[type="radio"]{
  inline-size:16px;
  block-size:16px;
  flex:0 0 auto;
}
.lk-edit-option{
  min-width:0;
}
.lk-edit-option:focus-within,
.lk-edit-btn:focus-visible,
.lk-edit-passToggle:focus-visible{
  outline:0;
  box-shadow:0 0 0 4px rgba(16,185,129,.12);
  border-color:rgba(16,185,129,.42);
}
.lk-edit-btn-primary{
  background:linear-gradient(180deg,#0f172a,#1e293b);
  border-color:#0f172a;
  color:#fff;
}
.lk-edit-btn-primary:hover{
  color:#fff;
  box-shadow:0 14px 28px rgba(15,23,42,.18);
  transform:translateY(-1px);
}
.lk-edit-meterBar{
  background:#e2e8f0;
}
.lk-edit-toast{
  font-weight:700;
}
@media (max-width:760px){
  .lk-edit-head h1{
    font-size:24px;
  }
  .lk-edit-sectionHead,
  .lk-edit-meterTop{
    flex-direction:column;
    align-items:flex-start;
  }
  .lk-edit-plan{
    white-space:normal;
  }
}
@media (max-width:520px){
  .lk-edit-card{
    width:min(100%, calc(100vw - 14px));
  }
  .lk-edit-head,
  .lk-edit-body{
    padding:14px;
  }
  .lk-edit-actions .lk-edit-btn,
  .lk-edit-passToggle{
    width:100%;
    min-width:0;
  }
}


