

/* Start:/local/templates/prosto/css/styles.css?178721877437598*/
/* ============================================================
   ПРОСТО.РУ — общий стиль
   Палитра из логотипа: мята #6AE1CB, чернила #071638
   ============================================================ */

:root {
  --ink: #071638;
  --mint: #6AE1CB;
  --mint-dark: #3ECBB0;
  --canvas: #F2F4F8;
  --card: #FFFFFF;
  --line: #E2E7F0;
  --muted: #6E7789;
  --muted-2: #9AA3B5;
  --ok: #2FA96B;
  --ok-bg: #E4F6EC;
  --warn: #DE9B26;
  --warn-bg: #FBF1DC;
  --bad: #DF4B36;
  --bad-bg: #FBE6E2;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --font: 'Onest', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--canvas);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  font-size: inherit
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit
}

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 2px;
  border-radius: 4px
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

h1, h2, h3 {
  letter-spacing: -.02em;
  line-height: 1.12;
  font-weight: 800
}

.h-display {
  font-size: clamp(38px, 5.4vw, 66px)
}

.h-section {
  font-size: clamp(28px, 3.4vw, 42px)
}

.h-card {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em
}

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  line-height: 1.55
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--mint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: transform .12s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(.97)
}

.btn-primary {
  background: var(--mint);
  color: var(--ink)
}

.btn-primary:hover {
  background: var(--mint-dark)
}

.btn-ink {
  background: var(--ink);
  color: #fff
}

.btn-ink:hover {
  background: #122451
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line)
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink)
}

.btn-lg {
  padding: 18px 36px;
  font-size: 18px
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px
}

.btn:disabled {
  opacity: .45;
  cursor: default
}

/* ---------- карточка ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
}

/* ============================================================
   САЙТ: шапка / футер
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 244, 248, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 76px;
}

.logo-link img {
  height: 26px;
  width: auto
}

.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-weight: 500;
  font-size: 15px
}

.site-nav a {
  color: var(--muted);
  transition: color .15s
}

.site-nav a:hover, .site-nav a.active {
  color: var(--ink)
}

.header-cta {
  margin-left: 8px
}

.burger {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  padding: 8px
}

.burger span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px
}

.site-footer {
  background: var(--ink);
  color: #fff;
  margin-top: 96px
}

.site-footer .container {
  padding: 56px 24px 40px
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap
}

.footer-logo {
  height: 24px;
  width: auto;
  filter: none;
  opacity: 1

}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--mint);
  margin-bottom: 14px
}

.footer-col a {
  display: block;
  color: #B9C2D6;
  font-size: 15px;
  margin-bottom: 10px;
  transition: color .15s
}

.footer-col a:hover {
  color: #fff
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-top: 44px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: #8390AC;
  font-size: 14px
}

.footer-сolumn{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media(min-width: 835px){
  .footer-сolumn:nth-child(2){
    align-items: flex-end;
  }
}

.footer-сolumn img{
  width: 140px;
}

.footer-row{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-bottom a{
  transition: .3s ease;
}

.footer-bottom a:hover{
  color: #fff;
}

@media(max-width: 834px){
  .footer-сolumn{
    gap: 10px;
  }

  .footer-bottom {
    gap: 20px;
  }

  .footer-сolumn img {
      width: 120px;
  }
}

/* ---------- плашка cookie ---------- */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 12px 32px rgba(7, 22, 56, .16);
  padding: 18px 22px;
  align-items: center;
  gap: 20px;
}

.cookie-banner p {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.cookie-banner a {
  color: var(--ink);
  text-decoration: underline;
}

.cookie-banner .btn {
  flex-shrink: 0;
}

@media(max-width: 560px) {
  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner .btn {
    width: 100%;
  }
}

/* ============================================================
   ГЛАВНАЯ
   ============================================================ */
.hero {
  padding: 88px 0 64px
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center
}

.hero p.lead {
  margin: 24px 0 36px;
  max-width: 520px
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted-2)
}

/* терминал — фирменный элемент (мини-игры в ТЗ сделаны в формате терминала) */
.terminal {
  background: var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 14.5px;
  line-height: 1.75;
  border: 1px solid #16295B;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.terminal-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #28407E;
  display: block
}

.terminal-bar i:first-child {
  background: var(--mint)
}

.terminal-bar b {
  margin-left: auto;
  color: #5D6FA0;
  font-weight: 400;
  font-size: 12.5px;
  font-family: var(--mono)
}

.terminal-body {
  padding: 22px 24px 28px;
  color: #AFBBDA
}

.terminal-body .tp {
  color: var(--mint)
}

.terminal-body .tc {
  color: #fff
}

.terminal-body .tm {
  color: #5D6FA0
}

.cursor {
  display: inline-block;
  width: 9px;
  height: 17px;
  background: var(--mint);
  vertical-align: -3px;
  animation: blink 1.1s steps(1) infinite
}

@keyframes blink {
  50% {
    opacity: 0
  }
}

@media(prefers-reduced-motion:reduce) {
  .cursor {
    animation: none
  }
}

.section {
  padding: 56px 0
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap
}

.section-head p {
  color: var(--muted);
  max-width: 560px;
  margin-top: 12px
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px
}

.step-num {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: var(--mint);
  border-radius: 999px;
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 18px;
}

.card h3 {
  margin-bottom: 10px
}

.card p {
  color: var(--muted);
  font-size: 15.5px
}

.method {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px
}

.method h2 {
  color: #fff
}

.method p {
  color: #AFBBDA;
  margin-top: 18px;
  font-size: 16.5px
}

.scales {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.scale-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px
}

.scale-row span {
  width: 190px;
  flex-shrink: 0;
  color: #DDE4F2
}

.scale-track {
  flex: 1;
  height: 10px;
  background: #16295B;
  border-radius: 999px;
  overflow: hidden
}

.scale-fill {
  height: 100%;
  background: var(--mint);
  border-radius: 999px
}

.scale-row b {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--mint);
  width: 34px;
  text-align: right
}

/* новости */
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  transition: transform .15s ease, border-color .15s
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink)
}

.news-cover {
  aspect-ratio: 16/9;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  font-family: var(--mono);
  font-size: 13px;
  background-size: cover;
  background-repeat: no-repeat;
}

.news-cover.c-mint {
  background: var(--mint);
  color: var(--ink)
}

.news-cover.c-ink {
  background: var(--ink);
  color: var(--mint)
}

.news-cover.c-grey {
  background: #DDE3EE;
  color: var(--ink)
}

.news-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1
}

.news-date {
  font-size: 13.5px;
  color: var(--muted-2);
  font-weight: 500
}

.news-body h3 {
  font-size: 19px
}

.news-body p {
  font-size: 15px
}

/* CTA */
.cta {
  background: var(--mint);
  border-radius: var(--r-lg);
  padding: 64px 56px;
  text-align: center
}

.cta h2 {
  max-width: 640px;
  margin: 0 auto 16px
}

.cta p {
  color: #0A3D33;
  max-width: 520px;
  margin: 0 auto 32px
}

/* фонд */
.fund {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  flex-wrap: wrap
}

.card.fund {
  padding: 19px 29px 19px 40px;
}

.fund img {
  height: 92px;
  width: auto;
}

.fund-mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  flex-shrink: 0;
  letter-spacing: -.03em;
}

.fund p {
  max-width: 640px
}

/* ============================================================
   НОВОСТИ: список и детальная
   ============================================================ */
.page-head {
  padding: 72px 0 16px
}

.page-head-sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 60ch;
  margin-top: 14px
}

/* фильтр по темам */
.topic-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 34px 0 0
}

.topic-chip {
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s
}

.topic-chip:hover {
  border-color: var(--ink)
}

.topic-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff
}

/* тег темы на карточке и в статье */
.topic-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 5px 12px;
  border-radius: 999px
}

.t-aggression {
  background: var(--bad-bg);
  color: #B4402C
}

.t-bullying {
  background: var(--warn-bg);
  color: #9A6B12
}

.t-addiction {
  background: var(--ok-bg);
  color: #1C7A57
}

.topic-empty {
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
  font-size: 16px
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 32px 0 0
}

/* врезка и CTA в детальной статье */
.note-box {
  background: var(--ok-bg);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 8px 0 28px;
  font-size: 16px;
  line-height: 1.65;
  color: #1C4F3E
}

.note-box b {
  color: var(--ink)
}

.article-cta {
  text-align: center;
  padding: 40px 32px;
  margin-top: 48px
}

.article-cta h3 {
  font-size: 22px;
  max-width: 460px;
  margin: 0 auto 10px
}

.article-cta p {
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 24px
}

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 0
}

.article h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  margin: 14px 0 28px
}

.article-cover {
  border-radius: var(--r-lg);
  margin: 8px 0 40px
}

.article-cover-photo {
  aspect-ratio: 21/9;
  border-radius: var(--r-lg);
  margin: 8px 0 40px;
  background-size: cover;
  background-position: center;
}

.article-body p {
  font-size: 17.5px;
  line-height: 1.7;
  color: #2A3450;
  margin-bottom: 22px
}

.article-body h2 {
  font-size: 26px;
  margin: 40px 0 16px
}

.article-body ul {
  margin: 0 0 22px 22px;
  color: #2A3450;
  font-size: 17.5px;
  line-height: 1.7
}

.article-body blockquote {
  border-left: 4px solid var(--mint);
  padding: 6px 0 6px 24px;
  margin: 32px 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.article-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 32px;
}

/* ============================================================
   ЛИЧНЫЙ КАБИНЕТ
   ============================================================ */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px
}

.auth-card {
  width: 440px;
  max-width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 44px 40px 40px;
  text-align: center
}

.auth-card .logo {
  height: 24px;
  margin: 0 auto 36px;
  width: auto
}

.auth-card h1 {
  font-size: 27px;
  margin-bottom: 10px
}

.auth-card .sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 30px
}

.field {
  text-align: left;
  margin-bottom: 18px
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink)
}

.field input, .field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: 16px;
  background: #FAFBFD;
  transition: border-color .15s;
}

.field input:focus, .field textarea:focus {
  border-color: var(--ink);
  outline: none;
  background: #fff
}

.field textarea {
  resize: vertical;
  min-height: 96px
}

.auth-card .btn {
  width: 100%
}

.consent-field {
  margin-bottom: 22px
}

.field .consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  text-align: left;
}

.field .consent-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.consent-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  background: #FAFBFD;
  position: relative;
  transition: border-color .15s, background-color .15s;
  display: block;
}

.consent-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity .1s;
}

.consent-native:checked + .consent-box {
  background: var(--mint);
  border-color: var(--mint);
}

.consent-native:checked + .consent-box::after {
  opacity: 1;
}

.consent-native:focus-visible + .consent-box {
  outline: 2px solid var(--mint-dark);
  outline-offset: 2px;
}

.consent-text {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.consent-text a {
  color: var(--ink);
  text-decoration: underline;
}

.consent-field.invalid .consent-box {
  border-color: var(--bad);
  background: var(--bad-bg)
}

.auth-alt {
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--muted)
}

.auth-alt button {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px
}

.code-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 26px 0
}

.code-inputs input {
  width: 52px;
  height: 64px;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  font-family: var(--mono);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #FAFBFD;
}

.code-inputs input:focus {
  border-color: var(--ink);
  outline: none;
  background: #fff
}

.code-inputs input.err {
  border-color: var(--bad);
  background: var(--bad-bg)
}

.auth-error {
  display: none;
  color: var(--bad);
  font-size: 14px;
  font-weight: 500;
  margin: -10px 0 16px
}

.auth-error.show {
  display: block
}

.demo-hint {
  margin-top: 26px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: var(--canvas);
  font-size: 13px;
  color: var(--muted)
}

.demo-hint b {
  font-family: var(--mono);
  color: var(--ink)
}

/* каркас кабинета */
.cab {
  display: none;
  min-height: 100vh
}

.cab.active {
  display: grid;
  grid-template-columns: 280px 1fr
}

.sidebar {
  background: var(--card);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar .logo {
  height: 20px;
  width: auto;
  margin: 6px 8px 40px
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px
}

.side-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  transition: background .15s, color .15s;
}

.side-nav button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  flex-shrink: 0
}

.side-nav button:hover {
  background: var(--canvas);
  color: var(--ink)
}

.side-nav button.active {
  background: var(--ink);
  color: #fff
}

.side-account {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.avatar-btn {
  border-radius: 50%;
  padding: 0
}

.acc-meta {
  min-width: 0;
  flex: 1
}

.acc-email {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.acc-role {
  font-size: 12.5px;
  color: var(--muted-2)
}

.logout {
  color: var(--muted);
  padding: 8px;
  border-radius: 10px;
  flex-shrink: 0
}

.logout:hover {
  color: var(--bad);
  background: var(--bad-bg)
}

.logout svg {
  width: 19px;
  height: 19px;
  stroke: currentColor
}

/* выбор аватара */
.avatar-pop {
  display: none;
  position: absolute;
  bottom: 76px;
  left: 20px;
  z-index: 40;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
  width: 238px;
  box-shadow: 0 12px 32px rgba(7, 22, 56, .12);
}

.avatar-pop.open {
  display: block
}

.avatar-pop h5 {
  font-size: 13px;
  margin-bottom: 12px
}

.avatar-set {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px
}

.avatar-set button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 800;
  color: var(--ink)
}

.avatar-upload {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px
}

.main {
  padding: 44px 48px;
  min-width: 0
}

.main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap
}

.main-head h1 {
  font-size: 30px
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--muted);
}

.pill b {
  color: var(--ink);
  font-family: var(--mono)
}

.cab-section {
  display: none
}

.cab-section.active {
  display: block
}

/* аналитика: список */
.sess-list {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.sess-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 24px;
  text-align: left;
  transition: border-color .15s, transform .12s;
  width: 100%;
}

.sess-row:hover {
  border-color: var(--ink);
  transform: translateY(-1px)
}

.sess-code {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  background: var(--canvas);
  padding: 6px 12px;
  border-radius: 8px
}

.sess-name {
  font-weight: 600;
  font-size: 15.5px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.sess-date {
  font-size: 14px;
  color: var(--muted)
}

.badge {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px
}

.badge.ok {
  background: var(--ok-bg);
  color: var(--ok)
}

.badge.warn {
  background: var(--warn-bg);
  color: var(--warn)
}

.badge.bad {
  background: var(--bad-bg);
  color: var(--bad)
}

.chev {
  color: var(--muted-2)
}

.pempty {
  border: 1.5px dashed var(--line);
  border-radius: var(--r-lg);
  padding: 72px 32px;
  text-align: center;
  background: transparent;
}

.pempty .empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px
}

.pempty h3 {
  margin-bottom: 8px
}

.pempty p {
  color: var(--muted);
  max-width: 380px;
  margin: 0 auto 26px
}

/* отчет */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 22px
}

.back-link:hover {
  color: var(--ink)
}

.report {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.report-meta {
  display: flex;
  gap: 36px;
  flex-wrap: wrap
}

.report-meta div span {
  display: block;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted-2);
  font-weight: 700;
  margin-bottom: 6px
}

.report-meta div b {
  font-size: 17px;
  font-weight: 700
}

.report-meta .mono {
  font-family: var(--mono)
}

.risk-card {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap
}

.risk-dial {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  font-family: var(--mono);
  flex-shrink: 0;
  color: #fff;
}

.risk-dial.ok {
  background: var(--ok)
}

.risk-dial.warn {
  background: var(--warn)
}

.risk-dial.bad {
  background: var(--bad)
}

.risk-info h3 {
  font-size: 23px;
  margin-bottom: 6px
}

.risk-info p {
  max-width: 560px
}

.scale-block {
  display: flex;
  flex-direction: column;
  gap: 18px
}

.rscale {
  display: grid;
  grid-template-columns: 220px 1fr 92px;
  gap: 18px;
  align-items: center
}

.rscale-name {
  font-weight: 600;
  font-size: 15px
}

.rscale-track {
  height: 12px;
  background: var(--canvas);
  border-radius: 999px;
  overflow: hidden
}

.rscale-fill {
  height: 100%;
  border-radius: 999px;
  transition: width .6s ease
}

.rscale-fill.ok {
  background: var(--ok)
}

.rscale-fill.warn {
  background: var(--warn)
}

.rscale-fill.bad {
  background: var(--bad)
}

.rscale-val {
  font-family: var(--mono);
  font-weight: 700;
  text-align: right;
  font-size: 15px
}

.rscale-val small {
  display: block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 12px;
  color: var(--muted-2)
}

.rec-list, .zone-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px
}

.rec-item {
  display: flex;
  gap: 14px;
  font-size: 15.5px;
  color: #2A3450;
  line-height: 1.55
}

.rec-item i {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
  margin-top: 2px;
}

.zone-item i {
  background: var(--warn-bg);
  color: var(--warn)
}

.answers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px
}

.answers-table th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted-2);
  padding: 10px 14px;
  border-bottom: 1.5px solid var(--line);
}

.answers-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: #2A3450
}

.answers-table tr:last-child td {
  border-bottom: none
}

.answers-table .pts {
  font-family: var(--mono);
  font-weight: 700;
  white-space: nowrap
}

.ans-chip {
  display: inline-block;
  background: var(--canvas);
  border-radius: 8px;
  padding: 4px 10px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink)
}

/* новая игра */
.newgame-hero {
  padding: 56px 40px;
  text-align: center
}

.newgame-hero h2 {
  margin-bottom: 10px
}

.newgame-hero p {
  max-width: 440px;
  margin: 0 auto 30px
}

.session-card {
  padding: 0;
  overflow: hidden
}

.session-code-band {
  background: var(--ink);
  padding: 40px;
  text-align: center
}

.session-code-band span {
  display: block;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #7787AF;
  font-weight: 700;
  margin-bottom: 14px
}

.session-code-band b {
  font-family: var(--mono);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  color: var(--mint);
  letter-spacing: .04em
}

.session-info {
  padding: 30px 36px
}

.session-info .row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  flex-wrap: wrap
}

.session-info .row:last-of-type {
  border-bottom: none
}

.session-info .row span {
  color: var(--muted)
}

.session-info .row b {
  font-weight: 600;
  text-align: right
}

.session-info .row .mono {
  font-family: var(--mono);
  font-size: 14px
}

.session-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 36px 32px
}

.expiry-note {
  display: flex;
  gap: 12px;
  background: var(--canvas);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  margin: 18px 36px 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5
}

/* справка */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px
}

.help-grid-2 {
  grid-template-columns: repeat(2, 1fr)
}

.help-card h4 {
  font-size: 17px;
  margin: 16px 0 8px
}

.help-card p {
  font-size: 14.5px
}

.help-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center
}

.help-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--ink)
}

.help-icon.dark {
  background: var(--ink)
}

.help-icon.dark svg {
  stroke: var(--mint)
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.acc-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden
}

.acc-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  text-align: left
}

.acc-head svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  transition: transform .2s;
  flex-shrink: 0
}

.acc-item.open .acc-head svg {
  transform: rotate(45deg)
}

.acc-body {
  display: none;
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 720px
}

.acc-item.open .acc-body {
  display: block
}

/* модалка и тост */
.modal-back {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 22, 56, .55);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-back.open {
  display: flex
}

.modal {
  width: 460px;
  max-width: 100%;
  background: var(--canvas);
  border-radius: var(--r-lg);
  padding: 44px 36px 40px;
  text-align: center;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--muted)
}

.modal .logo {
  height: 20px;
  margin: 0 auto 30px;
  width: auto
}

.modal h3 {
  font-size: 23px;
  margin-bottom: 10px
}

.modal p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 26px
}

/* --- образовательные материалы: видео-слайдер --- */
.edu-head-nav {
  display: flex;
  align-items: center;
  gap: 10px
}

.edu-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ink);
  transition: all .15s;
  flex-shrink: 0;
}

.edu-arrow:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink)
}

.edu-arrow:disabled {
  opacity: .35;
  cursor: default
}

.edu-arrow:disabled:hover {
  background: #fff;
  color: var(--ink);
  border-color: var(--line)
}

.edu-slider {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 4px 8px;
  margin: 0 -4px;
}

.edu-slider::-webkit-scrollbar {
  display: none
}

.edu-card {
  position: relative;
  flex: 0 0 292px;
  aspect-ratio: 3/4.1;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 22px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .15s ease;
}

.edu-card:hover {
  transform: translateY(-4px)
}

.edu-card:hover .edu-play {
  transform: scale(1.08)
}

.edu-card.c-ink {
  background: var(--ink);
  color: #fff
}

.edu-card.c-mint {
  background: var(--mint);
  color: var(--ink)
}

.edu-card.c-grey {
  background: #DDE3EE;
  color: var(--ink)
}

.edu-card.c-ink .edu-cat {
  border-color: rgba(255, 255, 255, .35);
  color: #DDE4F2
}

.block-empty {
  height: 30px;
}

.edu-cat {
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid rgba(7, 22, 56, .28);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}

.edu-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.28;
  max-width: 230px;
  max-height: 80px;
  height: 100%;
}

.edu-play {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin: 22px 0 10px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(7, 22, 56, .22);
  transition: transform .15s ease;
}

.edu-card.c-ink .edu-play {
  background: var(--mint)
}

.edu-play svg {
  width: 20px;
  height: 20px;
  margin-left: 3px
}

.edu-time {
  font-family: var(--mono);
  font-size: 13px;
  opacity: .75;
  margin-bottom: auto
}

.edu-desc {
  font-size: 13.5px;
  line-height: 1.45;
  opacity: .82;
  font-weight: 500;
  margin-top: auto;
}

.edu-glyph {
  position: absolute;
  inset: auto -30px -34px auto;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 120px;
  line-height: 1;
  opacity: .09;
  pointer-events: none;
  user-select: none;
}

/* --- модалка видео --- */
.video-modal .modal {
  width: min(860px, 100%);
  padding: 20px 20px 24px;
  background: var(--ink);
  text-align: left;
}

.video-modal .modal-close {
  background: rgba(255, 255, 255, .12);
  border: none;
  color: #fff;
  z-index: 5
}

.video-frame {
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: #0B1D47;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
}

.video-frame iframe, .video-frame video {
  width: 100%;
  height: 100%;
  border: none;
  display: block
}

.video-stub {
  color: #7787AF;
  font-family: var(--mono);
  font-size: 13.5px;
  text-align: center;
  padding: 0 24px;
  line-height: 1.7
}

.video-stub b {
  color: var(--mint);
  font-weight: 500
}

.video-modal h3 {
  color: #fff;
  font-size: 19px;
  margin: 18px 4px 4px
}

.video-modal .video-meta {
  color: #7787AF;
  font-family: var(--mono);
  font-size: 12.5px;
  margin: 0 4px
}

@media(max-width:560px) {
  .edu-card {
    flex-basis: 248px;
    padding: 20px 18px
  }
  .edu-title {
    font-size: 17px;
    max-height: 50px;
  }
}

.preview-code {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px
}

.preview-code b {
  width: 56px;
  height: 66px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
}

.modal .btn {
  width: 100%
}

.modal-tag {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted-2)
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px 24px;
  border-radius: 999px;
  z-index: 200;
  transition: all .25s ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1
}

/* форма создания сессии */
.create-form {
  max-width: 560px
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap
}

.req {
  color: var(--bad)
}

.field-err {
  display: none;
  font-size: 13px;
  color: var(--bad);
  margin-top: 6px;
  font-weight: 500
}

.field.invalid input {
  border-color: var(--bad);
  background: var(--bad-bg)
}

.field.invalid .field-err {
  display: block
}

/* мобильный кабинет / адаптив */
@media(max-width:1060px) {
  .hero-grid, .method {
    grid-template-columns: 1fr
  }

  .grid-3, .news-list, .help-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .main {
    padding: 32px 24px
  }

  .rscale {
    grid-template-columns: 1fr;
    gap: 8px
  }

  .rscale-val {
    text-align: left
  }
}

@media(max-width:1058px) {
  .site-nav, .header-cta {
    display: none
  }

  .burger {
    display: flex
  }

  .site-nav.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }

  .cab.active {
    grid-template-columns: 1fr
  }

  .sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--line)
  }

  .sidebar .logo {
    margin: 0 12px 0 0;
    height: 16px
  }

  .side-nav {
    flex-direction: row;
    flex: 1
  }

  .side-nav button {
    padding: 9px 12px;
    font-size: 13.5px
  }

  .side-nav button svg {
    display: none
  }

  .side-account {
    margin: 0;
    border: none;
    padding: 0
  }

  .acc-meta {
    display: none
  }

  .avatar-pop {
    bottom: auto;
    top: 64px;
    right: 16px;
    left: auto
  }

  .sess-row {
    grid-template-columns: 1fr auto;
    gap: 8px
  }

  .sess-date, .chev {
    display: none
  }

  .method {
    padding: 32px
  }

  .scale-row span {
    width: 130px;
    font-size: 13.5px
  }

  .cta {
    padding: 44px 24px
  }
}

@media(max-width:560px) {
  .grid-3, .grid-2, .news-list, .help-grid {
    grid-template-columns: 1fr
  }

  .code-inputs input {
    width: 44px;
    height: 56px;
    font-size: 22px
  }

  .preview-code b {
    width: 48px;
    height: 58px;
    font-size: 22px
  }

  .session-actions {
    padding: 0 24px 26px
  }

  .session-info {
    padding: 22px 24px
  }

  .expiry-note {
    margin: 14px 24px 0
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* End */
/* /local/templates/prosto/css/styles.css?178721877437598 */
