.snt-account {
  display: grid;
  gap: 1.5rem;
}

.snt-panel,
.snt-card,
.snt-auth-panel {
  background: #ffffff;
  border: 1px solid #d5dde5;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(18, 34, 53, 0.06);
}

.snt-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.snt-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.snt-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  text-decoration: none;
  background: #eef3f7;
  color: #18344d;
  font-weight: 600;
}

.snt-nav a.is-active {
  background: #18344d;
  color: #ffffff;
}

.snt-table {
  width: 100%;
  border-collapse: collapse;
}

.snt-table th,
.snt-table td {
  border-bottom: 1px solid #e5ebf0;
  padding: 0.75rem;
  text-align: left;
}

.snt-form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.snt-form-grid .snt-form-full {
  grid-column: 1 / -1;
}

.snt-field label {
  display: block;
  margin-bottom: 0.375rem;
  font-weight: 600;
}

.snt-field input,
.snt-field textarea,
.snt-field select {
  width: 100%;
  min-height: 42px;
  padding: 0.625rem 0.75rem;
  border: 1px solid #c7d2de;
  border-radius: 12px;
}

.snt-alert {
  padding: 1rem;
  border-radius: 14px;
  background: #fff8db;
  color: #5e4a00;
}

.snt-alert.is-success {
  background: #e4f7ea;
  color: #16592c;
}

.snt-alert.is-error {
  background: #fde8e8;
  color: #8b1f1f;
}

.snt-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.snt-vote-options {
  display: grid;
  gap: 0.625rem;
}

.snt-muted {
  color: #5d6f82;
}

.snt-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.snt-meter-card,
.snt-control-card {
  margin-top: 1rem;
}

.snt-meter-history {
  margin-top: 1rem;
}

.snt-meter-history h5 {
  margin: 0 0 0.75rem;
}

.snt-control-panel {
  display: grid;
  gap: 1rem;
}

.snt-control-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.snt-control-search {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.snt-control-search input[type="search"] {
  min-width: min(420px, 100%);
  min-height: 44px;
  padding: 0.625rem 0.75rem;
  border: 1px solid #c7d2de;
  border-radius: 12px;
}

.snt-control-list {
  display: grid;
  gap: 1rem;
}

.snt-control-card {
  border: 1px solid #d5dde5;
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 34, 53, 0.06);
}

.snt-control-card[hidden] {
  display: none;
}

.snt-control-card__header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.snt-control-card__header h3 {
  margin: 0 0 0.25rem;
}

.snt-control-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: #e7f3ed;
  color: #1f5f49;
  font-weight: 700;
  white-space: nowrap;
}

.snt-control-card__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem 1rem;
  margin-bottom: 0.85rem;
  color: #22313d;
}

.snt-control-card__form {
  margin-top: 1rem;
}

body:not(.home) #cm-masthead .cm-container,
body:not(.home) .cm-primary-nav .cm-container,
body:not(.home) #main .cm-container,
body:not(.home) #cm-footer .cm-container {
  width: calc(100% - 32px);
  max-width: 1580px;
  margin-left: auto;
  margin-right: auto;
}

body:not(.home) #main {
  padding-top: 0.3rem;
}

body:not(.home) #main .cm-row,
body:not(.home) .cm-content > .cm-row {
  display: block !important;
}

body:not(.home) #cm-primary,
body:not(.home) .cm-primary {
  float: none;
  width: 100% !important;
  max-width: none;
}

body:not(.home) #cm-secondary,
body:not(.home) .cm-secondary {
  display: none !important;
}

body:not(.home) .inside-page-wrap,
body:not(.home) .inside-article,
body:not(.home) .cm-post-content {
  padding: 0;
  max-width: none;
}

body:not(.home) .cm-entry-header-meta,
body:not(.home) .cm-breadcrumb,
body:not(.home) .default-wp-page {
  display: none;
}

body:not(.home) .entry-header,
body:not(.home) .page-header {
  max-width: 1180px;
  margin: 0 auto 0.85rem;
  padding: 0;
}

body:not(.home) .cm-posts .post,
body:not(.home) article.page,
body:not(.home) article.post,
body:not(.home) article.snt_announcement,
body:not(.home) article.snt_document {
  max-width: 1180px;
  margin: 0 auto 1.5rem;
  padding: 1.35rem 1.45rem 1.2rem;
  background: #fff;
  border: 1px solid #d7dee5;
  border-left: 4px solid #1f5f49;
  box-shadow: 0 16px 34px rgba(17, 34, 51, 0.07);
  border-radius: 6px;
}

body:not(.home) .entry-title,
body:not(.home) .cm-entry-title {
  font-size: 1.95rem;
  line-height: 1.18;
}

body:not(.home) .entry-meta,
body:not(.home) .cm-entry-meta {
  margin-bottom: 0.65rem;
  color: #5d6f82;
  font-size: 0.96rem;
}

body:not(.home) .cm-below-entry-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #e6edf2;
  color: #5d6f82;
}

body:not(.home) .cm-below-entry-meta .cm-author {
  display: none;
}

body:not(.home) .entry-content,
body:not(.home) .page-content,
body:not(.home) .cm-entry-summary {
  font-size: 1.08rem;
  line-height: 1.72;
  color: #22313d;
}

body:not(.home) .cm-entry-summary > *:first-child,
body:not(.home) .page-content > *:first-child {
  margin-top: 0;
}

body:not(.home) .entry-content table,
body:not(.home) .page-content table,
body:not(.home) .cm-entry-summary table {
  width: 100%;
  border-collapse: collapse;
}

body:not(.home) .entry-content td,
body:not(.home) .entry-content th,
body:not(.home) .page-content td,
body:not(.home) .page-content th,
body:not(.home) .cm-entry-summary td,
body:not(.home) .cm-entry-summary th {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid #d7dee5;
  vertical-align: top;
}

body:not(.home) .comments-area {
  max-width: 1180px;
  margin: 0 auto;
}

.snt-single-footer {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid #e6edf2;
  color: #5d6f82;
  font-size: 0.96rem;
  font-weight: 600;
}

.snt-public-layout,
.snt-archive-page--with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.5rem;
  align-items: start;
}

.snt-public-layout__main,
.snt-archive-page__main {
  min-width: 0;
}

.snt-public-layout > .snt-home__aside,
.snt-archive-page--with-aside > .snt-home__aside {
  margin: 0;
}

.snt-public-page,
.snt-archive-page {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1500px, calc(100vw - 48px));
  max-width: none;
}

.snt-public-page,
.snt-archive-page {
  margin: 0 0 2rem;
}

.snt-public-page__main {
  padding: 1.35rem 1.45rem 1.2rem;
  background: #fff;
  border: 1px solid #d7dee5;
  border-left: 4px solid #1f5f49;
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(17, 34, 51, 0.07);
}

.snt-public-page__header {
  margin: 0 0 1rem;
}

.snt-public-page__title {
  margin: 0;
  color: #16212a;
  font-size: 1.95rem;
  line-height: 1.18;
}

.snt-public-page__meta {
  margin-top: 0.55rem;
  color: #5d6f82;
  font-size: 0.96rem;
}

.snt-public-page__featured {
  margin-bottom: 1rem;
}

.snt-public-page__featured img {
  display: block;
  max-width: 100%;
  height: auto;
}

.snt-public-page__content {
  font-size: 1.08rem;
  line-height: 1.72;
  color: #22313d;
}

.snt-public-page__content > *:first-child {
  margin-top: 0;
}

.snt-archive-page__header {
  margin: 0 0 1.2rem;
}

.snt-archive-page__title {
  margin: 0 0 0.35rem;
  color: #16212a;
  font-size: 2rem;
  line-height: 1.14;
}

.snt-archive-page__description {
  margin: 0;
  color: #5d6f82;
  font-size: 1.06rem;
  line-height: 1.68;
}

.snt-archive-page__list {
  display: grid;
  gap: 1rem;
}

.snt-archive-entry {
  padding: 1.2rem 1.3rem;
  background: #fff;
  border: 1px solid #d7dee5;
  border-left: 4px solid #1f5f49;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(17, 34, 51, 0.06);
}

.snt-archive-entry__meta {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0.55rem;
  color: #5d6f82;
  font-size: 0.94rem;
}

.snt-archive-entry__type {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: #e7f3ed;
  color: #1f5f49;
  font-weight: 700;
  font-size: 0.8rem;
}

.snt-archive-entry__title {
  margin: 0 0 0.65rem;
  font-size: 1.58rem;
  line-height: 1.2;
}

.snt-archive-entry__title a {
  color: #16212a;
  text-decoration: none;
}

.snt-archive-entry__title a:hover {
  color: #1f5f49;
}

.snt-archive-entry__summary {
  margin: 0;
  color: #24313b;
  font-size: 1.04rem;
  line-height: 1.72;
}

.snt-archive-entry__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.snt-archive-page__pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.snt-archive-page__page .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 0.85rem;
  border: 1px solid #d7dee5;
  border-radius: 4px;
  color: #16212a;
  text-decoration: none;
  background: #fff;
}

.snt-archive-page__page .page-numbers.current,
.snt-archive-page__page .page-numbers:hover {
  background: #1f5f49;
  color: #fff;
  border-color: #1f5f49;
}

.home .entry-header,
.home .page-header,
.home .cm-entry-title {
  display: none;
}

.home #cm-masthead .cm-container,
.home .cm-primary-nav .cm-container,
.home #main .cm-container,
.home #cm-footer .cm-container {
  width: calc(100% - 32px);
  max-width: 1580px;
  margin-left: auto;
  margin-right: auto;
}

.home #main .cm-row,
.home .cm-content > .cm-row {
  display: block !important;
}

.home #cm-primary,
.home .cm-primary {
  float: none;
  width: 100% !important;
  max-width: none;
}

.home #cm-secondary,
.home .cm-secondary {
  display: none !important;
}

.home .site-branding {
  padding: 0.55rem 0 0.35rem;
}

.home .cm-site-title {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.08;
}

.home .site-branding .site-description {
  margin-top: 0.15rem;
  font-size: 0.96rem;
  color: #5d6f82;
}

.home #main {
  padding-top: 0.15rem;
}

.home .cm-posts,
.home .cm-post-content,
.home .inside-page-wrap,
.home .inside-article,
.home .entry-content {
  padding: 0;
  max-width: none;
}

.home .cm-posts {
  display: block !important;
  width: 100% !important;
}

.home .cm-posts > article {
  width: 100% !important;
}

.home #cm-content,
.home #cm-primary,
.home .cm-posts {
  margin-top: 0;
  padding-top: 0;
}

.snt-home {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1500px, calc(100vw - 48px));
  margin: 0;
}

.snt-home__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.5rem;
  align-items: start;
  padding: 0;
}

.snt-home__section {
  min-width: 0;
}

.snt-home__feed {
  min-width: 0;
}

.snt-home__feed-items {
  min-width: 0;
}

.snt-home__feed-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 88px;
  margin: 0.75rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px dashed #cfd9e2;
  background: #f8fbfc;
}

.snt-home__feed-loader.is-hidden {
  display: none;
}

.snt-home__feed-loader.is-error {
  border-color: #d8b3b3;
  background: #fff8f8;
}

.snt-home__feed-status {
  margin: 0;
  color: #5d6f82;
  font-size: 0.96rem;
  line-height: 1.5;
  text-align: center;
}

.snt-home__spinner {
  width: 26px;
  height: 26px;
  border: 3px solid #d7dee5;
  border-top-color: #1f5f49;
  border-radius: 50%;
  animation: snt-home-spin 0.9s linear infinite;
}

.snt-home__feed-loader:not(.is-loading) .snt-home__spinner {
  display: none;
}

.snt-home__section > .snt-home__more {
  display: none;
}

.snt-home__eyebrow {
  margin: 0 0 1rem;
  color: #1f5f49;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.snt-home__eyebrow--aside {
  margin-bottom: 1rem;
}

.snt-home__post {
  margin: 0 0 1.5rem;
  min-width: 0;
  padding: 1.25rem 1.35rem 1.15rem;
  background: #fff;
  border: 1px solid #d7dee5;
  border-left: 4px solid #1f5f49;
  box-shadow: 0 16px 34px rgba(17, 34, 51, 0.07);
  border-radius: 6px;
}

.snt-home__meta {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0.5rem;
  color: #516170;
  font-size: 0.94rem;
}

.snt-home__type {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: #e7f3ed;
  color: #1f5f49;
  font-weight: 700;
  font-size: 0.82rem;
}

.snt-home__title {
  margin: 0 0 0.75rem;
  font-size: 1.8rem;
  line-height: 1.16;
}

.snt-home__title a,
.snt-home__card-title a,
.snt-home__docs a,
.snt-home__more a {
  color: #16212a;
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: normal;
}

.snt-home__title a:hover,
.snt-home__card-title a:hover,
.snt-home__docs a:hover,
.snt-home__more a:hover {
  color: #1f5f49;
}

.snt-home__content {
  font-size: 1.12rem;
  line-height: 1.72;
  color: #22313d;
}

.snt-home__content p {
  margin-bottom: 0.9rem;
}

.snt-home__content > *:first-child {
  margin-top: 0;
}

.snt-home__content h1,
.snt-home__content h2,
.snt-home__content h3,
.snt-home__content h4 {
  margin: 0.95rem 0 0.45rem;
  font-size: 1.24rem;
  line-height: 1.32;
}

.snt-home__content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.02rem;
  background: #fbfcfd;
}

.snt-home__content td,
.snt-home__content th {
  padding: 0.52rem 0.6rem;
  border-bottom: 1px solid #d7dee5;
  vertical-align: top;
}

.snt-home__content img,
.snt-home__content iframe,
.snt-home__content video,
.snt-home__content audio {
  max-width: 100%;
  height: auto;
}

.snt-home__footer {
  margin-top: 0.95rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e6edf2;
  color: #5d6f82;
  font-size: 0.95rem;
}

.snt-home__aside {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.snt-home__aside > .snt-home__card + .snt-home__card {
  margin-top: 1rem;
}

.snt-home__card {
  padding: 1.05rem 1.1rem;
  background: #fff;
  border: 1px solid #d7dee5;
}

.snt-home__card--important {
  border-top: 3px solid #1f5f49;
  margin-top: -5px;
}

.snt-home__info-block + .snt-home__info-block {
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid #d7dee5;
}

.snt-home__card-title {
  margin: 0 0 0.55rem;
  font-size: 1.22rem;
  line-height: 1.28;
  color: #16212a;
}

.snt-home__card p,
.snt-home__card li,
.snt-home__aside-text {
  font-size: 1.12rem;
  line-height: 1.68;
  color: #24313b;
}

.snt-home__requisites {
  margin: 0 0 0.75rem;
}

.snt-home__requisites-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0.65rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid #edf1f4;
}

.snt-home__requisites dt {
  color: #5d6f82;
  font-size: 1.02rem;
  font-weight: 600;
}

.snt-home__requisites dd {
  margin: 0;
  font-weight: 600;
  color: #16212a;
  word-break: break-word;
  font-size: 1.08rem;
}

.snt-home__docs {
  margin: 0;
  padding-left: 1.1rem;
}

.snt-home__docs li + li {
  margin-top: 0.55rem;
}

.snt-home__docs--compact {
  list-style: none;
  padding-left: 0;
}

.snt-home__docs--compact li {
  padding: 0.5rem 0 0.6rem;
  border-bottom: 1px solid #edf1f4;
}

.snt-home__docs-date {
  display: block;
  margin-bottom: 0.15rem;
  color: #5d6f82;
  font-size: 0.9rem;
}

.snt-home__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 4px;
  background: #1f5f49;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.snt-home__button--ghost {
  background: transparent;
  border: 1px solid #d7dee5;
  color: #16212a;
}

.snt-home__more {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.snt-home__empty {
  margin: 0;
  color: #5d6f82;
}

@keyframes snt-home-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 1200px) {
  .snt-home__aside {
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding-right: 0.35rem;
  }
}

@media (max-width: 1320px) {
  .snt-home__grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .snt-public-layout,
  .snt-archive-page--with-aside {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .snt-home__title {
    font-size: 1.68rem;
  }
}

@media (max-width: 940px) {
  .snt-control-toolbar,
  .snt-control-search {
    flex-direction: column;
    align-items: stretch;
  }

  .snt-control-search input[type="search"] {
    min-width: 0;
    width: 100%;
  }

  body:not(.home) #cm-masthead .cm-container,
  body:not(.home) .cm-primary-nav .cm-container,
  body:not(.home) #main .cm-container,
  body:not(.home) #cm-footer .cm-container,
  .home #cm-masthead .cm-container,
  .home .cm-primary-nav .cm-container,
  .home #main .cm-container,
  .home #cm-footer .cm-container {
    box-sizing: border-box;
    width: calc(100% - 20px);
  }

  .snt-home__grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .snt-public-layout,
  .snt-archive-page--with-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .snt-home__main {
    order: 1;
  }

  .snt-home__aside {
    order: 2;
  }

  .snt-home__eyebrow--aside {
    display: none;
  }

  .snt-home__aside .snt-home__card--important {
    order: 2;
    margin-top: 0;
  }

  .snt-home__aside > .snt-home__card:nth-of-type(2) {
    order: 1;
    margin-top: 0;
    margin-bottom: 1rem;
  }

  .snt-home__aside > .snt-home__card:nth-of-type(n+3) {
    order: 3;
  }

  .snt-home {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
    margin-top: 0;
  }

  .snt-public-page,
  .snt-archive-page {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
  }

  .snt-home__title {
    font-size: 1.42rem;
  }

  .snt-home__content {
    font-size: 1.03rem;
  }

  .snt-home__content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .snt-home__content td,
  .snt-home__content th {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .home #main {
    padding-top: 0;
  }

  body:not(.home) #main {
    padding-top: 0.1rem;
  }

  body:not(.home) .cm-posts .post,
  body:not(.home) article.page,
  body:not(.home) article.post,
  body:not(.home) article.snt_announcement,
  body:not(.home) article.snt_document {
    padding: 1rem 0.95rem;
  }

  body:not(.home) .entry-title,
  body:not(.home) .cm-entry-title {
    font-size: 1.52rem;
  }

  body:not(.home) .entry-content,
  body:not(.home) .page-content,
  body:not(.home) .cm-entry-summary {
    font-size: 1rem;
  }

  .snt-archive-page__title {
    font-size: 1.58rem;
  }

  .snt-public-page__title {
    font-size: 1.52rem;
  }

  .snt-public-page__main {
    padding: 1rem 0.95rem;
  }

  .snt-archive-entry {
    padding: 1rem 0.95rem;
  }

  .snt-archive-entry__title {
    font-size: 1.32rem;
  }
}
