.article-expanded {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 48px 96px;
  color: #172b3f;
}

.article-expanded .breadcrumbs {
  margin-bottom: 44px;
}

.article-expanded .article-header {
  max-width: 940px;
  margin-bottom: 48px;
}

.article-expanded .article-header h1 {
  max-width: 1000px;
  margin: 12px 0 24px;
  font-size: clamp(2.6rem, 5.2vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.article-expanded .article-deck {
  max-width: 830px;
  margin: 0 0 24px;
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  line-height: 1.52;
  color: #526c80;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(23, 43, 63, .15);
  color: #6d8191;
  font-size: .92rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 56px;
  align-items: start;
}

.article-body {
  min-width: 0;
}

.article-body > p,
.article-body > ul,
.article-body > ol,
.article-body > blockquote {
  max-width: 760px;
}

.article-body > .table-scroll {
  width: 100%;
  max-width: none;
}

.article-body p,
.article-body li {
  font-size: 1.08rem;
  line-height: 1.75;
}

.article-body p {
  margin: 0 0 22px;
}

.article-body h2 {
  margin: 72px 0 24px;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.article-body h2:first-of-type {
  margin-top: 26px;
}

.article-body h3 {
  margin: 42px 0 14px;
  font-size: 1.35rem;
  line-height: 1.28;
}

.article-body ul,
.article-body ol {
  margin: 0 0 28px;
  padding-left: 0;
}

.article-body li + li {
  margin-top: 10px;
}

.article-body ul {
  list-style: none;
}

.article-body ul > li {
  position: relative;
  padding-left: 30px;
}

.article-body ul > li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 4px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: #dc8f9e;
  box-shadow: 0 0 0 4px rgba(220, 143, 158, .14);
  transform: rotate(45deg);
}

.article-body ol {
  list-style: none;
  counter-reset: article-step;
}

.article-body ol > li {
  position: relative;
  min-height: 32px;
  padding-left: 46px;
  counter-increment: article-step;
}

.article-body ol > li::before {
  content: counter(article-step);
  position: absolute;
  top: .05em;
  left: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(23, 50, 73, .16);
  border-radius: 50%;
  background: #e7f0f6;
  color: #173249;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
}

.table-scroll {
  overflow: hidden;
  margin: 30px 0 40px;
  border: 1px solid rgba(23, 43, 63, .14);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(27, 54, 76, .08);
}

.article-body table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
}

.article-body thead tr,
.article-body thead tr.header {
  display: table-row !important;
  position: static;
  width: auto;
  height: auto !important;
  min-height: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.article-body th:first-child,
.article-body td:first-child {
  width: 23%;
}

.article-body th:nth-child(2),
.article-body td:nth-child(2),
.article-body th:nth-child(3),
.article-body td:nth-child(3) {
  width: 38.5%;
}

.article-body th,
.article-body td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(23, 43, 63, .11);
  text-align: left;
  vertical-align: top;
  font-size: .98rem;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.article-body thead th {
  background: #173249;
  color: #fff;
  font-weight: 700;
  white-space: normal;
}

.article-body tr:last-child td {
  border-bottom: 0;
}

.article-body blockquote {
  margin: 58px 0 18px;
  padding: 30px 34px;
  border: 0;
  border-radius: 24px;
  background: #dceaf4;
  color: #173249;
}

.article-body blockquote p {
  margin: 0;
}

.article-body blockquote a {
  color: #173249;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.article-side {
  position: sticky;
  top: 28px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background: #10293f !important;
  color: #fff !important;
  box-shadow: 0 24px 60px rgba(14, 30, 46, .22);
}

.article-side strong {
  display: block;
  margin-bottom: 15px;
  color: #fff !important;
  font-size: 1.05rem;
}

.article-side a {
  display: block;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .94) !important;
  font-size: .9rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}

.article-side a:hover,
.article-side a:focus-visible {
  padding-left: 6px;
  color: #fff;
}

.article-side .button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 0;
  border-radius: 18px;
  background: #ffd2c7;
  color: #5b2f3b !important;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

@media (max-width: 1050px) {
  .table-scroll {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .article-body table,
  .article-body tbody,
  .article-body tr,
  .article-body td {
    display: block;
    width: 100%;
  }

  .article-body thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .article-body tbody tr {
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid rgba(23, 43, 63, .14);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(27, 54, 76, .07);
  }

  .article-body td,
  .article-body td:nth-child(2),
  .article-body td:nth-child(3) {
    display: grid;
    grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr);
    gap: 18px;
    width: 100%;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(23, 43, 63, .1);
  }

  .article-body td::before {
    color: #607387;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .03em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .article-body td:nth-child(2)::before {
    content: "Бухгалтер";
  }

  .article-body td:nth-child(3)::before {
    content: "Финансовый директор";
  }

  .article-body td:first-child {
    display: block;
    width: 100%;
    padding: 16px 18px;
    background: #173249;
    color: #fff;
    font-weight: 800;
  }

  .article-body td:first-child::before {
    content: none;
  }

  .article-body td:last-child {
    border-bottom: 0;
  }
}

.article-side .button span {
  flex: 0 0 auto;
  font-size: 1.05rem;
  line-height: 1;
}

.article-side .button:hover,
.article-side .button:focus-visible {
  padding-left: 16px;
  background: #f3b6bd;
  color: #5b2f3b;
}

.article-side .button:active {
  background: #d6a5b0;
  color: #5b2f3b;
  transform: translateY(1px) scale(.985);
}

.article-checklist {
  max-width: 1120px;
  margin: 12px auto 84px;
  padding: 54px 48px;
  border-radius: 32px;
  background: #173249;
  color: #fff;
}

.article-checklist .checklist-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 50px;
  align-items: end;
  margin-bottom: 34px;
}

.article-checklist h2 {
  margin: 8px 0 12px;
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.article-checklist .checklist-intro p {
  margin: 0;
  color: rgba(255, 255, 255, .75);
  line-height: 1.6;
}

.checklist-score {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 22px;
  text-align: center;
}

.checklist-score strong {
  display: block;
  font-size: 2.5rem;
  line-height: 1;
}

.checklist-score span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, .68);
  font-size: .84rem;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.checklist-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 92px;
  padding: 19px 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background: rgba(255, 255, 255, .055);
  color: rgba(255, 255, 255, .88);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.checklist-item:hover {
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .1);
  transform: translateY(-2px);
}

.checklist-item:has(input:checked) {
  border-color: #91e6c8;
  background: rgba(91, 195, 158, .18);
  color: #fff;
}

.checklist-item input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: #83d9bc;
}

.checklist-item span {
  font-size: .96rem;
  line-height: 1.45;
}

.checklist-result {
  margin-top: 26px;
  padding: 25px 28px;
  border-left: 5px solid #83d9bc;
  border-radius: 0 18px 18px 0;
  background: rgba(0, 0, 0, .16);
}

.checklist-result strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.15rem;
}

.checklist-result p {
  margin: 0;
  color: rgba(255, 255, 255, .8);
  line-height: 1.55;
}

.article-disclaimer {
  margin-top: 18px;
  color: rgba(255, 255, 255, .55);
  font-size: .8rem;
  line-height: 1.5;
}

@media (max-width: 1080px) {
  .article-expanded {
    padding: 40px 28px 72px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .article-side {
    position: static;
    order: -1;
  }

  .article-checklist {
    margin: 0 20px 64px;
    padding: 42px 28px;
  }
}

@media (max-width: 640px) {
  .article-expanded {
    padding: 28px 18px 58px;
  }

  .article-expanded .breadcrumbs {
    margin-bottom: 28px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .article-expanded .article-header h1 {
    font-size: 2.5rem;
    line-height: 1.02;
  }

  .article-expanded .article-deck {
    font-size: 1.08rem;
  }

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

  .article-body p,
  .article-body li {
    font-size: 1rem;
    line-height: 1.68;
  }

  .article-body h2 {
    margin-top: 54px;
    font-size: 1.85rem;
  }

  .article-body h3 {
    margin-top: 34px;
    font-size: 1.22rem;
  }

  .article-body blockquote {
    padding: 24px;
    border-radius: 20px;
  }

  .article-side {
    padding: 22px;
    border-radius: 20px;
  }

  .table-scroll {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .article-body table,
  .article-body tbody,
  .article-body tr,
  .article-body td {
    display: block;
    width: 100%;
  }

  .article-body thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .article-body tbody tr {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid rgba(23, 43, 63, .14);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(27, 54, 76, .07);
  }

  .article-body td {
    display: grid;
    grid-template-columns: minmax(104px, .75fr) minmax(0, 1.25fr);
    gap: 14px;
    padding: 13px 15px;
    border-bottom: 1px solid rgba(23, 43, 63, .1);
    font-size: .94rem;
  }

  .article-body td::before {
    color: #607387;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .03em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .article-body td:nth-child(2)::before {
    content: "Бухгалтер";
  }

  .article-body td:nth-child(3)::before {
    content: "Финансовый директор";
  }

  .article-body td:first-child {
    display: block;
    width: 100%;
    padding: 14px 15px;
    background: #173249;
    color: #fff;
    font-weight: 800;
  }

  .article-body td:first-child::before {
    content: none;
  }

  .article-body td:last-child {
    border-bottom: 0;
  }

  .article-checklist {
    margin: 0 12px 52px;
    padding: 34px 18px;
    border-radius: 26px;
  }

  .article-checklist .checklist-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .checklist-score {
    width: 100%;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .checklist-item {
    min-height: 0;
  }

  .checklist-result {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .checklist-item,
  .article-side a {
    transition: none;
  }
}
