/* Самостоятельные информационные страницы; стили приложения не подключаются. */
body.sp-page {
  margin: 0;
  color: #f4f1f8;
  background: linear-gradient(145deg, #0f1020, #1a0f2e);
  font: 18px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}
.sp-page *, .sp-page *::before, .sp-page *::after { box-sizing: border-box; }
.sp-page a { color: #ffd26f; text-underline-offset: .2em; }
.sp-page a:focus-visible { outline: 3px solid #ffd26f; outline-offset: 3px; }
.sp-wrap { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }
.sp-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 24px; }
.sp-brand { display: inline-flex; align-items: center; gap: 12px; color: #f4f1f8 !important; text-decoration: none; font-weight: 700; }
.sp-brand img { width: 44px; height: 44px; border-radius: 12px; }
.sp-link { display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; }
.sp-skip { position: absolute; top: 8px; left: 16px; padding: 12px; background: #292237; transform: translateY(-200%); z-index: 1; }
.sp-skip:focus { transform: none; }
.sp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; color: #c9c3d1; margin-block: 8px 28px; }
.sp-hero { padding: 28px 0; background: radial-gradient(ellipse at top left, #ffd26f0a, transparent 65%); }
.sp-page h1, .sp-page h2, .sp-page h3 { line-height: 1.3; margin: 0 0 20px; overflow-wrap: anywhere; }
.sp-page h1 { font-size: 46px; line-height: 1.12; max-width: 22ch; }
.sp-page h2 { font-size: 30px; }
.sp-page h3 { font-size: 21px; margin-bottom: 8px; }
.sp-page p { margin: 0 0 20px; max-width: 70ch; }
.sp-section { margin-top: 56px; }
.sp-button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; min-width: 220px; max-width: 100%; padding: 14px 24px; border-radius: 14px; color: #22110b !important; background: linear-gradient(110deg, #ffd26f, #ff7ab6); font-weight: 700; text-decoration: none; line-height: 1.4; text-align: center; overflow-wrap: anywhere; }
.sp-help { margin-top: 16px !important; color: #c9c3d1; }
.sp-example { max-width: 760px; padding: 28px; background: #292237; border: 1px solid #ffffff29; border-left: 4px solid #ffd26f; border-radius: 18px; }
.sp-example blockquote { margin: 0 0 20px; }
.sp-example p:last-child { margin-bottom: 0; }
.sp-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; padding-left: 28px; margin: 0; }
.sp-steps li { padding-left: 8px; }
.sp-steps li::marker { color: #ffd26f; font-weight: 700; }
.sp-question + .sp-question { margin-top: 28px; }
.sp-actions { margin-top: 32px; }
.sp-related { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.sp-footer { margin-top: 56px; padding-block: 32px; border-top: 1px solid #ffffff29; }
.sp-documents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; margin-top: 20px; }
.sp-documents a { overflow-wrap: anywhere; }
@media (max-width: 899px) {
  .sp-page { font-size: 17px; }
  .sp-page h1 { font-size: 30px; line-height: 1.15; }
  .sp-page h2 { font-size: 24px; }
  .sp-page h3 { font-size: 19px; }
  .sp-section { margin-top: 36px; }
  .sp-example { padding: 18px; }
  .sp-steps, .sp-documents { grid-template-columns: minmax(0, 1fr); }
  .sp-steps { gap: 20px; }
}
@media (max-width: 599px) {
  .sp-header { padding-block: 20px; }
  .sp-button { width: 100%; min-width: 0; }
  .sp-hero { padding-block: 16px; }
  .sp-related { display: grid; gap: 12px; }
}

/* Каталог тем и навигация только обычной главной страницы. */
.sp-catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sp-catalog-group { padding: 24px; background: #292237; border: 1px solid #ffffff29; border-radius: 18px; }
.sp-catalog-list { list-style: none; margin: 0; padding: 0; }
.sp-catalog-list li + li { margin-top: 12px; }
.sp-catalog-list a { display: inline-flex; align-items: center; min-height: 44px; }
.sp-catalog-list p { font-size: 16px; color: #c9c3d1; margin: 0; }
#tp-site-topics { box-sizing: border-box; width: min(1080px, calc(100% - 32px)); margin: 32px auto 48px; padding: 24px; border: 1px solid #756b84; border-radius: 18px; background: #292237; color: #f4f1f8; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; overflow-wrap: anywhere; scroll-margin-top: calc(var(--topchrome-height, 0px) + 24px); }
#tp-site-topics[hidden] { display: none !important; }
#tp-site-topics h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.3; }
#tp-site-topics p { margin: 0 0 12px; }
#tp-site-topics nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
#tp-site-topics a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; color: #ffd26f; text-decoration: underline; text-underline-offset: .2em; scroll-margin-top: calc(var(--topchrome-height, 0px) + 24px); }
#tp-site-topics a:focus-visible { outline: 3px solid #ffd26f; outline-offset: 3px; }
@media (max-width: 899px) { .sp-catalog { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .sp-catalog-group, #tp-site-topics { padding: 18px; } #tp-site-topics nav { display: grid; gap: 8px; } }
