:root {
  --bg: #0b1620;
  --bg-2: #10202e;
  --card: #132636;
  --ink: #eaf4f5;
  --muted: #a7bec4;
  --line: #24394a;
  --accent: #2dd4bf;
  --accent-2: #5eead4;
  --on-accent: #0f1f2e;
  --soft: #123a3a;
  --teal: #0f1f2e;
  --gold: #2dd4bf;
  --ok: #0f9d58;
  --warn: #d97706;
  --bad: #dc2626;
  --shadow: 0 24px 50px -32px rgba(0, 0, 0, 0.6);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: #2dd4bf; color: #0f1f2e; }
body {
  margin: 0;
  font: 17px/1.65 var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 40;
}
.skip:focus { top: 12px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #0f1f2e;
  border-bottom: 1px solid #24394a;
  box-shadow: 0 1px 0 rgba(18, 51, 44, .03);
}
.bar { position: relative; display: flex; align-items: center; gap: 14px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font); font-weight: 700; letter-spacing: 0; font-size: 17px; color: var(--ink); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.logo {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #0f1f2e;
  flex: none;
}
.logo svg { width: 18px; height: 18px; display: block; }
.links { display: flex; align-items: center; gap: 0; margin-left: auto; }
.links > a, .drop > summary, .nav-login {
  font-family: var(--font);
  color: #a7bec4;
  padding: 10px 14px;
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}
.links > a.on, .drop > summary.on, .drop[open] > summary { color: #2dd4bf; background: transparent; }
.links > a:hover, .drop > summary:hover, .nav-login:hover { color: #eaf4f5; text-decoration: none; }
.drop { position: static; }
.drop > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.drop > summary::-webkit-details-marker { display: none; }
.chev { width: 12px; height: 12px; }
.drop[open] > summary .chev { transform: rotate(180deg); }
.drop-panel {
  display: none;
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  width: min(360px, calc(100% - 8px));
  max-height: min(70vh, 520px);
  overflow: auto;
  background: var(--card);
  border: 1px solid #24394a;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 24px 50px -28px rgba(15, 31, 46, 0.45);
}
.drop-panel.wide { width: min(680px, calc(100% - 8px)); display: none; }
.links .drop:hover > .drop-panel,
.links .drop:focus-within > .drop-panel,
.links .drop[open] > .drop-panel { display: grid; }
.drop-panel.wide { grid-template-columns: 1fr 1fr; }
.drop-panel a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.4;
}
.drop-panel a span {
  font-weight: 500;
  color: var(--muted);
  font-size: 14.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.drop-panel a:hover { background: var(--bg-2); text-decoration: none; }
.drop-all { color: var(--accent-2) !important; }
.nav-cta { margin-left: 6px; }
.nav-search {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #a7bec4;
  border-radius: 8px;
}
.nav-search:hover { background: var(--bg-2); color: var(--ink); }
.nav-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.card[id] { scroll-margin-top: 90px; }
.search input {
  width: 200px;
  padding: 10px 14px 10px 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235c616d' stroke-width='1.8' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px 50%;
}
.search-lg { margin: 8px 0 28px; }
.search-lg input { width: min(560px, 100%); padding: 14px 16px 14px 42px; font-size: 17px; }
.desk-search { margin-left: auto; }
.menu { display: none; position: relative; margin-left: auto; }
.menu summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 15.5px;
}
.menu summary::-webkit-details-marker { display: none; }
.nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(320px, 78vw);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-panel .search input { width: 100%; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--on-accent);
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--accent-2); text-decoration: none; }
.btn.slim { padding: 9px 14px; font-size: 15.5px; }
.btn.slim.nav-cta { font-family: var(--font); font-size: 16px; font-weight: 700; line-height: 1.2; padding: 10px 16px; border-radius: 8px; white-space: nowrap; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--bg-2); }
main.wrap { padding-top: 12px; padding-bottom: 72px; min-height: 68vh; }
main a:hover { text-decoration: underline; }
.card:hover, .btn:hover, .links a:hover { text-decoration: none; }
body.home h1, body.site h1, body.home h2, body.site h2 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
h1 { font-size: 32px; line-height: 1.15; margin: .2em 0 .4em; }
h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.08; margin: 1.4em 0 .6em; }
h3 { margin: .2em 0 .35em; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.kicker, .meta {
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.kicker svg { width: 16px; height: 16px; }
.page-head { max-width: 760px; padding: 28px 0 8px; }
.page-head h1 { font-size: clamp(42px, 6vw, 68px); line-height: .98; margin: 0 0 14px; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 680px; }
.muted, small { color: var(--muted); }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 14.5px; margin-top: 22px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--ink); }
.crumb span { opacity: .45; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  color: var(--ink);
  min-height: 100%;
  box-shadow: 0 1px 0 rgba(22, 24, 29, .03);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: color-mix(in srgb, var(--ink) 22%, var(--line)); transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card.mod h3 { font-family: var(--font-head); font-weight: 500; font-size: 28px; letter-spacing: -.03em; margin: 4px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card.mod p, .card.feat p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card .crumb { margin: 0 0 8px; }
.ico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  margin-bottom: 14px;
}
.ico svg { width: 22px; height: 22px; }
.emoji { font-size: 22px; line-height: 1; }
.meta { margin: 0; letter-spacing: .08em; }
.power { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 7px; }
.power li { position: relative; padding-left: 16px; font-size: 15.5px; color: var(--ink); }
.power li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.card .more { margin-top: auto; padding-top: 16px; color: var(--accent-2); font-weight: 700; font-size: 15.5px; }
.card .more:after { content: " →"; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 8px 20px; margin: 12px 0 20px; }
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.spec .panel ul, .panel ul { padding-left: 18px; }
.spec h3 { margin-top: 12px; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin: 0 0 10px; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 18px 20px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; font-family: var(--font-head); font-size: 28px; font-weight: 400; color: var(--accent); line-height: 1; }
.faq[open] summary:after { content: "–"; }
.faq p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline a { font-weight: 600; }
.timeline time { margin-left: auto; color: var(--muted); font-size: 14.5px; }
.tag { font-size: 12.5px; letter-spacing: .06em; font-weight: 650; padding: 3px 8px; border-radius: 999px; background: var(--bg-2); text-transform: uppercase; }
.tag.added, .tag.restored { background: #d5f0ec; color: #115e59; }
.tag.updated { background: #e7eef8; color: #1e3a5f; }
.empty { padding: 12px 0 8px; }
.empty h2 { margin-top: 0; }
.ask { margin-top: 22px; }
.site-foot { background: var(--teal); border-top: 0; padding: 48px 0 28px; color: rgba(255, 255, 255, .78); font-size: 15.5px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr; gap: 32px; }
.foot-brand .logo { margin-bottom: 14px; }
.foot-brand strong { display: block; color: #fff; font-size: 17px; margin-bottom: 8px; }
.foot-brand p {
  max-width: 340px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-foot h3 {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: 13.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}
.site-foot a { display: block; padding: 4px 0; color: rgba(255, 255, 255, .78); }
.site-foot a:hover { color: #fff; text-decoration: none; }
.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 14.5px;
}
::placeholder { color: var(--muted); opacity: 1; }

/* admin */
.adm { display: flex; min-height: 100vh; background: var(--bg); }
.side {
  width: 220px;
  background: var(--card);
  border-right: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.side a, .side .link { padding: 8px 10px; border-radius: 8px; color: var(--ink); text-align: left; }
.side a.on { background: var(--accent); color: var(--on-accent); }
.side .brand { margin-bottom: 14px; }
.adm-main { flex: 1; padding: 28px; max-width: 1100px; min-width: 0; }
.adm-main h1, .adm-main h2, .adm h1 { font-family: var(--font); font-weight: 600; letter-spacing: -.03em; }
.adm-main a { color: var(--accent-2); }
.link { background: none; border: 0; font: inherit; cursor: pointer; color: var(--accent-2); }
.danger { color: var(--bad); }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.adm-main .panel { overflow-x: auto; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.tile b { display: block; font-size: 28px; }
.tile span { color: var(--muted); font-size: 14.5px; }
.form { display: flex; flex-direction: column; gap: 10px; }
.form label { font-weight: 600; font-size: 15.5px; }
input, select, textarea {
  font: inherit;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  width: 100%;
}
input[type=checkbox] { width: auto; }
.filters { display: flex; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.filters input, .filters select { width: auto; }
.login { align-self: flex-start; width: min(360px, calc(100% - 32px)); margin: 12vh auto; display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; }
.note { background: var(--soft); color: var(--ink); padding: 10px 14px; border-radius: 9px; }
.note.err { background: #fee2e2; color: #991b1b; }
.msg { padding: 8px 12px; border-radius: 10px; background: var(--bg); }
.msg.assistant { background: var(--soft); color: var(--ink); }
code { background: var(--bg-2); padding: 1px 5px; border-radius: 5px; }
.tag.added, .tag.restored { background: #123a3a; color: #5eead4; }
.tag.updated { background: #e7eef8; color: #1e3a5f; }
.note.err { background: #fee2e2; color: #991b1b; }

/* chat */
#chat-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
  z-index: 20;
  display: grid;
  place-items: center;
}
#chat-fab svg { width: 24px; height: 24px; }
#chat-box {
  position: fixed;
  right: 20px;
  bottom: 88px;
  width: 380px;
  max-width: calc(100vw - 24px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
  display: none;
  flex-direction: column;
  z-index: 20;
  overflow: hidden;
}
#chat-box.open { display: flex; }
.ch-head { padding: 14px 16px; background: var(--accent); color: var(--on-accent); font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.ch-head button { background: none; border: 0; color: inherit; font-size: 20px; cursor: pointer; }
.ch-log { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.ch-m { padding: 10px 12px; border-radius: 14px; max-width: 88%; font-size: 15.5px; white-space: pre-wrap; }
.ch-m.bot { background: var(--bg-2); align-self: flex-start; }
.ch-m.me { background: var(--accent); color: var(--on-accent); align-self: flex-end; }
.ch-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ch-links a { font-size: 13.5px; border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; }
.ch-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 8px; }
.ch-chips button { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 5px 10px; font-size: 13.5px; cursor: pointer; }
.ch-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.ch-form input { flex: 1; border-radius: 999px; padding: 10px 14px; }
.ch-form .btn { width: auto; }

@media (max-width: 1100px) {
  .bar > .links, .bar > .nav-cta, .bar > .nav-login, .bar > .nav-search { display: none; }
  .menu { display: block; }
  html:has(.menu[open]), body.menu-open { overflow: hidden; }
  .menu > summary {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
    font-size: 0;
    display: grid;
    place-items: center;
    position: relative;
  }
  .menu > summary::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--ink);
    box-shadow: 0 -7px 0 var(--ink), 0 7px 0 var(--ink);
  }
  .menu[open] > summary::before,
  .menu[open] > summary::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 2px;
    margin: 0;
    background: var(--ink);
    box-shadow: none;
  }
  .menu[open] > summary::before { transform: translate(-50%, -50%) rotate(45deg); }
  .menu[open] > summary::after { transform: translate(-50%, -50%) rotate(-45deg); }
  .nav-panel {
    position: fixed;
    left: 0;
    right: 0;
    top: 73px;
    bottom: 0;
    width: auto;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--card);
    overflow: hidden;
    z-index: 5;
  }
  .mnav { display: flex; flex-direction: column; height: 100%; min-height: 0; }
  .mnav-root, .mnav-page { flex: 1; overflow: auto; min-height: 0; }
  .mnav-root[hidden], .mnav-page[hidden] { display: none !important; }
  .mnav-row {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: var(--card);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    white-space: normal;
  }
  .mnav-row > span { min-width: 0; }
  .mnav-row .chev-next { width: 14px; height: 14px; flex: none; }
  .mnav-row.m-login { color: var(--accent); }
  .mnav-back {
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    width: 100%;
    border: 0;
    background: var(--teal);
    color: #fff;
    padding: 14px 44px;
    font-family: var(--font);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
  }
  .mnav-back svg { position: absolute; left: 16px; width: 16px; height: 16px; }
  .mnav-list a {
    display: block;
    max-width: 100%;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    overflow-wrap: break-word;
  }
  .mnav-list a span {
    display: -webkit-box;
    margin-top: 3px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--muted);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .mnav-list a.drop-all { color: var(--accent-2); }
  .mnav-foot {
    display: flex;
    gap: 10px;
    padding: 16px 14px calc(18px + env(safe-area-inset-bottom));
    background: var(--card);
  }
  .mnav-contact, .mnav-demo {
    flex: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    padding: 12px 8px;
    font-family: var(--font);
    font-size: 15.5px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
  }
  .mnav-contact { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
  .mnav-demo { background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); }
  .mnav-contact svg, .mnav-demo svg { width: 16px; height: 16px; flex: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .adm { flex-direction: column; }
  .side { width: auto; height: auto; position: static; flex-direction: row; flex-wrap: wrap; }
  .foot-grid, .foot-base { grid-template-columns: 1fr; flex-direction: column; }
  .page-head h1 { font-size: 40px; }
}

.wn .row{display:flex;gap:8px;flex-wrap:wrap}.wn .row>*{flex:1;min-width:140px}

.checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px 14px}.chk{display:flex;align-items:center;gap:8px;font-weight:500!important}

/* chat contact card */
.ch-card { display: grid; gap: 4px; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.ch-card a { color: var(--accent); font-weight: 600; word-break: break-word; }
.ch-card span { color: var(--muted); font-size: .9em; }
