@layer bricks {@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes scrolling{0%{opacity:1}to{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}}a.brxe-image{display:inline-block}figure.brxe-image{margin:0}:where(.brxe-image).tag{display:inline-block;height:fit-content;position:relative;width:auto}:where(.brxe-image).caption{position:relative}:where(.brxe-image).caption:has(figcaption.bricks-image-caption){overflow:hidden}:where(.brxe-image).overlay{position:relative}:where(.brxe-image).overlay:before{bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}:where(.brxe-image):before{border-radius:inherit}:where(.brxe-image) a{border-radius:inherit;position:static;transition:inherit}:where(.brxe-image) picture{border-radius:inherit;transition:inherit}:where(.brxe-image) img{border-radius:inherit;height:100%;position:static!important;transition:inherit;width:100%}:where(.brxe-image) img.bricks-lazy-hidden+figcaption{display:none}:where(.brxe-image) .icon{color:#fff;font-size:60px;pointer-events:none;position:absolute;right:50%;text-align:center;top:50%;transform:translate(50%,-50%);z-index:5}:where(.brxe-image) .bricks-image-caption{background:linear-gradient(0deg,rgba(0,0,0,.5),rgba(0,0,0,.25) 70%,transparent);bottom:0;color:#fff;font-size:inherit;margin:0;padding:10px 15px;pointer-events:none;position:absolute;text-align:center;width:100%;z-index:1}}@layer bricks {.brxe-post-content{width:100%}.brxe-post-content[data-source=bricks]{display:flex;flex-direction:column}body:has(.wp-lightbox-overlay) #brx-content{overflow:clip}}@layer bricks {:where(.brxe-heading).has-separator{align-items:center;display:inline-flex;gap:20px}:where(.brxe-heading)>[contenteditable]{display:inline-block;text-decoration:inherit}:where(.brxe-heading) .separator{border-top:1px solid;flex-grow:1;flex-shrink:0;height:1px}}@layer bricks {:where(.brxe-post-meta) a{color:currentcolor}}@layer bricks {}@layer bricks {.brxe-shortcode{width:100%}}.tasks { counter-reset: task; --t-line: #D5E2EC; --t-code: #EEF3F7; }.tasks.tasks .task * { margin: 0; }.tasks .task { counter-increment: task; display: grid; gap: var(--space-xs); min-width: 0; padding: var(--space-m) 0; border-bottom: 1px solid var(--t-line);}.tasks .cond { line-height: 1.6; overflow-x: auto; }@media (min-width: 600px) { .tasks .cond { text-align: justify; hyphens: auto; -webkit-hyphens: auto; } }.tasks .cond .n::before { content: counter(task) "."; font-family: "Literata", serif; font-weight: 700; margin-right: .35em; }.tasks .cond .src { color: var(--color-muted); font-size: var(--text-s); font-weight: 500; margin-right: .3em; }@media (min-width: 700px) { .tasks .cond .src { display: inline-block; } }.tasks .opts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; }.tasks .opts span { font-weight: 700; }.tasks .fig { justify-self: center; box-sizing: border-box; max-width: 100%; background: #FFFFFF; padding: 8px; border-radius: 6px; }.tasks .fig img { display: block; max-width: 100%; height: auto; }.tasks details.sol > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; font-size: var(--text-s);}.tasks details.sol > summary::-webkit-details-marker { display: none; }.tasks .sol-label { color: var(--color-link); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }.tasks .sol-label::before { content: "▸"; transition: transform .15s; }.tasks details.sol[open] .sol-label::before { transform: rotate(90deg); }@media (prefers-reduced-motion: reduce) { .tasks .sol-label::before { transition: none; } }.tasks.tasks .diff { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--color-muted); }.tasks .pips { display: inline-flex; gap: 2px; }.tasks .pips i { display: block; width: 7px; height: 12px; border-radius: 1.5px; background: var(--t-line); }.tasks .pips i.on { background: var(--color-text); }.tasks.tasks .sol-body { margin-top: var(--space-xs); padding: 12px 16px; border-left: 2px solid var(--t-line); display: grid; gap: var(--space-xs); line-height: 1.55;}.tasks .sol-body .a { font-weight: 700; }.tasks .sol-fig { justify-self: center; }.tasks pre.column { justify-self: start; max-width: 100%; box-sizing: border-box; overflow-x: auto; font-family: ui-monospace, Consolas, "Liberation Mono", monospace; font-size: .92em; line-height: 1.45; background: var(--t-code); border-radius: 6px; padding: 10px 14px;}.tasks math[display="block"] { overflow-x: auto; overflow-y: hidden; }.olymps { --o-line: #D5E2EC; --o-pad: var(--space-m); --o-arrow: url("https://mathex.ru/wp-content/uploads/2026/07/icon-arrow-forward.svg"); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }.olymps.olymps * { margin: 0 !important; }.olymps br { display: none; }.olymps .olymp { background: #FFFFFF; border: 1px solid var(--o-line); border-radius: 8px; scroll-margin-top: 36px; }.olymps .olymp > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-m); padding: var(--space-s) var(--o-pad); border-radius: 8px; }.olymps .olymp > summary::-webkit-details-marker { display: none; }.olymps .olymp > summary:hover { background: #F6F9FB; }.olymps .olymp > summary:focus-visible { outline: 2px solid var(--color-link); outline-offset: 2px; }.olymps .olymp h3 { grid-area: t; font-size: var(--text-l); line-height: 1.25; hyphens: auto; -webkit-hyphens: auto; }.olymps .meta { grid-area: m; font-size: var(--text-s); line-height: 1.35; color: var(--color-muted); }.olymps .olymp > summary::after { content: "Подробнее"; grid-area: x; justify-self: end; font-size: var(--text-s); font-weight: 500; line-height: 1.35; color: var(--color-link); padding-right: 20px; }.olymps .olymp[open] > summary::after { content: "Свернуть"; }.olymps .olymp > summary::before { content: ""; grid-area: x; justify-self: end; align-self: end; margin-bottom: calc((var(--text-s) * 1.35 - 14px) / 2); width: 14px; height: 14px; background: var(--color-link); -webkit-mask: var(--o-arrow) center / contain no-repeat; mask: var(--o-arrow) center / contain no-repeat; transform: rotate(90deg); }.olymps .olymp[open] > summary::before { transform: rotate(-90deg); }.olymps .olymp > summary:hover::after { text-decoration: underline; text-underline-offset: 3px; }.olymps .lvl { grid-area: l; --off: #D5E2EC; --on: var(--color-link); --c1: var(--off); --c2: var(--off); --c3: var(--off); --c4: var(--off); --c5: var(--off); display: inline-flex; align-items: baseline; gap: 8px; font-size: var(--text-s); line-height: 1.35; color: var(--color-muted); white-space: nowrap; }.olymps .lvl::after { content: ""; flex: none; width: 33px; height: 13px; background: linear-gradient(var(--c1), var(--c1)) 0 100% / 5px 4px no-repeat, linear-gradient(var(--c2), var(--c2)) 7px 100% / 5px 6px no-repeat, linear-gradient(var(--c3), var(--c3)) 14px 100% / 5px 8.5px no-repeat, linear-gradient(var(--c4), var(--c4)) 21px 100% / 5px 11px no-repeat, linear-gradient(var(--c5), var(--c5)) 28px 100% / 5px 13px no-repeat; }.olymps .lvl:is(.lvl-1, .lvl-2, .lvl-3, .lvl-4, .lvl-5) { --c1: var(--on); }.olymps .lvl:is(.lvl-2, .lvl-3, .lvl-4, .lvl-5) { --c2: var(--on); }.olymps .lvl:is(.lvl-3, .lvl-4, .lvl-5) { --c3: var(--on); }.olymps .lvl:is(.lvl-4, .lvl-5) { --c4: var(--on); }.olymps .lvl.lvl-5 { --c5: var(--on); }.olymps.olymps .body { display: grid; gap: var(--space-xs); padding: var(--space-s) var(--o-pad) var(--space-m); line-height: 1.6; }.olymps.olymps .body::before { content: ""; height: 1px; background: var(--o-line); margin-bottom: 2px; }.olymps .olymp > summary { grid-template-areas: "t t" "m m" "l x"; row-gap: 2px; align-items: baseline; }.olymps .lvl { padding-top: var(--space-xs); }@media (min-width: 700px) { .olymps .olymp > summary { grid-template-areas: "t l" "m x"; row-gap: 4px; } .olymps .lvl { padding-top: 0; }}.brxe-text-basic:has(> .olymps) > * + * { margin-block-start: var(--space-m); }#zadaniya, #olimpiady { scroll-margin-top: 86px; }#brxe-6577a5 {margin-bottom: 0}#brxe-15a1d2 {color: var(--color-muted); font-size: var(--text-s); margin-top: var(--space-2xs); margin-bottom: var(--space-2xs); gap: var(--space-m)}#brxe-15a1d2 .separator {color: var(--color-muted)}#brxe-frgjpt {padding-bottom: 0}#brxe-gkifst {padding-top: 24px}#brxe-3a3234 {margin-right: auto; margin-left: auto; max-width: 800px}#brxe-cf106c {padding-top: var(--space-l); padding-bottom: var(--space-l)}@media (max-width: 478px) {#brxe-cf106c {margin-bottom: var(--space-s)}}#brxe-103136 {font-size: var(--text-s); color: var(--color-muted); text-transform: uppercase; margin-top: var(--space-m); margin-bottom: var(--space-m)}@media (max-width: 478px) {#brxe-103136 {margin-top: var(--space-2xs); margin-bottom: var(--space-2xs)}}.brxe-tkynzx {width: 150px; flex-shrink: 0; align-self: stretch; height: 200px}.brxe-tkynzx:not(.tag), .brxe-tkynzx img {object-fit: cover}@media (max-width: 991px) {.brxe-tkynzx {width: 100px}}@media (max-width: 767px) {.brxe-tkynzx {height: 125px}}.brxe-caxbbu {font-size: var(--text-m); color: var(--color-link); margin-bottom: var(--space-m)}@media (max-width: 991px) {.brxe-caxbbu {margin-bottom: var(--space-xs)}}@media (max-width: 767px) {.brxe-caxbbu {font-size: var(--text-s); margin-bottom: var(--space-2xs)}}.brxe-lcqcly {font-size: var(--text-s); color: var(--color-muted); line-height: 1.5}@media (max-width: 991px) {.brxe-lcqcly {font-size: var(--text-s)}}@media (max-width: 767px) {.brxe-lcqcly {font-size: var(--text-xs)}}.brxe-ygtbpt {column-gap: var(--space-2xs); min-width: 0px; padding-top: var(--space-m); padding-right: var(--space-m); padding-bottom: var(--space-m); padding-left: var(--space-m)}@media (max-width: 991px) {.brxe-ygtbpt {padding-top: var(--space-s); padding-right: var(--space-m); padding-bottom: var(--space-s); padding-left: var(--space-m)}}@media (max-width: 767px) {.brxe-ygtbpt {padding-top: var(--space-s); padding-right: var(--space-s); padding-bottom: var(--space-xs); padding-left: var(--space-s)}}.brxe-myintr {border-radius: 20px; flex-direction: row; flex-wrap: nowrap; background-color: var(--color-surface); padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; height: 200px; overflow: hidden}@media (max-width: 991px) {.brxe-myintr {font-size: var(--text-s)}}@media (max-width: 767px) {.brxe-myintr {height: 125px}}.brxe-toxjqe {width: 150px; flex-shrink: 0; align-self: stretch; height: 200px}.brxe-toxjqe:not(.tag), .brxe-toxjqe img {object-fit: cover}@media (max-width: 991px) {.brxe-toxjqe {width: 100px}}@media (max-width: 767px) {.brxe-toxjqe {height: 125px}}.brxe-nfvuku {font-size: var(--text-m); color: var(--color-link); margin-bottom: var(--space-m)}@media (max-width: 991px) {.brxe-nfvuku {margin-bottom: var(--space-xs)}}@media (max-width: 767px) {.brxe-nfvuku {font-size: var(--text-s); margin-bottom: var(--space-2xs)}}.brxe-xeowvs {font-size: var(--text-s); color: var(--color-muted); line-height: 1.5}@media (max-width: 991px) {.brxe-xeowvs {font-size: var(--text-s)}}@media (max-width: 767px) {.brxe-xeowvs {font-size: var(--text-xs)}}.brxe-crhpdb {column-gap: var(--space-2xs); min-width: 0px; padding-top: var(--space-m); padding-right: var(--space-m); padding-bottom: var(--space-m); padding-left: var(--space-m)}@media (max-width: 991px) {.brxe-crhpdb {padding-top: var(--space-s); padding-right: var(--space-m); padding-bottom: var(--space-s); padding-left: var(--space-m)}}@media (max-width: 767px) {.brxe-crhpdb {padding-top: var(--space-xs); padding-right: var(--space-xs); padding-bottom: var(--space-xs); padding-left: var(--space-xs)}}.brxe-bwttip {border-radius: 20px; flex-direction: row; flex-wrap: nowrap; background-color: var(--color-surface); padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; height: 200px; overflow: hidden}@media (max-width: 991px) {.brxe-bwttip {font-size: var(--text-s)}}@media (max-width: 767px) {.brxe-bwttip {height: 125px}}.brxe-deoaeq {width: 150px; flex-shrink: 0; align-self: stretch; height: 200px}.brxe-deoaeq:not(.tag), .brxe-deoaeq img {object-fit: cover}@media (max-width: 991px) {.brxe-deoaeq {width: 100px}}@media (max-width: 767px) {.brxe-deoaeq {height: 125px}}.brxe-atvosq {font-size: var(--text-m); color: var(--color-link); margin-bottom: var(--space-m)}@media (max-width: 991px) {.brxe-atvosq {margin-bottom: var(--space-xs)}}@media (max-width: 767px) {.brxe-atvosq {font-size: var(--text-s); margin-bottom: var(--space-2xs)}}.brxe-ygixfu {font-size: var(--text-s); color: var(--color-muted); line-height: 1.5}@media (max-width: 991px) {.brxe-ygixfu {font-size: var(--text-s)}}@media (max-width: 767px) {.brxe-ygixfu {font-size: var(--text-xs)}}.brxe-qtydgc {column-gap: var(--space-2xs); min-width: 0px; padding-top: var(--space-m); padding-right: var(--space-m); padding-bottom: var(--space-m); padding-left: var(--space-m); height: 200px}@media (max-width: 991px) {.brxe-qtydgc {padding-top: var(--space-s); padding-right: var(--space-m); padding-bottom: var(--space-s); padding-left: var(--space-m)}}@media (max-width: 767px) {.brxe-qtydgc {padding-top: var(--space-xs); padding-right: var(--space-xs); padding-bottom: var(--space-xs); padding-left: var(--space-xs); height: 125px}}.brxe-ldyktx {border-radius: 20px; flex-direction: row; flex-wrap: nowrap; background-color: var(--color-surface); padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; height: 200px; overflow: hidden}@media (max-width: 991px) {.brxe-ldyktx {font-size: var(--text-s)}}@media (max-width: 767px) {.brxe-ldyktx {height: 125px}}#brxe-df33a3 {display: grid; align-items: initial; grid-auto-flow: column; grid-auto-columns: repeat(3, 1fr); gap: var(--space-m); width: 100%; min-width: 0px; padding-top: var(--space-l); padding-bottom: var(--space-l)}#brxe-df33a3 { overflow-x: auto; overflow-y: hidden; touch-action: pan-x; overscroll-behavior-x: contain;}@media (max-width: 478px) {#brxe-df33a3 {grid-auto-columns: 250px; padding-top: var(--space-s); padding-bottom: var(--space-s)}}#brxe-134323 {border-top: 1px solid var(--color-border); padding-top: 0; padding-bottom: 0}