:root {
  --paper: #FFFFFF;
  --sheet: #FAF8F5;
  --ink: #0A0A0A;
  --ink-soft: #5F5B55;
  --rule: #ECE8E2;
  --rule-strong: #DCD6CD;
  --tang: #0A0A0A;
  --tang-ink: #82633A;
  --tang-wash: #F5EFE6;
  --on-tang: #FFFFFF;
  --good: #2E6FDB;
  --bad: #a3261a;
  --check-a: #ffffff;
  --check-b: #EEEAE4;
  --round: 12px;
  --btn-sm: 36px;
  --btn-md: 44px;
  --btn-lg: 52px;
  --btn-r: 12px;
  --btn-w: 600;
  --stack: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --code: #F4F1EC;
    --mono: ui-monospace, "Cascadia Mono", "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  }

:root[data-theme="dark"] {
    --paper: #000000;
    --sheet: #0F0E0D;
    --ink: #FFFFFF;
    --ink-soft: #A8A39C;
    --rule: #24221F;
    --rule-strong: #35322E;
    --tang: #FFFFFF;
    --tang-ink: #C9AE8A;
    --tang-wash: #1C1813;
    --good: #9CC0FF;
    --bad: #ff9a8c;
    --check-a: #1A1917;
    --check-b: #111010;
    --on-tang: #000000;
    --code: #171614;
  }

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--stack);
}

h1, h2, h3, p, ul, ol, fieldset, legend { margin: 0; padding: 0; }

fieldset { border: 0; min-width: 0; }

button, input, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--tang-ink);
  outline-offset: 2px;
}

:is(h1, h2, h3, p, div, section, output, ul, ol, figure, article)[tabindex="-1"]:focus {
  outline: 2px solid color-mix(in srgb, var(--tang-ink) 40%, transparent);
  outline-offset: 4px;
  border-radius: 6px;
}

::placeholder { color: var(--ink-soft); opacity: 1; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand svg { width: 28px; height: 28px; flex: none; }

.pledge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14px;
}

.pledge svg { width: 16px; height: 16px; flex: none; color: var(--tang-ink); }

.intro { padding: 56px 0 28px; max-width: 760px; }

.intro h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.intro h1 em { font-style: normal; color: var(--tang-ink); }

.intro p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 18px;
}

.modes { margin-bottom: 24px; }

.modes .choices { gap: 8px; }

.bench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-template-rows: auto 1fr;
  grid-template-areas: "intake panel" "results panel";
  gap: 24px 28px;
  align-items: start;
}

.intake { grid-area: intake; }
.panel { grid-area: panel; }
.results { grid-area: results; }

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 44px 24px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--round);
  background: var(--sheet);
  text-align: center;
  transition: border-color 0.15s, background-color 0.15s;
}

.is-dragging .dropzone {
  border-color: var(--tang);
  background: var(--tang-wash);
}

.dropzone > svg { width: 40px; height: 40px; color: var(--tang-ink); }

.dropzone p { color: var(--ink-soft); }

.dropzone .btn-main { min-height: var(--btn-lg); padding: 0 24px; font-size: 16px; }

.notice { margin-top: 10px; color: var(--bad); font-size: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--btn-md);
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--btn-r);
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: var(--btn-w);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.05s;
}

.btn:hover { background: var(--tang-wash); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-main {
  border-color: var(--tang);
  background: var(--tang);
  color: var(--on-tang);
}

.btn-main:hover { background: var(--tang); filter: brightness(1.07); }

.btn:disabled {
  border-color: var(--rule-strong);
  background: transparent;
  color: var(--ink-soft);
  filter: none;
  cursor: default;
}

.btn-small, .btn-sm { min-height: var(--btn-sm); padding: 0 14px; font-size: 14px; }

.btn-large, .btn-lg { min-height: var(--btn-lg); padding: 0 24px; font-size: 16px; }

.btn-danger, .btn.is-danger, .btn[data-danger] {
  border-color: var(--bad);
  color: var(--bad);
}

.btn-danger:hover, .btn.is-danger:hover, .btn[data-danger]:hover {
  background: color-mix(in srgb, var(--bad) 10%, transparent);
}

.btn-main.btn-danger, .btn-main.is-danger, .btn-main[data-danger] {
  border-color: var(--bad);
  background: var(--bad);
  color: var(--paper);
}

.btn-main.btn-danger:hover, .btn-main.is-danger:hover, .btn-main[data-danger]:hover {
  background: var(--bad);
  filter: brightness(1.08);
}

.btn-danger:disabled, .btn.is-danger:disabled, .btn[data-danger]:disabled {
  border-color: var(--rule-strong);
  background: transparent;
  color: var(--ink-soft);
}

.panel {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: var(--round);
  background: var(--sheet);
}

.panel legend, .panel .label, .field > label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.choices { display: flex; flex-wrap: wrap; gap: 6px; }

.choice { position: relative; display: block; cursor: pointer; }

.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice span {
  display: block;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--btn-r);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
}

.choice small {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.choice input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.choice input:checked + span small { color: inherit; opacity: 0.75; }

.choice input:focus-visible + span {
  outline: 3px solid var(--tang-ink);
  outline-offset: 2px;
}

.stack { display: grid; grid-template-columns: minmax(0, 1fr); }

.field { display: grid; }

.field + .field, .sub { margin-top: 16px; }

.hint { margin-top: 6px; color: var(--ink-soft); font-size: 13px; }

.caution {
  padding: 12px 14px;
  border-left: 3px solid var(--tang);
  border-radius: 0 8px 8px 0;
  background: var(--tang-wash);
  font-size: 14px;
}

.slider { display: flex; align-items: center; gap: 12px; }

.slider input { flex: 1; min-width: 0; height: 28px; accent-color: var(--tang); }

.slider output {
  min-width: 2.5ch;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.unit { display: flex; align-items: center; gap: 8px; }

.unit span { color: var(--ink-soft); }

.text, select {
  width: 100%;
  min-height: var(--btn-md);
  padding: 0 12px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--btn-r);
  background: var(--paper);
  font-variant-numeric: tabular-nums;
}

.unit .text { max-width: 110px; }

.tick {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  margin-top: 12px;
  cursor: pointer;
}

.tick input { width: 20px; height: 20px; margin: 0; accent-color: var(--tang); }

.actions { display: flex; flex-wrap: wrap; gap: 8px; }

.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.dock { display: contents; }

.tally { flex: 1 1 220px; font-weight: 600; font-variant-numeric: tabular-nums; }

.tally progress {
  display: block;
  width: 100%;
  max-width: 260px;
  height: 6px;
  margin-top: 8px;
  accent-color: var(--tang);
}

.rows { list-style: none; }

.row {
  display: grid;
  grid-template-columns: 28px 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.handle { display: grid; place-items: center; }

.grip { display: grid; place-items: center; width: 28px; height: 40px; color: var(--ink-soft); cursor: grab; }

.grip svg { width: 18px; height: 18px; }

.pick { width: 20px; height: 20px; margin: 0; accent-color: var(--tang); cursor: pointer; }

.is-list .pick, .is-single .grip, .is-single .move { display: none; }

.rows > .row:only-child .pick, .rows > .row:only-child .grip, .rows > .row:only-child .move { visibility: hidden; }

.is-single .doc-rows .row { cursor: pointer; }

.row.is-current .name { color: var(--tang-ink); }

.thumb {
  width: 56px;
  height: 56px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: repeating-conic-gradient(var(--check-b) 0% 25%, var(--check-a) 0% 50%) 0 0 / 14px 14px;
}

.kind {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--sheet);
  color: var(--tang-ink);
}

.kind svg { width: 26px; height: 26px; }

.name {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.facts {
  color: var(--ink-soft);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.is-failed .facts { color: var(--bad); }

.tools { display: flex; align-items: center; gap: 2px; }

.icon, .remove {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--btn-r);
  background: transparent;
  color: var(--ink-soft);
  font-size: 16px;
  cursor: pointer;
}

.icon svg { width: 20px; height: 20px; }

.icon:hover, .remove:hover { background: var(--tang-wash); color: var(--ink); }

.remove:hover, .icon.is-danger:hover, .icon[data-danger]:hover {
  background: color-mix(in srgb, var(--bad) 10%, transparent);
  color: var(--bad);
}

.icon:disabled { opacity: 0.35; cursor: default; background: transparent; }

.is-lifted { position: relative; z-index: 2; opacity: 0.75; outline: 2px solid var(--tang); outline-offset: -2px; }

.is-sorting, .is-sorting * { cursor: grabbing; }

.sheet {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(164px, 1fr));
  gap: 14px;
  padding-top: 18px;
  list-style: none;
}

.tile {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--rule);
  border-radius: var(--round);
  background: var(--sheet);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.leaf {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 6px;
  background: var(--paper);
  container-type: inline-size;
}

.leaf canvas {
  max-width: 100%;
  max-height: 100%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
  transform: rotate(var(--turn, 0deg));
  transition: transform 0.2s, opacity 0.15s;
}

.folio {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.tile-tools { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }

.tile-tools .icon { width: 100%; height: 34px; }

.tile-tools .icon svg { width: 18px; height: 18px; }

.tile.is-gone { border-style: solid; }

.tile.is-gone .leaf canvas { opacity: 0.25; }

.tile.is-gone .folio { color: var(--bad); }

.outputs { margin-top: 32px; }

.outputs-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.outputs-head h2 { font-size: 20px; letter-spacing: -0.01em; }

.verdict { margin-top: 12px; font-weight: 600; }

.verdict.is-good { color: var(--good); }

.verdict.is-bad { color: var(--bad); }

.verdict.is-same { color: var(--ink-soft); }

.kb-result {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--rule);
  border-radius: var(--round);
  background: var(--sheet);
}

.kb-result-summary {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.kb-result-delta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  color: var(--ink-soft);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.kb-result-delta b { color: var(--ink); font-weight: 650; }

.kb-result-delta .is-smaller { color: var(--good); font-weight: 650; }

.kb-result-delta .is-same { color: var(--ink-soft); font-weight: 600; }

.kb-result-preview {
  display: grid;
  place-items: center;
  max-height: 420px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: repeating-conic-gradient(var(--check-b) 0% 25%, var(--check-a) 0% 50%) 0 0 / 16px 16px;
}

.kb-result-preview img, .kb-result-preview canvas { display: block; max-width: 100%; max-height: 420px; object-fit: contain; }

.kb-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.kb-result-actions .btn-main { min-height: var(--btn-lg); padding: 0 24px; font-size: 16px; }

.kb-result-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 14px;
}

.kb-result-next a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

.row.made { grid-template-columns: 56px minmax(0, 1fr) auto; }

.row .btn { min-height: var(--btn-sm); padding: 0 14px; }

.prose {
  margin-top: 88px;
  padding: 56px 0 24px;
  border-top: 1px solid var(--rule);
}

.prose > * { max-width: 720px; }

.prose h2 {
  margin: 48px 0 12px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 { margin: 24px 0 4px; font-size: 17px; }

.prose p + p { margin-top: 12px; }

.prose ul { padding-left: 20px; }

.prose li { margin-top: 8px; }

.prose p, .prose li { color: var(--ink-soft); }

.prose strong { color: var(--ink); }

.colophon {
  margin-top: 40px;
  padding: 24px 0 48px;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 14px;
}

@media (max-width: 900px) {
  .bench {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intake" "panel" "results";
  }
  .panel { position: static; }
  .results-head { justify-content: flex-end; padding-bottom: 10px; }
  .dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px max(10px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--rule-strong);
    background: var(--sheet);
  }
  .tally { flex: 1 1 0; min-width: 0; font-size: 14px; line-height: 1.35; }
  .tally progress { margin-top: 6px; }
  .has-items .colophon { padding-bottom: 120px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .masthead { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 0; }
  .intro { padding: 36px 0 24px; }
  .intro p { font-size: 17px; }
  .dropzone { padding: 32px 16px; }
  .panel { padding: 18px 16px; }
  .row { grid-template-columns: 24px 48px minmax(0, 1fr) auto; gap: 10px; }
  .row.made { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .thumb, .kind { width: 48px; height: 48px; }
  .grip { width: 24px; }
  .icon, .remove { width: 36px; height: 36px; }
  .row .btn { width: 40px; padding: 0; }
  .row .btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 6px; }
  .dock { gap: 10px; padding-right: 16px; padding-left: 16px; }
  .tally { font-size: 13px; }
  .dock .btn { padding: 0 14px; }
  .prose { margin-top: 56px; padding-top: 40px; }
}

@media (pointer: coarse) {
  .drop-only, [data-drop-only] { display: none; }
  input:is([type="text"], [type="search"], [type="email"], [type="url"], [type="tel"], [type="number"], [type="password"], [type="date"], [type="time"], [type="datetime-local"], [type="month"], [type="week"], :not([type])):not([class*="title"]), textarea, select { font-size: 16px !important; }
}

html[data-preset*='"merge"'] body:not(.is-list):not(.is-single) #settings [data-for]:not([data-for="merge"]),
html[data-preset*='"split"'] body:not(.is-list):not(.is-single) #settings [data-for]:not([data-for="split"]),
html[data-preset*='"images"'] body:not(.is-list):not(.is-single) #settings [data-for]:not([data-for="images"]),
html[data-preset*='"render"'] body:not(.is-list):not(.is-single) #settings [data-for]:not([data-for="render"]),
html[data-preset*='"organize"'] body:not(.is-list):not(.is-single) #settings [data-for]:not([data-for="organize"]),
html[data-preset*='"compress"'] body:not(.is-list):not(.is-single) #settings [data-for]:not([data-for="compress"]) { display: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
.skw.lk-win{grid-template-columns:330px minmax(0,1fr);height:min(880px,calc(100vh - 96px));min-height:640px}
.lk-side{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:auto;background:rgba(242,246,250,.8);border-right:1px solid rgba(0,0,0,.05)}
.lk-proj{display:flex;align-items:center;gap:12px;min-width:0;padding:18px 18px 12px}
.lk-mark{display:grid;flex:none;place-items:center;width:44px;height:44px;overflow:hidden;border-radius:12px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1),0 0 0 .5px rgba(0,0,0,.06)}
.lk-mark canvas{display:block;width:44px;height:44px}
.lk-proj-text{display:grid;min-width:0;line-height:1.3}
.lk-proj-name{overflow:hidden;font-size:16px;font-weight:700;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap}
.lk-saved{font-size:12.5px;color:var(--sk-muted,#6E6E73)}
.lk-intro{display:grid;gap:8px;padding:0 18px 10px}
.lk-example{justify-self:start;padding:7px 14px;border:0;border-radius:999px;background:rgba(118,118,128,.12);color:var(--sk-ink,#1D1D1F);font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s}
.lk-example:hover{background:rgba(118,118,128,.2)}
.lk-example:focus-visible{outline:2px solid var(--sk-accent,#5B8DEF);outline-offset:2px}
.yk{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:13px;color:var(--sk-muted,#6E6E73)}
.yk-use{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:0;border-radius:999px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1),0 0 0 .5px rgba(0,0,0,.06);color:var(--sk-ink,#1D1D1F);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.yk-use:focus-visible{outline:2px solid var(--sk-accent,#5B8DEF);outline-offset:2px}
.yk-note a{color:var(--sk-accent,#5B8DEF)}
.lk-sec{margin:0 10px;border-radius:12px}
.lk-sec+.lk-sec{margin-top:2px}
.lk-sec>summary{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 10px;border-radius:9px;font-size:14px;font-weight:600;list-style:none;cursor:pointer;transition:background .15s}
.lk-sec>summary:hover{background:rgba(118,118,128,.1)}
.lk-sec[open]>summary{background:rgba(118,118,128,.16)}
.lk-sec>summary::-webkit-details-marker{display:none}
.lk-sec>summary::after{content:"";flex:none;width:6px;height:6px;margin-left:auto;border-right:1.8px solid var(--sk-muted,#6E6E73);border-bottom:1.8px solid var(--sk-muted,#6E6E73);transform:rotate(-45deg);transition:transform .2s}
.lk-sec[open]>summary::after{transform:translateY(-2px) rotate(45deg)}
.lk-sec>summary:focus-visible{outline:2px solid var(--sk-accent,#5B8DEF);outline-offset:-2px}
.lk-badge{padding:1px 8px;border-radius:999px;background:rgba(118,118,128,.14);color:var(--sk-muted,#6E6E73);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.lk-badge:empty{display:none}
.lk-badge.is-bad{background:#E5484D;color:#fff}
.lk-sec-body{display:grid;gap:14px;padding:12px 6px 20px}
.lk-fld{display:grid;gap:6px;min-width:0}
.lk-fld>label,.lk-fld>.lk-lbl{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-left:3px;font-size:12.5px;font-weight:600;color:var(--sk-muted,#6E6E73)}
.lk-fld>label small,.lk-lbl small{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}
.skw .lk-side input.text,.skw .lk-side textarea.text,.skw .lk-side select{background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.06)}
.skw .lk-side input.text:focus,.skw .lk-side textarea.text:focus,.skw .lk-side select:focus{box-shadow:0 0 0 1px var(--sk-accent,#5B8DEF),0 0 0 4px rgba(91,141,239,.25)}
.skw .lk-side textarea.text{min-height:64px}
.skw textarea.text.lk-mono{font:13px/1.5 ui-monospace,Consolas,Menlo,monospace}
.lk-fld .text[aria-invalid=true],.lk-fld textarea[aria-invalid=true]{box-shadow:0 0 0 1.5px #E5484D!important}
.lk-hint{margin:0;padding-left:3px;font-size:12.5px;line-height:1.45;color:var(--sk-muted,#6E6E73)}
.lk-err{margin:0;padding-left:3px;font-size:12.5px;color:#D93036}
.lk-err:empty{display:none}
.lk-pair{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:10px}
.lk-logo{display:flex;align-items:center;gap:12px;padding:10px;border:1.5px dashed rgba(60,90,130,.22);border-radius:14px;background:#fff;transition:border-color .15s,background-color .15s}
.is-dragging .lk-logo{border-color:var(--sk-accent,#5B8DEF);background:rgba(91,141,239,.06)}
.lk-logo-thumb{display:grid;flex:none;place-items:center;width:52px;height:52px;overflow:hidden;border-radius:10px;background:repeating-conic-gradient(var(--check-b,#E9EDF2) 0% 25%,var(--check-a,#F3F5F8) 0% 50%) 0 0/10px 10px}
.lk-logo-thumb img{display:block;max-width:100%;max-height:100%}
.lk-logo-thumb span{font-size:11.5px;color:var(--sk-muted,#6E6E73)}
.lk-logo-info{display:grid;flex:1;gap:6px;min-width:0}
.lk-logo-name{font-size:12.5px;line-height:1.35;color:var(--sk-muted,#6E6E73);overflow-wrap:anywhere}
.lk-logo-btns{display:flex;flex-wrap:wrap;gap:6px}
.skw .btn.btn-small{padding:6px 13px;font-size:13px}
.lk-shape{display:flex}
.lk-shape.skw-seg{background:rgba(118,118,128,.12)}
.lk-shape label{flex:1}
.lk-shape label>span{padding:6px 8px;text-align:center}
.skw .lk-side .skw-grp{background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.05)}
.lk-side .skw-row{padding:9px 12px;font-size:13.5px}
.lk-side label.skw-row{cursor:pointer}
.lk-colour{display:flex;flex:none;align-items:center;gap:6px}
.lk-colour input[type=color]{flex:none;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:none;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}
.lk-colour input[type=color]::-webkit-color-swatch-wrapper{padding:0}
.lk-colour input[type=color]::-webkit-color-swatch{border:0;border-radius:50%}
.skw .lk-colour input.text{width:88px;max-width:none;padding:6px 9px;border-radius:8px;background:rgba(118,118,128,.1);box-shadow:none;font:13px ui-monospace,Consolas,Menlo,monospace;text-transform:lowercase}
.skw .lk-side .skw-row{flex-wrap:nowrap}
.skw .lk-side .lk-colour input[type=color]{width:30px;max-width:none}
.skw .lk-side .lk-colour input.text{width:88px;max-width:none}
.lk-group-lbl{margin:4px 0 -8px;padding-left:3px;font-size:12.5px;font-weight:600;color:var(--sk-muted,#6E6E73)}
.lk-win .skw-main{min-height:0}
.lk-win .skw-bar{padding:14px 18px 10px}
.lk-tabs.skw-seg>button{display:inline-flex;align-items:center;gap:7px}
.lk-tabs .lk-badge{padding:0 7px;font-size:11.5px}
.lk-tabs .lk-badge.is-bad{background:#E5484D;color:#fff}
.lk-win .notice{margin:0 20px;font-size:13.5px;color:#D93036}
.lk-win .notice:empty{display:none}
.skw .lk-body{min-height:0;overflow:auto;padding:6px 22px 24px}
.lk-pane{display:grid;gap:22px;min-width:0}
.lk-pane[hidden]{display:none}
#lk-board{display:grid;gap:26px}
.lk-folder-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;margin-bottom:10px;padding-left:2px}
.lk-folder-head h2{margin:0;font-size:15px;font-weight:700;letter-spacing:-.01em}
.lk-folder-head code{font:500 12.5px Inter,system-ui,sans-serif;color:var(--sk-muted,#6E6E73)}
.lk-folder-head p{flex-basis:100%;margin:0;font-size:13px;color:var(--sk-muted,#6E6E73)}
.lk-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(216px,1fr));gap:12px;margin:0;padding:0;list-style:none}
.lk-card{display:flex;flex-direction:column;gap:9px;min-width:0;padding:12px;border-radius:16px;background:rgba(118,118,128,.07);transition:opacity .2s}
.lk-card.is-wide{grid-column:1/-1}
.lk-card.is-off{opacity:.55}
.lk-card.is-off .lk-prev{filter:grayscale(1)}
.lk-card-head{display:flex;align-items:center;gap:10px;min-width:0}
.lk-card-head h3{flex:1;min-width:0;margin:0;font-size:14px;font-weight:600;line-height:1.3}
.lk-inc{position:relative;display:inline-flex;flex:none;align-items:center;cursor:pointer}
.skw .lk-inc input[type=checkbox]:not(.skw-sw){position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;border:0;opacity:0;cursor:pointer}
.lk-inc span{position:relative;width:34px;height:20px;border-radius:999px;background:rgba(120,120,128,.24);transition:background .25s}
.lk-inc span::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.22);transition:transform .3s cubic-bezier(.3,1.4,.5,1)}
.lk-inc input:checked+span{background:#5B98FF}
.lk-inc input:checked+span::after{transform:translateX(14px)}
.lk-inc input:focus-visible+span{outline:2px solid var(--sk-accent,#5B8DEF);outline-offset:2px}
.lk-eye{display:grid;flex:none;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1),0 0 0 .5px rgba(0,0,0,.06);color:var(--sk-ink-2,#3A3A3C);cursor:pointer}
.lk-eye:hover{background:#F6F8FA}
.lk-eye:focus-visible{outline:2px solid var(--sk-accent,#5B8DEF);outline-offset:2px}
.lk-eye svg{width:15px;height:15px}
.lk-prev{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:center;gap:12px;min-height:110px;padding:12px;overflow:hidden;border-radius:11px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.04);cursor:zoom-in}
.lk-prev.is-checker{background:repeating-conic-gradient(var(--check-b,#E9EDF2) 0% 25%,var(--check-a,#F3F5F8) 0% 50%) 0 0/14px 14px}
.lk-prev canvas{display:block;max-width:100%;height:auto}
.lk-prev-row{display:flex;align-items:flex-end;gap:14px}
.lk-px{display:grid;justify-items:center;gap:5px;font-size:11px;color:var(--sk-muted,#6E6E73);font-variant-numeric:tabular-nums}
.lk-r22 canvas{border-radius:22%}
.lk-r50 canvas{border-radius:50%}
.lk-r20 canvas{border-radius:20%}
.lk-shadow canvas{box-shadow:0 2px 8px rgba(0,0,0,.18)}
.lk-tabmock{display:flex;align-items:center;gap:8px;width:100%;max-width:220px;height:32px;padding:0 12px;border-radius:9px 9px 0 0;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.06);font-size:12.5px}
.lk-tabmock canvas{flex:none;width:16px;height:16px}
.lk-tabmock span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lk-sharemock{width:100%;max-width:380px;overflow:hidden;border-radius:12px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1),0 0 0 .5px rgba(0,0,0,.06);text-align:left}
.lk-sharemock canvas{width:100%}
.lk-sharemock div{display:grid;gap:2px;padding:9px 12px 11px;font-size:12.5px;line-height:1.35}
.lk-sharemock small{font-size:11.5px;color:var(--sk-muted,#6E6E73);text-transform:lowercase}
.lk-sharemock b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lk-sharemock span{display:-webkit-box;overflow:hidden;color:var(--sk-muted,#6E6E73);-webkit-line-clamp:2;-webkit-box-orient:vertical}
.lk-banner{width:100%;max-width:380px}
.lk-banner canvas{width:100%;border-radius:8px;box-shadow:0 1px 4px rgba(0,0,0,.18)}
.lk-code{align-self:stretch;width:100%;max-height:150px;margin:0;padding:2px 2px 0;overflow:hidden;background:none;color:var(--sk-ink-2,#3A3A3C);font:11.5px/1.55 ui-monospace,Consolas,Menlo,monospace;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-mask-image:linear-gradient(#000 65%,transparent);mask-image:linear-gradient(#000 65%,transparent)}
.lk-doc{display:grid;align-self:stretch;gap:5px;width:100%;text-align:left}
.lk-doc b{font-size:14px;line-height:1.3}
.lk-doc span{font-size:12.5px;line-height:1.45;color:var(--sk-muted,#6E6E73)}
.lk-what{margin:0;font-size:13px;line-height:1.45;color:var(--sk-muted,#6E6E73)}
.lk-need{display:flex;align-items:flex-start;gap:6px;margin:0;font-size:12.5px;font-weight:600;line-height:1.4;color:var(--sk-ink-2,#3A3A3C)}
.lk-need svg{flex:none;width:15px;height:15px;margin-top:1px}
.lk-need:empty{display:none}
.lk-files{display:flex;flex-wrap:wrap;gap:6px;margin:auto 0 0;padding:0;list-style:none}
.lk-files li{min-width:0;max-width:100%}
.lk-file{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 11px;border:0;border-radius:999px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.08),0 0 0 .5px rgba(0,0,0,.06);color:var(--sk-ink,#1D1D1F);font:600 12px Inter,system-ui,sans-serif;cursor:pointer;transition:background .15s}
.lk-file:hover{background:#F6F8FA}
.lk-file:focus-visible{outline:2px solid var(--sk-accent,#5B8DEF);outline-offset:2px}
.lk-file:disabled{opacity:.5;cursor:default}
.lk-file span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lk-file svg{flex:none;width:13px;height:13px}
.lk-help{margin:0;font-size:12.5px;color:var(--sk-muted,#6E6E73)}
.lk-help kbd,.prose kbd{display:inline-block;min-width:1.6em;padding:0 5px;border-radius:5px;background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.14),0 0 0 .5px rgba(0,0,0,.1);color:var(--sk-ink,#1D1D1F);font:600 11.5px/1.6 Inter,system-ui,sans-serif;text-align:center}
.lk-block{padding:18px 20px;border-radius:16px;background:rgba(118,118,128,.07)}
.lk-block h2{margin:0;font-size:17px;font-weight:700;letter-spacing:-.015em}
.lk-block>p{margin:4px 0 0;font-size:13.5px;line-height:1.5;color:var(--sk-muted,#6E6E73)}
.lk-ask{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px}
.lk-url{flex:1 1 220px;min-width:0;padding:9px 14px;overflow:hidden;border-radius:10px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.06);font:14px/1.5 ui-monospace,Consolas,Menlo,monospace;text-overflow:ellipsis;white-space:nowrap}
.lk-how{margin:10px 0 0;font-size:12.5px;line-height:1.5;color:var(--sk-muted,#6E6E73)}
.lk-block .notice{margin:10px 0 0;font-size:13.5px;color:#D93036}
.lk-block .notice:empty{display:none}
.lk-steps{display:grid;gap:4px;margin:14px 0 0;padding:0;font-size:13.5px;color:var(--sk-muted,#6E6E73);list-style:none}
.lk-sum{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
.lk-tile{display:grid;gap:2px;padding:12px 14px;border-radius:14px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.05)}
.lk-tile b{font-size:26px;font-weight:700;line-height:1.1;font-variant-numeric:tabular-nums}
.lk-tile span{font-size:13px;color:var(--sk-muted,#6E6E73)}
.lk-tile.fail b{color:#D93036}
.lk-tile.warn b{color:#B4570B}
.lk-meta{margin:10px 0 0;font-size:12.5px;color:var(--sk-muted,#6E6E73);overflow-wrap:anywhere}
.lk-gh{margin:20px 0 8px;padding-left:4px;font-size:12.5px;font-weight:600;color:var(--sk-muted,#6E6E73)}
.lk-checks{display:grid;margin:0;padding:0;border-radius:14px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.05);list-style:none}
.lk-check{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 12px;min-width:0;padding:12px 14px}
.lk-check+.lk-check{box-shadow:inset 0 1px 0 rgba(0,0,0,.06)}
.lk-check h3{margin:0;font-size:14px;font-weight:600}
.lk-check .lk-note{grid-column:2;margin:0;font-size:13px;line-height:1.45;color:var(--sk-muted,#6E6E73);overflow-wrap:anywhere}
.lk-fix{display:flex;flex-wrap:wrap;grid-column:2;align-items:center;gap:8px;margin-top:6px}
.lk-fix code{flex:1 1 220px;min-width:0;padding:7px 10px;border-radius:8px;background:rgba(118,118,128,.08);font:12px/1.5 ui-monospace,Consolas,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.lk-pill{align-self:start;margin-top:1px}
.lk-passed{margin-top:8px}
.lk-passed summary{padding-left:4px;font-size:13px;font-weight:600;color:var(--sk-muted,#6E6E73);cursor:pointer}
.lk-passed .lk-checks{margin-top:8px}
.lk-out-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.lk-cl-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 12px}
.lk-cl-head .lk-hint{font-size:13px}
.lk-meter{display:block;width:100%;height:4px;margin-top:12px;border:0;border-radius:4px;background:rgba(118,118,128,.14);overflow:hidden;appearance:none;-webkit-appearance:none}
.lk-meter::-webkit-progress-bar{background:rgba(118,118,128,.14);border-radius:4px}
.lk-meter::-webkit-progress-value{background:#5B98FF;border-radius:4px;transition:width .3s}
.lk-meter::-moz-progress-bar{background:#5B98FF}
.lk-cl{display:grid;margin:14px 0 0;padding:0;border-radius:14px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.05);list-style:none}
.lk-cl li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:2px 12px;align-items:start;padding:12px 14px}
.lk-cl li+li{box-shadow:inset 0 1px 0 rgba(0,0,0,.06)}
.lk-cl input{width:20px;height:20px;margin:1px 0 0;accent-color:#5B98FF;cursor:pointer}
.lk-cl label{font-size:14px;font-weight:600;cursor:pointer}
.lk-cl p{grid-column:2;margin:0;font-size:13px;line-height:1.45;color:var(--sk-muted,#6E6E73)}
.lk-cl .lk-pill{grid-column:3;grid-row:1}
.lk-cl li.is-done label{color:var(--sk-muted,#6E6E73);text-decoration:line-through;text-decoration-color:rgba(0,0,0,.25)}
.lk-cl .lk-link{grid-column:2;justify-self:start;margin-top:2px;font-size:13px}
.lk-link{padding:0;border:0;background:none;color:var(--sk-accent,#5B8DEF);font:inherit;font-weight:600;text-align:left;cursor:pointer}
.lk-link:hover{text-decoration:underline}
.lk-foot-st{display:grid;gap:2px;min-width:0}
.lk-foot-st .skw-status{margin:0}
.lk-result{margin:0;font-size:13px;color:var(--sk-ink,#1D1D1F);overflow-wrap:anywhere}
.lk-result::before{content:"";display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#5B98FF;vertical-align:.1em}
.lk-result:empty{display:none}
.lk-dock{display:none}
.lk-dlg{width:min(760px,calc(100vw - 24px));max-width:none;max-height:calc(100vh - 24px);padding:0;border:0;border-radius:22px;background:#fff;color:var(--sk-ink,#1D1D1F);box-shadow:0 30px 80px rgba(20,40,70,.25),0 0 0 .5px rgba(0,0,0,.08)}
.lk-dlg::backdrop{background:rgba(20,30,45,.35);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.lk-dlg-in{display:flex;flex-direction:column;max-height:calc(100vh - 26px)}
.lk-dlg-head{display:flex;align-items:flex-start;gap:10px;padding:18px 16px 0 22px}
.lk-dlg-head>div{flex:1;min-width:0}
.lk-dlg-head h2{margin:0;font-size:19px;font-weight:700;letter-spacing:-.015em}
.lk-dlg-head p{margin:4px 0 0;font-size:13.5px;color:var(--sk-muted,#6E6E73)}
.lk-x{display:grid;flex:none;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:rgba(118,118,128,.12);color:var(--sk-ink-2,#3A3A3C);cursor:pointer}
.lk-x:hover{background:rgba(118,118,128,.2)}
.lk-x svg{width:12px;height:12px}
.lk-dlg-body{display:grid;gap:14px;min-height:0;padding:16px 22px;overflow:auto}
.lk-big{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:center;gap:18px;padding:20px;border-radius:14px;background:repeating-conic-gradient(var(--check-b,#E9EDF2) 0% 25%,var(--check-a,#F3F5F8) 0% 50%) 0 0/16px 16px}
.lk-big canvas{display:block;max-width:100%;height:auto}
.lk-big .lk-px{color:var(--sk-ink,#1D1D1F);font-weight:600}
.lk-full{max-height:none;padding:14px;border-radius:12px;background:rgba(118,118,128,.07);-webkit-mask-image:none;mask-image:none;overflow:auto;font-size:12.5px}
.lk-docview{padding:22px 24px;border-radius:14px;background:rgba(118,118,128,.06)}
.lk-docview h1{font-size:22px;line-height:1.2}
.lk-docview h2{margin:20px 0 6px;font-size:16px}
.lk-docview p,.lk-docview li{font-size:14px;color:var(--sk-ink-2,#3A3A3C)}
.lk-docview p+p{margin-top:8px}
.lk-docview ul{padding-left:20px}
.lk-docview li{margin-top:4px}
.lk-docview hr{margin:22px 0 12px;border:0;border-top:1px solid rgba(0,0,0,.08)}
.lk-docview a{color:var(--sk-accent,#5B8DEF)}
.lk-where{margin:0;padding:12px 14px;border-radius:12px;background:rgba(91,141,239,.08);font-size:13.5px}
.lk-dlg-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:14px 22px;border-top:1px solid rgba(0,0,0,.06);background:rgba(250,251,253,.9)}
.lk-dlg .btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:0;border-radius:999px;background:rgba(118,118,128,.12);font:inherit;font-size:13.5px;font-weight:600;color:var(--sk-ink,#1D1D1F);cursor:pointer}
.lk-dlg .btn:hover{background:rgba(118,118,128,.2)}
.lk-dlg .btn.btn-main{background:var(--sk-accent,#5B8DEF)!important;color:#fff!important}
.lk-dlg-foot .lk-grow{flex:1}
.lk-nav{display:flex;gap:6px}
.lk-small{width:min(420px,calc(100vw - 24px))}
.lk-small .lk-dlg-foot{justify-content:flex-end}
@media (max-width:1180px){.skw.lk-win{grid-template-columns:300px minmax(0,1fr)}}
@media (max-width:900px){
  .skw.lk-win{grid-template-columns:minmax(0,1fr);height:auto;min-height:0}
  .lk-side{overflow:visible;border-right:0;border-bottom:1px solid rgba(0,0,0,.05)}
  .skw .lk-body{overflow:visible}
  .lk-win .skw-main{min-height:auto}
  .lk-foot-acts{display:none!important}
  .lk-dock{position:fixed;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:center;gap:12px;padding:10px 16px max(10px,env(safe-area-inset-bottom));border-top:1px solid rgba(0,0,0,.06);background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 -6px 20px rgba(20,40,70,.08)}
  .lk-dock p{flex:1;min-width:0;margin:0;font-size:13.5px;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums}
  .lk-dock .btn{flex:none;display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border:0;border-radius:999px;background:var(--sk-accent,#5B8DEF)!important;color:#fff!important;font:inherit;font-size:14px;font-weight:600}
  .lk-dock .btn svg{width:15px;height:15px}
  .lk-on .colophon{padding-bottom:110px}
}
@media (max-width:560px){
  .lk-win .skw-bar{padding:12px 12px 8px}
  .skw .lk-body{padding:4px 12px 18px}
  .lk-cards{grid-template-columns:minmax(0,1fr)}
  .lk-sec{margin:0 6px}
  .lk-block{padding:16px}
  .lk-sum{gap:8px}
  .lk-tile{padding:10px}
  .lk-tile b{font-size:22px}
  .lk-check{grid-template-columns:minmax(0,1fr)}
  .lk-check .lk-note,.lk-fix{grid-column:1}
  .lk-dlg-head{padding:16px 12px 0 16px}
  .lk-dlg-body{padding:14px 16px}
  .lk-dlg-foot{padding:12px 16px}
  .lk-docview{padding:16px}
  .lk-help{display:none}
}
@media (hover:none){.lk-prev{cursor:default}}
@media (pointer:coarse){.lk-win input:not([type=checkbox]):not([type=radio]):not([type=range]),.lk-win select,.lk-win textarea{font-size:16px!important}}
