:root {
  --bg: #e9f8df;
  --bg-2: #c9f1c5;
  --text: #142016;
  --muted: #687760;
  --green: #177b24;
  --green-2: #279339;
  --soft: rgba(255,255,255,.72);
  --card: rgba(255,255,255,.78);
  --line: rgba(28, 80, 34, .16);
  --danger: #d84b4b;
  --shadow: 0 20px 55px rgba(35, 82, 42, .18);
}

body.dark-auth,
body.dark-panel {
  --bg: #142319;
  --bg-2: #264733;
  --text: #eaf5e8;
  --muted: #a7b7a0;
  --green: #34b54a;
  --green-2: #4bd568;
  --soft: rgba(21, 32, 24, .78);
  --card: rgba(32, 44, 35, .82);
  --line: rgba(232,255,232,.12);
  --shadow: 0 22px 60px rgba(0,0,0,.34);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 24% 22%, rgba(122, 236, 117, .33), transparent 26rem),
    radial-gradient(circle at 82% 10%, rgba(67, 144, 79, .25), transparent 24rem),
    linear-gradient(90deg, rgba(42, 93, 45, .07) 1px, transparent 1px),
    linear-gradient(rgba(42, 93, 45, .07) 1px, transparent 1px),
    linear-gradient(135deg, var(--bg), var(--bg-2));
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.78);
  color: #162016;
  padding: 13px 15px;
  outline: none;
}
body.dark-auth input,
body.dark-panel input,
body.dark-panel select,
body.dark-panel textarea {
  background: rgba(255,255,255,.08);
  color: var(--text);
}
textarea {
  min-height: 96px;
  resize: vertical;
}
label {
  display: grid;
  gap: 8px;
  color: #91aa8c;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.auth-page { display: grid; place-items: center; }
.theme-pill {
  position: fixed;
  top: 24px;
  right: 24px;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 20;
}
.theme-pill button, .soft-toggle, .icon-btn, .round-btn {
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.theme-switch {
  display: inline-flex;
  cursor: pointer;
  user-select: none;
}
.theme-switch input { display: none; }
.theme-switch span {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 72px;
  height: 34px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.theme-switch span::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #167322, #2aa23a);
  box-shadow: 0 6px 16px rgba(23,123,36,.3);
  transform: translateX(36px);
  transition: transform .2s ease;
}
.theme-switch input:checked + span::before { transform: translateX(0); }
.theme-switch b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  font-size: 14px;
  line-height: 1;
}
.theme-switch.compact span { width: 64px; height: 32px; }
.theme-switch.compact span::before { width: 24px; height: 24px; }
.theme-switch.compact span::before { transform: translateX(31px); }
.theme-switch.compact input:checked + span::before { transform: translateX(0); }
.auth-shell { width: min(100% - 30px, 440px); }
.auth-card {
  display: grid;
  gap: 17px;
  padding: 38px;
  border-radius: 26px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.mini-brand, .relax-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 1000;
}
.mini-brand span, .relax-logo span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #ffd94f;
  background: linear-gradient(135deg, #126e20, #27a33a);
  box-shadow: 0 9px 20px rgba(18, 110, 32, .28);
}
.auth-card h1 {
  margin: 18px 0 0;
  font-size: 30px;
  letter-spacing: -.04em;
}
.auth-card p { margin: 0; color: var(--muted); }
.auth-card details {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px 13px;
}
.auth-card summary { cursor: pointer; color: var(--muted); font-weight: 800; }
.auth-card details input { margin-top: 10px; }
.auth-switch { text-align: center; color: var(--muted); }
.auth-switch a { color: #1b7d2d; font-weight: 1000; }

.primary-btn, .create-btn, .tiny-green {
  border: 0;
  border-radius: 13px;
  color: #fff;
  font-weight: 1000;
  cursor: pointer;
  background: linear-gradient(180deg, var(--green-2), var(--green));
  box-shadow: 0 14px 26px rgba(23, 123, 36, .28);
  padding: 14px 18px;
}
.cancel-btn, .tiny-btn {
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #35533a;
  font-weight: 900;
  background: rgba(255,255,255,.55);
  padding: 12px 17px;
  cursor: pointer;
}
.danger-btn {
  border: 1px solid rgba(216,75,75,.35);
  border-radius: 13px;
  color: #c83535;
  font-weight: 1000;
  background: rgba(216,75,75,.12);
  padding: 12px 17px;
  cursor: pointer;
}

.panel-page { min-height: 100vh; }
.relax-header {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  background: rgba(237, 255, 233, .72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.dark-panel .relax-header { background: rgba(15, 28, 18, .72); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 5px 10px 5px 5px;
  font-size: 13px;
  font-weight: 900;
}
.user-pill span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
}
.relax-shell {
  width: min(1090px, calc(100% - 28px));
  margin: 14px auto 80px;
  display: grid;
  gap: 18px;
}
.instruction-btn {
  justify-self: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  padding: 10px 24px;
  font-weight: 900;
  color: #35533a;
  box-shadow: var(--shadow);
}
.notice-card, .unlimited-card, .admin-only {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.notice-card { padding: 24px 32px; }
.notice-card p { margin: 16px 0 0; color: var(--muted); }
.telegram-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 8px 12px 8px 9px;
  border: 1px solid rgba(36, 162, 222, .28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(36, 162, 222, .14), rgba(255, 255, 255, .72));
  color: #176f99;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(36, 162, 222, .14);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.telegram-contact:hover {
  border-color: rgba(36, 162, 222, .52);
  box-shadow: 0 14px 30px rgba(36, 162, 222, .22);
  transform: translateY(-1px);
}
.telegram-contact__icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #24a1de;
  color: #fff;
}
.telegram-contact__icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.dark-panel .telegram-contact {
  background: linear-gradient(135deg, rgba(36, 162, 222, .2), rgba(18, 30, 23, .82));
  color: #8fd8ff;
}
.unlimited-card {
  display: grid;
  grid-template-columns: 50px 1fr auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
}
.unlimited-card > div:nth-child(2) { min-width: 0; }
.unlimited-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #d8eaff;
}
.unlimited-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.keys-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.keys-head h2 { margin: 0; font-size: 21px; }
.full-input, .search-line {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: none;
}
.search-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  text-transform: none;
  letter-spacing: 0;
}
.search-line input {
  flex: 1;
  min-width: 0;
  width: auto;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  padding: 13px 0;
}
.dark-panel .search-line input {
  background: transparent !important;
  border: 0;
  box-shadow: none;
}
.keys-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}
.key-row {
  display: grid;
  grid-template-columns: 54px 1.2fr 1.5fr .9fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  transition: background .18s ease;
}
.key-row:last-child { border-bottom: 0; }
.dark-panel .keys-table {
  background: rgba(24, 34, 27, .88);
}
.key-status {
  display: inline-flex;
  width: 42px;
  height: 24px;
  padding: 3px;
  border: 1px solid rgba(23, 123, 36, .22);
  border-radius: 999px;
  background: rgba(128, 143, 130, .18);
  cursor: pointer;
  justify-self: start;
}
.key-status::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #9aa79b;
  box-shadow: 0 5px 16px rgba(23,123,36,.14);
  transition: margin .18s ease, background .18s ease;
}
.key-status.is-active {
  background: rgba(23, 123, 36, .14);
}
.key-status.is-active::after {
  background: var(--green);
  box-shadow: 0 5px 16px rgba(23,123,36,.35);
  margin-left: auto;
}
.key-name b { display: block; }
.key-name small, .key-url, .key-date { color: var(--muted); font-size: 12px; }
.key-date {
  width: max-content;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(216, 75, 75, .11);
  color: #c75252;
  font-weight: 1000;
}
.key-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(119, 151, 124, .45);
  border-radius: 50%;
  background: rgba(236, 248, 239, .72);
  color: #266a32;
  font-size: 16px;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
  transition: transform .18s ease, background .18s ease;
}
.key-row.is-open .key-toggle {
  background: rgba(255,255,255,.86);
  transform: translateY(-1px);
}
.key-url {
  display: block;
  grid-column: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-top: 2px;
}
.key-row.is-open .key-url { display: block; }
.row-actions {
  grid-column: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
  padding-top: 0;
  border-top: 0;
}
.row-actions[hidden] { display: flex; }
.pill-action {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255,255,255,.5);
  color: #2b7038;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 8px;
  cursor: pointer;
}
.pill-action.danger { color: #c83535; background: rgba(216,75,75,.1); }

.admin-only {
  padding: 18px;
}
.section-title { font-weight: 1000; margin-bottom: 12px; }
.mini-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 10px;
}
.users-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.history-title { margin-top: 22px; }
.user-line {
  display: flex;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,.35);
}
.history-list {
  display: grid;
  gap: 8px;
}
.history-line {
  display: grid;
  grid-template-columns: 120px 1fr auto auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,.35);
}
.history-line span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
}
.history-line small {
  color: var(--muted);
  white-space: nowrap;
}
.history-copy {
  border: 1px solid rgba(42, 133, 54, .22);
  border-radius: 10px;
  background: rgba(255, 255, 255, .42);
  color: #247331;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.history-copy:hover {
  background: rgba(255, 255, 255, .68);
}
.dark-panel .history-copy {
  background: rgba(255, 255, 255, .08);
  color: #b9edc1;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(24, 39, 26, .67);
  backdrop-filter: blur(10px);
  z-index: 50;
}
.modal-overlay[hidden] { display: none; }
.relax-modal {
  width: min(100%, 430px);
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 22px;
  background: rgba(246,246,246,.92);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 28px 70px rgba(0,0,0,.24);
}
.dark-panel .relax-modal { background: rgba(32, 44, 35, .96); }
.relax-modal.small { width: min(100%, 480px); }
.relax-modal.settings-modal {
  width: min(100%, 700px);
  max-height: min(90vh, 920px);
  overflow: auto;
  gap: 0;
  padding: 0;
}
.modal-title-row {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px 18px;
  background: inherit;
  border-radius: 22px 22px 0 0;
}
.modal-x {
  border: 0;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 34px;
  line-height: 1;
  color: #21572b;
  background: rgba(255,255,255,.74);
  cursor: pointer;
}
.settings-tabs {
  display: flex;
  gap: 28px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
}
.settings-tab {
  border: 0;
  border-bottom: 4px solid transparent;
  padding: 16px 6px 14px;
  color: #2b7038;
  background: transparent;
  font-size: 20px;
  font-weight: 1000;
  cursor: pointer;
}
.settings-tab.active { border-color: var(--green); color: var(--text); }
.settings-panel {
  display: none;
  gap: 18px;
  padding: 26px 32px;
}
.settings-panel.active { display: grid; }
.settings-subhead, .server-footer, .server-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.settings-subhead b {
  font-size: 15px;
  letter-spacing: -.02em;
}
.headers-list, .servers-list {
  display: grid;
  gap: 10px;
}
.header-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 8px;
  align-items: center;
}
.empty-note {
  margin: 0;
  padding: 24px 12px;
  text-align: center;
  color: #2f753b;
}
.server-toolbar { justify-content: flex-start; }
.tiny-btn.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, var(--green-2), var(--green));
}
.server-row {
  display: grid;
  grid-template-columns: 36px 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,255,255,.42);
}
.dark-panel .server-row { background: rgba(255,255,255,.06); }
.server-index {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-weight: 1000;
}
.server-meta { min-width: 0; }
.server-meta b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.server-meta small {
  display: block;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.settings-modal .modal-actions {
  position: sticky;
  bottom: 0;
  padding: 20px 32px 28px;
  background: inherit;
  border-top: 1px solid var(--line);
}
.relax-modal h3 {
  margin: 0 0 4px;
  font-size: 22px;
  letter-spacing: -.04em;
}
.switch-card, .happ-box {
  border-radius: 15px;
  background: rgba(255,255,255,.58);
  padding: 12px 14px;
}
.dark-panel .switch-card, .dark-panel .happ-box { background: rgba(255,255,255,.08); }
.switch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.switch-card small, .happ-box small { display: block; color: var(--muted); }
.switch-card.nested { margin-top: 10px; }
.happ-box {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  transform: translateY(-4px);
  transition: max-height .28s ease, opacity .2s ease, padding .2s ease, transform .2s ease;
}
.happ-box.is-open {
  max-height: 260px;
  opacity: 1;
  padding-top: 12px;
  padding-bottom: 12px;
  transform: translateY(0);
}
.collapsible-field {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height .22s ease, opacity .18s ease, margin .18s ease;
}
.collapsible-field.is-open {
  max-height: 88px;
  opacity: 1;
  margin-top: 12px;
}
.switch input { display: none; }
.switch span {
  display: block;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  padding: 4px;
  background: #c8ded9;
  box-shadow: inset 0 0 0 1px var(--line);
}
.switch span::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #86b9b0;
  transition: .18s ease;
}
.switch input:checked + span::after {
  transform: translateX(20px);
  background: var(--green);
}
.modal-actions {
  display: grid;
  grid-template-columns: .8fr 1.6fr;
  gap: 10px;
}
.modal-actions.single { grid-template-columns: 1fr; }
.delete-modal { text-align: center; }
.delete-modal .modal-actions { grid-template-columns: 1fr 1fr; }
.trash-icon {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(216,75,75,.1);
}
.qr-image {
  width: 230px;
  height: 230px;
  justify-self: center;
  border-radius: 18px;
  background: #fff;
  padding: 10px;
  border: 1px solid var(--line);
}

@media (max-width: 760px) {
  .relax-header { padding: 0 12px; }
  .relax-shell { width: min(100% - 18px, 1090px); }
  .telegram-contact {
    margin: 10px 0 0;
    width: fit-content;
  }
  .key-row {
    grid-template-columns: 54px minmax(0, 1fr) auto 46px;
    gap: 10px;
    padding: 16px 12px;
  }
  .key-row.is-open { background: rgba(255, 255, 255, .22); }
  .dark-panel .key-row.is-open { background: rgba(255, 255, 255, .08); }
  .key-status {
    width: 48px;
    height: 28px;
  }
  .key-status::after {
    width: 22px;
    height: 22px;
  }
  .key-name b { font-size: 18px; }
  .key-name small { font-size: 13px; }
  .key-date {
    font-size: 12px;
    color: #2d7338;
    background: rgba(255,255,255,.34);
    border: 1px solid rgba(69, 126, 77, .24);
  }
  .key-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    font-size: 15px;
  }
  .key-url, .row-actions {
    grid-column: 2 / -1;
  }
  .key-url { display: none; }
  .key-row.is-open .key-url { display: block; }
  .row-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(127, 157, 130, .28);
  }
  .row-actions[hidden] { display: none; }
  .pill-action {
    min-height: 42px;
    border-radius: 14px;
    font-size: 13px;
  }
  .unlimited-card {
    grid-template-columns: 58px minmax(0, 1fr) auto auto 46px;
    gap: 10px;
    padding: 14px;
    border-radius: 28px;
  }
  .unlimited-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    font-size: 24px;
  }
  .unlimited-card b { font-size: 16px; }
  .unlimited-card p {
    max-width: 100%;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
  }
  .unlimited-card .tiny-btn {
    padding: 11px 12px;
    border-radius: 17px;
    white-space: nowrap;
  }
  .unlimited-card .sync-btn { padding-inline: 10px; }
  .unlimited-card .round-btn {
    width: 44px;
    height: 44px;
  }
  .settings-modal {
    width: min(100%, calc(100vw - 18px));
    max-height: 88vh;
    border-radius: 28px;
  }
  .modal-title-row { padding: 24px 20px 12px; }
  .modal-title-row h3 { font-size: 24px; }
  .settings-tabs { padding: 0 20px; gap: 24px; }
  .settings-tab { font-size: 19px; }
  .settings-panel { padding: 22px 20px; }
  .header-row { grid-template-columns: 1fr; }
  .server-row { grid-template-columns: 34px 1fr; }
  .server-row input { grid-column: 2; }
  .server-footer { align-items: stretch; flex-direction: column-reverse; }
  .settings-modal .modal-actions { padding: 18px 20px 24px; }
  .mini-form { grid-template-columns: 1fr; }
  .history-line { grid-template-columns: 1fr auto; }
  .history-line b,
  .history-line span,
  .history-line small { grid-column: 1 / -1; }
  .history-copy { justify-self: start; }
  .auth-card { padding: 28px; }
}

@media (max-width: 430px) {
  .unlimited-card {
    grid-template-columns: 56px minmax(0, 1fr) 86px 58px 42px;
    gap: 8px;
  }
  .unlimited-card .tiny-btn { padding-inline: 9px; }
  .unlimited-card .sync-btn { padding-inline: 7px; }
}

/* Anti Panel documentation */
.docs-site {
  --docs-bg: #07150c;
  --docs-bg-2: #0c2114;
  --docs-card: rgba(255,255,255,.045);
  --docs-card-2: rgba(25,117,47,.12);
  --docs-line: rgba(191,255,203,.12);
  --docs-line-2: rgba(191,255,203,.22);
  --docs-accent: #39dc69;
  --docs-accent-2: #a5ff5f;
  --docs-accent-3: #2ad2a4;
  --docs-text: #effff1;
  --docs-muted: #9ab69e;
  --docs-faint: #53725a;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--docs-text);
  background:
    radial-gradient(circle at 82% 8%, rgba(57,220,105,.16), transparent 26rem),
    radial-gradient(circle at 12% 68%, rgba(42,210,164,.12), transparent 26rem),
    linear-gradient(135deg, var(--docs-bg), var(--docs-bg-2));
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
}
.docs-site.docs-light {
  --docs-bg: #efffe9;
  --docs-bg-2: #d8f8cf;
  --docs-card: rgba(255,255,255,.72);
  --docs-card-2: rgba(25,117,47,.08);
  --docs-line: rgba(24,99,42,.14);
  --docs-line-2: rgba(24,99,42,.22);
  --docs-text: #102316;
  --docs-muted: #4c654e;
  --docs-faint: #7fa384;
}
.docs-grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(57,220,105,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,220,105,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 86%);
}
.docs-site::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .22;
  background: repeating-radial-gradient(circle at 20% 20%, rgba(255,255,255,.05) 0 1px, transparent 1px 5px);
  mix-blend-mode: soft-light;
}
.docs-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: rgba(7,21,12,.78);
  border-bottom: 1px solid var(--docs-line);
  backdrop-filter: blur(18px);
}
.docs-light .docs-nav { background: rgba(239,255,233,.78); }
.docs-logo, .docs-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.docs-logo {
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: -.02em;
}
.docs-logo-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #faff73;
  background: linear-gradient(135deg, #126e20, #39dc69);
  box-shadow: 0 12px 28px rgba(57,220,105,.24);
}
.docs-theme, .docs-burger {
  border: 1px solid var(--docs-line);
  color: var(--docs-text);
  background: var(--docs-card);
  cursor: pointer;
}
.docs-theme {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.docs-nav-cta, .docs-mobile-cta, .docs-sidebar-cta, .docs-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #06240d;
  background: linear-gradient(135deg, var(--docs-accent-2), var(--docs-accent));
  font-weight: 1000;
  box-shadow: 0 18px 36px rgba(57,220,105,.22);
}
.docs-nav-cta {
  min-height: 36px;
  padding: 0 15px;
  font-size: 13px;
}
.docs-burger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.docs-burger span {
  width: 16px;
  height: 2px;
  border-radius: 9px;
  background: var(--docs-text);
  transition: .2s ease;
}
.docs-burger.open span:first-child { transform: translateY(6px) rotate(45deg); }
.docs-burger.open span:nth-child(2) { opacity: 0; }
.docs-burger.open span:last-child { transform: translateY(-6px) rotate(-45deg); }
.docs-mobile-menu {
  position: fixed;
  inset: 58px 0 0;
  z-index: 18;
  display: none;
  padding: 20px;
  background: var(--docs-bg);
  transform: translateX(100%);
  transition: transform .25s ease;
}
.docs-mobile-menu.show { transform: none; }
.docs-mobile-menu a {
  display: flex;
  margin-bottom: 8px;
  padding: 14px 16px;
  border: 1px solid var(--docs-line);
  border-radius: 14px;
  color: var(--docs-muted);
  background: var(--docs-card);
  font-weight: 900;
}
.docs-mobile-menu .docs-mobile-cta {
  color: #06240d;
  margin-top: 18px;
}
.docs-hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 88px 20px 50px;
  overflow: hidden;
}
.docs-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(96px);
  pointer-events: none;
}
.docs-o1 {
  width: 360px;
  height: 360px;
  top: 4%;
  right: -8%;
  background: rgba(57,220,105,.15);
}
.docs-o2 {
  width: 340px;
  height: 340px;
  bottom: 2%;
  left: -8%;
  background: rgba(42,210,164,.13);
}
.docs-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 7px 15px;
  border: 1px solid rgba(57,220,105,.3);
  border-radius: 999px;
  color: var(--docs-accent-2);
  background: rgba(57,220,105,.08);
  font: 900 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.docs-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--docs-accent);
  box-shadow: 0 0 18px var(--docs-accent);
}
.docs-hero h1 {
  margin: 0;
  font-size: clamp(44px, 9vw, 92px);
  line-height: .92;
  letter-spacing: -.06em;
  font-weight: 1000;
}
.docs-hero h1 span { display: block; }
.docs-hero h1 span:last-child {
  color: transparent;
  background: linear-gradient(135deg, var(--docs-accent-2), var(--docs-accent), var(--docs-accent-3));
  -webkit-background-clip: text;
  background-clip: text;
}
.docs-hero p, .docs-lead {
  max-width: 650px;
  color: var(--docs-muted);
  line-height: 1.75;
}
.docs-hero p {
  margin: 24px auto 34px;
  font-size: 16px;
}
.docs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.docs-primary, .docs-secondary {
  min-height: 48px;
  padding: 0 24px;
  font-weight: 1000;
}
.docs-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--docs-line-2);
  border-radius: 13px;
  color: var(--docs-text);
  background: var(--docs-card);
}
.docs-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--docs-line);
}
.docs-stats article {
  display: grid;
  gap: 5px;
  place-items: center;
  min-height: 126px;
  padding: 20px;
  border-right: 1px solid var(--docs-line);
}
.docs-stats article:last-child { border-right: 0; }
.docs-stats b {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -.04em;
}
.docs-stats span {
  color: var(--docs-faint);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
}
.docs-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  max-width: 1240px;
  margin: 0 auto;
}
.docs-sidebar {
  position: sticky;
  top: 78px;
  align-self: start;
  display: grid;
  gap: 6px;
  padding: 28px 18px;
  height: calc(100vh - 78px);
}
.docs-sidebar strong {
  margin: 0 0 8px 10px;
  color: var(--docs-faint);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.docs-sidebar a {
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--docs-muted);
  font-weight: 850;
}
.docs-sidebar a:hover {
  color: var(--docs-text);
  border-color: var(--docs-line);
  background: var(--docs-card);
}
.docs-sidebar .docs-sidebar-cta {
  margin-top: 12px;
  color: #06240d;
}
.docs-content {
  min-width: 0;
  border-left: 1px solid var(--docs-line);
}
.docs-section {
  padding: 72px 42px;
  border-bottom: 1px solid var(--docs-line);
}
.docs-label {
  margin: 0 0 14px;
  color: var(--docs-accent-2);
  font: 900 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.docs-section h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.03;
  letter-spacing: -.045em;
}
.docs-feature-grid, .docs-security {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 38px;
  overflow: hidden;
  border: 1px solid var(--docs-line);
  border-radius: 22px;
  background: var(--docs-line);
}
.docs-feature-grid article, .docs-security article {
  min-height: 190px;
  padding: 26px;
  background: rgba(10,32,18,.9);
}
.docs-light .docs-feature-grid article,
.docs-light .docs-security article {
  background: rgba(255,255,255,.68);
}
.docs-feature-grid span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(57,220,105,.12);
}
.docs-feature-grid h3, .docs-security h3, .docs-steps h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -.02em;
}
.docs-feature-grid p, .docs-security p, .docs-steps p, .docs-note {
  margin: 0;
  color: var(--docs-muted);
  line-height: 1.65;
}
.docs-steps {
  display: grid;
  margin-top: 36px;
}
.docs-steps article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--docs-line);
}
.docs-steps article:last-child { border-bottom: 0; }
.docs-steps b {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #06240d;
  background: linear-gradient(135deg, var(--docs-accent-2), var(--docs-accent));
  box-shadow: 0 12px 28px rgba(57,220,105,.22);
}
.docs-code {
  overflow: hidden;
  margin-top: 30px;
  border: 1px solid var(--docs-line);
  border-radius: 18px;
  background: rgba(0,0,0,.28);
}
.docs-code div {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--docs-line);
}
.docs-code i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.docs-code i:nth-child(1) { background: #ff645d; }
.docs-code i:nth-child(2) { background: #ffbf3f; }
.docs-code i:nth-child(3) { background: #39dc69; }
.docs-code span {
  margin-left: auto;
  color: var(--docs-faint);
  font: 800 11px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.docs-code pre {
  margin: 0;
  overflow-x: auto;
  padding: 20px;
  color: #cbffd6;
  font: 500 13px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.docs-vars {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.docs-vars article {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--docs-line);
  border-radius: 14px;
  background: var(--docs-card);
}
.docs-vars code {
  width: max-content;
  padding: 5px 9px;
  border: 1px solid rgba(57,220,105,.26);
  border-radius: 8px;
  color: var(--docs-accent-2);
  background: rgba(57,220,105,.1);
}
.docs-vars span { color: var(--docs-muted); }
.docs-vars b { color: var(--docs-accent-2); }
.docs-mock {
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid var(--docs-line);
  border-radius: 20px;
  background: rgba(0,0,0,.24);
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}
.docs-mock-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--docs-line);
}
.docs-mock-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--docs-accent);
  opacity: .6;
}
.docs-mock-top p {
  margin: 0 0 0 auto;
  color: var(--docs-faint);
  font: 900 11px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.docs-mock-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}
.docs-mock-body article {
  display: grid;
  grid-template-columns: 42px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--docs-line);
  border-radius: 14px;
  background: var(--docs-card);
}
.docs-mock-body i {
  width: 34px;
  height: 22px;
  border-radius: 999px;
  background: var(--docs-accent);
  box-shadow: inset 16px 0 0 rgba(255,255,255,.75);
}
.docs-mock-body small { color: var(--docs-muted); }
.docs-mock-body button {
  border: 1px solid var(--docs-line-2);
  border-radius: 10px;
  color: var(--docs-text);
  background: var(--docs-card);
  padding: 8px 11px;
  font-weight: 900;
}
.docs-note {
  margin-top: 16px;
  padding: 15px 18px;
  border: 1px solid rgba(57,220,105,.24);
  border-left: 4px solid var(--docs-accent);
  border-radius: 14px;
  background: rgba(57,220,105,.08);
}
.docs-faq {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}
.docs-faq article {
  overflow: hidden;
  border: 1px solid var(--docs-line);
  border-radius: 15px;
  background: var(--docs-card);
}
.docs-faq button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  color: var(--docs-text);
  background: transparent;
  padding: 18px 20px;
  text-align: left;
  font-weight: 1000;
  cursor: pointer;
}
.docs-faq button span { transition: transform .2s ease; }
.docs-faq article.open button span { transform: rotate(180deg); }
.docs-faq p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--docs-muted);
  line-height: 1.7;
  transition: max-height .25s ease, padding .25s ease;
}
.docs-faq article.open p {
  max-height: 220px;
  padding: 0 20px 18px;
}
.docs-final {
  border: 1px solid rgba(57,220,105,.18);
  border-radius: 28px;
  margin: 44px 42px;
  background: linear-gradient(135deg, rgba(57,220,105,.1), rgba(42,210,164,.06));
}
.docs-final a:not(.docs-primary) {
  color: var(--docs-accent-2);
  font-weight: 1000;
}
.docs-footer {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 40px 20px;
  border-top: 1px solid var(--docs-line);
  color: var(--docs-muted);
}
.docs-footer strong {
  color: var(--docs-text);
  font-size: 18px;
}

@media (max-width: 920px) {
  .docs-nav-cta { display: none; }
  .docs-burger { display: flex; }
  .docs-mobile-menu { display: block; }
  .docs-stats { grid-template-columns: repeat(2, 1fr); }
  .docs-stats article:nth-child(2) { border-right: 0; }
  .docs-stats article:nth-child(n+3) { border-top: 1px solid var(--docs-line); }
  .docs-layout { display: block; }
  .docs-sidebar { display: none; }
  .docs-content { border-left: 0; }
  .docs-section { padding: 58px 22px; }
  .docs-feature-grid, .docs-security { grid-template-columns: 1fr; }
  .docs-feature-grid article, .docs-security article { min-height: auto; }
  .docs-vars article { grid-template-columns: 1fr; }
  .docs-final { margin: 28px 16px; }
}

@media (max-width: 560px) {
  .docs-nav { padding: 0 12px; }
  .docs-logo span:last-child { font-size: 14px; }
  .docs-hero { padding-inline: 16px; }
  .docs-hero-actions { display: grid; width: 100%; max-width: 320px; }
  .docs-stats article { min-height: 112px; }
  .docs-steps article { grid-template-columns: 1fr; }
  .docs-mock-body article { grid-template-columns: 36px 1fr; }
  .docs-mock-body small, .docs-mock-body button { grid-column: 2; justify-self: start; }
}
