*{box-sizing:border-box}body{margin:0;font:16px/1.5 system-ui,sans-serif}button,a{touch-action:manipulation}a{color:#1f4f8f}button{font:inherit;cursor:pointer;padding:.55rem .9rem;border:1px solid #cbd5e1;border-radius:.5rem;background:white;color:#12315c}button:disabled{cursor:wait;opacity:.6}button[hidden],[hidden]{display:none!important}.container{width:min(1240px,94%);margin:auto}body>nav{display:flex;align-items:center;justify-content:space-between;gap:1rem}body>nav ul{display:flex;gap:1rem;list-style:none;padding:0;margin:.7rem 0}h1,h2,h3,p{margin-top:0}summary{cursor:pointer}footer{text-align:center;padding:2rem;color:#526174}#load-more{display:block;margin:1.5rem auto}#feed-status{min-height:1.5rem;text-align:center}#feed-sentinel{height:1px}.release-entry{scroll-margin-top:6rem}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #0284c7;outline-offset:3px}.release-toc-list,.release-toc-sections{list-style:none;padding-left:0}.release-sidebar{overflow:auto}.task-item a{overflow-wrap:anywhere}img{max-width:100%}

    :root {
      --brand: #1f4f8f;
      --brand-dark: #12315c;
      --ok: #16a34a;
      --fix: #0284c7;
      --change: #7c3aed;
      --control: #dc2626;
      --text-soft: #526174;
      --border: rgba(100, 116, 139, .18);
      --card: rgba(255, 255, 255, .94);

      --onec-red: #e21a1a;
      --onec-yellow: #ffd91a;
      --onec-yellow-soft: rgba(255, 217, 26, .18);
      --onec-gold: #e7b900;
      --onec-dark: #3a2f00;
      --header-offset: 6rem;
    }

    html { scroll-behavior: smooth; }

    body {
      background:
        radial-gradient(circle at top left, rgba(255, 217, 26, .2), transparent 24rem),
        radial-gradient(circle at top right, rgba(226, 26, 26, .08), transparent 22rem),
        linear-gradient(180deg, #f8fafc 0%, #eef4fb 50%, #f8fafc 100%);
      color: #172033;
    }

    nav.container-fluid {
      position: sticky;
      top: 0;
      z-index: 30;
      padding: .15rem 2rem;
      border-bottom: 1px solid var(--border);
      background: rgba(255, 255, 255, .9);
      backdrop-filter: blur(14px);
    }

    .brand {
      display: inline-flex;
      align-items: center;
      color: var(--brand-dark);
    }

    .brand img {
      width: 82px;
      height: auto;
      display: block;
    }

    main.container {
      padding-top: 1.6rem;
      padding-bottom: 2.2rem;
    }

    nav.container-fluid ul { margin-bottom: 0; }
    nav.container-fluid a { font-size: .86rem; }

    .hero {
      position: relative;
      overflow: hidden;
      padding: clamp(1.2rem, 3vw, 2.1rem);
      border: 1px solid var(--border);
      border-radius: 1.25rem;
      background:
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .86)),
        linear-gradient(135deg, rgba(255, 217, 26, .18), rgba(226, 26, 26, .045));
      box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
      margin-bottom: .75rem;
    }

    .hero::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 8px;
      background: linear-gradient(90deg, var(--onec-red), var(--onec-yellow), var(--onec-red));
      z-index: 2;
    }

    .hero::after {
      content: "1C";
      position: absolute;
      right: -1.5rem;
      bottom: -2.7rem;
      color: rgba(226, 26, 26, .055);
      font-size: clamp(7rem, 18vw, 14rem);
      font-weight: 900;
      line-height: 1;
      letter-spacing: -.12em;
      z-index: 0;
      pointer-events: none;
    }

    .hero > * {
      position: relative;
      z-index: 1;
    }

    .onec-badge {
      position: absolute;
      top: 1rem;
      right: 1rem;
      z-index: 3;
      display: inline-flex;
      align-items: center;
      gap: .6rem;
      padding: .32rem .82rem .32rem .38rem;
      border: 1px solid rgba(231, 185, 0, .48);
      border-radius: 999px;
      background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(255, 246, 177, .94));
      color: var(--onec-dark);
      font-size: .82rem;
      font-weight: 900;
      white-space: nowrap;
      box-shadow:
        0 8px 20px rgba(15, 23, 42, .07),
        inset 0 0 0 1px rgba(255,255,255,.7);
    }

    .onec-logo {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2.35rem;
      height: 2.35rem;
      border-radius: 50%;
      flex: 0 0 auto;
      color: var(--onec-red);
      font-size: 1.05rem;
      font-weight: 950;
      letter-spacing: -.12em;
      background:
        radial-gradient(circle at 35% 25%, #fff9a8 0 22%, transparent 23%),
        radial-gradient(circle at 50% 45%, #fff6a6 0 45%, #ffd91a 65%, #e9b800 100%);
      border: 1px solid rgba(231, 185, 0, .75);
      box-shadow:
        0 3px 8px rgba(15, 23, 42, .13),
        inset 0 2px 3px rgba(255,255,255,.75),
        inset 0 -4px 8px rgba(189, 135, 0, .18);
    }

    .onec-logo::before {
      content: "1C";
      transform: translateX(-.05rem);
    }

    .onec-badge-text {
      display: inline-flex;
      flex-direction: column;
      gap: .02rem;
      line-height: 1.05;
    }

    .onec-badge-text strong {
      color: #2b2b2b;
      font-size: .84rem;
    }

    .onec-badge-text small {
      color: #6b5a00;
      font-size: .68rem;
      font-weight: 800;
    }

    .hero-release-switch {
      display: flex;
      flex-wrap: wrap;
      gap: .4rem;
      align-items: center;
      margin-bottom: .4rem;
      padding-right: 13.5rem;
    }

    .release-button {
      flex: 0 0 auto;
      margin: 0;
      border: 1px solid var(--border);
      border-radius: 999px;
      background: #fff;
      color: #334155;
      font-weight: 800;
      line-height: 1.15;
      cursor: pointer;
      width: auto;
      transition:
        background .16s ease,
        border-color .16s ease,
        color .16s ease,
        transform .16s ease,
        opacity .16s ease,
        box-shadow .16s ease;
    }

    .release-button.is-latest {
      padding: .34rem .72rem;
      font-size: .86rem;
      transform: scale(1);
    }

    .release-button.is-old {
      padding: .24rem .56rem;
      font-size: .74rem;
      transform: scale(.92);
      opacity: .72;
    }

    .release-button.active {
      background: linear-gradient(135deg, var(--brand), #2b67b9);
      border-color: var(--brand);
      color: #fff;
      opacity: 1;
      box-shadow: 0 6px 18px rgba(31, 79, 143, .18);
    }

    .release-button.is-latest::after {
      content: " · свежий";
      font-weight: 600;
      opacity: .85;
    }

    .release-button.is-old::after {
      content: " · прошлый";
      font-weight: 600;
      opacity: .75;
    }

    .release-button:hover {
      border-color: rgba(31, 79, 143, .42);
      opacity: 1;
    }

    .hero h1 {
      max-width: 920px;
      margin-bottom: .35rem;
      font-size: clamp(1.9rem, 4vw, 3.4rem);
      letter-spacing: -.052em;
      color: #0f172a;
    }

    .hero h3 {
      margin-bottom: .5rem;
      color: #334155;
      font-size: clamp(.98rem, 1.8vw, 1.25rem);
    }

    .hero p {
      max-width: 980px;
      margin-bottom: 0;
      color: var(--text-soft);
      font-size: .97rem;
      line-height: 1.55;
    }

    .filter-panel {
      position: sticky;
      top: 3.8rem;
      z-index: 25;
      margin-bottom: .75rem;
      padding: .55rem .65rem;
      border: 1px solid var(--border);
      border-radius: .85rem;
      background: rgba(255, 255, 255, .92);
      backdrop-filter: blur(14px);
      box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
    }

    .filter-row {
      display: flex;
      flex-wrap: nowrap;
      gap: .35rem;
      align-items: center;
      overflow-x: auto;
      scrollbar-width: thin;
      padding-bottom: .05rem;
    }

    .filter-label {
      flex: 0 0 auto;
      margin-right: .1rem;
      color: #334155;
      font-weight: 800;
      font-size: .82rem;
    }

    .filter-button {
      flex: 0 0 auto;
      margin: 0;
      padding: .24rem .52rem;
      border: 1px solid var(--border);
      border-radius: 999px;
      background: #fff;
      color: #334155;
      font-size: .78rem;
      font-weight: 700;
      line-height: 1.15;
      cursor: pointer;
      width: auto;
      transition: background .16s ease, border-color .16s ease, color .16s ease;
    }

    .filter-button:hover {
      border-color: rgba(31, 79, 143, .42);
    }

    .filter-button.active {
      background: var(--brand);
      border-color: var(--brand);
      color: #fff;
    }

    .summary-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: .5rem;
      margin: .75rem 0;
    }

    .summary-item {
      padding: .65rem .75rem;
      border: 1px solid var(--border);
      border-radius: .8rem;
      background: rgba(255, 255, 255, .84);
    }

    .summary-item strong {
      display: block;
      color: var(--brand-dark);
      font-size: 1.18rem;
      line-height: 1;
    }

    .summary-item span {
      color: var(--text-soft);
      font-size: .78rem;
    }

    .release-card {
      padding: clamp(.8rem, 2vw, 1.2rem);
      border: 1px solid var(--border);
      border-radius: 1.05rem;
      background: var(--card);
      box-shadow: 0 10px 24px rgba(15, 23, 42, .045);
    }

    .section-title {
      display: flex;
      align-items: center;
      gap: .45rem;
      margin-top: 1rem;
      margin-bottom: .45rem;
      padding-top: .75rem;
      border-top: 1px solid var(--border);
      color: #0f172a;
      font-size: 1.12rem;
    }

    .release-section:first-of-type .section-title {
      margin-top: 0;
      padding-top: 0;
      border-top: 0;
    }

    .changes-grid {
      display: grid;
      gap: 5px;
    }

    .change-item {
      margin-top: 5px;
      margin-bottom: 5px;
      padding: .65rem .75rem;
      border: 1px solid rgba(100, 116, 139, .16);
      border-radius: .75rem;
      background: #fff;
      box-shadow: none;
    }

    .change-title {
      display: flex;
      align-items: center;
      gap: .45rem;
      margin-bottom: .2rem;
    }

    .change-title strong {
      color: #172033;
      line-height: 1.3;
      font-size: .96rem;
    }

    .change-item p {
      margin-bottom: 0;
      color: #475569;
      line-height: 1.48;
      font-size: .9rem;
    }

    .tag {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 66px;
      padding: .12rem .42rem;
      border: 1px solid currentColor;
      border-radius: 999px;
      font-size: .64rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .02em;
    }

    .tag.added {
      color: var(--ok);
      background: rgba(22, 163, 74, .07);
    }

    .tag.changed {
      color: var(--change);
      background: rgba(124, 58, 237, .07);
    }

    .tag.fixed {
      color: var(--fix);
      background: rgba(2, 132, 199, .07);
    }

    .tag.control {
      color: var(--control);
      background: rgba(220, 38, 38, .07);
    }

    details.tasks {
      margin-bottom: .9rem;
      border: 1px solid rgba(255, 217, 26, .42);
      border-radius: .85rem;
      background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255, 250, 220, .92));
      overflow: hidden;
    }

    details.tasks summary {
      padding: .7rem .85rem;
      cursor: pointer;
      color: var(--onec-dark);
      font-weight: 800;
      background: linear-gradient(90deg, rgba(255, 217, 26, .18), rgba(255,255,255,0));
    }

    .task-list {
      display: grid;
      gap: 5px;
      padding: 0 .85rem .85rem;
    }

    .task-item {
      display: flex;
      gap: .55rem;
      align-items: flex-start;
      padding: .55rem .65rem;
      border: 1px solid rgba(100, 116, 139, .16);
      border-radius: .7rem;
      background: #fff;
      font-size: .9rem;
    }

    .task-id {
      flex: 0 0 auto;
      color: var(--brand);
      font-weight: 800;
    }

    .task-item a {
      color: #334155;
      text-decoration: none;
    }

    .task-item a:hover {
      color: var(--brand);
      text-decoration: underline;
    }

    .task-status {
      flex: 0 0 auto;
      margin-left: auto;
      padding: .14rem .45rem;
      border: 1px solid rgba(100, 116, 139, .24);
      border-radius: 999px;
      color: #475569;
      background: #f8fafc;
      font-size: .72rem;
      font-weight: 750;
      line-height: 1.35;
      white-space: nowrap;
    }

    .task-status.ready {
      color: #166534;
      border-color: rgba(22, 101, 52, .22);
      background: #f0fdf4;
    }

    .task-status.active {
      color: #1d4ed8;
      border-color: rgba(29, 78, 216, .22);
      background: #eff6ff;
    }

    .task-status.paused {
      color: #9a3412;
      border-color: rgba(154, 52, 18, .22);
      background: #fff7ed;
    }

    .task-status.feedback {
      color: #7e22ce;
      border-color: rgba(126, 34, 206, .22);
      background: #faf5ff;
    }

    footer.container {
      padding-bottom: 1.3rem;
      color: var(--text-soft);
    }

    @media (max-width: 900px) {
      nav.container-fluid {
        padding: .65rem 1rem;
      }

      nav.container-fluid ul:last-child li:not(:last-child) {
        display: none;
      }

      .brand img {
        width: 108px;
      }

      main.container {
        padding-top: 1.1rem;
      }

      .filter-panel {
        position: static;
      }

      .summary-strip {
        grid-template-columns: repeat(2, 1fr);
      }

      .change-title {
        align-items: flex-start;
      }

      .hero-release-switch {
        padding-right: 10rem;
      }

      .onec-badge {
        top: .85rem;
        right: .85rem;
        font-size: .76rem;
        padding: .25rem .58rem .25rem .28rem;
      }

      .onec-logo {
        width: 1.95rem;
        height: 1.95rem;
        font-size: .9rem;
      }
    }

    @media (max-width: 560px) {
      .hero {
        padding-top: 3.35rem;
      }

      .hero-release-switch {
        padding-right: 0;
      }

      .onec-badge {
        top: .7rem;
        right: .7rem;
        font-size: .68rem;
        padding: .22rem .5rem .22rem .24rem;
      }

      .onec-logo {
        width: 1.75rem;
        height: 1.75rem;
        font-size: .8rem;
      }

      .summary-strip {
        grid-template-columns: 1fr;
      }

      .tag {
        min-width: auto;
      }
    }

    .release-layout { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: 1.25rem; align-items: start; }
    .release-feed { min-width: 0; }
    #sections, .release-entry, .release-section, .tasks { scroll-margin-top: var(--header-offset); }
    .release-entry { margin: 0 0 1.5rem; padding: 0; border: 0; background: transparent; box-shadow: none; }
    .release-entry .hero { margin-bottom: .75rem; }
    .release-entry .summary-strip { margin-bottom: .75rem; }
    .release-entry h2 { color: var(--brand-dark); }
    .release-entry h2 small { color: var(--brand); font-size: .7rem; text-transform: uppercase; }
    .release-sidebar {
      position: sticky;
      top: 5.25rem;
      max-height: calc(100vh - 6.25rem);
      overflow: auto;
      padding: .9rem;
      border: 1px solid var(--border);
      border-radius: 1rem;
      background: rgba(255, 255, 255, .94);
      box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    }
    .release-toc-list, .release-toc-sections { margin: 0; padding: 0; list-style: none; }
    .release-toc-item + .release-toc-item { margin-top: .85rem; padding-top: .85rem; border-top: 1px solid var(--border); }
    .release-toc-date, .release-toc-link { display: block; border-radius: .45rem; color: #475569; text-decoration: none; }
    .release-toc-date { padding: .25rem .35rem; color: var(--brand-dark); font-weight: 850; }
    .release-toc-caption { display: block; margin: .35rem .35rem .15rem; color: #94a3b8; font-size: .65rem; font-weight: 850; letter-spacing: .08em; }
    .release-toc-link { padding: .22rem .35rem .22rem .8rem; font-size: .82rem; }
    .release-toc-date:hover, .release-toc-link:hover,
    .release-toc-date[aria-current="location"], .release-toc-link[aria-current="location"] { background: rgba(31, 79, 143, .1); color: var(--brand); }
    .release-toc-date:focus-visible, .release-toc-link:focus-visible, #toc-toggle:focus-visible { outline: 3px solid rgba(31, 79, 143, .3); outline-offset: 2px; }
    #toc-toggle, .toc-backdrop { display: none; }
    .site-hero { padding-top: 1.05rem; padding-bottom: .9rem; }
    .site-hero hgroup { margin-bottom: 0; }
    .site-hero h1 { font-size: clamp(1.75rem, 4vw, 2.55rem); }
    .site-hero h3 { margin-bottom: 0; font-size: 1rem; }

    @media (max-width: 900px) {
      .release-layout { display: block; }
      #toc-toggle {
        display: inline-flex; position: fixed; right: 1rem; bottom: 1rem; z-index: 45;
        width: auto; margin: 0; padding: .65rem 1rem; border-radius: 999px;
        background: var(--brand); color: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .22);
      }
      .release-sidebar {
        position: fixed; z-index: 50; inset: 0 0 0 auto; width: min(88vw, 21rem);
        max-height: none; border-radius: 0; transform: translateX(105%); transition: transform .2s ease;
      }
      body.toc-open .release-sidebar { transform: translateX(0); }
      .toc-backdrop { position: fixed; z-index: 49; inset: 0; width: 100%; margin: 0; border: 0; border-radius: 0; background: rgba(15, 23, 42, .38); }
      body.toc-open .toc-backdrop { display: block; }
    }
@media(min-width:901px){.release-layout{grid-template-columns:260px minmax(0,1fr)}}
#release-toc{display:block}#release-toc ul{display:block}.release-main{min-width:0}
