.lwk, .lwk-standalone {
  --paper: #f3eee4;
  --paper-deep: #e6ddcc;
  --surface: #fffdf8;
  --ink: #1a2230;
  --ink-soft: #3c4656;
  --muted: #66707e;
  --teal: #0b6e6a;
  --teal-deep: #085450;
  --teal-soft: #d7ecea;
  --coral: #e24a28;
  --coral-deep: #c53a1c;
  --coral-soft: #f8d8d0;
  --sand: #c9923a;
  --sand-soft: #f3e6c8;
  --leaf: #2f6b4f;
  --leaf-soft: #dce8e0;
  --violet: #6a4c93;
  --violet-soft: #e4dcf0;
  --navy: #2b4c7e;
  --navy-soft: #dce4f0;
  --navy-fg: #fffdf8;
  --header: #ebe4d8;
  --sand-ink: #8a6420;
  --code-bg: #1a2230;
  --teal-fill: #0b6e6a;
  --coral-fill: #c53a1c;
  --line: #d5cdb8;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 1px 0 rgba(26, 34, 48, 0.04), 0 18px 40px -28px rgba(26, 34, 48, 0.35);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.lw-site .lwk,
body.lw-site .lwk p,
body.lw-site .lwk a,
body.lw-site .lwk li,
body.lw-site .lwk span,
body.lw-site .lwk em,
body.lw-site .lwk small,
body.lw-site .lwk strong,
body.lw-site .lwk button,
body.lw-site .lwk input {
  font-family: var(--sans);
}
body.lw-site .lwk h1,
body.lw-site .lwk h2,
body.lw-site .lwk h3,
body.lwk-page .lwk h1,
body.lwk-page .lwk h2,
body.lwk-page .lwk h3 {
  font-family: var(--display) !important;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.12;
  color: var(--ink);
  text-wrap: balance;
}
.lwk-standalone { margin: 0; background: var(--paper); }
.lwk-skip { position: absolute; left: -999px; }
.lwk-skip:focus { left: 1rem; top: 1rem; background: var(--ink); color: var(--surface); padding: .5rem 1rem; border-radius: 999px; z-index: 80; }
.lwk-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.lwk-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--teal);
  font-family: var(--sans);
}
.lwk h1, .lwk h2, .lwk h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.12;
  margin: .4rem 0 .55rem;
  color: var(--ink);
  text-wrap: balance;
}
.lwk h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.lwk h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.lwk-lede { color: var(--ink-soft); font-size: 1.12rem; line-height: 1.6; max-width: 40rem; }
.lwk-hero { padding: 3.25rem 0 2.75rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.lwk-hero.is-compact { padding: 2rem 0 1.75rem; }
.lwk-hero.is-compact h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.lwk-hero .lwk-ico { width: 3rem; height: 3rem; margin: .75rem 0 .4rem; }
.lwk-hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .lwk-hero-grid { grid-template-columns: 1.05fr .95fr; } }
.lwk-hero-viz {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.lwk-hero-viz svg { display: block; width: 100%; height: auto; }
.lwk-section { padding: 2.75rem 0; }
.lwk-popular-sec { padding-top: 0; }
.lwk-btn, .lwk-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: var(--coral-fill);
  color: var(--navy-fg);
  border: 0;
  border-radius: 999px;
  padding: .7rem 1.2rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.lwk-btn:hover, .lwk-search button:hover {
  background: color-mix(in oklab, var(--coral-fill) 82%, #000);
  color: var(--navy-fg);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.lwk-btn.is-ghost, .lwk-chrome .is-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.lwk-search {
  position: relative;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  max-width: 40rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .4rem .35rem 1rem;
  box-shadow: var(--shadow);
  z-index: 12;
}
.lwk-search.is-live {
  border-color: color-mix(in oklab, var(--teal) 45%, var(--line));
  box-shadow: 0 0 0 4px var(--teal-soft), var(--shadow);
}
.lwk-search svg { width: 1.15rem; height: 1.15rem; stroke: var(--teal); fill: none; stroke-width: 2; flex-shrink: 0; }
.lwk-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  min-width: 0;
  height: 2.6rem;
}
.lwk-search input:focus { outline: none; }
.lwk-live {
  position: absolute;
  left: 0; right: 0; top: calc(100% + .55rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 28px 54px -24px rgba(26, 34, 48, .48), var(--shadow);
  padding: .4rem .4rem .35rem;
  z-index: 40;
  overflow: hidden;
}
.lwk-live-status {
  margin: 0;
  padding: .85rem 1rem;
  color: var(--muted);
  font-size: .92rem;
}
.lwk-live-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .12rem;
  max-height: min(22.5rem, 58vh);
  overflow-y: auto;
}
.lwk-live-item {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: .85rem;
  align-items: center;
  padding: .72rem .8rem .75rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
}
.lwk-live-item:hover { background: var(--paper); }
.lwk-live-item.is-on {
  background: var(--teal-soft);
}
.lwk-live-item.is-coral.is-on { background: var(--coral-soft); }
.lwk-live-item.is-violet.is-on { background: var(--violet-soft); }
.lwk-live-item.is-sand.is-on { background: var(--sand-soft); }
.lwk-live-item.is-leaf.is-on { background: var(--leaf-soft); }
.lwk-live-item.is-navy.is-on { background: var(--navy-soft); }
.lwk-live-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  align-self: center;
  background: var(--teal-soft);
  color: var(--teal-deep);
}
.lwk-live-mark svg { width: 1.05rem; height: 1.05rem; }
.lwk-live-mark .lwk-ico {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 0;
  background: transparent;
  color: inherit;
}
.lwk-live-item.is-coral .lwk-live-mark { background: var(--coral-soft); color: var(--coral-deep); }
.lwk-live-item.is-violet .lwk-live-mark { background: var(--violet-soft); color: var(--violet); }
.lwk-live-item.is-sand .lwk-live-mark { background: var(--sand-soft); color: var(--sand-ink); }
.lwk-live-item.is-leaf .lwk-live-mark { background: var(--leaf-soft); color: var(--leaf); }
.lwk-live-item.is-navy .lwk-live-mark { background: var(--navy-soft); color: var(--navy); }
.lwk-live-copy { min-width: 0; }
.lwk-live-chip {
  display: inline-flex;
  align-items: center;
  margin: 0 0 .28rem;
  padding: .08rem .5rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: .02em;
  line-height: 1.4;
  text-transform: none;
  background: color-mix(in oklab, var(--surface) 82%, var(--paper));
  color: var(--teal-deep);
}
.lwk-live-item.is-coral .lwk-live-chip { color: var(--coral-deep); }
.lwk-live-item.is-violet .lwk-live-chip { color: var(--violet); }
.lwk-live-item.is-sand .lwk-live-chip { color: var(--sand-ink); }
.lwk-live-item.is-leaf .lwk-live-chip { color: var(--leaf); }
.lwk-live-item.is-navy .lwk-live-chip { color: var(--navy); }
.lwk-live-item strong {
  display: block;
  font-size: .98rem;
  line-height: 1.3;
  font-family: var(--sans);
}
.lwk-live-item strong mark {
  background: var(--sand-soft);
  color: inherit;
  font-weight: 800;
  padding: 0 .08em;
  border-radius: 3px;
}
.lwk-live-ex {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: .82rem;
  margin-top: .18rem;
  line-height: 1.4;
}
.lwk-live-empty {
  padding: 1.05rem 1rem 1.1rem;
  text-align: left;
}
.lwk-live-empty p { margin: 0 0 .35rem; color: var(--ink); font-weight: 650; }
.lwk-live-empty span { color: var(--muted); font-size: .88rem; }
.lwk-live-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  margin: .35rem .35rem .25rem;
  padding: .65rem .7rem;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 650;
  color: var(--teal-deep);
  text-decoration: none;
}
.lwk-live-foot:hover { color: var(--coral-deep); }
.lwk-live-hint {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .66rem;
}
.lwk-cats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
}
@media (max-width: 960px) {
  .lwk-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .lwk-cats { grid-template-columns: 1fr; }
}
.lwk-cat {
  display: flex;
  align-items: center;
  gap: .95rem;
  padding: 1.3rem 1.3rem 1.35rem;
  min-height: 8.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.lwk-cat:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -20px rgba(26,34,48,.45); }
.lwk-cat.is-teal:hover { border-color: color-mix(in oklab, var(--teal) 50%, var(--line)); }
.lwk-cat.is-coral:hover { border-color: color-mix(in oklab, var(--coral) 50%, var(--line)); }
.lwk-cat.is-violet:hover { border-color: color-mix(in oklab, var(--violet) 50%, var(--line)); }
.lwk-cat.is-sand:hover { border-color: color-mix(in oklab, var(--sand) 50%, var(--line)); }
.lwk-cat.is-leaf:hover { border-color: color-mix(in oklab, var(--leaf) 50%, var(--line)); }
.lwk-cat.is-navy:hover { border-color: color-mix(in oklab, var(--navy) 50%, var(--line)); }
.lwk-ico {
  display: inline-flex;
  width: 3.1rem; height: 3.1rem;
  border-radius: 16px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lwk-ico.is-teal { background: var(--teal-soft); color: var(--teal-deep); }
.lwk-ico.is-coral { background: var(--coral-soft); color: var(--coral-deep); }
.lwk-ico.is-violet { background: var(--violet-soft); color: var(--violet); }
.lwk-ico.is-sand { background: var(--sand-soft); color: var(--sand-ink); }
.lwk-ico.is-leaf { background: var(--leaf-soft); color: var(--leaf); }
.lwk-ico.is-navy { background: var(--navy-soft); color: var(--navy); }
.lwk-ico svg { width: 1.25rem; height: 1.25rem; }
.lwk-cat-copy { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.lwk-cat-copy strong { font-size: 1.08rem; font-family: var(--sans); }
.lwk-cat.is-teal .lwk-cat-copy em { color: var(--teal-deep); }
.lwk-cat.is-coral .lwk-cat-copy em { color: var(--coral-deep); }
.lwk-cat.is-violet .lwk-cat-copy em { color: var(--violet); }
.lwk-cat.is-sand .lwk-cat-copy em { color: var(--sand-ink); }
.lwk-cat.is-leaf .lwk-cat-copy em { color: var(--leaf); }
.lwk-cat.is-navy .lwk-cat-copy em { color: var(--navy); }
.lwk-cat-copy em { font-style: normal; color: var(--teal); font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.lwk-cat-copy span { color: var(--ink-soft); font-size: .92rem; }
.lwk-split { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 860px) { .lwk-split { grid-template-columns: .8fr 1.2fr; } }
.lwk-popular { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .55rem; }
.lwk-popular a, .lwk-list a {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.lwk-popular a:hover, .lwk-list a:hover { transform: translateY(-1px); border-color: color-mix(in oklab, var(--teal) 40%, var(--line)); }
.lwk-popular em {
  font-family: var(--display);
  font-style: normal;
  color: var(--teal);
  font-size: 1.15rem;
  width: 1.8rem;
  flex-shrink: 0;
}
.lwk-popular small, .lwk-list small { display: block; color: var(--muted); font-size: .8rem; margin-top: .2rem; }
.lwk-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .lwk-layout { grid-template-columns: minmax(0, 1fr) 20.75rem; gap: 2.15rem; } }
.lwk-main { display: grid; gap: 1.15rem; min-width: 0; }
.lwk-side { display: grid; gap: 1.05rem; position: sticky; top: 5.25rem; }
.lwk-widget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0 0 .95rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.lwk-widget::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--teal);
}
.lwk-widget.is-toc::before { background: var(--coral); }
.lwk-widget.is-tags::before { background: var(--violet); }
.lwk-widget.is-popular::before { background: var(--sand); }
.lwk-widget.is-topics::before { background: var(--leaf); }
.lwk-widget.is-toc { background: color-mix(in oklab, var(--coral-soft) 50%, var(--surface)); }
.lwk-widget.is-tags { background: color-mix(in oklab, var(--violet-soft) 50%, var(--surface)); }
.lwk-widget.is-popular { background: color-mix(in oklab, var(--sand-soft) 50%, var(--surface)); }
.lwk-widget.is-topics { background: color-mix(in oklab, var(--leaf-soft) 50%, var(--surface)); }
.lwk-widget h3 {
  font-family: var(--display) !important;
  font-size: 1.2rem !important;
  letter-spacing: -.028em;
  text-transform: none;
  color: var(--ink);
  margin: 0 0 .2rem;
  font-weight: 500;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem 1.1rem .9rem 1.15rem;
  border-bottom: 1px solid color-mix(in oklab, var(--line) 80%, transparent);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
}
.lwk-wt { min-width: 0; }
.lwk-wh {
  width: 2rem;
  height: 2rem;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(26,34,48,.05);
  line-height: 0;
}
.lwk-wh svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
  margin: 0;
  flex-shrink: 0;
}
.lwk-widget.is-toc .lwk-wh { background: var(--coral-soft); color: var(--coral-deep); }
.lwk-widget.is-tags .lwk-wh { background: var(--violet-soft); color: var(--violet); }
.lwk-widget.is-popular .lwk-wh { background: var(--sand-soft); color: var(--sand-ink); }
.lwk-widget.is-topics .lwk-wh { background: var(--leaf-soft); color: var(--leaf); }
.lwk-widget.is-toc h3,
.lwk-widget.is-tags h3,
.lwk-widget.is-popular h3,
.lwk-widget.is-topics h3,
.lwk-widget.is-recent h3 { color: var(--ink); }
.lwk-widget-body {
  padding: .2rem 1.05rem 0;
}
.lwk-widget-body > ul,
.lwk-widget-body > ol,
.lwk-widget-body > nav,
.lwk-widget-body .lwk-catnav,
.lwk-widget-body .lwk-toc-list,
.lwk-widget-body .lwk-tags,
.lwk-widget-body .lwk-popular,
.lwk-widget-body .lwk-recent {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lwk-widget .lwk-popular { margin-top: 0; gap: .18rem; list-style: none; padding: 0; display: grid; }
.lwk-widget .lwk-popular a {
  box-shadow: none;
  padding: .4rem .42rem;
  background: transparent;
  border: 0;
  border-radius: 12px;
  gap: .55rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  font-family: var(--sans);
}
.lwk-widget .lwk-popular a:hover {
  transform: none;
  background: var(--surface);
  border-color: var(--line);
}
.lwk-widget .lwk-popular em {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  font-weight: 800;
  font-style: normal;
  font-family: var(--sans);
  background: var(--sand-soft);
  color: var(--sand-ink);
  flex-shrink: 0;
  margin-top: 0;
}
.lwk-widget .lwk-popular li:nth-child(1) em { background: var(--coral-soft); color: var(--coral-deep); }
.lwk-widget .lwk-popular li:nth-child(2) em { background: var(--sand-soft); color: var(--sand-ink); }
.lwk-widget .lwk-popular li:nth-child(3) em { background: var(--teal-soft); color: var(--teal-deep); }
.lwk-widget .lwk-popular strong { font-size: .9rem; line-height: 1.3; font-weight: 650; }
.lwk-widget .lwk-popular small {
  display: block;
  font-size: .68rem;
  color: var(--muted);
  margin-top: .12rem;
  letter-spacing: .02em;
}
.lwk-catnav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .18rem; }
.lwk-catnav a {
  display: flex; align-items: center; gap: .55rem;
  padding: .4rem .42rem;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 600;
}
.lwk-catnav .is-on a { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lwk-catnav a:hover { background: var(--surface); }
.lwk-catnav .lwk-ico { width: 1.75rem; height: 1.75rem; border-radius: 9px; }
.lwk-catnav small {
  margin-left: auto;
  color: var(--ink);
  font-size: .68rem;
  font-weight: 700;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .14rem .45rem;
  min-width: 1.45rem;
  text-align: center;
}
.lwk-catnav .is-on small { background: var(--leaf-soft); color: var(--leaf); border-color: color-mix(in oklab, var(--leaf) 35%, var(--line)); }
.lwk-toc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .08rem; counter-reset: lwk-toc; }
.lwk-toc-list li { counter-increment: lwk-toc; }
.lwk-toc-list a {
  color: var(--ink-soft);
  text-decoration: none;
  display: flex;
  gap: .55rem;
  padding: .4rem .42rem;
  border-radius: 12px;
  font-size: .9rem;
  line-height: 1.3;
  font-weight: 600;
  font-family: var(--sans);
  align-items: center;
}
.lwk-toc-list a::before {
  content: counter(lwk-toc, decimal-leading-zero);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--muted);
  background: var(--paper);
  border-radius: 9px;
  min-width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  flex-shrink: 0;
  font-family: var(--sans);
}
.lwk-toc-list a:hover { color: var(--ink); background: var(--surface); }
.lwk-toc-list a.is-current { color: var(--coral-deep); background: var(--coral-soft); }
.lwk-toc-list a.is-current::before { background: var(--coral); color: var(--navy-fg); }
.lwk-toc-list .is-h3 a { padding-left: .85rem; font-size: .8rem; font-weight: 500; }
.lwk-widget.is-tags .lwk-tags,
.lwk-widget .lwk-tags {
  display: grid;
  grid-template-columns: 1fr;
  gap: .18rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
}
.lwk-widget.is-tags .lwk-tags li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}
.lwk-widget.is-tags .lwk-tags a,
.lwk-widget.is-tags .lwk-tags span {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  box-sizing: border-box;
  padding: .4rem .42rem;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  background: transparent;
  border: 0;
  color: inherit;
  font-family: var(--sans);
  text-transform: none;
}
.lwk-widget.is-tags .lwk-tags a:hover {
  filter: none;
  transform: none;
  background: var(--surface);
}
.lwk-widget.is-tags .lwk-tags a i,
.lwk-widget.is-tags .lwk-tags span i {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 800;
  font-size: .72rem;
  opacity: 1;
  flex-shrink: 0;
  background: var(--violet-soft);
  color: var(--violet);
  line-height: 1;
}
.lwk-widget.is-tags .is-teal a i { background: var(--teal-soft); color: var(--teal-deep); }
.lwk-widget.is-tags .is-coral a i { background: var(--coral-soft); color: var(--coral-deep); }
.lwk-widget.is-tags .is-sand a i { background: var(--sand-soft); color: var(--sand-ink); }
.lwk-widget.is-tags .is-violet a i { background: var(--violet-soft); color: var(--violet); }
.lwk-widget.is-tags .is-leaf a i { background: var(--leaf-soft); color: var(--leaf); }
.lwk-widget.is-tags .is-navy a i { background: var(--navy-soft); color: var(--navy); }
.lwk-widget.is-tags .is-teal a,
.lwk-widget.is-tags .is-coral a,
.lwk-widget.is-tags .is-sand a,
.lwk-widget.is-tags .is-violet a,
.lwk-widget.is-tags .is-leaf a,
.lwk-widget.is-tags .is-navy a {
  background: transparent;
  color: inherit;
}
.lwk-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem .6rem; margin: 0 0 1rem; padding: 0; font-size: .88rem; color: var(--muted); }
.lwk-crumbs a { color: var(--teal); text-decoration: none; }
.lwk-crumbs li:not(:last-child)::after { content: " /"; color: var(--line); margin-left: .55rem; }
.lwk-meta { color: var(--muted); font-size: .92rem; }
.lwk-meta a { color: var(--teal); text-decoration: none; }
.lwk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.lwk-list a { align-items: center; }
.lwk-thumb-wrap {
  width: 7.5rem;
  height: 5.2rem;
  flex-shrink: 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}
.lwk-list .lwk-thumb {
  width: 7.5rem;
  height: 5.2rem;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
.lwk-thumb-wrap img.lwk-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  z-index: 1;
}
.lwk-thumb.is-drawn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .22rem;
  padding: .45rem .4rem;
  background: linear-gradient(145deg, var(--lwk-a, var(--teal)), var(--lwk-b, #143c3a));
  color: var(--navy-fg);
  text-align: center;
}
.lwk-thumb.is-drawn em {
  font-family: var(--display);
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1;
  color: var(--navy-fg);
  width: auto;
}
.lwk-thumb.is-drawn small {
  font-size: .58rem;
  line-height: 1.25;
  opacity: .92;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: inherit;
}
.lwk-excerpt { display: block; color: var(--ink-soft); margin: .3rem 0 .2rem; }
.lwk-feature { margin: 0 0 1.5rem; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.lwk-feature img { width: 100%; height: auto; display: block; }
.lwk-prose { font-size: 1.05rem; line-height: 1.7; color: var(--ink-soft); font-family: var(--sans); }
.lwk-prose > *:first-child { margin-top: 0; }
.lwk-prose h2, .lwk-prose h3 { color: var(--ink); margin: 1.6rem 0 .6rem; }
.lwk-prose a { color: var(--teal); }
.lwk-prose ul, .lwk-prose ol { padding-left: 1.2rem; }
.lwk-prose li { margin: .25rem 0; }
.lwk-callout {
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin: 1.2rem 0;
  border: 1px solid var(--line);
  background: var(--surface);
}
.lwk-callout strong { display: block; margin-bottom: .25rem; color: var(--ink); font-family: var(--sans); }
.lwk-callout.is-tip { background: var(--teal-soft); border-color: color-mix(in oklab, var(--teal) 35%, var(--line)); }
.lwk-callout.is-info { background: var(--navy-soft); border-color: color-mix(in oklab, var(--navy) 30%, var(--line)); }
.lwk-callout.is-warning { background: var(--sand-soft); border-color: color-mix(in oklab, var(--sand) 45%, var(--line)); }
.lwk-callout.is-danger { background: var(--coral-soft); border-color: color-mix(in oklab, var(--coral) 45%, var(--line)); }
.lwk-code-wrap { position: relative; margin: 1.2rem 0; }
.lwk-code-lang {
  position: absolute; top: .55rem; left: .85rem;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; font-family: var(--sans);
}
.lwk-copy {
  position: absolute; top: .45rem; right: .45rem;
  border: 1px solid var(--line); background: var(--code-bg); color: var(--navy-fg);
  border-radius: 999px; padding: .2rem .7rem; font-size: .75rem; cursor: pointer;
  font-family: var(--sans);
}
.lwk-code {
  margin: 0;
  padding: 2.1rem 1.15rem 1.15rem;
  background: var(--code-bg);
  color: var(--navy-fg);
  border-radius: 18px;
  overflow-x: auto;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .86rem;
  line-height: 1.55;
}
.lwk-code .kw { color: #7fd3ce; }
.lwk-code .st { color: #f0b27a; }
.lwk-code .cm { color: #8b93a0; }
.lwk-hero.is-article {
  padding: 2.4rem 0 2.2rem;
  background:
    radial-gradient(1100px 280px at 8% -20%, rgba(11,110,106,.14), transparent 58%),
    radial-gradient(800px 240px at 96% 0%, rgba(226,74,40,.1), transparent 52%),
    var(--paper);
}
.lwk-hero.is-article h1 { max-width: 38rem; font-size: clamp(2rem, 4.2vw, 3.05rem); }
.lwk-article-hero {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 900px) {
  .lwk-article-hero { grid-template-columns: 1.15fr .85fr; gap: 2.25rem; }
}
.lwk-article-viz {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--code-bg);
}
.lwk-article-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
}
.lwk-article-svg { display: block; width: 100%; height: auto; }
.lwk-chip {
  display: inline-flex;
  margin: .15rem 0 .35rem;
}
.lwk-chip a {
  display: inline-flex;
  align-items: center;
  padding: .32rem .8rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--sans);
}
.lwk-chip.is-teal a { background: var(--teal-soft); color: var(--teal-deep); }
.lwk-chip.is-coral a { background: var(--coral-soft); color: var(--coral-deep); }
.lwk-chip.is-violet a { background: var(--violet-soft); color: var(--violet); }
.lwk-chip.is-sand a { background: var(--sand-soft); color: var(--sand-ink); }
.lwk-chip.is-leaf a { background: var(--leaf-soft); color: var(--leaf); }
.lwk-chip.is-navy a { background: var(--navy-soft); color: var(--navy); }
.lwk-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  color: var(--muted);
  font-size: .82rem;
  margin: .95rem 0 .15rem;
  font-family: var(--sans);
}
.lwk-meta-row span {
  display: inline-flex;
  align-items: center;
  padding: .28rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.lwk-tagrow { margin-top: 1rem; }
.lwk-tagrow .lwk-kicker { margin-bottom: .45rem; }
.lwk-article-card .lwk-tagrow { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.lwk-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0;
  padding: 0;
}
.lwk-tags.is-stack { flex-direction: column; align-items: flex-start; }
.lwk-tags a,
.lwk-tags span {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  padding: .36rem .78rem .36rem .62rem;
  border-radius: 999px;
  border: 0;
  font-weight: 650;
  text-decoration: none;
  font-size: .82rem;
  font-family: var(--sans);
  background: var(--teal-soft);
  color: var(--teal-deep);
}
.lwk-tags a i,
.lwk-tags span i {
  font-style: normal;
  font-weight: 700;
  opacity: .45;
  font-size: .78em;
}
.lwk-tags .is-coral a { background: var(--coral-soft); color: var(--coral-deep); }
.lwk-tags .is-sand a { background: var(--sand-soft); color: var(--sand-ink); }
.lwk-tags .is-violet a { background: var(--violet-soft); color: var(--violet); }
.lwk-tags .is-leaf a { background: var(--leaf-soft); color: var(--leaf); }
.lwk-tags .is-navy a { background: var(--navy-soft); color: var(--navy); }
.lwk-tags .is-teal a { background: var(--teal-soft); color: var(--teal-deep); }
.lwk-tags a:hover { filter: brightness(.96); }
.lwk-article { min-width: 0; }
.lwk-section.is-article { padding-top: 2rem; }
.lwk-article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: var(--shadow);
  position: relative;
}
.lwk-article-card::before {
  content: "";
  position: absolute;
  left: 0; top: 1.4rem; bottom: 1.4rem;
  width: 5px;
  border-radius: 0 6px 6px 0;
  background: var(--teal);
}
@media (min-width: 720px) {
  .lwk-article-card { padding: 2.1rem 2.25rem 2.3rem 2.4rem; }
}
.lwk-prose { max-width: 42rem; }
.lwk-prose p { margin: 0 0 1rem; }
.lwk-side { position: sticky; top: 5.25rem; }
body.lw-site .lwk-vote button[data-vote],
.lwk-vote button[data-vote] {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink) !important;
  border-radius: 16px;
  padding: .65rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  align-items: center;
  gap: .45rem;
  min-width: 5.8rem;
  justify-content: center;
  box-shadow: none;
  transform: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
body.lw-site .lwk-vote button[data-vote="yes"],
.lwk-vote button[data-vote="yes"] {
  background: var(--teal-soft);
  color: var(--teal-deep) !important;
  border-color: color-mix(in oklab, var(--teal) 32%, var(--line));
}
body.lw-site .lwk-vote button[data-vote="no"],
.lwk-vote button[data-vote="no"] {
  background: var(--coral-soft);
  color: var(--coral-deep) !important;
  border-color: color-mix(in oklab, var(--coral) 32%, var(--line));
}
body.lw-site .lwk-vote button[data-vote="yes"]:hover,
.lwk-vote button[data-vote="yes"]:hover {
  background: var(--teal-fill);
  color: #fffdf8 !important;
  border-color: var(--teal-fill);
  transform: none;
  box-shadow: none;
}
body.lw-site .lwk-vote button[data-vote="no"]:hover,
.lwk-vote button[data-vote="no"]:hover {
  background: var(--coral-fill);
  color: #fffdf8 !important;
  border-color: var(--coral-fill);
  transform: none;
  box-shadow: none;
}
.lwk-vote {
  margin-top: 1.75rem;
  padding: 1.3rem 1.35rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 120px at 0% 0%, rgba(11,110,106,.08), transparent 60%),
    var(--paper);
  border-radius: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  align-items: center;
  justify-content: space-between;
}
.lwk-vote-copy p { margin: 0 0 .2rem; font-weight: 600; font-family: var(--sans); color: var(--ink); }
.lwk-vote-count { color: var(--muted); font-weight: 500 !important; font-size: .9rem; }
.lwk-vote-btns { display: flex; gap: .5rem; }
.lwk-vote button {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  padding: .55rem 1.05rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-width: 5.5rem;
  justify-content: center;
}
.lwk-vote button strong { font-size: .95rem; }
.lwk-vote button em {
  font-style: normal;
  font-size: .78rem;
  color: var(--muted);
  background: var(--paper);
  border-radius: 999px;
  padding: .05rem .45rem;
}
.lwk-vote button[data-vote],
.lwk-vote button {
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.lwk-vote button em {
  transition: background-color .15s ease, color .15s ease;
}
.lwk-vote button[data-vote]:hover {
  transform: none;
  box-shadow: none;
}
.lwk-vote button[data-vote]:hover em { transform: none; }
.lwk-vote button[data-vote]:active {
  transform: none;
  box-shadow: none;
}
.lwk-vote.is-done button { opacity: .55; pointer-events: none; }
.lwk-related {
  margin-top: 0;
  padding: 1.35rem 1.3rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(700px 140px at 0% 0%, rgba(11,110,106,.08), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow);
}
.lwk-related .lwk-kicker { margin: 0; }
.lwk-related h2 { font-size: 1.55rem; margin: .2rem 0 1rem; }
.lwk-related-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}
@media (min-width: 640px) { .lwk-related-grid { grid-template-columns: 1fr 1fr; } }
.lwk-related-grid a {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  min-height: 0;
  overflow: hidden;
  position: relative;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.lwk-related-grid a:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--teal) 45%, var(--line));
  box-shadow: var(--shadow);
  background: var(--paper);
}
.lwk-related-thumb {
  width: 100%;
  height: 7.4rem;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--navy);
  flex-shrink: 0;
}
.lwk-related-thumb img,
.lwk-related-thumb .lwk-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border: 0;
  border-radius: 0;
}
.lwk-related-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .22rem;
  min-width: 0;
  padding: .85rem 1rem 1rem;
}
.lwk-related-grid em {
  font-family: var(--sans);
  font-style: normal;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-soft);
  color: var(--teal-deep);
  margin-bottom: .1rem;
}
.lwk-related-grid .is-coral em { background: var(--coral-soft); color: var(--coral-deep); }
.lwk-related-grid .is-violet em { background: var(--violet-soft); color: var(--violet); }
.lwk-related-grid .is-sand em { background: var(--sand-soft); color: var(--sand-ink); }
.lwk-related-grid .is-leaf em { background: var(--leaf-soft); color: var(--leaf); }
.lwk-related-grid .is-navy em { background: var(--navy-soft); color: var(--navy); }
.lwk-related-kicker {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-family: var(--sans);
}
.lwk-related-grid .is-coral .lwk-related-kicker { color: var(--coral-deep); }
.lwk-related-grid .is-violet .lwk-related-kicker { color: var(--violet); }
.lwk-related-grid .is-sand .lwk-related-kicker { color: var(--sand-ink); }
.lwk-related-grid .is-leaf .lwk-related-kicker { color: var(--leaf); }
.lwk-related-grid .is-navy .lwk-related-kicker { color: var(--navy); }
.lwk-related-grid strong {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--ink);
}
.lwk-related-ex { color: var(--muted); font-size: .84rem; line-height: 1.45; }
.lwk-related-go {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  margin-top: .3rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-family: var(--sans);
}
.lwk-related-go svg { width: .9rem; height: .9rem; display: block; }
.lwk-toc.is-mobile { display: none; margin-bottom: 1.25rem; padding: 1rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
@media (max-width: 959px) { .lwk-toc.is-mobile { display: block; } }
.lwk-empty { color: var(--ink-soft); }
.lwk-chrome { border-bottom: 1px solid var(--line); background: var(--header); }
.lwk-chrome-inner { display: flex; justify-content: space-between; align-items: center; min-height: 4rem; }
.lwk-wordmark { font-family: var(--display); font-size: 1.4rem; text-decoration: none; color: var(--ink); }
.lwk-chrome-foot { border-top: 1px solid var(--line); padding: 1.25rem 0; color: var(--muted); font-size: .88rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
body.lwk-standalone button:not(:disabled) { cursor: pointer; }
body.lwk-page .lw-footer { margin-top: 2.5rem; }
@media (max-width: 899px) {
  .lwk-hero-viz { max-width: 28rem; }
}
.lwk-visual {
  margin: 1.2rem 0 1.6rem;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.lwk-visual svg { display: block; width: 100%; height: auto; }
.lwk-visual figcaption {
  margin: 0;
  padding: .65rem 1rem .8rem;
  font-size: .82rem;
  color: var(--muted);
  font-family: var(--sans);
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.lwk-latest-grid {
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.15rem;
}
@media (max-width: 1080px) { .lwk-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .lwk-latest-grid { grid-template-columns: 1fr; } }
.lwk-latest {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1.1rem 1.15rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  min-height: 8.8rem;
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.lwk-latest:hover { transform: translateY(-2px); }
.lwk-latest em {
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.lwk-latest.is-coral em { color: var(--coral-deep); }
.lwk-latest.is-violet em { color: var(--violet); }
.lwk-latest.is-sand em { color: var(--sand-ink); }
.lwk-latest.is-leaf em { color: var(--leaf); }
.lwk-latest.is-navy em { color: var(--navy); }
.lwk-latest strong { font-family: var(--sans); font-size: 1.02rem; line-height: 1.3; }
.lwk-latest span { color: var(--muted); font-size: .88rem; }
.lwk-prose .lwk-visual { max-width: none; }
.lwk-visual.lwk-tut {
  background: #1a2230;
  border-color: #1a2230;
}
.lwk-tut-svg {
  display: block;
  width: 100%;
  height: auto;
  background: #1a2230;
}
.lwk-visual.lwk-tut figcaption {
  background: var(--paper);
  color: var(--muted);
}

.lwk-kbd {
  display: none;
  min-width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--sans);
}
@media (min-width: 720px) { .lwk-kbd { display: grid; } }
.lwk-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 80;
  pointer-events: none;
  background: transparent;
}
.lwk-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--coral);
  box-shadow: 0 0 8px color-mix(in oklab, var(--coral) 50%, transparent);
}
body.admin-bar .lwk-progress { top: 32px; }
@media (max-width: 782px) { body.admin-bar .lwk-progress { top: 46px; } }
.lwk-share { position: relative; margin: .85rem 0 .15rem; }
.lwk-share-open {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  height: 2.45rem;
  padding: 0 1rem 0 .75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  font-size: .88rem;
  cursor: pointer;
  font-family: var(--sans);
}
.lwk-share-open svg { width: 1.05rem; height: 1.05rem; }
.lwk-share-open:hover,
.lwk-share.is-open .lwk-share-open {
  border-color: color-mix(in oklab, var(--coral) 45%, var(--line));
  background: var(--coral-soft);
  color: var(--coral-deep);
}
.lwk-share-pop {
  position: absolute;
  z-index: 24;
  top: calc(100% + .6rem);
  left: 0;
  width: min(22.75rem, calc(100vw - 2.4rem));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 28px 54px -28px rgba(26,34,48,.5), var(--shadow);
  padding: 1.05rem 1.1rem 1.15rem;
}
.lwk-share.is-hero .lwk-share-pop::before {
  content: "";
  position: absolute;
  left: 1.35rem; top: -7px;
  width: 12px; height: 12px;
  background: var(--surface);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.lwk-share-kicker {
  margin: 0 0 .2rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .68rem;
  font-weight: 700;
  color: var(--coral-deep);
  font-family: var(--sans);
}
.lwk-share-pop > strong {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin: 0 0 .8rem;
  color: var(--ink);
}
.lwk-share-url {
  display: flex;
  gap: .4rem;
  margin: 0 0 .85rem;
}
.lwk-share-url input {
  flex: 1;
  min-width: 0;
  height: 2.55rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0 .8rem;
  font-size: .78rem;
  color: var(--ink-soft);
  font-family: var(--sans);
}
.lwk-share-url input:focus { outline: 2px solid var(--teal-soft); border-color: var(--teal); }
.lwk-share-copybtn {
  height: 2.55rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 12px;
  background: var(--coral-fill);
  color: var(--navy-fg);
  font-weight: 700;
  font-size: .84rem;
  cursor: pointer;
  font-family: var(--sans);
  white-space: nowrap;
}
.lwk-share-copybtn:hover { background: color-mix(in oklab, var(--coral-fill) 82%, #000); }
.lwk-share-copybtn.is-copied { background: var(--leaf); }
.lwk-share-dest {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lwk-share-dest a,
.lwk-share-dest button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: .6rem .15rem .5rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--sans);
  width: 100%;
}
.lwk-share-dest a:hover,
.lwk-share-dest button:hover {
  border-color: var(--line);
  background: var(--surface);
}
.lwk-share-dest .ico {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.lwk-share-dest .ico svg { width: 1.05rem; height: 1.05rem; }
.lwk-share-dest .is-x .ico { background: var(--code-bg); color: var(--navy-fg); }
.lwk-share-dest .is-in .ico { background: var(--navy); color: var(--navy-fg); }
.lwk-share-dest .is-mail .ico { background: var(--teal-soft); color: var(--teal-deep); }
.lwk-share-dest .is-more .ico { background: var(--sand-soft); color: var(--sand-ink); }
.lwk-share-card {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 1.25rem 1.3rem 1.35rem;
  background:
  background: color-mix(in oklab, var(--coral-soft) 42%, var(--surface));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.lwk-share-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--coral);
}
.lwk-share-card .lwk-share-pop {
  position: static;
  width: auto;
  box-shadow: none;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.lwk-share-card h2 {
  font-size: 1.45rem;
  margin: .15rem 0 .35rem;
}
.lwk-share-card p { margin: 0; color: var(--ink-soft); }
@media (min-width: 720px) {
  .lwk-share-card {
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 1.5rem;
    padding: 1.4rem 1.5rem 1.5rem 1.6rem;
  }
}
.lwk-adjacent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  margin-top: 1.75rem;
}
.lwk-adjacent a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.15rem 1.1rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  min-height: 6.35rem;
  box-shadow: var(--shadow);
  font-family: var(--sans);
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.lwk-adjacent a::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  z-index: 2;
}
.lwk-adjacent .is-prev {
  background: linear-gradient(135deg, color-mix(in oklab, var(--teal) 9%, var(--surface)) 0%, var(--surface) 58%);
}
.lwk-adjacent .is-prev::before { background: var(--teal); }
.lwk-adjacent .is-next {
  flex-direction: row-reverse;
  text-align: right;
  background: linear-gradient(225deg, color-mix(in oklab, var(--coral) 10%, var(--surface)) 0%, var(--surface) 58%);
}
.lwk-adjacent .is-next::before {
  left: auto;
  right: 0;
  background: var(--coral);
}
.lwk-adjacent a:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(26, 34, 48, 0.04), 0 22px 44px -26px rgba(26, 34, 48, 0.42);
}
.lwk-adjacent .is-prev:hover { border-color: color-mix(in oklab, var(--teal) 42%, var(--line)); }
.lwk-adjacent .is-next:hover { border-color: color-mix(in oklab, var(--coral) 45%, var(--line)); }
.lwk-adj-ico {
  flex: 0 0 3.55rem;
  width: 3.55rem;
  height: 3.55rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  transition: transform .18s ease;
}
.lwk-adjacent .is-prev .lwk-adj-ico {
  background: var(--teal-soft);
  color: var(--teal-deep);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--teal) 16%, transparent);
}
.lwk-adjacent .is-next .lwk-adj-ico {
  background: var(--coral-soft);
  color: var(--coral-deep);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--coral) 18%, transparent);
}
.lwk-adj-ico svg {
  width: 1.72rem;
  height: 1.72rem;
  display: block;
}
.lwk-adjacent a:hover .lwk-adj-ico { transform: scale(1.07); }
.lwk-adj-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .22rem;
  min-width: 0;
  padding: 0;
}
.lwk-adj-topic {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--sans);
}
.lwk-adj-kicker {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.lwk-adjacent em {
  font-style: normal;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: var(--sans);
}
.lwk-adjacent .is-prev em { color: var(--teal); }
.lwk-adjacent .is-next em { color: var(--coral); }
.lwk-adjacent strong {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--ink);
}
.lwk-adjacent .is-next .lwk-adj-copy { align-items: flex-end; }
.lwk-adjacent .is-empty { visibility: hidden; }
@media (max-width: 620px) {
  .lwk-adjacent { grid-template-columns: 1fr; }
  .lwk-adjacent .is-next { text-align: left; flex-direction: row; }
  .lwk-adjacent .is-next .lwk-adj-copy { align-items: flex-start; }
  .lwk-adjacent .is-empty { display: none; }
}
.lwk-prose h2, .lwk-prose h3 { position: relative; }
.lwk-anchor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-left: .35rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  vertical-align: middle;
  opacity: 0;
  transform: translateY(-1px);
}
.lwk-prose h2:hover .lwk-anchor,
.lwk-prose h3:hover .lwk-anchor,
.lwk-anchor:focus { opacity: 1; background: var(--paper); color: var(--coral-deep); }
.lwk-anchor svg { width: .85rem; height: .85rem; }
.lwk-widget.is-recent { background: color-mix(in oklab, var(--navy-soft) 50%, var(--surface)); }
.lwk-widget.is-recent::before { background: var(--navy); }
.lwk-widget.is-recent h3 { color: var(--ink); }
.lwk-widget.is-recent .lwk-wh { background: var(--navy-soft); color: var(--navy); }
.lwk-recent { list-style: none; margin: 0; padding: 0; display: grid; gap: .18rem; }
.lwk-recent a {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .42rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
  font-family: var(--sans);
}
.lwk-recent a:hover { background: var(--surface); }
.lwk-recent em {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  font-weight: 800;
  font-style: normal;
  font-family: var(--sans);
  background: var(--navy-soft);
  color: var(--navy);
  flex-shrink: 0;
  letter-spacing: .04em;
}
.lwk-recent li:nth-child(1) em { background: var(--coral-soft); color: var(--coral-deep); }
.lwk-recent li:nth-child(2) em { background: var(--sand-soft); color: var(--sand-ink); }
.lwk-recent li:nth-child(3) em { background: var(--teal-soft); color: var(--teal-deep); }
.lwk-recent strong { font-size: .9rem; font-weight: 650; line-height: 1.3; }
@media (prefers-reduced-motion: reduce) {
  .lwk-btn, .lwk-share-open, .lwk-adjacent a, .lwk-adjacent a .lwk-adj-ico, .lwk-vote button, .lwk-related-grid a { transition: none; transform: none; }
  .lwk-tut-svg animate,
  .lwk-tut-svg animateTransform,
  .lwk-tut-svg animateMotion { display: none; }
}

html.dark .lwk,
html.dark .lwk-standalone,
html.lw-html.dark .lwk,
html.lw-html.dark .lwk-standalone {
  color-scheme: dark;
  --paper: #12161c;
  --paper-deep: #0c1016;
  --surface: #1a2230;
  --ink: #f3eee4;
  --ink-soft: #c9c2b6;
  --muted: #b7b0a4;
  --teal: #6ec9c3;
  --teal-fill: #0b6e6a;
  --teal-deep: #7ad4ce;
  --teal-soft: #1a3332;
  --coral: #f08a70;
  --coral-fill: #c53a1c;
  --coral-deep: #f08a70;
  --coral-soft: #3d221c;
  --sand: #e0b05a;
  --sand-soft: #3a3018;
  --sand-ink: #e0b05a;
  --leaf: #6fbf94;
  --leaf-soft: #1c3328;
  --violet: #b39ad6;
  --violet-soft: #2a2238;
  --navy: #8aa4d4;
  --navy-soft: #1c2a44;
  --navy-fg: #f3eee4;
  --header: #161b22;
  --code-bg: #0c1016;
  --line: #3d4450;
  --shadow: 0 1px 0 rgba(255, 253, 248, 0.06), 0 18px 40px -24px rgba(0, 0, 0, 0.65);
}

/* Hardcoded diagram fills follow the same tokens (article visuals + leftover hex).
   Keep cream text on dark chips; remap cream SHAPES to surface. */
html.dark .lwk [fill="#f3eee4" i],
html.lw-html.dark .lwk [fill="#f3eee4" i] { fill: var(--paper); }
html.dark .lwk [stroke="#f3eee4" i],
html.lw-html.dark .lwk [stroke="#f3eee4" i] { stroke: var(--paper); }
html.dark .lwk [fill="#e6ddcc" i],
html.lw-html.dark .lwk [fill="#e6ddcc" i] { fill: var(--paper-deep); }
html.dark .lwk [fill="#d5cdb8" i],
html.lw-html.dark .lwk [fill="#d5cdb8" i] { fill: var(--line); }
html.dark .lwk [stroke="#d5cdb8" i],
html.lw-html.dark .lwk [stroke="#d5cdb8" i] { stroke: var(--line); }
html.dark .lwk [fill="#d7ecea" i],
html.lw-html.dark .lwk [fill="#d7ecea" i] { fill: var(--teal-soft); }
html.dark .lwk [fill="#f8d8d0" i],
html.lw-html.dark .lwk [fill="#f8d8d0" i] { fill: var(--coral-soft); }
html.dark .lwk [fill="#e4dcf0" i],
html.lw-html.dark .lwk [fill="#e4dcf0" i] { fill: var(--violet-soft); }
html.dark .lwk [fill="#f3e6c8" i],
html.lw-html.dark .lwk [fill="#f3e6c8" i] { fill: var(--sand-soft); }
html.dark .lwk [fill="#dce8e0" i],
html.dark .lwk [fill="#dce8e1" i],
html.lw-html.dark .lwk [fill="#dce8e0" i],
html.lw-html.dark .lwk [fill="#dce8e1" i] { fill: var(--leaf-soft); }
html.dark .lwk [fill="#dce4f0" i],
html.lw-html.dark .lwk [fill="#dce4f0" i] { fill: var(--navy-soft); }
html.dark .lwk [fill="#0f1824" i],
html.lw-html.dark .lwk [fill="#0f1824" i] { fill: var(--paper-deep); }
html.dark .lwk [fill="#66707e" i],
html.lw-html.dark .lwk [fill="#66707e" i] { fill: var(--muted); }
html.dark .lwk [fill="#3c4656" i],
html.lw-html.dark .lwk [fill="#3c4656" i] { fill: var(--ink-soft); }
html.dark .lwk [fill="#8a6420" i],
html.lw-html.dark .lwk [fill="#8a6420" i] { fill: var(--sand-ink); }
html.dark .lwk [fill="#8b93a0" i],
html.lw-html.dark .lwk [fill="#8b93a0" i] { fill: var(--muted); }

html.dark .lwk rect[fill="#fffdf8" i],
html.dark .lwk circle[fill="#fffdf8" i],
html.dark .lwk ellipse[fill="#fffdf8" i],
html.dark .lwk path[fill="#fffdf8" i],
html.lw-html.dark .lwk rect[fill="#fffdf8" i],
html.lw-html.dark .lwk circle[fill="#fffdf8" i],
html.lw-html.dark .lwk ellipse[fill="#fffdf8" i],
html.lw-html.dark .lwk path[fill="#fffdf8" i] { fill: var(--surface); }
html.dark .lwk text[fill="#fffdf8" i],
html.lw-html.dark .lwk text[fill="#fffdf8" i] { fill: var(--navy-fg); }

html.dark .lwk rect[fill="#1a2230" i],
html.dark .lwk circle[fill="#1a2230" i],
html.dark .lwk ellipse[fill="#1a2230" i],
html.lw-html.dark .lwk rect[fill="#1a2230" i],
html.lw-html.dark .lwk circle[fill="#1a2230" i],
html.lw-html.dark .lwk ellipse[fill="#1a2230" i] { fill: var(--code-bg); }
html.dark .lwk text[fill="#1a2230" i],
html.lw-html.dark .lwk text[fill="#1a2230" i] { fill: var(--ink); }

html.dark .lwk text[fill="#d7ecea" i],
html.lw-html.dark .lwk text[fill="#d7ecea" i] { fill: var(--teal); }
html.dark .lwk text[fill="#7fd3ce" i],
html.lw-html.dark .lwk text[fill="#7fd3ce" i] { fill: var(--teal); }
html.dark .lwk text[fill="#085450" i],
html.lw-html.dark .lwk text[fill="#085450" i] { fill: var(--teal-deep); }
html.dark .lwk text[fill="#0b6e6a" i],
html.lw-html.dark .lwk text[fill="#0b6e6a" i] { fill: var(--teal); }
html.dark .lwk text[fill="#c53a1c" i],
html.lw-html.dark .lwk text[fill="#c53a1c" i] { fill: var(--coral-deep); }
html.dark .lwk text[fill="#6a4c93" i],
html.lw-html.dark .lwk text[fill="#6a4c93" i] { fill: var(--violet); }
html.dark .lwk text[fill="#c9923a" i],
html.lw-html.dark .lwk text[fill="#c9923a" i] { fill: var(--sand); }

html.dark .lwk [stroke="#0b6e6a" i],
html.lw-html.dark .lwk [stroke="#0b6e6a" i] { stroke: var(--teal); }
html.dark .lwk [stroke="#085450" i],
html.lw-html.dark .lwk [stroke="#085450" i] { stroke: var(--teal-deep); }
html.dark .lwk [stroke="#66707e" i],
html.lw-html.dark .lwk [stroke="#66707e" i] { stroke: var(--muted); }
