:root {
  --teal: #1e6b34;
  --teal2: #15502a;
  --bg: #fff;
  --ink: #1c2620;
  --mut: #4b5b50;
  --line: #cfe0d2;
  --soft: #eef6ee;
  --btn: #1e6b34;
  --hero1: #fff3c9;
  --hero2: #e4f3e4;
  --link: #0d6a3a;
  box-sizing: border-box;
}

@media (prefers-color-scheme:dark) {
  :root {
    --bg: #101a13;
    --ink: #e8f0ea;
    --mut: #b2c3b7;
    --line: #2f4636;
    --soft: #1a2a1f;
    --hero1: #2b2a17;
    --hero2: #16301f;
    --link: #8fd6a0;
    --teal: #2a7d43;
  }
}

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

html {
  scroll-padding-top: 90px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.9 "Mukta","Noto Sans Devanagari",system-ui,sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
}

header {
  background: var(--teal);
  border-bottom: 3px solid #f5b81c;
  position: sticky;
  top: 0;
  z-index: 9;
}

.nav {
  max-width: 1312px;
  margin: auto;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: clamp(17px,4.6vw,22px);
  line-height: 1.15;
  text-decoration: none;
  margin-right: auto;
}

.logo img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}

.logo span {
  display: flex;
  flex-direction: column;
}

.logo b {
  font-weight: 700;
  line-height: 1;
  letter-spacing: .2px;
  font-size: clamp(18px,4.8vw,23.5px);
  color: #fff;
  white-space: nowrap;
}

.logo small {
  display: block;
  font-size: clamp(12.5px,3.4vw,15.5px);
  font-weight: 600;
  color: #f7d774;
  letter-spacing: .2px;
  line-height: 1;
  margin-top: 0;
  white-space: nowrap;
}

.nav a.l {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
}

.nav a.l:hover,
.nav a.l:focus-visible {
  background: rgba(255,255,255,.18);
}

main {
  max-width: 1312px;
  margin: auto;
  padding: 0 16px 32px;
}

main>p:last-child {
  margin-bottom: 0;
}

h1 {
  text-align: center;
  font-size: clamp(28px,4.6vw,42px);
  line-height: 1.35;
  font-weight: 700;
  margin: 36px 0 16px;
}

p {
  margin: 0 0 14px;
}

ul,
ol {
  padding-left: 24px;
  margin: 0 0 14px;
}

li {
  margin-bottom: 9px;
}

ul.arrow {
  list-style: none;
  padding-left: 0;
}

ul.arrow li {
  padding-left: 28px;
  position: relative;
}

ul.arrow li::before {
  content: "➜";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.tw {
  overflow-x: auto;
  margin: 10px 0 18px;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 17px;
}

th,
td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--soft);
}

details {
  background: var(--soft);
  border-radius: 6px;
  margin-bottom: 10px;
}

summary {
  cursor: pointer;
  padding: 12px 16px;
  font-size: 18.5px;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details[open] summary {
  background: var(--teal);
  color: #fff;
  border-radius: 6px 6px 0 0;
}

details p {
  padding: 10px 14px 2px;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #f5c542;
  outline-offset: 2px;
}

@media (max-width:700px) {
  body {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}

.site-footer {
  font: 16px/1.7 "Mukta","Noto Sans Devanagari",system-ui,sans-serif;
  -webkit-font-smoothing: antialiased;
}

.site-footer * {
  box-sizing: border-box;
}

.site-footer a {
  text-decoration: none;
}

.site-footer .w {
  max-width: 1280px;
  margin: auto;
  padding: 0 16px;
  box-sizing: content-box;
}

.site-footer .br {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
}

.site-footer .fl {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex: none;
}

.site-footer .bn small {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-top: 2px;
}

.site-footer .lk {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 22px;
}

.site-footer .lk.c {
  justify-content: center;
}

.site-footer .lk a {
  display: inline-block;
}

.site-footer .dz {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
}

.site-footer .ct {
  display: flex;
  justify-content: center;
}

.site-footer .cp {
  text-align: center;
  font-size: 14px;
  padding: 12px 16px;
}

.site-footer .dzb {
  max-width: 1280px;
  margin: 0 auto;
}

.site-footer {
  background: linear-gradient(rgba(0,0,0,.14),rgba(0,0,0,.14)),var(--teal);
  color: #fff;
  border-top: 3px solid #f5b81c;
  padding-top: 28px;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: #f7d774;
  text-decoration: underline;
}

.site-footer .bn small {
  color: #f7d774;
}

.site-footer .dzb {
  max-width: 1280px;
  margin-top: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.28);
  border-bottom: 1px solid rgba(255,255,255,.28);
  text-align: center;
  color: rgba(255,255,255,.88);
}

.site-footer .dzb b {
  color: #fff;
}

.site-footer .lk {
  margin-top: 16px;
}

.site-footer .cp {
  margin-top: 16px;
  background: rgba(0,0,0,.2);
}

main {
  padding-bottom: 32px;
}

.site-footer .cp {
  padding-bottom: calc(12px + 0px);
}

main>:has(+h2.bar) {
  margin-bottom: 0!important;
}

figure {
  margin: 18px auto 24px;
  max-width: 780px;
}

figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

figcaption {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--mut);
  text-align: center;
}

.links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.links a {
  white-space: nowrap;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: 8px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,.16);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex: none;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform .2s,opacity .2s;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.menu-btn:focus-visible {
  outline: 3px solid #f5c542;
  outline-offset: 2px;
}

@media (prefers-reduced-motion:reduce) {
  .menu-btn span {
    transition: none;
  }
}

@media (max-width:860px) {
  html {
    scroll-padding-top: 76px;
  }
  .nav {
    padding: 8px 12px;
  }
  .logo {
    gap: 10px;
  }
  .logo img {
    width: 40px;
    height: 40px;
  }
  .links {
    flex: 0 0 100%;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .js .nav {
    flex-wrap: nowrap;
  }
  .js .menu-btn {
    display: flex;
  }
  .js .links {
    display: none;
    flex: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 3px);
    flex-direction: column;
    align-items: stretch;
    background: var(--teal2);
    border-bottom: 3px solid #f5b81c;
    box-shadow: 0 14px 26px rgba(0,0,0,.3);
    max-height: calc(100vh - 90px);
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
  }
  .js .links.open {
    display: flex;
  }
  .js .nav a.l {
    padding: 15px 20px;
    border-radius: 0;
    font-size: 17.5px;
    border-top: 1px solid rgba(255,255,255,.16);
    white-space: normal;
  }
  .js .nav a.l:first-child {
    border-top: 0;
  }
}

@media (max-width:700px) {
  body {
    line-height: 1.8;
  }
  h1 {
    font-size: clamp(23px,6.6vw,29px);
    line-height: 1.4;
    margin: 22px 0 12px;
  }
  summary {
    padding: 13px 14px;
    font-size: 17.5px;
  }
  .site-footer .lk a {
    padding: 7px 0;
  }
  .site-footer .lk {
    gap: 0 18px;
  }
}

@media (max-width:360px) {
  .logo b {
    font-size: 18px;
  }
}

@media (min-width:861px) and (max-width:980px) {
  .nav a.l {
    padding: 6px 7px;
    font-size: 15.5px;
  }
  .logo {
    margin-right: 8px;
  }
}

.upd {
  margin: 0 auto 16px;
  padding: 7px 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 4px solid #f5b81c;
  border-radius: 8px;
}

.upd p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

@media (min-width:861px) {
  .upd p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.upd a {
  font-weight: 600;
}

[hidden] {
  display: none!important;
}

.doc {
  max-width: 1280px;
  margin: 0 auto;
  font-size: 17.5px;
  line-height: 1.85;
}

.crumb {
  font-size: 15px;
  color: var(--mut);
  margin: 22px 0 0;
}

.doc h1 {
  text-align: left;
  font-size: clamp(28px,4.2vw,38px);
  margin: 10px 0 6px;
}

.doc .meta {
  color: var(--mut);
  font-size: 15px;
  margin: 0 0 16px;
}

.doc .intro {
  font-size: 18.5px;
}

.doc h2 {
  font-size: clamp(21px,3vw,26px);
  line-height: 1.4;
  color: var(--teal);
  margin: 34px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--line);
}

.toc {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 18px 0 8px;
}

.toc b {
  display: block;
  margin-bottom: 6px;
}

.toc ol {
  list-style: decimal;
  margin: 0;
  padding: 0 0 0 26px;
  columns: 2;
  column-gap: 28px;
}

.toc li {
  margin: 0 0 4px;
  font-size: 16px;
  break-inside: avoid;
}

.doc table {
  font-size: 16px;
}

.doc a {
  overflow-wrap: anywhere;
}

@media (max-width:700px) {
  .toc ol {
    columns: 1;
  }
  .doc {
    font-size: 16.5px;
  }
  .doc .intro {
    font-size: 17.5px;
  }
}

.doc .meta {
  text-align: left;
}

.doc figure.feat {
  max-width: none;
  margin: 20px 0 26px;
}

.upd.wrap p {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
