.tms-stats,
.tms-grid,
.tms-split{
  display:grid;
  gap:18px;
  margin-top:56px;
}

.tms-stats{
  grid-template-columns:repeat(4,1fr);
}

.tms-grid{
  grid-template-columns:repeat(3,1fr);
}

.tms-grid--contacts{
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
  grid-template-columns:repeat(2,minmax(0,560px));
  justify-content:center;
  align-items:stretch;
  gap:24px;
}

.tms-grid--contacts .tms-card{
  min-height:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.tms-grid--contacts .tms-card p{
  max-width:100%;
}

.tms-grid--contacts .tms-card h3{
  margin-top:8px;
}

.tms-grid--contacts .tms-contact-address{
  min-height:0;
}

.tms-grid--contacts .tms-contact-meta{
  margin-top:8px;
}

.tms-contact-meta{
  display:grid;
  gap:6px;
}

.tms-contact-meta strong{
  color:var(--text,#111);
  font-weight:800;
}

.tms-contact-meta span{
  display:block;
}

.tms-contact-meta--spacer{
  visibility:hidden;
}

.tms-contact-card{
  gap:0;
}

.tms-contact-card .tms-route-map{
  margin-top:10px;
}

.tms-route-image{
  display:block;
  overflow:hidden;
  border-radius:24px;
  background:rgba(0,0,0,.04);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);
}

.tms-route-image img{
  display:block;
  width:100%;
  height:auto;
}

.tms-route-note{
  margin:0;
  color:var(--muted,#666);
}

.tms-route-map{
  min-height:320px;
  border-radius:24px;
}

.tms-route-map iframe{
  min-height:320px;
}

.tms-route-details{
  margin-top:16px;
}

.tms-route-details summary{
  min-height:52px;
  padding:0 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border-radius:18px;
  background:rgba(10,129,31,.1);
  color:var(--green,#0a811f);
  cursor:pointer;
  font-weight:800;
  list-style:none;
}

.tms-route-details summary::-webkit-details-marker{
  display:none;
}

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

.tms-route-details[open] summary{
  margin-bottom:14px;
}

.tms-route-details[open] summary::after{
  content:"-";
}

.tms-requisites{
  max-width:1180px;
  margin:28px auto 0;
  border-radius:34px;
  background:var(--card,rgba(255,255,255,.78));
  box-shadow:0 18px 55px rgba(0,0,0,.07);
  overflow:hidden;
}

.tms-requisites summary{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:26px 30px;
  cursor:pointer;
  color:var(--green,#0a811f);
  font-weight:800;
  list-style:none;
}

.tms-requisites summary::-webkit-details-marker{
  display:none;
}

.tms-requisites summary::after{
  content:"+";
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  flex:0 0 auto;
  border-radius:50%;
  background:rgba(10,129,31,.1);
  color:var(--green,#0a811f);
  font-size:24px;
  line-height:1;
}

.tms-requisites[open] summary::after{
  content:"-";
}

.tms-requisites summary span{
  color:var(--text,#111);
  font-size:clamp(24px,2.2vw,36px);
}

.tms-requisites summary b{
  color:var(--green,#0a811f);
  font-size:16px;
}

.tms-requisites__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  padding:0 30px 30px;
}

.tms-requisites dl{
  margin:0;
  padding:22px;
  border-radius:24px;
  background:rgba(0,0,0,.035);
}

.tms-requisites dt{
  margin:0 0 6px;
  color:var(--green,#0a811f);
  font-weight:800;
}

.tms-requisites dd{
  margin:0 0 18px;
  color:var(--muted,#666);
  line-height:1.55;
}

.tms-requisites dd:last-child{
  margin-bottom:0;
}

.tms-split{
  grid-template-columns:1fr 1fr;
  gap:28px;
}

.tms-card,
.tms-panel{
  background:var(--card,rgba(255,255,255,.78));
  border-radius:34px;
  padding:30px;
  backdrop-filter:blur(20px);
  box-shadow:0 18px 55px rgba(0,0,0,.07);
}

.article-page,
.article-wrap{
  padding:90px 6%;
}

@media(max-width:680px){
  .article-page,
  .article-wrap{
    padding:60px 5%;
  }
}

.tms-card small,
.tms-panel small{
  color:var(--green,#0a811f);
  font-weight:800;
}

.tms-card b{
  display:block;
  margin-top:14px;
  font-size:34px;
  color:var(--green,#0a811f);
  letter-spacing:0;
}

.tms-card h3,
.tms-panel h3{
  font-size:24px;
  letter-spacing:0;
}

.tms-panel h3{
  font-size:28px;
  letter-spacing:0;
  margin-bottom:16px;
}

.tms-card p,
.tms-card span,
.tms-panel p,
.tms-panel li{
  display:block;
  margin-top:10px;
  color:var(--muted,#6e6e73);
  line-height:1.55;
}

.tms-stat b{
  display:block;
  margin:0;
  font-size:54px;
  color:var(--green,#0a811f);
  letter-spacing:0;
}

.tms-wide{
  grid-column:span 3;
}

.tms-clean-list{
  list-style:none;
  display:grid;
  gap:12px;
}

.tms-clean-list li{
  padding-left:22px;
  position:relative;
}

.tms-clean-list li::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--green,#0a811f);
  position:absolute;
  left:0;
  top:.72em;
}

.tms-map{
  min-height:360px;
  margin-top:18px;
  border-radius:28px;
  overflow:hidden;
  background:var(--bg,#f5f5f7);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);
}

.tms-map iframe{
  display:block;
  width:100% !important;
  min-height:360px;
  border:0;
}

.tms-text-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:18px;
  color:var(--green,#0a811f);
  font-size:clamp(20px,1.45vw,26px);
  font-weight:700;
}

.tms-doc-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.tms-doc-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:11px 16px;
  border-radius:999px;
  background:var(--green,#0a811f);
  color:white;
  font-weight:800;
}

.tms-doc-link:hover{
  transform:translateY(-2px);
  background:rgba(10,129,31,.1);
  color:var(--green,#0a811f);
  box-shadow:0 12px 36px rgba(0,0,0,.08);
}

.tms-article-preview{
  margin-top:56px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}

.tms-article-full-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.tms-article-intro{
  padding:28px;
}

.tms-article-intro h3{
  font-size:24px;
}

.tms-article-group{
  display:grid;
  grid-auto-rows:1fr;
  gap:12px;
}

.tms-article-group a{
  display:flex;
  align-items:center;
  padding:18px 20px;
  border-radius:22px;
  background:var(--card,rgba(255,255,255,.78));
  color:var(--text,#111);
  font-weight:700;
  line-height:1.35;
  box-shadow:0 18px 55px rgba(0,0,0,.07);
  transition:transform .25s, color .25s, background .25s;
}

.tms-article-group a:hover{
  transform:translateY(-2px);
  background:rgba(10,129,31,.1);
  color:var(--green,#0a811f);
  box-shadow:0 12px 36px rgba(0,0,0,.08);
}

.article-shell,
.tms-article,
.article-content{
  width:min(100%,1060px);
  margin:0 auto;
}

.article-page .article-panel > div,
.article-page .article-panel > span{
  color:var(--muted);
  font-family:inherit;
  font-size:18px;
  line-height:1.7;
}

.article-page .article-panel{
  color:var(--muted);
  font-family:inherit;
  font-size:18px;
  line-height:1.7;
}

.article-page .article-panel h2,
.article-page .article-panel h3,
.article-page .article-panel h4{
  color:var(--text);
}

.article-page .article-panel div,
.article-page .article-panel span{
  font-family:inherit;
}

.article-page .article-panel > div + div{
  margin-top:12px;
}

.article-page .article-panel td,
.article-page .article-panel th{
  font-family:inherit;
  font-size:18px;
  line-height:1.7;
}

.article-page .article-panel table{
  table-layout:auto;
}

.article-back{
  display:inline-flex !important;
  width:max-content !important;
  margin:0 0 8px 0 !important;
  justify-self:start !important;
  align-self:start !important;
  color:var(--green,#0a811f) !important;
  font-weight:800 !important;
  text-decoration:none !important;
}

.article-back:hover{
  text-decoration:underline !important;
  text-underline-offset:4px;
}

.tms-article-archive{
  margin-top:18px;
}

.tms-article-archive summary{
  min-height:72px;
  padding:0 28px;
  border-radius:28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  cursor:pointer;
  color:var(--text,#111);
  background:var(--card,rgba(255,255,255,.78));
  box-shadow:0 18px 55px rgba(0,0,0,.07);
  list-style:none;
  transition:transform .25s, color .25s, background .25s;
}

.tms-article-archive summary::-webkit-details-marker{
  display:none;
}

.tms-article-archive summary:hover{
  transform:translateY(-2px);
  background:rgba(10,129,31,.1);
  color:var(--green,#0a811f);
  box-shadow:0 12px 36px rgba(0,0,0,.08);
}

.tms-article-archive summary span{
  font-size:24px;
  font-weight:900;
}

.tms-article-archive summary b{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--muted,#6e6e73);
  font-size:16px;
}

.tms-article-archive summary b::after{
  content:"";
  width:10px;
  height:10px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .25s;
}

.tms-article-archive[open] summary b::after{
  transform:rotate(225deg) translateY(-2px);
}

.tms-article-archive .tms-article-full-grid{
  margin-top:18px;
  align-items:stretch;
  grid-auto-rows:1fr;
}

.tms-article-archive .tms-article-full-grid > a{
  display:flex;
  align-items:center;
  min-height:100%;
  padding:18px 20px;
  border-radius:22px;
  background:var(--card,rgba(255,255,255,.78));
  color:var(--text,#111);
  font-weight:700;
  line-height:1.35;
  box-shadow:0 18px 55px rgba(0,0,0,.07);
  transition:transform .25s, color .25s, background .25s;
}

.tms-article-archive .tms-article-full-grid > a:hover{
  transform:translateY(-2px);
  background:rgba(10,129,31,.1);
  color:var(--green,#0a811f);
  box-shadow:0 12px 36px rgba(0,0,0,.08);
}

html.theme-dark .tms-article-group a,
body.dark .tms-article-group a,
html.theme-dark .tms-article-archive .tms-article-full-grid > a,
body.dark .tms-article-archive .tms-article-full-grid > a,
html.theme-dark .tms-article-archive summary,
body.dark .tms-article-archive summary{
  background:var(--card,rgba(25,25,25,.78));
}

html.theme-dark .tms-requisites,
body.dark .tms-requisites{
  background:var(--card,rgba(25,25,25,.78));
}

html.theme-dark .tms-requisites dl,
body.dark .tms-requisites dl{
  background:rgba(255,255,255,.06);
}

@media(max-width:980px){
  .tms-stats,
  .tms-grid,
  .tms-split,
  .tms-article-preview,
  .tms-article-full-grid,
  .tms-requisites__grid{
    grid-template-columns:1fr;
  }

  .tms-wide{
    grid-column:span 1;
  }
}

@media(max-width:680px){
  .tms-requisites summary{
    align-items:flex-start;
    flex-direction:column;
  }

  .tms-requisites summary::after{
    position:absolute;
    right:22px;
  }

  .tms-requisites summary b{
    padding-right:48px;
  }

  .tms-route-map,
  .tms-route-map iframe{
    min-height:280px;
  }

  .article-page .article-panel,
  .article-page .article-panel > div,
  .article-page .article-panel > span,
  .article-page .article-panel td,
  .article-page .article-panel th{
    font-size:16px;
  }
}
