.pn-body {
    margin: 0;
    background: var(--color-background-3);
    color: var(--color-secondary);
    font-family: var(--font-inter-tight);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.pn-body.is-locked {
    overflow: hidden;
}

[dir="rtl"] .pn-ic--flip {
    scale: -1 1;
}

[dir="rtl"] [dir="auto"] {
    text-align: right;
}

[dir="rtl"] [lang]:not([lang="ar"], [lang="fa"], .pn-langs__item, option) {
    direction: ltr;
    unicode-bidi: isolate;
}

[dir="rtl"] :is(.pn-mm__node, .pn-mm__node > span, .pn-mm__vtitle, .pn-mm__vbody, .pn-mm__branches .pn-chip) {
    unicode-bidi: plaintext;
}

[dir="rtl"] :is(.pn-bars, .bx-bars) {
    direction: ltr;
}

.pn-ic {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pn-app {
    display: flex;
    min-height: 100vh;
}

.pn-side {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 288px;
    max-width: calc(100vw - 40px);
    height: 100vh;
    height: 100dvh;
    padding: 0 16px 16px;
    background: var(--color-background-3);
}

.pn-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    height: 76px;
    margin: 0 -16px 12px;
    padding: 0 20px 0 28px;
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(26, 26, 28, 0.06);
}

.pn-brand__logo {
    display: block;
    width: 158px;
}

.pn-brand__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.pn-brand__out {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: rgba(26, 26, 28, 0.45);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.pn-brand__out:hover {
    background: #ffffff;
    color: var(--color-primary-500);
    box-shadow: 0 6px 4px -4px rgba(23, 52, 102, 0.06), 0 5px 1.5px -4px rgba(23, 52, 102, 0.12), inset 0 0 0 1px rgba(34, 76, 152, 0.1);
}

.pn-brand__out .pn-ic {
    width: 18px;
    height: 18px;
}

.pn-nav {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 -16px;
    padding: 4px 16px 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(26, 26, 28, 0.12) transparent;
    interpolate-size: allow-keywords;
}

.pn-nav__glide {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(26, 26, 28, 0.04);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s cubic-bezier(0.16, 1, 0.3, 1), height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
}

.pn-nav__glide.is-on {
    opacity: 1;
}

.pn-nav__glide.is-snap {
    transition: opacity 0.2s;
}

.pn-nav__item,
.pn-nav__head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    height: 48px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: rgba(26, 26, 28, 0.56);
    transition: color 0.2s;
}

.pn-nav__item span,
.pn-nav__head span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pn-nav__item:hover,
.pn-nav__head:hover,
.pn-nav__group[open] > .pn-nav__head {
    color: var(--color-secondary);
}

.pn-nav__item:focus-visible,
.pn-nav__head:focus-visible {
    outline: 2px solid var(--color-primary-500);
    outline-offset: -2px;
}

.pn-nav__item.is-active,
.pn-nav__group.is-current:not([open]) > .pn-nav__head {
    background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(180deg, rgba(34, 76, 152, 0.06), rgba(34, 76, 152, 0.2)) border-box;
    box-shadow: 0 6px 4px -4px rgba(23, 52, 102, 0.06), 0 5px 1.5px -4px rgba(23, 52, 102, 0.14);
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-nav__item.is-active .pn-ic,
.pn-nav__group.is-current:not([open]) > .pn-nav__head .pn-ic:first-child {
    color: var(--color-primary-500);
    stroke-width: 2;
}

.pn-nav__head {
    cursor: pointer;
    list-style: none;
    -webkit-user-select: none;
    user-select: none;
}

.pn-nav__head::-webkit-details-marker {
    display: none;
}

.pn-nav__chev {
    width: 16px;
    height: 16px;
    margin-left: auto;
    transform: rotate(90deg);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pn-nav__group[open] .pn-nav__chev {
    transform: rotate(-90deg);
}

.pn-nav__group::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.5s cubic-bezier(0.16, 1, 0.3, 1), content-visibility 0.5s allow-discrete;
}

.pn-nav__group[open]::details-content {
    block-size: auto;
}

.pn-nav__sub {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0 0 4px 36px;
}

.pn-nav__sub::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 48px;
    left: 21.25px;
    width: 1.5px;
    background: rgba(26, 26, 28, 0.1);
}

.pn-nav__item--sub {
    gap: 10px;
    height: 44px;
    padding-left: 10px;
}

.pn-nav__item--sub .pn-ic {
    width: 18px;
    height: 18px;
}

.pn-nav__item--sub::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -15.75px;
    width: 14.75px;
    bottom: calc(50% - 0.75px);
    border-left: 1.5px solid rgba(26, 26, 28, 0.1);
    border-bottom: 1.5px solid rgba(26, 26, 28, 0.1);
    border-bottom-left-radius: 10px;
    transition: border-color 0.2s;
}

.pn-nav__item--sub.is-active::before {
    border-color: var(--color-primary-500);
}

.pn-nav__count {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    min-width: 24px;
    height: 24px;
    margin-left: auto;
    padding: 0 6px;
    border-radius: 8px;
    background: rgba(34, 76, 152, 0.12);
    font-size: 12px;
    line-height: 1;
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--color-primary-500);
}

.pn-nav__count--sum + .pn-nav__chev {
    margin-left: 0;
}

.pn-nav__group[open] .pn-nav__count--sum {
    display: none;
}

.pn-nav__group[open] .pn-nav__count--sum + .pn-nav__chev {
    margin-left: auto;
}

@media (prefers-reduced-motion: reduce) {
    .pn-nav__glide,
    .pn-nav__chev,
    .pn-nav__group::details-content {
        transition: none;
    }
}

.pn-lang {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(26, 26, 28, 0.06), 0 6px 12px -6px rgba(23, 52, 102, 0.2);
}

.pn-lang a {
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 20px;
    font-weight: 600;
    color: rgba(26, 26, 28, 0.45);
    transition: color 0.2s;
}

.pn-lang a:hover {
    color: var(--color-primary-500);
}

.pn-lang a.is-active {
    background: rgba(34, 76, 152, 0.08);
    color: var(--color-primary-500);
}

.bx-group__icon .pn-ic {
    fill: none;
    color: var(--color-primary-500);
}

.pn-work {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.pn-top {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 76px;
    padding: 0 32px;
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(26, 26, 28, 0.06);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.pn-top__title {
    margin: 0 auto 0 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.pn-top__tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pn-iconbtn {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(26, 26, 28, 0.06), 0 6px 12px -6px rgba(23, 52, 102, 0.2);
    color: rgba(26, 26, 28, 0.6);
    cursor: pointer;
    transition: color 0.2s;
}

.pn-iconbtn:hover {
    color: var(--color-primary-500);
}

.pn-top .pn-burger {
    display: none;
}

.pn-dot {
    position: absolute;
    top: 10px;
    right: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary-500);
    box-shadow: 0 0 0 2px #ffffff;
}

.pn-bell {
    position: relative;
}

.pn-bell > summary {
    list-style: none;
}

.pn-bell > summary::-webkit-details-marker {
    display: none;
}

.pn-bell__pop {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 30;
    width: 380px;
    max-width: calc(100vw - 24px);
    padding: 8px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(26, 26, 28, 0.05), 0 24px 48px -16px rgba(23, 52, 102, 0.28);
}

.pn-bell__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px 8px;
}

.pn-bell__title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

.pn-bell__all {
    margin: -10px 0;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary-500);
}

button.pn-bell__all {
    border: 0;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

button.bx-search {
    border: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.pn-bell__empty {
    padding: 16px 12px;
    text-align: center;
    font-size: 13px;
    color: var(--pn-muted);
}

.pn-bell__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 20px;
    transition: background-color 0.2s;
}

.pn-bell__item:hover {
    background: rgba(26, 26, 28, 0.035);
}

.pn-bell__item .bx-group__icon {
    margin: 0;
}

.pn-bell__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-right: 16px;
}

.pn-bell__text b {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.pn-bell__text span {
    font-size: 13px;
    line-height: 18px;
    color: rgba(26, 26, 28, 0.55);
}

.pn-bell__text small {
    margin-top: 4px;
    font-size: 12px;
    line-height: 16px;
    color: rgba(26, 26, 28, 0.4);
}

.pn-bell__item.is-new:after {
    content: "";
    position: absolute;
    top: 18px;
    right: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary-500);
}

.pn-top__rule {
    width: 1px;
    height: 28px;
    margin: 0 8px;
    background: rgba(26, 26, 28, 0.08);
}

.pn-me {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pn-avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-400) 0%, var(--color-primary-600) 100%);
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 3.5px rgba(34, 76, 152, 0.16);
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.pn-me__name {
    display: block;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.pn-me__meta {
    display: block;
    font-size: 12px;
    line-height: 16px;
    color: rgba(26, 26, 28, 0.5);
}

.pn-canvas {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 24px;
    padding: 24px 32px 48px;
}

.pn-main,
.pn-rail {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.pn-card {
    position: relative;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 24px 24px -16px rgba(23, 52, 102, 0.08), 0 6px 13px 0 rgba(23, 52, 102, 0.04), 0 5px 1.5px -4px rgba(23, 52, 102, 0.1);
}

.pn-card:after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(34, 76, 152, 0.12);
    border-radius: inherit;
    -webkit-mask-image: linear-gradient(160deg, #000, transparent 50%);
    mask-image: linear-gradient(160deg, #000, transparent 50%);
    pointer-events: none;
}

a.pn-card {
    display: block;
    transition: box-shadow 0.3s;
}

a.pn-card:hover {
    box-shadow: 0 24px 32px -16px rgba(23, 52, 102, 0.18), 0 6px 13px 0 rgba(23, 52, 102, 0.05), 0 5px 1.5px -4px rgba(23, 52, 102, 0.1);
}

.pn-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 70px;
    padding: 20px 20px 12px;
}

.pn-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.pn-card__body {
    padding: 0 12px 12px;
}

.pn-card .bx-group,
.pn-card .bx-mrow,
.pn-card .bx-chart__plot {
    background: rgba(26, 26, 28, 0.035);
}

.pn-card .bx-group:after {
    content: none;
}

.pn-card .bx-group {
    height: 64px;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.pn-card a.bx-group:hover,
.pn-card .bx-group.is-hover {
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(26, 26, 28, 0.05), 0 16px 32px -16px rgba(23, 52, 102, 0.28);
}

.pn-card .bx-mrow.is-low {
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(26, 26, 28, 0.05), 0 16px 32px -16px rgba(23, 52, 102, 0.28);
}

.pn-card .bx-group__title {
    margin-right: 8px;
}

.pn-row__text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    margin-right: 8px;
}

.pn-row__text b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.85);
}

.pn-row__text small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    line-height: 16px;
    color: rgba(26, 26, 28, 0.5);
}

.pn-go {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: rgba(26, 26, 28, 0.3);
}

.pn-pill {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(34, 76, 152, 0.08);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: var(--color-primary-500);
    white-space: nowrap;
}

.pn-pill--muted {
    background: rgba(26, 26, 28, 0.05);
    color: rgba(26, 26, 28, 0.55);
}

.pn-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 28px 28px 32px;
    overflow: hidden;
    background: linear-gradient(124deg, rgba(34, 76, 152, 0.07) 0%, rgba(34, 76, 152, 0) 52%), #ffffff;
}

.pn-hero__blob {
    position: absolute;
    top: -150px;
    right: -90px;
    width: 340px;
    height: 340px;
    opacity: 0.16;
    pointer-events: none;
}

.pn-hero > *:not(.pn-hero__blob) {
    position: relative;
    z-index: 1;
}

.pn-hero__hello {
    margin: 0 0 6px;
    font-size: 28px;
    line-height: 36px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.pn-hero__line {
    margin: 0;
    font-size: 15px;
    line-height: 22px;
    color: rgba(26, 26, 28, 0.6);
}

.pn-hero__line b {
    font-weight: 600;
    color: var(--color-primary-500);
}

.pn-hero__goal {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.pn-ring {
    position: relative;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: conic-gradient(var(--color-primary-500) var(--pn-v, 0%), rgba(123, 123, 123, 0.1) 0);
}

.pn-ring:after {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: #ffffff;
}

.pn-ring span {
    position: relative;
    z-index: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary-500);
}

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

.pn-stat {
    padding: 20px 20px 0;
}

.pn-stat__top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pn-stat__top .bx-group__icon {
    margin: 0;
}

.pn-stat__value {
    display: block;
    font-size: 26px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.pn-stat__label {
    display: block;
    font-size: 13px;
    line-height: 18px;
    color: rgba(26, 26, 28, 0.5);
}

.pn-stat__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding: 14px 0 16px;
    border-top: 1px solid rgba(26, 26, 28, 0.06);
    font-size: 13px;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.6);
    transition: color 0.2s;
}

a.pn-stat__foot:hover {
    color: var(--color-primary-500);
}

.pn-stat__foot .pn-ic {
    width: 16px;
    height: 16px;
}

.pn-row2 {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 20px;
}

.pn-row2--even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pn-row2 > .pn-card {
    display: flex;
    flex-direction: column;
}

.pn-row2 > .pn-card > .pn-card__body {
    flex: 1;
}

.pn-card .bx-chart__sum {
    padding: 0 8px;
    margin-bottom: 16px;
}

.pn-card .bx-chart__value {
    font-size: 36px;
    line-height: 44px;
}

.pn-card .bx-chart__plot {
    height: 168px;
}

.pn-metrics {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pn-metrics .pn-metric {
    flex: 1;
}

.pn-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(26, 26, 28, 0.035);
}

.pn-metric__value {
    display: block;
    font-size: 26px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.pn-metric__label {
    display: block;
    font-size: 12px;
    line-height: 16px;
    color: rgba(26, 26, 28, 0.5);
}

.pn-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 48px;
}

.pn-bars i {
    display: block;
    width: 8px;
    border-radius: 4px;
    background: rgba(34, 76, 152, 0.2);
}

.pn-bars i:last-child {
    background: linear-gradient(180deg, var(--color-primary-500) 0%, var(--color-primary-300) 100%);
}

.pn-bars--dark i {
    background: rgba(26, 26, 28, 0.14);
}

.pn-bars--dark i:last-child {
    background: var(--color-secondary);
}

.pn-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
}

.pn-card .bx-search {
    flex: 0 1 280px;
    height: 40px;
    padding: 0 14px 0 10px;
    border-radius: 20px;
    font-size: 13px;
}

.pn-card .bx-search svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.pn-link {
    flex-shrink: 0;
    padding: 9px 14px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(26, 26, 28, 0.1);
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.7);
    transition: color 0.2s, box-shadow 0.2s;
}

.pn-link:hover {
    color: var(--color-primary-500);
    box-shadow: inset 0 0 0 1px rgba(34, 76, 152, 0.3);
}

.pn-table-wrap {
    position: relative;
    overflow-x: auto;
    padding: 0 8px 8px;
}

.pn-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.pn-table th {
    padding: 4px 12px 12px;
    border-bottom: 1px solid rgba(26, 26, 28, 0.06);
    text-align: left;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.45);
}

.pn-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(26, 26, 28, 0.06);
    vertical-align: middle;
}

.pn-table tr:last-child td {
    border-bottom: 0;
}

.pn-topic {
    display: flex;
    align-items: center;
}

.pn-topic .bx-group__icon {
    width: 40px;
    height: 40px;
    margin-right: 14px;
}

.pn-mastery {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 160px;
}

.pn-mastery .bx-bar {
    flex: 1;
}

.pn-mastery .bx-bar span {
    background: var(--color-primary-500);
}

.pn-mastery b {
    min-width: 40px;
    text-align: right;
    font-size: 13px;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.6);
}

.pn-table .bx-status {
    font-size: 12px;
    padding: 5px 10px;
}

.bx-status.is-muted {
    background: rgba(26, 26, 28, 0.05);
    color: rgba(26, 26, 28, 0.6);
}

.bx-status.is-muted:before {
    background: rgba(26, 26, 28, 0.35);
}

.pn-table__go {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-left: auto;
    border-radius: 50%;
    color: rgba(26, 26, 28, 0.35);
    transition: background-color 0.2s, color 0.2s;
}

.pn-table__go:hover {
    background: rgba(34, 76, 152, 0.08);
    color: var(--color-primary-500);
}

.pn-count {
    flex-shrink: 0;
    margin-right: 10px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(26, 26, 28, 0.06);
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: rgba(26, 26, 28, 0.7);
}

.pn-mock {
    padding: 20px;
}

.pn-mock .pn-card__head {
    padding: 0 0 4px;
}

.pn-mock__name {
    font-size: 13px;
    line-height: 18px;
    color: rgba(26, 26, 28, 0.5);
}

.pn-mock__score {
    margin-top: 12px;
    font-size: 36px;
    line-height: 40px;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.pn-mock__score small {
    margin-left: 4px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    color: rgba(26, 26, 28, 0.45);
}

.pn-mock .bx-chart__plot {
    gap: 14px;
    height: 120px;
    margin-top: 16px;
    padding: 12px 16px 10px;
}

.pn-mock .bx-chart__track {
    max-width: 36px;
    border-radius: 8px;
    background: rgba(26, 26, 28, 0.04);
}

.pn-mock .bx-chart__x {
    font-size: 11px;
}

.pn-cwb {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.pn-cwb div {
    padding: 10px 0;
    border-radius: 16px;
    background: rgba(26, 26, 28, 0.035);
    text-align: center;
}

.pn-cwb b {
    display: block;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
}

.pn-cwb small {
    font-size: 11px;
    line-height: 14px;
    color: rgba(26, 26, 28, 0.5);
}

.pn-cwb .is-ok {
    color: var(--color-primary-500);
}

.pn-cwb .is-muted {
    color: rgba(26, 26, 28, 0.45);
}

.pn-cal {
    padding: 20px 20px 12px;
}

.pn-cal__month {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

.pn-week {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    text-align: center;
}

.pn-week__d {
    padding: 2px 0;
    font-size: 11px;
    line-height: 16px;
    color: rgba(26, 26, 28, 0.4);
}

.pn-week__n {
    padding: 7px 0;
    border-radius: 12px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.75);
}

.pn-week__n.is-today {
    background: linear-gradient(180deg, var(--color-primary-500) 0%, var(--color-primary-400) 100%);
    box-shadow: 0 8px 16px -8px rgba(23, 52, 102, 0.6);
    color: #ffffff;
}

.pn-cal__sec {
    padding: 16px 0 8px;
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(26, 26, 28, 0.38);
}

.pn-cal > .pn-cal__sec:first-child {
    padding-top: 0;
}

.pn-cal .bx-group {
    height: 56px;
    margin: 0 -8px;
    padding: 0 8px;
    background: transparent;
}

.pn-cal .bx-group:not(:last-child) {
    margin-bottom: 4px;
}

.pn-cal .bx-group__icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

.pn-promo {
    position: relative;
    display: block;
    min-height: 148px;
    padding: 20px;
    overflow: hidden;
    border-radius: 28px;
    color: #ffffff;
    transition: transform 0.3s;
}

.pn-promo:hover {
    transform: translateY(-2px);
}

button.pn-promo {
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.pn-promo--blue {
    background: linear-gradient(140deg, var(--color-primary-400) -20%, var(--color-primary-500) 45%, var(--color-primary-700) 120%);
    box-shadow: 0 24px 32px -20px rgba(23, 52, 102, 0.6);
}

.pn-promo--dark {
    background: linear-gradient(140deg, #34363c -20%, var(--color-secondary) 55%);
    box-shadow: 0 24px 32px -20px rgba(26, 26, 28, 0.5);
}

.pn-promo__pic {
    position: absolute;
    right: -6px;
    bottom: -10px;
    width: 112px;
    height: 112px;
    opacity: 0.95;
}

.pn-promo__icon {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.pn-promo__tag {
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
}

.pn-promo__title {
    position: relative;
    max-width: 70%;
    margin-top: 28px;
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.pn-promo__text {
    position: relative;
    max-width: 66%;
    margin-top: 4px;
    font-size: 13px;
    line-height: 18px;
    opacity: 0.72;
}

.pn-scrim {
    display: none;
}

@media (max-width: 1279px) {
    .pn-canvas {
        grid-template-columns: minmax(0, 1fr);
    }

    .pn-rail {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

@media (max-width: 1023px) {
    .pn-side {
        position: fixed;
        left: 0;
        z-index: 50;
        transform: translateX(-102%);
        box-shadow: 0 24px 48px rgba(23, 52, 102, 0.2);
        transition: transform 0.25s ease;
    }

    .pn-app.is-open .pn-side {
        transform: none;
    }

    .pn-scrim {
        position: fixed;
        inset: 0;
        z-index: 49;
        display: block;
        background: rgba(26, 26, 28, 0.4);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s;
    }

    .pn-app.is-open .pn-scrim {
        opacity: 1;
        pointer-events: auto;
    }

    .pn-top .pn-burger {
        display: grid;
        margin-left: -6px;
    }

    .pn-top {
        gap: 12px;
        padding: 0 20px;
    }

    .pn-canvas {
        padding: 20px 20px 40px;
    }
}

@media (max-width: 767px) {
    .pn-top {
        height: 64px;
        padding: 0 16px;
    }

    .pn-top__title {
        font-size: 18px;
        line-height: 26px;
    }

    .pn-top .pn-lang,
    .pn-top__rule,
    .pn-me__who {
        display: none;
    }

    .pn-canvas {
        gap: 16px;
        padding: 16px 16px 32px;
    }

    .pn-main,
    .pn-rail {
        gap: 16px;
    }

    .pn-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    .pn-hero__hello {
        font-size: 24px;
        line-height: 32px;
    }

    .pn-stats,
    .pn-row2,
    .pn-row2--even,
    .pn-rail {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .pn-stat {
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 14px 14px 16px;
    }

    a.pn-stat__foot::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
    }

    .pn-stat__top {
        flex: 1;
        min-width: 0;
    }

    .pn-stat__value {
        font-size: 22px;
        line-height: 28px;
    }

    .pn-stat__foot {
        flex-shrink: 0;
        justify-content: center;
        width: 36px;
        height: 36px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(26, 26, 28, 0.04);
    }

    .pn-stat__foot span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .pn-table {
        min-width: 0;
    }

    .pn-table th,
    .pn-table td {
        padding-left: 8px;
        padding-right: 8px;
    }

    .pn-table th:nth-child(3),
    .pn-table td:nth-child(3),
    .pn-topic .bx-group__icon {
        display: none;
    }

    .pn-mastery {
        min-width: 104px;
    }

    .pn-card__head {
        flex-wrap: wrap;
    }

    .pn-tools {
        flex-basis: 100%;
        justify-content: space-between;
    }

    .pn-card .bx-search {
        flex: 1 1 auto;
    }

    .pn-bell__pop {
        position: fixed;
        top: 72px;
        left: 12px;
        right: 12px;
        width: auto;
    }
}

.pn-body {
    --pn-right: #17945a;
    --pn-right-soft: rgba(23, 148, 90, 0.08);
    --pn-wrong: #d14343;
    --pn-wrong-soft: rgba(209, 67, 67, 0.07);
    --pn-tint: rgba(26, 26, 28, 0.035);
    --pn-muted: rgba(26, 26, 28, 0.55);
    --pn-faint: rgba(26, 26, 28, 0.4);
    --pn-line: rgba(26, 26, 28, 0.06);
}

.pn-canvas--full {
    grid-template-columns: minmax(0, 1fr);
}

.pn-narrow {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}

.pn-narrow--sm {
    max-width: 560px;
}

.pn-narrow--md {
    max-width: 680px;
}

.pn-nav__item--tag span {
    white-space: normal;
    line-height: 1.2;
}

.pn-nav__beta {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    height: 24px;
    margin-left: auto;
    padding: 0 8px;
    border-radius: 8px;
    background: var(--color-primary-500);
    font-size: 10px;
    line-height: 1;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #ffffff;
}

.pn-nav__lock {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-left: auto;
    border-radius: 8px;
    background: rgba(26, 26, 28, 0.06);
    color: rgba(26, 26, 28, 0.56);
}

.pn-nav__lock .pn-ic {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

.pn-bell__more {
    display: block;
    margin-top: 4px;
    padding: 12px;
    border-top: 1px solid var(--pn-line);
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary-500);
}

a.pn-me {
    margin: -4px;
    padding: 4px 8px 4px 4px;
    border-radius: 999px;
    transition: background-color 0.2s;
}

a.pn-me:hover {
    background: rgba(26, 26, 28, 0.04);
}

.pn-card .bx-cell,
.pn-card .bx-kpi {
    background: var(--pn-tint);
}

.pn-card .bx-meters {
    padding: 0;
}

.pn-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.pn-intro__text {
    margin: 0;
    max-width: 640px;
    font-size: 15px;
    line-height: 22px;
    color: rgba(26, 26, 28, 0.6);
}

.pn-intro__text b {
    font-weight: 500;
    color: var(--color-secondary);
}

.pn-btns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pn-btns--center {
    justify-content: center;
}

.pn-label {
    display: block;
    margin: 0 0 10px;
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(26, 26, 28, 0.42);
}

.pn-muted {
    color: var(--pn-muted);
}

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

.pn-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pn-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pn-grid--tight {
    gap: 8px;
}

.pn-stats--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pn-card__sub {
    margin: 2px 0 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--pn-muted);
}

.pn-card__head--top {
    align-items: flex-start;
}

.pn-text {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: rgba(26, 26, 28, 0.7);
}

.pn-text + .pn-text {
    margin-top: 10px;
}

.pn-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 18px;
    color: var(--pn-muted);
}

.pn-meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pn-meta .pn-ic {
    width: 16px;
    height: 16px;
    color: var(--pn-faint);
}

.pn-band {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 16px 16px 20px;
}

.pn-band .bx-group__icon {
    margin: 0;
}

.pn-band__text {
    flex: 1;
    min-width: 0;
}

.pn-band__text b {
    display: block;
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
}

.pn-band__text span {
    display: block;
    font-size: 13px;
    line-height: 18px;
    color: var(--pn-muted);
}

.pn-band--blue {
    background: linear-gradient(124deg, rgba(34, 76, 152, 0.09) 0%, rgba(34, 76, 152, 0.02) 60%), #ffffff;
}

.pn-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 3px 9px;
    border-radius: 8px;
    background: rgba(26, 26, 28, 0.05);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.65);
    white-space: nowrap;
}

.pn-tag--blue {
    background: rgba(34, 76, 152, 0.08);
    color: var(--color-primary-500);
}

.pn-tag--solid {
    background: var(--color-primary-500);
    color: #ffffff;
}

.pn-tag--dark {
    background: var(--color-secondary);
    color: #ffffff;
}

.pn-tag--right {
    background: var(--pn-right-soft);
    color: var(--pn-right);
}

.pn-tag--wrong {
    background: var(--pn-wrong-soft);
    color: var(--pn-wrong);
}

.pn-iconlink {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(26, 26, 28, 0.04);
    color: rgba(26, 26, 28, 0.6);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.pn-iconlink:hover {
    background: rgba(34, 76, 152, 0.08);
    color: var(--color-primary-500);
}

.pn-iconlink .pn-ic {
    width: 18px;
    height: 18px;
}

.pn-textbtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    color: var(--color-primary-500);
    cursor: pointer;
}

.pn-textbtn .pn-ic {
    width: 16px;
    height: 16px;
}

.pn-textbtn--muted {
    color: var(--pn-muted);
}

.pn-textbtn--muted:hover {
    color: var(--color-secondary);
}

.pn-seg-wrap {
    position: relative;
}

.pn-seg__radio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.pn-seg {
    display: inline-flex;
    max-width: 100%;
    padding: 4px;
    border-radius: 24px;
    background: rgba(26, 26, 28, 0.05);
}

.pn-seg__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    margin: 0;
    padding: 0 18px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.56);
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s, box-shadow 0.2s;
    user-select: none;
}

.pn-seg__tab:hover {
    color: var(--color-secondary);
}

.pn-seg__tab .pn-count {
    margin: 0;
}

.pn-seg__radio:nth-of-type(1):checked ~ .pn-seg .pn-seg__tab:nth-child(1),
.pn-seg__radio:nth-of-type(2):checked ~ .pn-seg .pn-seg__tab:nth-child(2),
.pn-seg__radio:nth-of-type(3):checked ~ .pn-seg .pn-seg__tab:nth-child(3),
.pn-seg__radio:nth-of-type(4):checked ~ .pn-seg .pn-seg__tab:nth-child(4),
.pn-seg__radio:nth-of-type(1):checked ~ * .pn-seg .pn-seg__tab:nth-child(1),
.pn-seg__radio:nth-of-type(2):checked ~ * .pn-seg .pn-seg__tab:nth-child(2),
.pn-seg__radio:nth-of-type(3):checked ~ * .pn-seg .pn-seg__tab:nth-child(3),
.pn-seg__radio:nth-of-type(4):checked ~ * .pn-seg .pn-seg__tab:nth-child(4) {
    background: #ffffff;
    box-shadow: 0 0 0 1.5px rgba(34, 76, 152, 0.1), 0 8px 16px -4px rgba(23, 52, 102, 0.14);
    color: var(--color-secondary);
}

.pn-seg__radio:focus-visible ~ .pn-seg,
.pn-seg__radio:focus-visible ~ * .pn-seg {
    outline: 2px solid var(--color-primary-500);
    outline-offset: 3px;
}

.pn-seg__panel {
    display: none;
}

.pn-seg__radio:nth-of-type(1):checked ~ .pn-seg__panels > .pn-seg__panel:nth-child(1),
.pn-seg__radio:nth-of-type(2):checked ~ .pn-seg__panels > .pn-seg__panel:nth-child(2),
.pn-seg__radio:nth-of-type(3):checked ~ .pn-seg__panels > .pn-seg__panel:nth-child(3),
.pn-seg__radio:nth-of-type(4):checked ~ .pn-seg__panels > .pn-seg__panel:nth-child(4) {
    display: block;
}

.pn-seg--sm .pn-seg__tab {
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
}

.pn-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pn-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(26, 26, 28, 0.1);
    font: inherit;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.7);
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.pn-chip:hover {
    color: var(--color-primary-500);
    box-shadow: inset 0 0 0 1px rgba(34, 76, 152, 0.3);
}

.pn-chip small {
    font-size: 12px;
    font-weight: 500;
    color: var(--pn-faint);
}

.pn-chip.is-active,
.pn-chip:has(input:checked) {
    background: var(--color-primary-500);
    box-shadow: 0 8px 16px -8px rgba(23, 52, 102, 0.6);
    color: #ffffff;
}

.pn-chip.is-active small,
.pn-chip:has(input:checked) small {
    color: rgba(255, 255, 255, 0.7);
}

.pn-chip input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.pn-chip:has(input:focus-visible) {
    outline: 2px solid var(--color-primary-500);
    outline-offset: 2px;
}

.pn-chip:has(input:disabled) {
    opacity: 0.45;
    cursor: not-allowed;
}

[data-pn-item].is-hidden,
[data-pn-group].is-hidden {
    display: none !important;
}

.pn-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pn-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pn-form__row--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pn-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.pn-field__label {
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.75);
}

.pn-field__hint {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-faint);
}

.pn-field .auth-form-input {
    height: 48px;
    border-radius: 999px;
    transition: border-color 0.2s;
}

.pn-field .auth-form-input:focus,
.pn-textarea:focus {
    border-color: var(--color-primary-500);
}

.pn-field .auth-form-input:disabled {
    background: var(--pn-tint);
    color: var(--pn-muted);
    cursor: not-allowed;
}

.pn-textarea {
    display: block;
    width: 100%;
    min-height: 132px;
    padding: 14px 18px;
    border: 1px solid var(--color-stroke-3);
    border-radius: 22px;
    background: var(--color-background-1);
    font: inherit;
    font-size: 15px;
    line-height: 22px;
    color: var(--color-secondary);
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
}

.pn-textarea::placeholder {
    color: rgba(26, 26, 28, 0.5);
}

.pn-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 20px;
    color: rgba(26, 26, 28, 0.7);
    cursor: pointer;
}

.pn-check input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--color-primary-500);
}

.pn-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pn-options--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pn-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 60px;
    margin: 0;
    padding: 10px 16px 10px 14px;
    border-radius: 20px;
    background: var(--pn-tint);
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.pn-option:hover {
    background: rgba(26, 26, 28, 0.06);
}

.pn-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.pn-option__mark {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 1.5px rgba(26, 26, 28, 0.2);
    transition: box-shadow 0.2s;
}

.pn-option__mark:after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: var(--color-primary-500);
    transform: scale(0);
    transition: transform 0.2s;
}

.pn-option input[type="checkbox"] + .pn-option__mark {
    border-radius: 6px;
}

.pn-option input[type="checkbox"] + .pn-option__mark:after {
    inset: 4px;
    border-radius: 2px;
}

.pn-option__text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.pn-option__text b {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.85);
}

.pn-option__text small {
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-muted);
}

.pn-option__side {
    flex-shrink: 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-faint);
}

.pn-option:has(input:checked) {
    background: #ffffff;
    box-shadow: inset 0 0 0 1.5px var(--color-primary-500), 0 16px 32px -16px rgba(23, 52, 102, 0.28);
}

.pn-option:has(input:checked) .pn-option__mark {
    box-shadow: inset 0 0 0 1.5px var(--color-primary-500);
}

.pn-option:has(input:checked) .pn-option__mark:after {
    transform: scale(1);
}

.pn-option:has(input:focus-visible) {
    outline: 2px solid var(--color-primary-500);
    outline-offset: 2px;
}

.pn-option:has(input:disabled) {
    opacity: 0.5;
    cursor: not-allowed;
}

.pn-option--card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 0;
    padding: 16px;
}

.pn-option--card .pn-option__mark {
    position: absolute;
    top: 16px;
    right: 16px;
}

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

.pn-choice {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 60px;
    margin: 0;
    padding: 10px 18px 10px 12px;
    border: 0;
    border-radius: 20px;
    background: var(--pn-tint);
    font: inherit;
    font-size: 15px;
    line-height: 22px;
    text-align: left;
    color: rgba(26, 26, 28, 0.85);
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.pn-choice:hover {
    background: rgba(26, 26, 28, 0.06);
}

.pn-choice__key {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(26, 26, 28, 0.1);
    font-size: 14px;
    font-weight: 600;
    color: rgba(26, 26, 28, 0.7);
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.pn-choice__text {
    flex: 1;
    min-width: 0;
}

.pn-choice__note {
    flex-shrink: 0;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
}

.pn-choice.is-picked {
    background: #ffffff;
    box-shadow: inset 0 0 0 1.5px var(--color-primary-500), 0 16px 32px -16px rgba(23, 52, 102, 0.28);
}

.pn-choice.is-picked .pn-choice__key {
    background: var(--color-primary-500);
    box-shadow: none;
    color: #ffffff;
}

.pn-choice.is-right {
    background: var(--pn-right-soft);
    box-shadow: inset 0 0 0 1.5px var(--pn-right);
}

.pn-choice.is-right .pn-choice__key {
    background: var(--pn-right);
    box-shadow: none;
    color: #ffffff;
}

.pn-choice.is-right .pn-choice__note {
    color: var(--pn-right);
}

.pn-choice.is-wrong {
    background: var(--pn-wrong-soft);
    box-shadow: inset 0 0 0 1.5px var(--pn-wrong);
}

.pn-choice.is-wrong .pn-choice__key {
    background: var(--pn-wrong);
    box-shadow: none;
    color: #ffffff;
}

.pn-choice.is-wrong .pn-choice__note {
    color: var(--pn-wrong);
}

.pn-choice.is-locked {
    cursor: default;
}

.pn-choice.is-locked:not(.is-right):not(.is-wrong) {
    opacity: 0.55;
}

.pn-choice.is-locked:hover:not(.is-right):not(.is-wrong) {
    background: var(--pn-tint);
}

.pn-choice--sm {
    min-height: 48px;
    padding: 6px 14px 6px 8px;
    border-radius: 16px;
    font-size: 14px;
}

.pn-choice--sm .pn-choice__key {
    width: 32px;
    height: 32px;
    font-size: 13px;
}

.pn-verdict {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 20px;
}

.pn-verdict .pn-verdict__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
}

.pn-verdict b {
    display: block;
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
}

.pn-verdict span {
    display: block;
    font-size: 13px;
    line-height: 18px;
    color: rgba(26, 26, 28, 0.62);
}

.pn-verdict--right {
    background: var(--pn-right-soft);
}

.pn-verdict--right .pn-verdict__icon {
    background: var(--pn-right);
}

.pn-verdict--right b {
    color: var(--pn-right);
}

.pn-verdict--wrong {
    background: var(--pn-wrong-soft);
}

.pn-verdict--wrong .pn-verdict__icon {
    background: var(--pn-wrong);
}

.pn-verdict--wrong b {
    color: var(--pn-wrong);
}

.pn-verdict--blank {
    background: var(--pn-tint);
}

.pn-verdict--blank .pn-verdict__icon {
    background: rgba(26, 26, 28, 0.4);
}

.pn-edge {
    position: relative;
}

.pn-edge:before {
    content: "";
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 0;
    z-index: 1;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: rgba(26, 26, 28, 0.15);
}

.pn-edge--right:before {
    background: var(--pn-right);
}

.pn-edge--wrong:before {
    background: var(--pn-wrong);
}

.pn-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(34, 76, 152, 0.06);
    font-size: 14px;
    line-height: 21px;
    color: rgba(26, 26, 28, 0.75);
}

.pn-note > .pn-ic {
    margin-top: 1px;
    color: var(--color-primary-500);
}

.pn-note b {
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-note p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.pn-note--muted {
    background: var(--pn-tint);
}

.pn-note--muted > .pn-ic {
    color: var(--pn-faint);
}

.pn-note--dark {
    background: var(--color-secondary);
    color: rgba(255, 255, 255, 0.78);
}

.pn-note--dark b {
    color: #ffffff;
}

.pn-note--dark > .pn-ic {
    color: #ffffff;
}

.pn-note--dark .pn-textbtn {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pn-trial {
    padding: 24px 32px 0;
}

@media (max-width: 1023px) {
    .pn-trial {
        padding: 20px 20px 0;
    }
}

@media (max-width: 767px) {
    .pn-trial {
        padding: 16px 16px 0;
    }
}

.pn-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px;
    text-align: center;
}

.pn-empty .bx-group__icon {
    width: 56px;
    height: 56px;
    margin: 0 0 16px;
    color: var(--color-primary-500);
}

.pn-empty .bx-group__icon .pn-ic {
    width: 24px;
    height: 24px;
}

.pn-empty__title {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
}

.pn-empty__text {
    max-width: 380px;
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 21px;
    color: var(--pn-muted);
}

.pn-acc {
    border-radius: 20px;
    background: var(--pn-tint);
    transition: background-color 0.2s, box-shadow 0.2s;
}

.pn-acc + .pn-acc {
    margin-top: 8px;
}

.pn-acc[open] {
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(26, 26, 28, 0.06), 0 16px 32px -16px rgba(23, 52, 102, 0.22);
}

.pn-acc > summary {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 10px 16px 10px 12px;
    list-style: none;
    cursor: pointer;
}

.pn-acc > summary::-webkit-details-marker {
    display: none;
}

.pn-acc > summary .bx-group__icon {
    width: 40px;
    height: 40px;
    margin: 0;
}

.pn-acc__chev {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: rgba(26, 26, 28, 0.35);
    transform: rotate(90deg);
    transition: transform 0.2s;
}

.pn-acc[open] .pn-acc__chev {
    transform: rotate(-90deg);
}

.pn-acc__body {
    padding: 0 16px 16px;
}

.pn-dialog {
    width: calc(100% - 32px);
    max-width: 520px;
    max-height: calc(100svh - 32px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 28px;
    background: #ffffff;
    color: var(--color-secondary);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 32px 80px rgba(26, 26, 28, 0.18);
}

.pn-dialog[open] {
    animation: ngl-modal-in 0.25s ease-out;
}

.pn-dialog::backdrop {
    background: rgba(26, 26, 28, 0.35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

html:has(.pn-dialog[open]) {
    overflow: hidden;
}

.pn-dialog__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 8px;
}

.pn-dialog__title {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.pn-dialog__sub {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--pn-muted);
}

.pn-dialog__body {
    padding: 12px 24px 24px;
}

.pn-dialog__foot {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 24px 24px;
}

.pn-dialog__head + .pn-dialog__foot {
    padding-top: 16px;
}

.pn-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: pn-step;
}

.pn-steps li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--pn-tint);
    font-size: 14px;
    line-height: 20px;
    color: rgba(26, 26, 28, 0.75);
    counter-increment: pn-step;
}

.pn-steps li:before {
    content: counter(pn-step);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary-500);
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
}

.pn-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 8px 18px;
    border-radius: 999px;
    background: var(--pn-tint);
}

.pn-code b {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
}

.pn-code--sm b {
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0.06em;
}

.pn-invite .pn-code b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0;
}

.pn-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(26, 26, 28, 0.1);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.75);
    cursor: pointer;
    transition: color 0.2s, box-shadow 0.2s;
}

.pn-copy .pn-ic {
    width: 16px;
    height: 16px;
}

.pn-copy:hover {
    color: var(--color-primary-500);
    box-shadow: inset 0 0 0 1px rgba(34, 76, 152, 0.3);
}

.pn-copy.is-done {
    color: var(--color-primary-500);
}

.pn-dots {
    display: flex;
    gap: 6px;
}

.pn-dots i {
    display: block;
    width: 28px;
    height: 6px;
    border-radius: 3px;
    background: rgba(26, 26, 28, 0.1);
}

.pn-dots i.is-done {
    background: var(--color-primary-500);
}

.pn-dots i.is-now {
    background: var(--color-primary-300);
}

.pn-kv {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.pn-kv > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--pn-line);
    font-size: 14px;
    line-height: 20px;
}

.pn-kv > div:last-child {
    border-bottom: 0;
}

.pn-kv dt {
    color: var(--pn-muted);
}

.pn-kv dd {
    margin: 0;
    font-weight: 500;
    text-align: right;
}

.pn-big {
    font-size: 36px;
    line-height: 40px;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.pn-big small {
    margin-left: 4px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--pn-faint);
}

.pn-ring--lg {
    width: 112px;
    height: 112px;
}

.pn-ring--lg:after {
    inset: 10px;
}

.pn-ring--lg span {
    font-size: 24px;
    letter-spacing: -0.02em;
}

.pn-line {
    position: relative;
}

.pn-card .bx-plot {
    padding: 16px 16px 4px 0;
    border-radius: 0;
    background: none;
}

.pn-line--marks .bx-plot {
    padding-top: 34px;
}

.pn-line__area {
    position: absolute;
    inset: 0 12px;
}

.pn-line__target,
.pn-line__proj {
    fill: none;
    stroke-width: 3px;
    stroke-linecap: round;
}

.pn-line__target {
    stroke: rgba(123, 123, 123, 0.4);
}

.pn-line__proj {
    stroke: var(--color-primary-300);
    stroke-dasharray: 2 7;
}

.pn-line .bx-plot__dot {
    cursor: default;
}

.pn-line__tip:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    border: 5px solid transparent;
    border-top: 6px solid var(--color-secondary);
    border-bottom: 0;
    transform: translateX(-50%);
}

.pn-line__tip.is-end {
    transform: translate(calc(-100% + 14px), calc(-100% - 12px));
}

.pn-line__tip.is-end:after {
    left: calc(100% - 14px);
}

.pn-line__tip.is-below {
    transform: translate(-50%, 12px);
}

.pn-line__tip.is-below.is-end {
    transform: translate(calc(-100% + 14px), 12px);
}

.pn-line__tip.is-below:after {
    top: auto;
    bottom: 100%;
    border-top: 0;
    border-bottom: 6px solid var(--color-secondary);
}

.pn-line__tag {
    z-index: 3;
    transform: translate(-50%, calc(-100% - 8px));
}

.pn-line__tag.is-end {
    transform: translate(-100%, calc(-100% - 8px));
}

.pn-line__tag.is-below {
    transform: translate(-50%, 8px);
}

.pn-line__tag.is-below.is-end {
    transform: translate(-100%, 8px);
}

.pn-line__tag.is-proj {
    background: var(--color-primary-50);
    color: var(--color-primary-500);
}

.pn-line__mark {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: repeating-linear-gradient(180deg, rgba(26, 26, 28, 0.3) 0 5px, transparent 5px 12px);
}

.pn-line__mark span {
    position: absolute;
    bottom: 100%;
    left: 0;
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    color: rgba(26, 26, 28, 0.55);
    white-space: nowrap;
    transform: translate(-50%, -6px);
}

.pn-line__mark.is-end span {
    transform: translate(-100%, -6px);
}

.pn-line__mark.is-start span {
    transform: translate(0, -6px);
}

.pn-line__x {
    grid-column: 2;
    position: relative;
    height: 16px;
    margin: 0 12px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: rgba(123, 123, 123, 0.8);
    white-space: nowrap;
}

.pn-line__x span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
}

.pn-line__legend {
    justify-content: flex-start;
    gap: 6px 20px;
    margin-top: 14px;
    padding: 0 4px;
}

.pn-line__sw.is-main {
    background: var(--color-primary-500);
}

.pn-line__sw.is-target {
    background: rgba(123, 123, 123, 0.4);
}

.pn-line__sw.is-proj {
    background: var(--color-primary-300);
}

.pn-heat {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(7, 1fr);
    gap: 4px;
    overflow-x: auto;
}

.pn-heat i {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: rgba(26, 26, 28, 0.05);
}

.pn-heat i[data-l="1"],
.pn-heat__legend i[data-l="1"] {
    background: rgba(34, 76, 152, 0.2);
}

.pn-heat i[data-l="2"],
.pn-heat__legend i[data-l="2"] {
    background: rgba(34, 76, 152, 0.4);
}

.pn-heat i[data-l="3"],
.pn-heat__legend i[data-l="3"] {
    background: rgba(34, 76, 152, 0.7);
}

.pn-heat i[data-l="4"],
.pn-heat__legend i[data-l="4"] {
    background: var(--color-primary-500);
}

.pn-heat__legend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--pn-faint);
}

.pn-heat__legend i {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.pn-flow {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pn-flow:before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 19px;
    width: 2px;
    border-radius: 1px;
    background: rgba(26, 26, 28, 0.07);
}

.pn-flow li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 6px 0;
}

.pn-flow__time {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 1.5px rgba(26, 26, 28, 0.1);
    font-size: 11px;
    font-weight: 600;
    color: rgba(26, 26, 28, 0.6);
}

.pn-flow li.is-done .pn-flow__time {
    background: var(--color-primary-500);
    box-shadow: none;
    color: #ffffff;
}

.pn-flow li.is-now .pn-flow__time {
    box-shadow: inset 0 0 0 2px var(--color-primary-500);
    color: var(--color-primary-500);
}

.pn-flow__text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.pn-flow__text b {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.pn-flow__text small {
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-muted);
}

.pn-flow li.is-done .pn-flow__text b {
    color: var(--pn-faint);
    text-decoration: line-through;
}

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

.pn-hbar__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 18px;
}

.pn-hbar__top span {
    color: rgba(26, 26, 28, 0.75);
}

.pn-hbar__top b {
    flex-shrink: 0;
    font-weight: 500;
    color: var(--pn-muted);
}

.pn-hbar .bx-bar {
    height: 8px;
    border-radius: 4px;
}

.pn-hbar .bx-bar span {
    border-radius: 4px;
    background: var(--color-primary-500);
}

.pn-hbar.is-low .bx-bar span {
    background: var(--color-secondary);
}

.pn-hbar.is-soft .bx-bar span {
    background: var(--color-primary-300);
}

.pn-split {
    display: flex;
    height: 10px;
    overflow: hidden;
    border-radius: 5px;
    background: rgba(26, 26, 28, 0.06);
}

.pn-split i {
    display: block;
    height: 100%;
}

.pn-split .is-right {
    background: var(--pn-right);
}

.pn-split .is-wrong {
    background: var(--pn-wrong);
}

.pn-split .is-blank {
    background: rgba(26, 26, 28, 0.15);
}

.pn-cwb .is-right {
    color: var(--pn-right);
}

.pn-cwb .is-wrong {
    color: var(--pn-wrong);
}

.pn-thread {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pn-msg {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 78%;
}

.pn-msg__who {
    margin: 0 0 6px 4px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: var(--pn-muted);
}

.pn-msg__body {
    padding: 14px 18px;
    border-radius: 6px 22px 22px 22px;
    background: var(--pn-tint);
    font-size: 14px;
    line-height: 22px;
    color: rgba(26, 26, 28, 0.82);
}

.pn-msg__body p {
    margin: 0;
    color: inherit;
}

.pn-msg__body p + p {
    margin-top: 8px;
}

.pn-msg__time {
    margin: 6px 4px 0;
    font-size: 11px;
    line-height: 14px;
    color: var(--pn-faint);
}

.pn-msg--me {
    align-self: flex-end;
    align-items: flex-end;
}

.pn-msg--me .pn-msg__body {
    border-radius: 22px 6px 22px 22px;
    background: var(--color-primary-500);
    color: #ffffff;
}

.pn-sheet {
    display: flex;
    flex-direction: column;
}

.pn-sheet__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 4px;
    border-bottom: 1px solid var(--pn-line);
}

.pn-sheet__row:last-child {
    border-bottom: 0;
}

.pn-sheet__n {
    flex-shrink: 0;
    width: 28px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pn-muted);
    font-variant-numeric: tabular-nums;
}

.pn-bubbles {
    display: flex;
    gap: 8px;
}

.pn-bubble {
    position: relative;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin: 0;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 1.5px rgba(26, 26, 28, 0.14);
    font-size: 13px;
    font-weight: 600;
    color: rgba(26, 26, 28, 0.6);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.pn-bubble input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.pn-bubble:hover {
    box-shadow: inset 0 0 0 1.5px var(--color-primary-500);
    color: var(--color-primary-500);
}

.pn-bubble:has(input:checked) {
    background: var(--color-primary-500);
    box-shadow: none;
    color: #ffffff;
}

.pn-bubble:has(input:disabled) {
    cursor: not-allowed;
}

.pn-bubble:has(input:disabled):not(:has(input:checked)) {
    opacity: 0.4;
}

.pn-bubble:has(input:disabled:checked) {
    background: var(--color-secondary);
}

.pn-bubble:has(input:focus-visible) {
    outline: 2px solid var(--color-primary-500);
    outline-offset: 2px;
}

.pn-sheet__state {
    margin-left: auto;
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-faint);
}

.pn-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 12px;
    padding: 8px 20px 20px;
}

.pn-podium__p {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pn-podium__p .pn-avatar {
    width: 52px;
    height: 52px;
    margin-bottom: 10px;
    font-size: 16px;
}

.pn-podium__p b {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.pn-podium__p small {
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-muted);
}

.pn-podium__step {
    display: grid;
    place-items: center;
    width: 100%;
    margin-top: 12px;
    border-radius: 20px 20px 8px 8px;
    background: var(--pn-tint);
    font-size: 22px;
    font-weight: 600;
    color: rgba(26, 26, 28, 0.5);
}

.pn-podium__p:nth-child(1) .pn-podium__step {
    height: 72px;
}

.pn-podium__p:nth-child(2) .pn-podium__step {
    height: 104px;
    background: linear-gradient(180deg, var(--color-primary-500) 0%, var(--color-primary-400) 100%);
    box-shadow: 0 16px 24px -12px rgba(23, 52, 102, 0.5);
    color: #ffffff;
}

.pn-podium__p:nth-child(3) .pn-podium__step {
    height: 56px;
}

.pn-avatar--dark {
    background: linear-gradient(135deg, #4a4c52 0%, var(--color-secondary) 100%);
}

.pn-avatar--soft {
    background: rgba(26, 26, 28, 0.08);
    box-shadow: none;
    color: rgba(26, 26, 28, 0.6);
}

.pn-avatar--sm {
    width: 32px;
    height: 32px;
    font-size: 12px;
}

.pn-rank {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 60px;
    padding: 8px 16px 8px 12px;
    border-radius: 20px;
}

.pn-rank:nth-child(odd) {
    background: var(--pn-tint);
}

.pn-rank__n {
    flex-shrink: 0;
    width: 28px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--pn-muted);
    font-variant-numeric: tabular-nums;
}

.pn-rank__name {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
}

.pn-rank__name span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pn-rank__xp {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.7);
    font-variant-numeric: tabular-nums;
}

.pn-rank.is-me {
    background: #ffffff;
    box-shadow: inset 0 0 0 1.5px var(--color-primary-500), 0 16px 32px -16px rgba(23, 52, 102, 0.28);
}

.pn-subhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 0;
}

.pn-subhead__title {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.pn-subhead__title small {
    margin-left: 8px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--pn-faint);
}

.pn-body--focus {
    min-height: 100vh;
}

@media (max-width: 1279px) {
    .pn-grid--4,
    .pn-stats--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .pn-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pn-grid,
    .pn-grid--2,
    .pn-form__row,
    .pn-options--grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .pn-stats--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pn-stats--4 .pn-stat {
        display: block;
        padding: 16px 16px 0;
    }

    .pn-stats--4 .pn-stat__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pn-stats--4 .pn-stat__foot {
        justify-content: flex-start;
        width: auto;
        height: auto;
        margin-top: 12px;
        padding: 10px 0 12px;
        border-top: 1px solid var(--pn-line);
        border-radius: 0;
        background: none;
        font-size: 12px;
    }

    .pn-stats--4 .pn-stat__foot span {
        position: static;
        width: auto;
        height: auto;
        overflow: hidden;
        clip: auto;
        text-overflow: ellipsis;
    }

    .pn-intro {
        align-items: flex-start;
    }

    .pn-band {
        flex-wrap: wrap;
        padding: 16px;
    }

    .pn-band > .btn,
    .pn-band > .pn-btns {
        flex-basis: 100%;
    }

    .pn-seg {
        display: flex;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .pn-seg__tab {
        padding: 0 12px;
    }

    .pn-chips {
        flex-wrap: nowrap;
        margin: 0 -16px;
        padding: 0 16px 4px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .pn-msg {
        max-width: 92%;
    }

    .pn-dialog__head,
    .pn-dialog__body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pn-dialog__foot {
        padding: 0 20px 20px;
    }

    .pn-big {
        font-size: 30px;
        line-height: 36px;
    }

    .pn-bubble {
        width: 34px;
        height: 34px;
    }

    .pn-bubbles {
        gap: 6px;
    }

    .pn-podium {
        gap: 8px;
        padding: 8px 12px 16px;
    }
}

.pn-stat__value small {
    margin-left: 3px;
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--pn-faint);
}

.bx-status.is-dark {
    background: var(--color-secondary);
    color: #ffffff;
}

.bx-status.is-dark:before {
    background: #ffffff;
}

.pn-card .bx-group__icon.is-dark {
    background: var(--color-secondary);
    color: #ffffff;
}

.pn-card .bx-group__icon.is-soft {
    background: rgba(26, 26, 28, 0.05);
    color: rgba(26, 26, 28, 0.55);
}

.pn-card__note {
    margin: 0;
    padding: 4px 20px 20px;
    font-size: 13px;
    line-height: 19px;
    color: var(--pn-faint);
}

.pn-cut .pn-seg-wrap > .pn-seg {
    margin-bottom: 16px;
}

.pn-cut__line {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
    color: var(--color-secondary);
}

.pn-cut__foot {
    margin: 16px 0 0;
    font-size: 13px;
    line-height: 19px;
    color: var(--pn-faint);
}

.pn-flow-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0 10px;
}

.pn-flow-head .pn-cal__sec {
    padding: 0;
}

.pn-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-muted);
}

.pn-time select {
    height: 32px;
    padding: 0 28px 0 12px;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23224c98' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E") no-repeat right 10px center;
    appearance: none;
    cursor: pointer;
    border: 1px solid var(--color-stroke-3);
    border-radius: 999px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary-500);
    outline: none;
}

.pn-time select:focus {
    border-color: var(--color-primary-500);
}

.pn-flow__text small b {
    font-weight: 600;
    color: rgba(26, 26, 28, 0.7);
}

.pn-flow__go {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 4px;
    margin-top: 4px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: var(--color-primary-500);
}

.pn-flow__go .pn-ic {
    width: 14px;
    height: 14px;
}

.pn-cal__foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
    padding: 12px 0 4px;
    border-top: 1px solid var(--pn-line);
    font-size: 13px;
    line-height: 18px;
    color: var(--pn-muted);
}

.pn-cal__foot b {
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-cal__hint {
    margin: 8px 0 4px;
    font-size: 12px;
    line-height: 17px;
    color: var(--pn-faint);
}

.pn-day {
    padding: 8px 0 4px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.55);
}

.pn-day:first-letter {
    text-transform: uppercase;
}

.pn-cal .bx-group .pn-count {
    margin-right: 0;
}

.pn-coach__lead {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 21px;
    color: rgba(26, 26, 28, 0.7);
}

.pn-coach .bx-group,
.pn-fixes .bx-group {
    height: auto;
    min-height: 60px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.pn-coach .pn-row__text b {
    white-space: normal;
    font-weight: 400;
    color: rgba(26, 26, 28, 0.82);
}

.pn-coach__cta {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 4px;
    margin-left: 12px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    color: var(--color-primary-500);
}

.pn-coach__cta .pn-ic {
    width: 14px;
    height: 14px;
}

.pn-spark {
    display: flex;
    flex-direction: column;
    padding: 20px 20px 16px;
}

.pn-spark__k {
    font-size: 13px;
    line-height: 18px;
    color: var(--pn-muted);
}

.pn-spark__v {
    margin-top: 6px;
    font-size: 30px;
    line-height: 36px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--color-secondary);
}

.pn-spark__v.is-blue {
    color: var(--color-primary-500);
}

.pn-spark__h {
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-faint);
}

.pn-spark svg {
    display: block;
    width: 100%;
    height: 32px;
    margin-top: 14px;
}

.pn-spark path {
    fill: none;
    stroke: rgba(123, 123, 123, 0.4);
    stroke-width: 3px;
    stroke-linecap: round;
}

.pn-spark.is-key path {
    stroke: var(--color-primary-500);
}

.pn-ready__value {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    font-size: 40px;
    line-height: 44px;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--color-secondary);
}

.pn-ready__value .bx-delta {
    letter-spacing: 0;
}

.pn-delta-cap {
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--pn-muted);
}

.pn-graph--donut {
    display: flex;
    flex-direction: column;
    container-type: inline-size;
}

.pn-graph--donut > .bx-donut {
    flex: 1 0 auto;
    justify-content: center;
}

@container (max-width: 479px) {
    .pn-graph--donut > .bx-donut--row {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .pn-graph--donut > .bx-donut--row .bx-donut__ring {
        align-self: center;
    }
}

.pn-graph--fill {
    display: flex;
    flex-direction: column;
}

.pn-graph .bx-plot__x:not(.bx-plot__x--edge) span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.pn-graph--fill > .bx-plot {
    flex: 1 0 auto;
    height: auto;
    min-height: 220px;
}

@media (max-width: 479px) {
    .pn-card .bx-plot {
        column-gap: 6px;
        padding-right: 8px;
    }

    .pn-graph .bx-plot__x {
        font-size: 11px;
    }
}

.pn-graph .bx-legend {
    justify-content: flex-start;
    gap: 6px 20px;
    margin-top: 12px;
    padding: 0 8px;
}

.pn-ready__narr {
    margin: 12px 0 4px;
    font-size: 14px;
    line-height: 21px;
    font-weight: 500;
    color: var(--color-primary-500);
}

.pn-ready__narr span {
    font-weight: 400;
    color: var(--pn-muted);
}

.pn-ready .pn-meta {
    margin-top: 12px;
}

.pn-focus {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
}

.pn-focus .bx-group__icon {
    margin: 0 0 20px;
}

.pn-focus__label {
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.pn-focus__name {
    margin-top: 8px;
    font-size: 24px;
    line-height: 30px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.pn-focus__line {
    margin-top: 4px;
    font-size: 13px;
    line-height: 18px;
    color: rgba(255, 255, 255, 0.6);
}

.pn-focus__meter {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
    margin-top: 20px;
    font-size: 13px;
    line-height: 18px;
    color: rgba(255, 255, 255, 0.6);
}

.pn-focus__meter b {
    font-weight: 500;
    color: #ffffff;
}

.pn-focus .bx-bar {
    background: rgba(255, 255, 255, 0.12);
}

.pn-focus .bx-bar span {
    background: #ffffff;
}

.pn-focus__why {
    flex: 1;
    margin: 16px 0 24px;
    font-size: 14px;
    line-height: 21px;
    color: rgba(255, 255, 255, 0.78);
}

.pn-score {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 8px;
}

.pn-score b {
    font-size: 32px;
    line-height: 38px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.pn-score b small {
    font-size: 15px;
    font-weight: 400;
    color: var(--pn-faint);
}

.pn-score > span:not(.pn-tag):not(.bx-delta) {
    font-size: 13px;
    color: var(--pn-muted);
}

.pn-lbrow {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 48px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 20px;
}

.pn-lbrow + .pn-lbrow {
    margin-top: 2px;
}

.pn-lbrow__rank {
    width: 28px;
    flex-shrink: 0;
    font-weight: 600;
    color: rgba(26, 26, 28, 0.45);
}

.pn-lbrow__nick {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(26, 26, 28, 0.82);
}

.pn-lbrow__xp {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--pn-muted);
}

.pn-lbrow.is-me {
    background: var(--color-primary-50);
}

.pn-lbrow.is-me .pn-lbrow__rank,
.pn-lbrow.is-me .pn-lbrow__nick {
    color: var(--color-primary-500);
    font-weight: 600;
}

.pn-lbrow--gap {
    justify-content: center;
    height: 20px;
    color: var(--pn-faint);
}

.pn-mrow__sub {
    margin: -4px 0 10px;
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-faint);
}

.pn-mrow__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 18px;
    color: var(--pn-muted);
}

.pn-mrow__foot b {
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-mrow__foot .pn-link {
    flex-shrink: 0;
}

.bx-mrow__value .pn-tag {
    margin-left: 6px;
}

a.bx-mrow {
    display: block;
    transition: box-shadow 0.2s;
}

a.bx-mrow:hover {
    box-shadow: inset 0 0 0 1px var(--color-primary-200);
}

.pn-acc__value {
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-acc .bx-mrow {
    background: var(--pn-tint);
}

.pn-quad {
    display: grid;
    grid-template-columns: 56px repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
}

.pn-card__body--col {
    display: flex;
    flex-direction: column;
}

.pn-card__body--col > .pn-quad {
    flex: 1 0 auto;
    grid-template-rows: auto 1fr 1fr;
}

.pn-quad__h {
    padding: 0 4px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: var(--pn-muted);
}

.pn-quad__r {
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: var(--pn-muted);
}

.pn-quad .bx-cell {
    gap: 2px;
}

.pn-quad .bx-cell b {
    font-size: 22px;
    line-height: 28px;
    font-weight: 500;
}

.pn-quad .bx-cell span {
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    color: var(--color-secondary);
}

.pn-quad .bx-cell small {
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-faint);
}

.pn-quad .bx-cell.is-key {
    background: #ffffff;
    box-shadow: inset 0 0 0 1.5px var(--color-primary-500), 0 16px 32px -16px rgba(23, 52, 102, 0.28);
}

.pn-quad .bx-cell.is-key b {
    color: var(--color-primary-500);
}

.pn-heat-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px 8px 8px;
}

.pn-heat-wrap__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.pn-heat i[data-l="0"],
.pn-heat__legend i[data-l="0"] {
    background: rgba(26, 26, 28, 0.05);
}

.pn-heat--fill {
    grid-template-columns: repeat(var(--pn-weeks), minmax(0, 1fr));
    overflow: visible;
}

.pn-heat--fill i {
    width: auto;
    height: auto;
    aspect-ratio: 1;
}

.pn-heat i.is-pad {
    visibility: hidden;
}

.pn-fixes .pn-row__text b,
.pn-fixes .pn-row__text small {
    white-space: normal;
}

.pn-ready__top {
    padding: 0 8px 16px;
}

.pn-score,
.pn-group-head,
.pn-card__body > .pn-coach__lead {
    padding-left: 8px;
    padding-right: 8px;
}

.pn-note--after {
    margin-top: 12px;
}

.pn-wq > summary .pn-row__text b {
    white-space: normal;
}

.pn-wq__tags {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.pn-wq__stem {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 22px;
    color: rgba(26, 26, 28, 0.85);
}

.pn-wq .pn-choices {
    margin-bottom: 12px;
}

.pn-wq__mc {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 20px;
    color: var(--pn-muted);
}

.pn-wq__mc b {
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 10px;
}

.pn-acc + .pn-group-head {
    margin-top: 20px;
}

.pn-group-head b {
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
}

.pn-group-head b small {
    margin-left: 6px;
    font-size: 13px;
    font-weight: 400;
    color: var(--pn-faint);
}

@media (max-width: 767px) {
    .pn-quad {
        grid-template-columns: 44px repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .pn-quad .bx-cell {
        padding: 10px;
    }

    .pn-coach .bx-group__icon {
        display: none;
    }

    .pn-mrow__foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .pn-ready__value {
        font-size: 34px;
        line-height: 40px;
    }

    .pn-wq > summary {
        flex-wrap: wrap;
    }

    .pn-wq__tags {
        flex-direction: row;
        width: 100%;
        padding-left: 54px;
        justify-content: flex-start;
    }
}

.pn-card--dark {
    background: linear-gradient(140deg, #34363c -20%, var(--color-secondary) 55%);
    box-shadow: 0 24px 32px -20px rgba(26, 26, 28, 0.5);
    color: #ffffff;
}

.pn-card--dark:after {
    border-color: rgba(255, 255, 255, 0.12);
}

.pn-card--dark .bx-group__icon,
.pn-card--dark .bx-group__icon .pn-ic {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.pn-card--dark .bx-group__icon .pn-ic {
    background: none;
}

.bx-group__icon.is-dark .pn-ic {
    color: #ffffff;
}

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

.pn-nlist .bx-group {
    align-items: flex-start;
    height: auto;
    padding: 14px 16px 14px 12px;
}

.pn-nlist .bx-group__icon {
    flex-shrink: 0;
}

.pn-nlist .pn-row__text {
    margin-left: 4px;
}

.pn-nlist .pn-row__text b {
    white-space: normal;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.6);
}

.pn-nlist .pn-row__text span {
    margin-top: 2px;
    font-size: 13px;
    line-height: 19px;
    color: var(--pn-muted);
}

.pn-nlist .pn-row__text small {
    margin-top: 6px;
    color: var(--pn-faint);
}

.pn-nlist .pn-tag {
    align-self: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 10px;
    font-weight: 600;
}

.pn-nlist .bx-group.is-unread:before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--color-primary-500);
}

.pn-nlist .bx-group.is-unread .pn-row__text b {
    font-weight: 600;
    color: var(--color-secondary);
}

[data-state="read"] .pn-nlist .bx-group.is-unread:before {
    content: none;
}

[data-state="read"] .pn-nlist .bx-group.is-unread .pn-row__text b {
    font-weight: 500;
    color: rgba(26, 26, 28, 0.6);
}

.pn-sv .pn-card__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pn-sv .pn-options--grid:first-child {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pn-sv__sec {
    justify-content: flex-start;
    gap: 14px;
}

.pn-sv__sec .pn-option__text {
    width: 100%;
    padding-right: 28px;
}

.pn-sv__sec .pn-option__text b {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 16px;
    line-height: 22px;
}

.pn-sv__sec .pn-hbar,
.pn-sv__meta {
    display: block;
    align-self: stretch;
    margin-top: auto;
}

.pn-sv__sec .bx-bar {
    display: block;
}

.pn-sv__meta {
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-faint);
}

.pn-sv__topics {
    padding: 4px 4px 0;
}

.pn-option__text .pn-sv__focus {
    font-weight: 500;
    color: var(--color-primary-500);
}

.pn-sv__foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 4px;
    padding: 16px 8px 8px;
    border-top: 1px solid var(--pn-line);
}

.pn-sv__target .pn-label {
    margin-bottom: 8px;
}

.pn-qhud {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 20px 18px;
}

.pn-qhud__bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pn-qhud__bar .bx-bar {
    display: block;
    flex: 1;
    height: 8px;
    border-radius: 4px;
}

.pn-qhud__bar .bx-bar span {
    border-radius: 4px;
    background: var(--color-primary-500);
}

.pn-qhud__bar b {
    flex-shrink: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.pn-qhud__bar b small {
    margin-left: 2px;
    font-size: 12px;
    font-weight: 400;
    color: var(--pn-faint);
}

.pn-qhud__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pn-qhud__stats li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--pn-tint);
    font-size: 13px;
    line-height: 18px;
    color: var(--pn-muted);
}

.pn-qhud__stats b {
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-qhud__stats .is-right b {
    color: var(--pn-right);
}

.pn-qhud__stats .is-wrong b {
    color: var(--pn-wrong);
}

.pn-qhud__stats .pn-ic {
    width: 16px;
    height: 16px;
    color: var(--color-primary-500);
}

.pn-tstrip {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pn-tstrip__n {
    display: grid;
    place-items: center;
    height: 36px;
    border-radius: 12px;
    background: var(--pn-tint);
    font-size: 13px;
    font-weight: 600;
    color: var(--pn-muted);
    transition: background-color 0.2s, color 0.2s;
}

.pn-tstrip__n:hover {
    background: rgba(26, 26, 28, 0.06);
    color: var(--color-secondary);
}

.pn-tstrip__n.is-done {
    background: rgba(34, 76, 152, 0.1);
    color: var(--color-primary-500);
}

.pn-tstrip__n.is-now {
    background: var(--color-primary-500);
    box-shadow: 0 8px 16px -8px rgba(23, 52, 102, 0.6);
    color: #ffffff;
}

.pn-q {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 20px 22px;
}

.pn-q__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pn-q__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.pn-q__count {
    flex-shrink: 0;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    color: var(--pn-muted);
}

.pn-q__stem {
    margin: 0;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--color-secondary);
}

.pn-q__stem--sm {
    font-size: 15px;
    line-height: 24px;
}

.pn-q__stem.is-lines,
.pn-wq__stem.is-lines {
    white-space: pre-line;
}

.pn-q__passage {
    margin: 0;
    padding: 16px 18px;
    border-radius: 12px;
    background: var(--pn-tint);
    font-size: 15px;
    line-height: 25px;
    font-weight: 400;
    color: rgba(26, 26, 28, 0.85);
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.pn-q__fig {
    margin: 0;
}

.pn-q__fig img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 440px;
    margin: 0 auto;
    border: 1px solid var(--pn-line);
    border-radius: 12px;
    background: #fff;
}

.pn-wq .pn-q__passage,
.pn-wq .pn-q__fig {
    margin-bottom: 12px;
}

.pn-q__actions,
.pn-q__next,
.pn-q__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.pn-q__nav {
    justify-content: space-between;
}

.pn-q__feedback {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pn-q__block .pn-label {
    margin-bottom: 8px;
}

.pn-q__type {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 21px;
    color: var(--pn-muted);
}

.pn-q__why {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pn-q__why li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px 10px 12px;
    border-radius: 16px;
    background: var(--pn-tint);
}

.pn-q__why li.is-right {
    background: var(--pn-right-soft);
}

.pn-q__why .pn-choice__key {
    width: 28px;
    height: 28px;
    font-size: 12px;
}

.pn-q__why p {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 14px;
    line-height: 21px;
    color: rgba(26, 26, 28, 0.7);
}

.pn-q__why p b {
    margin-right: 6px;
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-q__why p > span:last-child {
    display: block;
    margin-top: 2px;
}

.pn-q__tabs .pn-seg {
    margin-bottom: 12px;
}

.pn-q__tabs .pn-seg__panels {
    padding: 0 4px;
}

.pn-q__text {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: rgba(26, 26, 28, 0.75);
}

.pn-q__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
    line-height: 22px;
    color: rgba(26, 26, 28, 0.75);
}

ol.pn-q__list {
    list-style: decimal;
}

ul.pn-q__list {
    list-style: disc;
}

.pn-q__note {
    min-height: 96px;
    margin-top: 12px;
}

.pn-sum {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 280px);
    align-items: center;
    gap: 28px;
    padding: 24px 28px;
}

.pn-sum__body .pn-label {
    margin-bottom: 6px;
}

.pn-sum__msg {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: var(--color-secondary);
}

.pn-sum__kv > div {
    padding: 8px 0;
}

.pn-sum__kv .pn-sum__right {
    color: var(--pn-right);
}

.pn-sum__kv .pn-sum__wrong {
    color: var(--pn-wrong);
}

.pn-sum__week {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 4px 20px 20px;
}

.pn-trq-head {
    margin: 4px 4px -8px;
}

.pn-trq {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px 18px 22px;
}

.pn-trq__no {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-secondary);
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.pn-trq .pn-wq__mc {
    margin: 0;
}

.pn-trq__sol > summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--color-primary-500);
    cursor: pointer;
}

.pn-trq__sol > summary::-webkit-details-marker {
    display: none;
}

.pn-trq__chev {
    width: 16px;
    height: 16px;
    transform: rotate(90deg);
    transition: transform 0.2s;
}

.pn-trq__sol[open] .pn-trq__chev {
    transform: rotate(-90deg);
}

.pn-trq__sol .pn-note {
    margin-top: 10px;
}

.pn-rep__card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
}

.pn-rep__head .pn-label {
    margin-bottom: 6px;
}

.pn-rep__title {
    margin: 0;
    font-size: 22px;
    line-height: 30px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.pn-rep__sub {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 21px;
    color: var(--pn-muted);
}

.pn-rep__vs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pn-rep__step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    color: var(--pn-muted);
}

.pn-rep__quiz {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pn-rep__end.is-passed .bx-group__icon {
    background: var(--pn-right-soft);
    color: var(--pn-right);
}

@media (max-width: 1279px) {
    .pn-sv .pn-options--grid:first-child {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .pn-sum {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .pn-sum__kv {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .pn-sv .pn-options--grid:first-child {
        grid-template-columns: minmax(0, 1fr);
    }

    .pn-sv__target,
    .pn-sv__foot .btn {
        width: 100%;
    }

    .pn-sv__foot .btn,
    .pn-sv__target .pn-chip {
        justify-content: center;
    }

    .pn-sv__target .pn-chip {
        flex: 1 1 auto;
        padding: 0 12px;
    }

    .pn-sv__target[data-pn-view] .pn-chips {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    .pn-qhud__stats li {
        height: 30px;
        padding: 0 10px;
    }

    .pn-tstrip {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .pn-q,
    .pn-trq {
        padding: 16px;
    }

    .pn-q__stem {
        font-size: 16px;
        line-height: 25px;
    }

    .pn-q__head {
        align-items: flex-start;
    }

    .pn-q__tabs .pn-seg {
        display: flex;
        width: 100%;
    }

    .pn-q__tabs .pn-seg__tab {
        flex: 1 1 0;
        height: auto;
        min-height: 34px;
        padding: 6px 8px;
        line-height: 16px;
        text-align: center;
        white-space: normal;
    }

    .pn-q__next .btn,
    .pn-q__actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .pn-sum {
        gap: 16px 20px;
        padding: 20px;
    }

    .pn-sum .pn-ring--lg {
        width: 88px;
        height: 88px;
    }

    .pn-sum .pn-ring--lg:after {
        inset: 8px;
    }

    .pn-rep__card {
        padding: 18px 16px;
    }

    .pn-rep__title {
        font-size: 19px;
        line-height: 26px;
    }

    .pn-rep__vs {
        grid-template-columns: minmax(0, 1fr);
    }
}

.pn-mk-tabs .pn-seg__panels {
    margin-top: 20px;
}

.pn-mk-tabs .pn-seg__panel > * + * {
    margin-top: 20px;
}

.pn-mk-keys .btn {
    align-self: flex-start;
    margin-top: 18px;
}

.pn-mk-trend {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pn-mk-trend__note {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-faint);
}

.pn-mk-tabs .pn-seg__panel > .pn-mk-label {
    margin: 28px 0 -8px;
}

.pn-mk {
    display: flex;
    flex-direction: column;
    padding: 20px 20px 0;
}

.pn-mk__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.pn-mk .pn-big {
    margin-top: 16px;
}

.pn-mk .pn-cwb {
    margin-top: 14px;
}

.pn-mk .pn-stat__foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 0;
}

.pn-mk:hover .pn-stat__foot {
    color: var(--color-primary-500);
}

.pn-mk-entry {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pn-mk-entry .pn-label {
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    .pn-mk-tabs .pn-seg__panels {
        margin-top: 16px;
    }

    .pn-mk-tabs .pn-seg__panel > * + * {
        margin-top: 16px;
    }

    .pn-mk .pn-big {
        font-size: 30px;
        line-height: 36px;
    }

    .pn-mk .pn-stat__foot {
        justify-content: space-between;
        width: auto;
        height: auto;
        margin-top: auto;
        padding: 14px 0 16px;
        border-radius: 0;
        background: none;
    }

    .pn-mk .pn-stat__foot span {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
    }
}

.pn-rp-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pn-rp-stack > .pn-cwb {
    margin-top: 0;
}

.pn-rp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.pn-rp-types {
    margin-top: 18px;
}

.pn-rp-more {
    margin-top: 18px;
}

.pn-cwb--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pn-cwb--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pn-cwb--2 div,
.pn-cwb--4 div {
    padding: 12px 10px;
}

.pn-cwb--2 small,
.pn-cwb--4 small {
    display: block;
}

.pn-rp-topics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.pn-rp-topics .pn-label {
    margin-bottom: -4px;
}

@media (max-width: 1023px) {
    .pn-rp-topics {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .pn-cwb--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.pn-lib .bx-feature__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

.pn-lib .bx-exam__top {
    align-self: stretch;
}

.pn-lib__go {
    margin-top: 12px;
}

.pn-lib__btns {
    margin-top: 12px;
    gap: 6px;
}

.pn-lib__btns .pn-lib__go {
    margin-top: 0;
}

.pn-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: var(--color-secondary);
    outline: 0;
}

.pn-search input::placeholder {
    color: rgba(26, 26, 28, 0.5);
}

.pn-search:focus-within {
    box-shadow: inset 0 0 0 1px var(--color-primary-500);
}

.pn-fm {
    padding: 18px 4px;
    border-top: 1px solid var(--pn-line);
}

.pn-fm:first-child {
    padding-top: 4px;
    border-top: 0;
}

.pn-fm__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pn-fm__name {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
}

.pn-fm__eq {
    margin-top: 12px;
    padding: 12px 18px;
    border-radius: 16px;
}

.pn-fm__eq b {
    font-weight: 500;
    letter-spacing: 0.02em;
}

.pn-fm__sym {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    margin-top: 6px;
}

.pn-fm__sym > div:last-child {
    border-bottom: 1px solid var(--pn-line);
}

.pn-fm__sym > div {
    justify-content: flex-start;
    gap: 14px;
}

.pn-fm__sym dt {
    flex-shrink: 0;
    min-width: 40px;
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-fm__sym dd {
    font-weight: 400;
    text-align: left;
    color: var(--pn-muted);
}

.pn-fm__text {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 21px;
    color: rgba(26, 26, 28, 0.75);
}

.pn-fm__text b {
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-fm .pn-note {
    margin-top: 12px;
}

.pn-fm__open {
    margin: 4px 4px 2px;
}

.pn-fm__none {
    padding: 32px 16px;
}

@media (max-width: 767px) {
    .pn-fm__head {
        flex-wrap: wrap;
    }

    .pn-fm__sym {
        grid-template-columns: minmax(0, 1fr);
    }
}

.pn-read__crumb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.pn-read__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    font-size: 14px;
    line-height: 20px;
    color: rgba(26, 26, 28, 0.6);
}

.pn-read__meta > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pn-read__meta b {
    font-weight: 500;
    color: var(--color-secondary);
}

.pn-read__meta .pn-ic {
    width: 18px;
    height: 18px;
    color: var(--color-primary-500);
}

.pn-read {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pn-read__wm {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: space-around;
    gap: 120px 60px;
    padding: 60px 0;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

.pn-read__wm span {
    transform: rotate(-24deg);
    white-space: nowrap;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.05);
}

.pn-prose {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: calc(16px * var(--pn-fs, 1));
    line-height: 1.75;
    color: rgba(26, 26, 28, 0.82);
}

.pn-prose > p,
.pn-prose > h3,
.pn-prose > ul,
.pn-prose > ol {
    margin: 0;
}

.pn-prose > h3 {
    margin-top: 6px;
    font-size: 1.125em;
    line-height: 1.4;
    font-weight: 500;
    color: var(--color-secondary);
}

.pn-prose > ul,
.pn-prose > ol {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 22px;
}

.pn-prose > ul {
    list-style: disc;
}

.pn-prose > ol {
    list-style: decimal;
}

.pn-prose li::marker {
    font-weight: 600;
    color: var(--color-primary-500);
}

.pn-prose .pn-note {
    font-size: calc(15px * var(--pn-fs, 1));
    line-height: 1.6;
}

.pn-read__scope .pn-label {
    margin-bottom: 4px;
}

.pn-read__formula {
    justify-content: center;
    margin: 0;
    text-align: center;
}

.pn-fm__eq.is-tex b {
    min-width: 0;
    max-width: 100%;
    padding: 4px 0;
    overflow-x: auto;
    overflow-y: hidden;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0;
}

.pn-fm__eq .katex {
    font-size: 1.1em;
}

@media (max-width: 480px) {
    .pn-fm__eq.is-tex b {
        font-size: 14px;
    }
}

.pn-read__terms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pn-read__terms > div {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    padding: 14px 16px;
    border-bottom: 0;
    border-radius: 18px;
    background: rgba(26, 26, 28, 0.035);
}

.pn-read__terms dt {
    font-weight: 500;
    color: var(--color-secondary);
}

.pn-read__terms dd {
    margin: 0;
    text-align: left;
    font-size: calc(14px * var(--pn-fs, 1));
    line-height: 1.55;
    color: rgba(26, 26, 28, 0.65);
}

.pn-read__fig {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}

.pn-read__fig svg {
    display: block;
    width: 100%;
    height: auto;
}

.pn-read__fig figcaption {
    font-size: 13px;
    line-height: 19px;
    text-align: center;
    color: rgba(26, 26, 28, 0.55);
}

.pn-read__table {
    padding: 12px 8px 4px;
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px var(--pn-line);
}

.pn-read__table .pn-table {
    min-width: 520px;
    font-size: 14px;
    line-height: 20px;
}

.pn-read__table td b {
    font-weight: 500;
    color: var(--color-secondary);
}

.pn-read__qc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px rgba(34, 76, 152, 0.18);
}

.pn-read__qc .pn-label {
    margin: 0;
    color: var(--color-primary-500);
}

.pn-read__qq,
.pn-read__qa p {
    margin: 0;
    font-size: calc(15px * var(--pn-fs, 1));
    line-height: 1.6;
}

.pn-read__qq {
    font-weight: 500;
    color: var(--color-secondary);
}

.pn-read__qa {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding-top: 12px;
    border-top: 1px dashed rgba(26, 26, 28, 0.14);
}

button.pn-link {
    cursor: pointer;
}

.pn-read__qres {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--color-primary-500);
}

.pn-read__qres .pn-ic {
    width: 18px;
    height: 18px;
}

.pn-read__bank {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 4px 20px 20px;
}

.pn-read__bq {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pn-read__bq + .pn-read__bq {
    padding-top: 28px;
    border-top: 1px solid var(--pn-line);
}

.pn-read__bq > .pn-tag {
    align-self: flex-start;
}

.pn-read__bq > .pn-btns {
    justify-content: flex-end;
}

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

.pn-read__finish {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 32px;
}

.pn-read__ftitle {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--color-secondary);
}

.pn-read__finish .pn-promo {
    min-height: 0;
}

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

.pn-read__pnav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 18px 22px;
    transition: transform 0.3s;
}

.pn-read__pnav:hover {
    transform: translateY(-2px);
}

.pn-read__pnav .pn-label {
    margin: 0;
}

.pn-read__pnav b {
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    color: var(--color-secondary);
}

.pn-read__pnav--next {
    align-items: flex-end;
    text-align: right;
}

.pn-read__toc {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pn-read__toc a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 20px;
    color: rgba(26, 26, 28, 0.7);
    transition: background 0.2s, color 0.2s;
}

.pn-read__toc a:hover {
    background: rgba(26, 26, 28, 0.035);
    color: var(--color-secondary);
}

.pn-read__toc a.is-active {
    background: rgba(34, 76, 152, 0.08);
    color: var(--color-primary-500);
}

.pn-read__tno {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(26, 26, 28, 0.05);
    font-size: 12px;
    font-weight: 600;
}

.pn-read__toc a.is-active .pn-read__tno {
    background: var(--color-primary-500);
    color: #ffffff;
}

.pn-read__tlabel {
    flex: 1;
    min-width: 0;
}

.pn-read__toc .pn-ic {
    width: 18px;
    height: 18px;
    color: var(--color-primary-500);
}

.pn-spin {
    display: block;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 3px solid rgba(34, 76, 152, 0.15);
    border-top-color: var(--color-primary-500);
    border-radius: 50%;
    animation: pn-spin 0.9s linear infinite;
}

@keyframes pn-spin {
    to {
        transform: rotate(360deg);
    }
}

.pn-pp__load,
.pn-pp__state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 0 4px;
    text-align: center;
}

.pn-pp__load {
    padding: 48px 0;
}

.pn-pp__load b,
.pn-pp__state b {
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    color: var(--color-secondary);
}

.pn-pp__state .pn-text {
    max-width: 380px;
}

.pn-pp__state .btn {
    margin-top: 6px;
}

.pn-pp__state .pn-btns {
    justify-content: center;
    margin-top: 6px;
}

.pn-pp__state .pn-btns .btn {
    margin-top: 0;
}

.pn-pp__pass {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(26, 26, 28, 0.035);
}

.pn-pp__top {
    display: flex;
    align-items: center;
    gap: 18px;
}

.pn-pp__qr {
    flex-shrink: 0;
    width: 132px;
    height: 132px;
    border-radius: 14px;
    box-shadow: 0 0 0 1px rgba(26, 26, 28, 0.08);
}

.pn-pp__fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.pn-pp__fields .pn-label {
    margin-bottom: 2px;
}

.pn-pp__code {
    font-size: 28px;
    line-height: 34px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--color-secondary);
}

.pn-pp__link {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    overflow-wrap: anywhere;
    color: var(--color-primary-500);
}

.pn-pp__hint {
    font-size: 13px;
    line-height: 19px;
}

.pn-pp__exp {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: rgba(26, 26, 28, 0.5);
}

.pn-pp__loc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    line-height: 20px;
    color: rgba(26, 26, 28, 0.65);
}

.pn-pp__loc .pn-ic {
    width: 18px;
    height: 18px;
    color: var(--color-primary-500);
}

.pn-pp__left {
    gap: 6px;
}

.pn-pp__left b {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--color-secondary);
}

.pn-pp__live {
    width: 100%;
    max-width: 320px;
    margin: 2px 0;
}

@media (prefers-reduced-motion: reduce) {
    .pn-spin {
        animation-duration: 2.4s;
    }
}

@media (max-width: 767px) {
    .pn-read__terms,
    .pn-read__pager {
        grid-template-columns: minmax(0, 1fr);
    }

    .pn-read__bank {
        padding: 4px 16px 16px;
    }

    .pn-read__finish {
        padding: 22px 18px;
    }

    .pn-pp__top {
        flex-direction: column;
        align-items: flex-start;
    }
}

.pn-mm__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px;
}

.pn-mm__pick {
    position: relative;
    flex-shrink: 0;
}

.pn-mm__pick summary {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 14px 0 16px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(26, 26, 28, 0.1);
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    color: var(--color-secondary);
    list-style: none;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.pn-mm__pick summary::-webkit-details-marker {
    display: none;
}

.pn-mm__pick summary:hover,
.pn-mm__pick[open] summary {
    box-shadow: inset 0 0 0 1px rgba(34, 76, 152, 0.3);
}

.pn-mm__pick-chev {
    width: 16px;
    height: 16px;
    color: var(--pn-faint);
    transform: rotate(90deg);
    transition: transform 0.2s;
}

.pn-mm__pick[open] .pn-mm__pick-chev {
    transform: rotate(-90deg);
}

.pn-mm__ring {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke-width: 2.5;
    transform: rotate(-90deg);
}

.pn-mm__ring circle:first-child {
    stroke: rgba(26, 26, 28, 0.1);
}

.pn-mm__ring circle:last-child {
    stroke: var(--color-primary-500);
    stroke-linecap: round;
}

.pn-mm__pop {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: min(320px, calc(100vw - 64px));
    max-height: 420px;
    padding: 14px 10px 10px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 24px 48px -16px rgba(23, 52, 102, 0.25), 0 0 0 1px rgba(26, 26, 28, 0.06);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.pn-mm__pop .pn-label {
    margin: 10px 8px 4px;
}

.pn-mm__pop .pn-label:first-child {
    margin-top: 0;
}

.pn-mm__pane {
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: pn-mm-pane 0.22s ease;
}

.pn-mm__pane[hidden] {
    display: none;
}

@keyframes pn-mm-pane {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
}

.pn-mm__subj {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px;
    border-radius: 14px;
    text-align: left;
    color: var(--color-secondary);
    transition: background-color 0.2s;
}

.pn-mm__subj:hover {
    background: rgba(26, 26, 28, 0.04);
}

.pn-mm__subj.is-current {
    background: rgba(34, 76, 152, 0.08);
}

.pn-mm__subj-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(34, 76, 152, 0.08);
    color: var(--color-primary-500);
}

.pn-mm__subj.is-current .pn-mm__subj-icon {
    background: var(--color-primary-500);
    color: #ffffff;
}

.pn-mm__subj-icon .pn-ic {
    width: 18px;
    height: 18px;
}

.pn-mm__subj-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.pn-mm__subj-text b {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.pn-mm__subj-text em {
    font-size: 12px;
    line-height: 16px;
    font-style: normal;
    color: var(--pn-muted);
}

.pn-mm__subj-chev {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--pn-faint);
}

.pn-mm__back {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    height: 30px;
    margin-bottom: 4px;
    padding: 0 12px 0 8px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    color: var(--pn-muted);
    transition: background-color 0.2s, color 0.2s;
}

.pn-mm__back:hover {
    background: rgba(26, 26, 28, 0.05);
    color: var(--color-secondary);
}

.pn-mm__back .pn-ic {
    width: 16px;
    height: 16px;
}

.pn-mm__pane-title {
    margin: 0 8px 6px;
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-mm__topic {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--color-secondary);
    transition: background-color 0.2s;
}

.pn-mm__topic:hover {
    background: rgba(26, 26, 28, 0.04);
}

.pn-mm__topic.is-current {
    background: rgba(34, 76, 152, 0.08);
    color: var(--color-primary-500);
}

.pn-mm__topic span {
    flex: 1;
    min-width: 0;
}

.pn-mm__topic small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--color-secondary);
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
}

.pn-mm__bar .pn-mm__search {
    flex: 1 1 220px;
}

.pn-mm__search small {
    flex-shrink: 0;
    margin-left: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-primary-500);
}

.pn-mm__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pn-mm__tools .pn-chip .pn-ic {
    width: 16px;
    height: 16px;
}

.pn-mm__tour {
    height: 38px;
}

.pn-mm {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: start;
    gap: 20px;
}

.pn-mm__map {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pn-mm__branches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 16px 20px 0;
}

.pn-mm__branches .pn-label {
    flex-shrink: 0;
    margin: 0 4px 0 0;
    white-space: nowrap;
}

.pn-mm__branches .pn-chip.is-current {
    box-shadow: inset 0 0 0 1.5px var(--mm-c);
    color: var(--mm-c);
}

.pn-mm__branches .pn-chip.is-open {
    background: color-mix(in srgb, var(--mm-c) 8%, #ffffff);
    color: var(--mm-c);
}

.pn-mm__branches .pn-chip.is-open .pn-mm__dot {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mm-c) 22%, transparent);
}

.pn-mm__dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--mm-c, var(--color-secondary));
}

.pn-mm__stage {
    position: relative;
    height: 640px;
    margin: 16px 12px 12px;
    border-radius: 20px;
    background-color: #f7f9fc;
    background-image: radial-gradient(rgba(26, 26, 28, 0.13) 1px, transparent 1px);
    background-size: 18px 18px;
    box-shadow: inset 0 0 0 1px rgba(26, 26, 28, 0.05);
    overflow: hidden;
}

.pn-mm__pan {
    position: absolute;
    inset: 0;
    padding: 40px 40px 120px;
    overflow: auto;
    overscroll-behavior: contain;
    cursor: grab;
}

.pn-mm__pan.is-dragging {
    cursor: grabbing;
    -webkit-user-select: none;
    user-select: none;
}

.pn-mm__tree {
    --pn-z: 0.8;
    width: max-content;
    zoom: var(--pn-z);
}

.pn-mm__item {
    --mm-c: var(--color-secondary);
    --mm-l: rgba(26, 26, 28, 0.2);
    --mm-s: rgba(26, 26, 28, 0.05);
    position: relative;
    display: flex;
    align-items: center;
}

.pn-mm__item--t1,
.pn-mm__view.pn-mm__item--t1 {
    --mm-c: #173466;
    --mm-l: rgba(23, 52, 102, 0.3);
    --mm-s: rgba(23, 52, 102, 0.07);
}

.pn-mm__item--t2,
.pn-mm__view.pn-mm__item--t2 {
    --mm-c: #224c98;
    --mm-l: rgba(34, 76, 152, 0.3);
    --mm-s: rgba(34, 76, 152, 0.08);
}

.pn-mm__item--t3,
.pn-mm__view.pn-mm__item--t3 {
    --mm-c: #5c86cc;
    --mm-l: rgba(92, 134, 204, 0.38);
    --mm-s: rgba(92, 134, 204, 0.1);
}

.pn-mm__row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.pn-mm__kids {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 44px;
}

.pn-mm__kids::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 22px;
    border-top: 2px solid var(--mm-l);
}

.pn-mm__kids > .pn-mm__item::before,
.pn-mm__kids > .pn-mm__item::after {
    content: "";
    position: absolute;
    left: -22px;
    width: 22px;
    border-color: var(--mm-l);
    border-style: solid;
    border-width: 0;
    pointer-events: none;
}

.pn-mm__kids > .pn-mm__item::before {
    top: -5px;
    bottom: -5px;
    border-left-width: 2px;
}

.pn-mm__kids > .pn-mm__item::after {
    top: 50%;
    border-top-width: 2px;
}

.pn-mm__kids > .pn-mm__item:first-child::before {
    top: 50%;
    border-top-width: 2px;
    border-top-left-radius: 12px;
}

.pn-mm__kids > .pn-mm__item:last-child::before {
    bottom: 50%;
    border-bottom-width: 2px;
    border-bottom-left-radius: 12px;
}

.pn-mm__kids > .pn-mm__item:first-child::after,
.pn-mm__kids > .pn-mm__item:last-child::after {
    display: none;
}

.pn-mm__kids > .pn-mm__item:only-child::before {
    display: none;
}

.pn-mm__kids > .pn-mm__item:only-child::after {
    display: block;
}

.pn-mm__item.is-folded > .pn-mm__kids {
    display: none;
}

.pn-mm__node {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 260px;
    min-height: 40px;
    margin: 0;
    padding: 9px 14px;
    border: 0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1.5px var(--mm-l), 0 1px 2px rgba(23, 52, 102, 0.06);
    font: inherit;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--color-secondary);
    text-align: left;
    cursor: pointer;
    transition: box-shadow 0.2s, opacity 0.2s, outline-color 0.2s;
    outline: 2px solid transparent;
    outline-offset: 3px;
}

button.pn-mm__node:hover {
    box-shadow: inset 0 0 0 1.5px var(--mm-c), 0 8px 16px -8px rgba(23, 52, 102, 0.3);
}

.pn-mm__node .pn-ic {
    width: 16px;
    height: 16px;
    color: var(--mm-c);
}

.pn-mm__node--root {
    padding: 14px 20px;
    border-radius: 18px;
    background: var(--color-secondary);
    box-shadow: 0 12px 24px -12px rgba(26, 26, 28, 0.5);
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    color: #ffffff;
}

button.pn-mm__node--root:hover {
    box-shadow: 0 16px 28px -12px rgba(26, 26, 28, 0.6);
}

.pn-mm__item--d1 > .pn-mm__row > .pn-mm__node--branch {
    padding: 11px 16px;
    background: var(--mm-c);
    box-shadow: 0 10px 20px -10px var(--mm-c);
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.pn-mm__item--d2 > .pn-mm__row > .pn-mm__node--branch {
    background: var(--mm-s);
    font-weight: 600;
    color: var(--mm-c);
}

.pn-mm__node--key {
    background: var(--mm-s);
    box-shadow: inset 3px 0 0 var(--mm-c), inset 0 0 0 1.5px var(--mm-l);
    font-weight: 600;
}

button.pn-mm__node--key:hover {
    box-shadow: inset 3px 0 0 var(--mm-c), inset 0 0 0 1.5px var(--mm-c), 0 8px 16px -8px rgba(23, 52, 102, 0.3);
}

.pn-mm__node--trap {
    box-shadow: inset 3px 0 0 var(--color-secondary), inset 0 0 0 1.5px rgba(26, 26, 28, 0.24);
}

.pn-mm__node--trap .pn-ic {
    color: var(--color-secondary);
}

button.pn-mm__node--trap:hover {
    box-shadow: inset 3px 0 0 var(--color-secondary), inset 0 0 0 1.5px var(--color-secondary), 0 8px 16px -8px rgba(23, 52, 102, 0.3);
}

.pn-mm__node.is-current {
    outline-color: var(--color-primary-500);
}

.pn-mm__flag {
    position: absolute;
    top: -8px;
    right: -8px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary-500);
    box-shadow: 0 0 0 2px #ffffff;
    color: #ffffff;
}

.pn-mm__node .pn-mm__flag .pn-ic {
    width: 12px;
    height: 12px;
    color: #ffffff;
}

.pn-mm__node.is-marked .pn-mm__flag {
    display: inline-flex;
}

.pn-mm__tree.is-dimming .pn-mm__node:not(.is-hit) {
    opacity: 0.28;
}

.pn-mm__tree.is-dimming .pn-mm__node.is-hit {
    outline-color: var(--color-primary-300);
}

.pn-mm__fold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1.5px var(--mm-l);
    font: inherit;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: var(--mm-c);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.pn-mm__fold .pn-ic {
    width: 12px;
    height: 12px;
    stroke-width: 2.4;
}

.pn-mm__fold span {
    display: none;
}

.pn-mm__fold:hover {
    box-shadow: inset 0 0 0 1.5px var(--mm-c);
}

.is-folded > .pn-mm__row > .pn-mm__fold {
    padding: 0 7px;
    background: var(--mm-c);
    box-shadow: none;
    color: #ffffff;
}

.is-folded > .pn-mm__row > .pn-mm__fold .pn-ic {
    display: none;
}

.is-folded > .pn-mm__row > .pn-mm__fold span {
    display: inline;
}

.pn-mm__zoom {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 20px -8px rgba(23, 52, 102, 0.25), 0 0 0 1px rgba(26, 26, 28, 0.06);
    overflow: hidden;
}

.pn-mm__zoom button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-secondary);
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
}

.pn-mm__zoom button + button {
    border-top: 1px solid var(--pn-line);
}

.pn-mm__zoom button:hover {
    background: rgba(34, 76, 152, 0.06);
    color: var(--color-primary-500);
}

.pn-mm__zoom .pn-ic {
    width: 16px;
    height: 16px;
}

.pn-mm__mini {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 188px;
    height: 120px;
    padding: 10px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 20px -8px rgba(23, 52, 102, 0.25), 0 0 0 1px rgba(26, 26, 28, 0.06);
    overflow: hidden;
    pointer-events: none;
}

.pn-mm__tree--mini {
    --pn-z: 0.12;
}

.pn-mm__tree--mini .pn-mm__node {
    color: transparent;
    box-shadow: inset 0 0 0 6px var(--mm-l);
}

.pn-mm__tree--mini .pn-mm__node--root,
.pn-mm__tree--mini .pn-mm__item--d1 > .pn-mm__row > .pn-mm__node--branch {
    color: transparent;
}

.pn-mm__hint {
    margin: 0;
    padding: 0 20px 18px;
    font-size: 12px;
    line-height: 18px;
    color: rgba(26, 26, 28, 0.55);
    text-align: center;
}

.pn-mm__side {
    position: sticky;
    top: 100px;
    scroll-margin-top: 96px;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 124px);
    min-width: 0;
}

.pn-mm__view {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.pn-mm__view[hidden] {
    display: none;
}

.pn-mm__vhead {
    padding: 20px 20px 0;
}

.pn-mm__vtop {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.pn-mm__vtop .pn-label {
    margin: 0;
}

.pn-mm__count {
    margin-left: auto;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--pn-faint);
}

.pn-mm__vbody {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    padding: 18px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.pn-mm__vbody .pn-label {
    margin-bottom: 8px;
}

.pn-mm__vfoot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 20px 20px;
    border-top: 1px solid var(--pn-line);
}

.pn-mm__vtitle {
    margin: 0;
    font-size: 22px;
    line-height: 28px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-secondary);
}

.pn-mm__kind {
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 8px;
    background: var(--mm-s, rgba(34, 76, 152, 0.08));
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: var(--mm-c, var(--color-primary-500));
}

.pn-mm__kind--root,
.pn-mm__kind--trap {
    background: var(--color-secondary);
    color: #ffffff;
}

.pn-mm__p {
    margin: 0;
    font-size: 15px;
    line-height: 24px;
    color: rgba(26, 26, 28, 0.78);
}

.pn-mm__p b,
.pn-mm__li b,
.pn-mm__quote b {
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-mm__li {
    position: relative;
    margin: 0;
    padding-left: 18px;
    font-size: 15px;
    line-height: 24px;
    color: rgba(26, 26, 28, 0.78);
}

.pn-mm__li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--mm-c, var(--color-primary-500));
}

.pn-mm__li + .pn-mm__li {
    margin-top: -8px;
}

.pn-mm__quote {
    margin: 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--mm-s, rgba(34, 76, 152, 0.08));
    box-shadow: inset 3px 0 0 var(--mm-c, var(--color-primary-500));
    font-size: 15px;
    line-height: 24px;
    color: var(--color-secondary);
}

.pn-mm__vbody .pn-fm__eq {
    margin-top: 0;
}

.pn-mm__table .pn-table {
    font-size: 13px;
}

.pn-mm__under {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pn-mm__under button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px var(--pn-line);
    font: inherit;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--color-secondary);
    text-align: left;
    cursor: pointer;
    transition: box-shadow 0.2s, background-color 0.2s;
}

.pn-mm__under button:hover {
    background: rgba(34, 76, 152, 0.04);
    box-shadow: inset 0 0 0 1px rgba(34, 76, 152, 0.25);
}

.pn-mm__under span {
    flex: 1;
    min-width: 0;
}

.pn-mm__under small {
    font-size: 12px;
    font-weight: 500;
    color: var(--pn-faint);
}

.pn-mm__under .pn-ic {
    width: 16px;
    height: 16px;
    color: var(--pn-faint);
}

.pn-mm__mark {
    align-self: flex-start;
}

.pn-mm__mark[aria-pressed="true"] {
    color: var(--color-primary-500);
}

.pn-mm__mark .pn-ic {
    width: 16px;
    height: 16px;
}

.pn-mm__prev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(26, 26, 28, 0.12);
    color: var(--color-secondary);
    cursor: pointer;
    transition: box-shadow 0.2s, color 0.2s;
}

.pn-mm__prev:hover {
    box-shadow: inset 0 0 0 1px var(--color-primary-500);
    color: var(--color-primary-500);
}

.pn-mm__legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pn-mm__legend li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 18px;
    color: rgba(26, 26, 28, 0.75);
}

.pn-mm__sw {
    width: 18px;
    height: 14px;
    flex-shrink: 0;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1.5px rgba(34, 76, 152, 0.3);
}

.pn-mm__sw--root {
    background: var(--color-secondary);
    box-shadow: none;
}

.pn-mm__sw--branch {
    background: var(--color-primary-500);
    box-shadow: none;
}

.pn-mm__sw--key {
    background: rgba(34, 76, 152, 0.08);
    box-shadow: inset 3px 0 0 var(--color-primary-500), inset 0 0 0 1.5px rgba(34, 76, 152, 0.3);
}

.pn-mm__sw--trap {
    box-shadow: inset 3px 0 0 var(--color-secondary), inset 0 0 0 1.5px rgba(26, 26, 28, 0.24);
}

.pn-mm__sw--table {
    background-image: linear-gradient(rgba(34, 76, 152, 0.3), rgba(34, 76, 152, 0.3)), linear-gradient(90deg, rgba(34, 76, 152, 0.3), rgba(34, 76, 152, 0.3));
    background-size: 100% 1.5px, 1.5px 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.pn-mm__ask {
    margin: 0;
}

.pn-mm__vbody .pn-mm__ask {
    margin-bottom: -6px;
}

.pn-mm__vbody .pn-tag {
    align-self: flex-start;
}

.pn-mm__stmt {
    margin: 0;
    font-size: 17px;
    line-height: 26px;
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-mm__dy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pn-mm__after {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.pn-mm__after > * {
    align-self: stretch;
}

.pn-mm__after > .pn-textbtn {
    align-self: flex-start;
}

.pn-mm__answers dt {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    line-height: 18px;
    color: rgba(26, 26, 28, 0.7);
}

.pn-mm__answers dd {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    color: var(--color-primary-500);
    text-align: right;
}

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

.pn-mm__rlist section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pn-mm__rlist .pn-label {
    margin: 0;
}

.pn-mm__rtopic {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-mm__ritem {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(34, 76, 152, 0.05);
}

.pn-mm__ritem b {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-mm__ritem p {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 20px;
    color: rgba(26, 26, 28, 0.72);
}

@media (max-width: 1279px) {
    .pn-mm {
        grid-template-columns: minmax(0, 1fr);
    }

    .pn-mm__side {
        position: static;
        max-height: none;
    }

    .pn-mm__vbody {
        overflow: visible;
    }
}

@media (max-width: 767px) {
    .pn-mm__bar {
        padding: 10px;
    }

    .pn-mm__pick,
    .pn-mm__pick summary {
        width: 100%;
    }

    .pn-mm__pick summary span {
        flex: 1;
    }

    .pn-mm__tools,
    .pn-mm__branches {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .pn-mm__tools {
        width: calc(100% + 20px);
        margin: 0 -10px;
        padding: 0 10px 2px;
    }

    .pn-mm__tools .pn-chip,
    .pn-mm__branches .pn-chip {
        flex-shrink: 0;
    }

    .pn-mm__tour {
        order: -1;
        flex-shrink: 0;
    }

    .pn-mm__stage {
        height: 460px;
        margin: 12px 8px 8px;
    }

    .pn-mm__pan {
        padding: 24px 24px 80px;
    }

    .pn-mm__mini {
        display: none;
    }

    .pn-mm__branches {
        padding: 14px 16px 0;
    }

    .pn-mm__dy {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media print {
    body:has(.pn-mm__review[open]) .pn-app {
        display: none;
    }

    .pn-mm__review {
        position: static;
        max-height: none;
        box-shadow: none;
    }

    .pn-mm__review .pn-dialog__foot,
    .pn-mm__review .pn-iconlink {
        display: none;
    }
}

.btn.pn-case {
    text-transform: none;
}

.pn-bk-page .pn-paper__main {
    gap: 16px;
}

.pn-bk-list .pn-card__head {
    padding: 20px 24px 12px;
}

.pn-bk {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 24px 22px;
    border-top: 1px solid var(--pn-line);
}

.pn-bk-list .pn-card__head + .pn-bk {
    border-top: 0;
    padding-top: 8px;
}

.pn-bk__cover {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 104px;
    aspect-ratio: 210 / 297;
    padding: 10px 9px 8px;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(26, 26, 28, 0.08), 0 12px 18px -12px rgba(23, 52, 102, 0.35), 0 2px 4px -2px rgba(23, 52, 102, 0.12);
}

.pn-bk__brand {
    font-size: 7px;
    line-height: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary-500);
    white-space: nowrap;
    overflow: hidden;
}

.pn-bk__name {
    display: -webkit-box;
    margin-top: 8px;
    overflow: hidden;
    font-size: 11px;
    line-height: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.pn-bk__qr {
    display: block;
    width: 30px;
    height: 30px;
    margin-top: auto;
    color: var(--color-secondary);
}

.pn-bk__qr .pn-ic {
    width: 100%;
    height: 100%;
}

.pn-bk__sign {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    margin-top: 6px;
    padding-top: 5px;
    border-top: 1px solid var(--pn-line);
    font-size: 7px;
    line-height: 9px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(26, 26, 28, 0.5);
    font-variant-numeric: tabular-nums;
}

.pn-bk__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.pn-bk__top {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.pn-bk__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.pn-bk__head .pn-row__text b {
    font-size: 16px;
    line-height: 22px;
}

.pn-bk__head .pn-tag {
    flex-shrink: 0;
}

.pn-bk__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: rgba(26, 26, 28, 0.5);
}

.pn-bk__meta span:first-child {
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(26, 26, 28, 0.75);
}

.pn-bk .pn-hbar {
    max-width: 420px;
}

.pn-bk__pass {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.pn-bk__pass .pn-label {
    margin: 0;
}

.pn-bk__pass .pn-code {
    display: inline-flex;
    padding-left: 16px;
}

.pn-bk__pass .pn-code b {
    white-space: nowrap;
}

.pn-bk__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 2px;
}

.pn-bk-new {
    padding: 20px;
}

.pn-bk-new__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
}

.pn-bk-new__head {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pn-bk-budget {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pn-bk-budget .pn-pill {
    gap: 4px;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 18px;
}

.pn-bk-budget .pn-pill b {
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-bk-new__main,
.pn-bk-new__side,
.pn-bk-new__custom,
.pn-bk-new__scope {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.pn-bk-new__custom[hidden],
.pn-bk-new .pn-field[hidden] {
    display: none;
}

.pn-bk-new__scope {
    gap: 14px;
}

.pn-bk-new .pn-field .pn-label {
    margin: 0;
}

.pn-bk-new__desc {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 19px;
    color: var(--pn-muted);
}

.pn-bk-new__counts .pn-chip {
    justify-content: center;
    min-width: 48px;
    padding: 0 12px;
}

.pn-bk-new__level[hidden] {
    display: none;
}

@media (max-width: 767px) {
    .pn-bk-new__level .pn-chips {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pn-bk-new__level .pn-chip {
        justify-content: center;
        padding: 0 12px;
    }
}

.pn-bk-new__sum {
    padding: 14px 16px 6px;
    border-radius: 20px;
    background: var(--pn-tint);
}

.pn-bk-new__sum .pn-label {
    margin-bottom: 4px;
}

.pn-bk-new__sum .pn-kv > div {
    padding: 9px 0;
}

.pn-bk-new__foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: -6px;
}

.pn-bk-new__foot .btn {
    justify-content: center;
    width: 100%;
}

.pn-bk-new__foot p {
    margin: 0;
    font-size: 12px;
    line-height: 17px;
    color: var(--pn-faint);
}

.pn-bk-new__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--pn-line);
}

.pn-bk-new__stats > * {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 16px;
    background: var(--pn-tint);
    transition: color 0.2s;
}

.pn-bk-new__stats b {
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-bk-new__stats small {
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-muted);
}

.pn-bk-new__stats a:hover b {
    color: var(--color-primary-500);
}

@media (min-width: 1200px) {
    .pn-bk-page.pn-paper {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
}

@media (max-width: 1199px) {
    .pn-bk-new {
        order: -1;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .pn-bk-new {
        padding: 24px;
    }

    .pn-bk-new__form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: start;
        gap: 20px 32px;
    }

    .pn-bk-new__head {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
}

@media (max-width: 767px) {
    .pn-bk-new {
        padding: 16px;
    }

    .pn-bk-new .pn-chips {
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    .pn-bk-list .pn-card__head {
        padding: 16px 16px 8px;
    }

    .pn-bk {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .pn-bk__body {
        display: contents;
    }

    .pn-bk .pn-hbar,
    .pn-bk__pass,
    .pn-bk__foot {
        grid-column: 1 / -1;
    }

    .pn-bk__cover {
        width: 72px;
        padding: 7px 6px 6px;
        border-radius: 4px;
    }

    .pn-bk__brand {
        font-size: 5px;
        line-height: 7px;
    }

    .pn-bk__name {
        margin-top: 5px;
        font-size: 8px;
        line-height: 10px;
    }

    .pn-bk__qr {
        width: 20px;
        height: 20px;
    }

    .pn-bk__sign {
        margin-top: 4px;
        padding-top: 3px;
        font-size: 5px;
        line-height: 7px;
    }

    .pn-bk__head {
        flex-direction: column;
        gap: 6px;
    }

    .pn-bk__head .pn-row__text b {
        font-size: 15px;
        line-height: 20px;
        white-space: normal;
    }

    .pn-bk__foot .btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

.pn-ppm-req {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px 16px;
    padding: 20px 20px 20px 24px;
}

.pn-ppm-req .pn-band__text {
    grid-column: 2 / -1;
}

.pn-ppm-req .pn-band__text b {
    font-size: 16px;
}

.pn-ppm-req__meta {
    display: flex !important;
    flex-wrap: wrap;
    gap: 2px 14px;
    margin-top: 2px;
}

.pn-ppm-req__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pn-ppm-req__meta .pn-ic {
    width: 14px;
    height: 14px;
    color: var(--color-primary-500);
}

.pn-ppm-req__left,
.pn-ppm-pre {
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
}

.pn-ppm-req__left {
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(34, 76, 152, 0.16);
}

.pn-ppm-req__left .pn-ic,
.pn-ppm-pre .pn-ic {
    width: 14px;
    height: 14px;
}

.pn-ppm-req__left b,
.pn-ppm-pre b {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pn-ppm-req__left {
    grid-column: 2;
    justify-self: start;
}

.pn-ppm-req .pn-btns {
    grid-column: 3;
    justify-content: flex-end;
}

.pn-ppm-pre {
    align-self: stretch;
    height: auto;
    min-height: 36px;
}

.pn-bk__lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
}

.pn-bk__lines i {
    display: block;
    height: 3px;
    border-radius: 2px;
    background: rgba(26, 26, 28, 0.08);
}

.pn-bk__lines i:nth-child(2) {
    width: 86%;
}

.pn-bk__lines i:nth-child(3) {
    width: 94%;
}

.pn-bk__lines i:nth-child(4) {
    width: 72%;
}

.pn-bk__lines i:nth-child(5) {
    width: 48%;
}

.pn-ppm-lock {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 420px;
    margin: 0;
    padding: 10px 14px;
    border-radius: 14px;
    background: var(--pn-tint);
    font-size: 13px;
    line-height: 18px;
    color: rgba(26, 26, 28, 0.7);
}

.pn-ppm-lock .pn-ic {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--color-secondary);
}

.pn-ppm-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pn-ppm-list .bx-group {
    gap: 10px 12px;
    height: auto;
    min-height: 64px;
    padding: 12px 14px 12px 12px;
}

.pn-ppm-list .bx-group__icon {
    flex-shrink: 0;
    margin: 0;
}

.pn-ppm-list .pn-row__text {
    margin: 0;
}

.pn-ppm-list .pn-row__text small {
    margin-top: 2px;
    white-space: normal;
}

.pn-ppm-list .bx-group.is-off .bx-group__icon,
.pn-ppm-list .bx-group.is-off .pn-row__text b {
    opacity: 0.55;
}

.pn-ppm-range {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.pn-ppm-range[hidden] {
    display: none;
}

.pn-ppm-range .pn-field {
    flex: 1 1 0;
    min-width: 0;
}

.pn-ppm-range .auth-form-input {
    font-variant-numeric: tabular-nums;
}

.pn-ppm-range__dash {
    padding-bottom: 13px;
    color: var(--pn-faint);
}

.pn-ppm-how {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--pn-line);
}

.pn-ppm-how .pn-label {
    margin: 0;
}

.pn-ppm-how .pn-steps li {
    padding: 10px 12px;
}

.pn-ppm-how .pn-row__text {
    margin: 0;
}

.pn-ppm-how .pn-row__text b,
.pn-ppm-how .pn-row__text small {
    white-space: normal;
}

.pn-ppm-how .pn-row__text b {
    font-size: 14px;
    line-height: 20px;
}

.pn-ppm-how .pn-row__text small {
    margin-top: 1px;
    font-size: 12px;
    line-height: 17px;
}

@media (max-width: 767px) {
    .pn-ppm-req {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 16px;
    }

    .pn-ppm-req .pn-btns {
        grid-column: 1 / -1;
    }

    .pn-ppm-req .pn-btns .btn {
        flex: 1 1 0;
        justify-content: center;
    }

    .pn-bk .pn-ppm-lock {
        grid-column: 1 / -1;
        max-width: none;
    }

    .pn-bk__lines {
        gap: 3px;
    }

    .pn-bk__lines i {
        height: 2px;
    }

    .pn-ppm-list .bx-group {
        flex-wrap: wrap;
    }

    .pn-ppm-list .pn-row__text {
        flex-basis: calc(100% - 56px);
    }

    .pn-ppm-list .pn-tag {
        margin-left: 52px;
    }
}

@media (min-width: 1024px) {
    .pn-app--focus .pn-side {
        position: fixed;
        left: 0;
        z-index: 50;
        transform: translateX(-102%);
        box-shadow: 0 24px 48px rgba(23, 52, 102, 0.2);
        transition: transform 0.25s ease;
    }

    .pn-app--focus.is-open .pn-side {
        transform: none;
    }

    .pn-app--focus .pn-scrim {
        position: fixed;
        inset: 0;
        z-index: 49;
        display: block;
        background: rgba(26, 26, 28, 0.4);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s;
    }

    .pn-app--focus.is-open .pn-scrim {
        opacity: 1;
        pointer-events: auto;
    }

    .pn-app--focus .pn-top .pn-burger {
        display: grid;
        margin-left: -6px;
    }

    .pn-app--focus .pn-canvas:not(.pn-canvas--full) {
        width: 100%;
        max-width: 1200px;
        margin-inline: auto;
    }
}

.pn-lib-top,
.pn-lib {
    --bxf-gap: 16px;
    --bxf-r: 28px;
    --bxf-rm: 24px;
    --bxf-ph: 232px;
    --bxf-phm: 232px;
    --bxf-pp: 14px;
    --bxf-ppm: 12px;
    --bxf-pr: 20px;
    --bxf-prm: 18px;
    --bxf-cw: 296px;
    --bxf-bp: 16px 10px 8px;
    --bxf-ts: 1.0625rem;
    --bxf-tm: 0px;
    --bxf-xs: 0.875rem;
    --bxf-th: 38px;
    --bxf-rt: 10px;
    --bxf-wh: 280px;
    --bxf-wbp: 18px 20px 18px 28px;
}

.pn-lib-top .bx-tasks:before,
.pn-lib-top .bx-tasks:after,
.pn-lib .bx-tasks:before,
.pn-lib .bx-tasks:after {
    border-radius: 22px;
}

.pn-lib-top .bx-tasks__inner,
.pn-lib .bx-tasks__inner {
    padding: 8px;
}

.pn-lib-top .bx-head,
.pn-lib .bx-head {
    margin-bottom: 10px;
}

.pn-lib-top .bx-head .bx-icon,
.pn-lib .bx-head .bx-icon {
    width: 32px;
    height: 32px;
}

.pn-lib-top .bx-back,
.pn-lib .bx-back {
    font-size: 15px;
    line-height: 22px;
}

.pn-lib-top .bx-back .bx-icon,
.pn-lib .bx-back .bx-icon {
    margin-right: 8px;
}

.pn-lib-top .bx-body,
.pn-lib .bx-body {
    gap: 6px;
}

.pn-lib-top .bx-task__in,
.pn-lib .bx-task__in {
    padding: 0 8px 0 36px;
    border-radius: 10px;
}

.pn-lib-top .bx-radio,
.pn-lib .bx-radio {
    left: 10px;
    width: 18px;
    height: 18px;
    border-width: 2.5px;
}

.pn-lib-top .bx-radio:before,
.pn-lib .bx-radio:before {
    inset: 2px;
}

.pn-lib-top .bx-task__title,
.pn-lib .bx-task__title {
    font-size: 12.5px;
    line-height: 18px;
}

.pn-lib-top .bx-tag,
.pn-lib .bx-tag {
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 11px;
}

.pn-lib-top .bx-feature .bx-task:nth-child(2) .bx-task__in,
.pn-lib .bx-feature .bx-task:nth-child(2) .bx-task__in {
    right: -10px;
}

.pn-lib-top .bx-cursor {
    left: 72%;
}

.pn-lib-top .bx-cursor svg {
    width: 13px;
    height: 13px;
}

.pn-lib-top .bx-tooltip {
    top: calc(100% - 6px);
    left: calc(100% - 4px);
    padding: 3px 10px;
    font-size: 12px;
    line-height: 16px;
}

.pn-lib .bx-status {
    padding: 4px 10px;
    font-size: 12px;
}

.pn-lib--topics .bx-feature__title {
    margin-bottom: 4px;
    line-height: 1.35;
}

.pn-lib--topics .bx-feature__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    line-height: 1.5;
}

.pn-lib__go,
.pn-lib-hero .pn-btns .btn {
    min-width: 0;
    padding: 7px 14px;
    font-size: 14px;
    line-height: 20px;
}

.pn-lib-top {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 16px;
}

.pn-lib-top .bx-feature--wide {
    grid-column: auto;
}

.pn-lib-hero .bx-feature__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.pn-lib-hero .bx-feature__title {
    margin: -4px 0 0;
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.pn-lib-hero__next {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pn-lib-hero__next .pn-label {
    margin: 0 0 4px;
}

.pn-lib-hero__next b {
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
    color: var(--color-secondary);
}

.pn-lib-hero__next small {
    font-size: 14px;
    line-height: 20px;
    color: rgba(26, 26, 28, 0.6);
}

.pn-lib-hero .pn-hbar {
    align-self: stretch;
}

.pn-lib-hero__more {
    align-self: stretch;
    padding-top: 16px;
    border-top: 1px solid rgba(26, 26, 28, 0.06);
}

.pn-lib-hero__more .pn-copy b {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--color-primary-500);
}

.pn-lib-top__side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}

.pn-lib-top__side .pn-promo {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.pn-lib-top__side .pn-promo__title {
    margin-top: 16px;
    font-size: 18px;
    line-height: 24px;
}

.pn-lib-top__side .pn-promo__text {
    margin-top: auto;
    padding-top: 6px;
}

.pn-lib-photo .bx-preview__in {
    background: #0a0d14;
}

.pn-lib-photo__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.pn-lib-photo .bx-feature__card {
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
}

.pn-lib-photo--bare .bx-feature__card {
    display: none;
}

.pn-lib--topics .pn-lib-photo--bare .bx-feature__preview {
    height: auto;
    aspect-ratio: 16 / 10;
}

@media (max-width: 1279px) {
    .pn-lib-top {
        grid-template-columns: minmax(0, 1fr);
    }

    .pn-lib-top__side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }
}

@media (max-width: 767px) {
    .pn-lib-top__side {
        grid-template-columns: minmax(0, 1fr);
    }

    .pn-lib-hero .bx-feature__title {
        font-size: 1.375rem;
    }

    .pn-lib__go,
    .pn-lib-hero .pn-btns .btn {
        padding-inline: 12px;
    }
}

.bx-icon--subject .pn-ic {
    width: 20px;
    height: 20px;
    fill: none;
    color: var(--color-primary-500);
}

.pn-lib__bar {
    align-self: stretch;
    margin-top: auto;
    padding-top: 14px;
}

.pn-lib--topics .bx-feature__title,
.pn-lib-hero .bx-feature__title {
    font-weight: 600;
}

.pn-lib__go.btn-white:not(:hover),
.pn-lib-hero .btn-white:not(:hover) {
    background-color: transparent;
    box-shadow: none;
}

.pn-intro > .pn-pill {
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
}

.pn-intro > .pn-pill .pn-ic {
    width: 16px;
    height: 16px;
}

.pn-badges.bx-tiles {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.pn-badge.bx-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
}

.pn-badge.bx-tile:before,
.pn-badge.bx-tile:after {
    border-radius: 28px;
}

.pn-badge .bx-icon-preview {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-primary-400) 0%, var(--color-primary-600) 100%);
    box-shadow: 0 16px 24px -12px rgba(23, 52, 102, 0.5);
}

.pn-badge .bx-icon-preview .pn-ic {
    width: 24px;
    height: 24px;
    fill: none;
    color: #ffffff;
}

.pn-badge.is-locked .bx-icon-preview {
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(34, 76, 152, 0.08);
}

.pn-badge.is-locked .bx-icon-preview .pn-ic {
    color: rgba(26, 26, 28, 0.35);
}

.pn-badge .bx-tile__title {
    margin-bottom: 6px;
    font-size: 1.0625rem;
    font-weight: 600;
}

.pn-badge .bx-tile__text {
    margin-bottom: 16px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.pn-badge__foot {
    margin-top: auto;
}

.pn-badge .pn-hbar {
    align-self: stretch;
}

.pn-stat__value small {
    margin-left: 4px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--pn-faint);
}

.pn-lb-stats .pn-stat {
    padding-bottom: 20px;
}

.pn-lb__gap {
    margin-top: 16px;
}

.pn-lb__join {
    display: flex;
    gap: 12px;
}

.pn-lb__join .pn-field {
    flex: 1;
}

.pn-lb__privacy {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
}

.pn-lb__privacy .pn-ic {
    width: 14px;
    height: 14px;
}

.pn-lb__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pn-rank__name .bx-status {
    padding: 3px 10px;
    font-size: 12px;
}

.pn-live-now .bx-feature__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.pn-live-now .bx-feature__title {
    margin: 0;
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.pn-live .bx-feature__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    gap: 12px;
}

.pn-live .bx-feature__title {
    margin: 0;
    font-weight: 600;
}

.pn-live__host {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: rgba(26, 26, 28, 0.6);
}

.pn-live__go {
    align-self: flex-start;
    margin-top: auto;
}

.pn-live__go.btn-white:not(:hover) {
    background-color: transparent;
    box-shadow: none;
}

@media (max-width: 1279px) {
    .pn-badges.bx-tiles,
    .pn-live.bx-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pn-badges.bx-tiles {
        gap: 12px;
    }

    .pn-badge.bx-tile {
        padding: 18px;
    }

    .pn-badge .bx-icon-preview {
        width: 44px;
        height: 44px;
        margin-bottom: 14px;
    }

    .pn-live.bx-features {
        grid-template-columns: minmax(0, 1fr);
    }

    .pn-lb-stats .pn-stat {
        padding-bottom: 16px;
    }

    .pn-lb__join {
        flex-direction: column;
    }

    .pn-live-now .bx-feature__title {
        font-size: 1.5rem;
    }
}

.pn-scan {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pn-scan__frame {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(140deg, #34363c -20%, var(--color-secondary) 55%);
    box-shadow: 0 24px 24px -16px rgba(23, 52, 102, 0.18), 0 6px 13px 0 rgba(23, 52, 102, 0.06);
}

.pn-scan__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pn-scan__mark {
    width: 96px;
    height: 96px;
    color: rgba(255, 255, 255, 0.12);
}

.pn-scan__corner {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 0 solid rgba(255, 255, 255, 0.85);
    transition: border-color 0.3s;
}

.pn-scan__corner--tl {
    top: 18%;
    left: 18%;
    border-top-width: 3px;
    border-left-width: 3px;
    border-top-left-radius: 14px;
}

.pn-scan__corner--tr {
    top: 18%;
    right: 18%;
    border-top-width: 3px;
    border-right-width: 3px;
    border-top-right-radius: 14px;
}

.pn-scan__corner--bl {
    bottom: 18%;
    left: 18%;
    border-bottom-width: 3px;
    border-left-width: 3px;
    border-bottom-left-radius: 14px;
}

.pn-scan__corner--br {
    right: 18%;
    bottom: 18%;
    border-right-width: 3px;
    border-bottom-width: 3px;
    border-bottom-right-radius: 14px;
}

.pn-scan__line {
    position: absolute;
    top: 18%;
    left: 22%;
    right: 22%;
    height: 2px;
    border-radius: 2px;
    background: var(--color-primary-500);
    box-shadow: 0 0 16px 2px rgba(34, 76, 152, 0.8);
    animation: pn-scan-line 2.4s ease-in-out infinite alternate;
}

@keyframes pn-scan-line {
    from {
        top: 20%;
    }
    to {
        top: 80%;
    }
}

.pn-scan__status {
    gap: 8px;
    padding: 8px 14px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(26, 26, 28, 0.08);
    font-size: 13px;
    line-height: 18px;
    color: var(--color-secondary);
    white-space: normal;
    text-align: center;
}

.pn-scan__pulse {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary-500);
    animation: pn-scan-pulse 1.4s ease-in-out infinite;
}

@keyframes pn-scan-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 76, 152, 0.45);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(34, 76, 152, 0);
    }
}

.pn-scan__status.is-found {
    background: var(--color-primary-500);
    box-shadow: none;
    color: #ffffff;
}

.pn-scan__status.is-found .pn-scan__pulse {
    background: #ffffff;
    animation: none;
}

.pn-scan__status.is-off .pn-scan__pulse {
    background: rgba(26, 26, 28, 0.3);
    animation: none;
}

.pn-scan:has(.pn-scan__status.is-found:not([hidden])) .pn-scan__corner {
    border-color: var(--color-primary-500);
}

.pn-scan:has(.pn-scan__status.is-found:not([hidden])) .pn-scan__line,
.pn-scan:has(.pn-scan__status.is-off:not([hidden])) .pn-scan__line {
    display: none;
}

.pn-scan:has(.pn-scan__status.is-off:not([hidden])) .pn-scan__corner {
    border-color: rgba(255, 255, 255, 0.2);
}

.pn-verdict [data-pn-picked] {
    display: inline;
    font-size: inherit;
    line-height: inherit;
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-denied .bx-status {
    margin: 0 0 12px;
}

.pn-sq__actions {
    align-items: center;
    justify-content: space-between;
}

.pn-sq__reveal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.pn-sq__reveal small {
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-faint);
}

.pn-sq__hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-faint);
}

.pn-sq__hint--before {
    margin: 0;
}

.pn-sq__hint .pn-ic {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.pn-sq__sol[open] + .pn-sq__hint--before {
    display: none;
}

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

.pn-sq__progress {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.pn-sq__save {
    padding: 16px 20px 20px;
    border-top: 1px solid var(--pn-line);
}

.pn-sq__final {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.pn-sheet__state .pn-tag .pn-ic {
    width: 12px;
    height: 12px;
}

.pn-tk,
.pn-ts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pn-tk__row {
    grid-template-columns: minmax(0, 1fr) 240px;
}

.pn-tk__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pn-tk__list .bx-group {
    gap: 12px;
    height: auto;
    min-height: 64px;
    padding: 12px 14px 12px 12px;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.2s;
}

.pn-tk__list .bx-group:hover {
    background: rgba(34, 76, 152, 0.05);
}

.pn-tk__list .bx-group__icon {
    flex-shrink: 0;
    margin: 0;
}

.pn-tk__list .pn-row__text {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.pn-tk__list .pn-row__text small {
    margin-top: 2px;
}

.pn-tk__list .bx-group.is-off .bx-group__icon,
.pn-tk__list .bx-group.is-off .pn-row__text b {
    opacity: 0.55;
}

.pn-ts > .pn-textbtn {
    align-self: flex-start;
}

.pn-ts__reply {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
}

.pn-ts__reply .pn-btns {
    justify-content: flex-end;
}

.pn-card__body.pn-form {
    padding: 4px 20px 20px;
}

.pn-st > .pn-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    scroll-margin-top: 96px;
}

.pn-st > .pn-card > .pn-form {
    flex: 1;
}

.pn-st .pn-form > .pn-btns {
    margin-top: auto;
}

.pn-st__wide {
    grid-column: 1 / -1;
}

.pn-st__link {
    font-weight: 500;
    color: var(--color-primary-500);
    text-decoration: none;
}

.pn-st__link:hover {
    text-decoration: underline;
}

.pn-body--focus {
    display: flex;
    flex-direction: column;
}

.pn-ob {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
}

.pn-ob__card {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    max-width: 560px;
    padding: 36px;
}

.pn-ob__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pn-ob__brand img {
    width: auto;
    height: 22px;
}

.pn-ob__brand span {
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: var(--pn-faint);
}

.pn-ob__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pn-ob__title {
    margin: 0;
    font-size: 26px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--color-secondary);
}

.pn-ob__sub {
    margin: 0;
    font-size: 15px;
    line-height: 22px;
    color: rgba(26, 26, 28, 0.6);
}

.pn-ob__form {
    gap: 22px;
}

.pn-ob__exam {
    gap: 12px;
    height: auto;
    min-height: 64px;
    padding: 12px 14px 12px 12px;
    background: rgba(34, 76, 152, 0.05);
}

.pn-ob__exam .bx-group__icon {
    flex-shrink: 0;
    margin: 0;
}

.pn-ob__exam .pn-row__text {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.pn-ob__date:has(input[name="date_unknown"]:checked) input[type="date"] {
    opacity: 0.4;
    pointer-events: none;
}

.pn-ob__go {
    align-self: stretch;
    justify-content: center;
    margin-top: 4px;
}

@media (max-width: 767px) {
    .pn-tk__row {
        grid-template-columns: minmax(0, 1fr);
    }

    .pn-tk__list .bx-group {
        flex-wrap: wrap;
    }

    .pn-tk__list .pn-row__text {
        flex-basis: calc(100% - 64px);
    }

    .pn-tk__list .bx-group .bx-status {
        margin-left: 52px;
    }

    .pn-field .pn-chips {
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    .pn-sq__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pn-sq__actions .btn {
        justify-content: center;
    }

    .pn-ob {
        padding: 16px;
    }

    .pn-ob__card {
        gap: 24px;
        padding: 24px 20px;
    }

    .pn-ob__brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .pn-ob__title {
        font-size: 22px;
        line-height: 28px;
    }
}

.pn-read__lead {
    margin: 0;
    max-width: 780px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(26, 26, 28, 0.72);
}

.pn-prose strong,
.pn-read__lead strong {
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-prose > p,
.pn-prose li > p {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.pn-prose mark,
.pn-read__lead mark {
    padding: 0 2px;
    background: linear-gradient(transparent 58%, rgba(34, 76, 152, 0.16) 58%);
    color: var(--color-secondary);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.pn-prose sub,
.pn-prose sup,
.pn-read__lead sub,
.pn-read__lead sup {
    line-height: 0;
}

.pn-prose .pn-note--dark strong,
.pn-prose .pn-note--dark mark {
    color: #ffffff;
}

.pn-prose .pn-note--dark mark {
    background: rgba(255, 255, 255, 0.14);
}

.pn-prose li > p,
.pn-prose li > ul,
.pn-prose li > ol {
    margin: 8px 0 0;
}

.pn-prose li > ul,
.pn-prose li > ol {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 20px;
}

.pn-prose li > ul {
    list-style: circle;
}

.pn-prose li > ol {
    list-style: decimal;
}

.pn-read__trap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pn-read__ex {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px var(--pn-line);
}

.pn-read__ex .pn-label {
    margin: 0;
    color: var(--color-primary-500);
}

.pn-read__ex > p {
    margin: 0;
    font-size: calc(15px * var(--pn-fs, 1));
    line-height: 1.6;
}

.pn-read__ex > p:not(.pn-read__qq) {
    color: inherit;
}

.pn-read__ex > p:not(.pn-read__qq, .pn-read__opt) + .pn-read__qq {
    margin-top: 4px;
}

.pn-read__ex > .pn-read__opt {
    padding-left: 12px;
}

.pn-read__ex > .pn-read__opt + .pn-read__opt {
    margin-top: -8px;
}

.pn-read__steps {
    margin-top: 4px;
}

.pn-read__steps li {
    font-size: calc(15px * var(--pn-fs, 1));
    line-height: 1.6;
}

.pn-read__steps p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.pn-read__steps p + p {
    margin-top: 6px;
}

.pn-read__fig img {
    display: block;
    width: 100%;
    height: auto;
}

.pn-read__table td {
    vertical-align: top;
}

.pn-read__table td:first-child {
    font-weight: 500;
    color: var(--color-secondary);
}

.pn-read__table--wide .pn-table {
    min-width: 680px;
}

@media (max-width: 767px) {
    .pn-read__lead {
        font-size: 15px;
    }

    .pn-read__ex {
        padding: 16px;
    }

    .pn-read__steps li {
        padding: 12px;
    }
}

.pn-nb-main {
    padding-bottom: 72px;
}

.pn-nb {
    display: grid;
    grid-template-columns: clamp(224px, 14vw, 256px) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
}

.pn-nb__side {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pn-nb__toc {
    padding: 10px;
}

.pn-nb__tocx .pn-read__tno .pn-ic,
.pn-nb-pop .pn-nb__tocx .pn-read__tno .pn-ic {
    width: 14px;
    height: 14px;
    color: inherit;
}

.pn-nb__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.pn-nb__paper {
    --nb-gut: 40px;
    --nb-pad: max(calc(280px + var(--nb-gut)), calc(100% - 720px * var(--pn-fs, 1)));
    display: block;
    padding: 40px 48px 48px;
}

.pn-nb__head {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--pn-line);
}

.pn-nb__title {
    max-width: 820px;
    margin: 4px 0 0;
    font-size: 40px;
    line-height: 48px;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--color-secondary);
}

.pn-nb__head .pn-read__lead {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.65;
}

.pn-nb__modes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-top: 6px;
}

.pn-nb__modes .pn-seg__tab .pn-ic {
    width: 18px;
    height: 18px;
}

.pn-nb__hint {
    display: none;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--pn-muted);
}

#nb-full:checked ~ .pn-nb .pn-nb__hint--full,
#nb-quick:checked ~ .pn-nb .pn-nb__hint--quick,
#nb-test:checked ~ .pn-nb .pn-nb__hint--test {
    display: block;
}

.pn-nb__sec {
    position: relative;
    padding-top: 40px;
    padding-right: var(--nb-pad);
    scroll-margin-top: 96px;
}

.pn-nb__note.pn-nb__lanehint {
    position: absolute;
    top: 40px;
    right: 0;
    width: calc(var(--nb-pad) - var(--nb-gut));
}

.pn-nb__lanehint .pn-nb__pin {
    border-color: var(--color-primary-500);
    color: var(--color-primary-500);
}

.pn-nb__lanehint .pn-nb__who {
    color: var(--color-primary-500);
}

.pn-nb__sec:not([hidden]) ~ .pn-nb__sec .pn-nb__lanehint,
.pn-nb.has-notes .pn-nb__lanehint,
#nb-test:checked ~ .pn-nb .pn-nb__lanehint {
    display: none;
}

.pn-nb__sec + .pn-nb__sec {
    margin-top: 48px;
    border-top: 1px solid var(--pn-line);
}

.pn-nb__shead {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 24px;
}

.pn-nb__no {
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary-500);
}

.pn-nb__shead h2 {
    flex-basis: 100%;
    margin: 0;
    font-size: 28px;
    line-height: 36px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--color-secondary);
}

.pn-nb__text.pn-prose {
    display: flow-root;
    font-size: calc(17px * var(--pn-fs, 1));
    line-height: 1.75;
}

.pn-nb__text.pn-prose > * + * {
    margin-top: 20px;
}

.pn-nb__note {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pn-nb__pin {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    margin-top: 2px;
    border: 1.5px solid #ececec;
    border-radius: 999px 999px 999px 0;
    background: #fcfcfc;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
    color: var(--pn-faint);
}

.pn-nb__pin .pn-ic {
    width: 16px;
    height: 16px;
}

.pn-nb__note--kp .pn-nb__pin {
    border-color: var(--color-primary-500);
    color: var(--color-primary-500);
}

.pn-nb__note--warn .pn-nb__pin {
    border-color: var(--color-secondary);
    background: var(--color-secondary);
    color: #ffffff;
}

.pn-nb__card {
    flex: 1;
    min-width: 0;
    border: 1px solid #ececec;
    border-radius: 16px;
    background: #fcfcfc;
    box-shadow: 0 18px 24px -20px rgba(0, 0, 0, 0.13), inset 0 2px 0 #ffffff, 0 8px 16px -12px rgba(0, 0, 0, 0.08);
}

.pn-nb__msg {
    padding: 14px 16px;
}

.pn-nb__msg + .pn-nb__msg {
    border-top: 1px solid #ececec;
}

.pn-nb__who {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-nb__who .pn-ic {
    width: 14px;
    height: 14px;
    stroke-width: 2.2;
}

.pn-nb__msg p {
    margin: 0;
    font-size: calc(14px * var(--pn-fs, 1));
    line-height: 1.55;
    color: rgba(26, 26, 28, 0.78);
}

.pn-nb__note--kp .pn-nb__who {
    color: var(--color-primary-500);
}

.pn-nb__note--kp .pn-nb__msg p {
    font-weight: 500;
    color: var(--color-secondary);
}

.pn-nb__msg--wrong .pn-nb__who {
    color: var(--pn-wrong);
}

.pn-nb__msg--right .pn-nb__who {
    color: var(--pn-right);
}

#nb-quick:checked ~ .pn-nb .pn-nb__text > :not(.pn-nb__note, .pn-read__table, .pn-read__fig, .pn-read__formula, .pn-book__tab),
#nb-quick:checked ~ .pn-nb .pn-stp__gate,
#nb-test:checked ~ .pn-nb .pn-nb__text,
#nb-test:checked ~ .pn-nb .pn-stp__result,
#nb-test:checked ~ .pn-nb .pn-nb-tr,
#nb-test:checked ~ .pn-nb .pn-nb__tocx,
#nb-test:checked ~ .pn-nb-pop .pn-nb__tocx {
    display: none;
}

.pn-nb-tr {
    scroll-margin-top: 96px;
}

.pn-nb-tr__table {
    display: flex;
    flex-direction: column;
    padding: 0 12px 12px;
}

.pn-nb-tr__row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) minmax(0, 1fr) 36px;
    align-items: start;
    gap: 12px;
    padding: 12px 8px;
    border-top: 1px solid var(--pn-line);
}

.pn-nb-tr__row--head {
    padding-block: 6px 10px;
    border-top: 0;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: var(--pn-faint);
}

.pn-nb-tr__hw {
    color: var(--pn-wrong);
}

.pn-nb-tr__hr {
    color: var(--pn-right);
}

.pn-nb-tr__no {
    padding-top: 11px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    color: var(--pn-faint);
}

.pn-nb-tr__wrong,
.pn-nb-tr__right {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    height: 100%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 21px;
    color: rgba(26, 26, 28, 0.8);
}

.pn-nb-tr__wrong {
    background: var(--pn-wrong-soft);
}

.pn-nb-tr__right {
    background: var(--pn-right-soft);
}

.pn-nb-tr__wrong .pn-ic,
.pn-nb-tr__right .pn-ic {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    stroke-width: 2.2;
}

.pn-nb-tr__wrong .pn-ic {
    color: var(--pn-wrong);
}

.pn-nb-tr__right .pn-ic {
    color: var(--pn-right);
}

.pn-nb-tr__wrong p,
.pn-nb-tr__right p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.pn-nb-tr__go {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-top: 3px;
    border-radius: 12px;
    color: var(--pn-faint);
    transition: background 0.2s, color 0.2s;
}

.pn-nb-tr__go:hover {
    background: rgba(26, 26, 28, 0.05);
    color: var(--color-primary-500);
}

.pn-nb-bar {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border: 1px solid #ececec;
    border-radius: 20px;
    background: rgba(252, 252, 252, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 24px -20px rgba(0, 0, 0, 0.13), inset 0 2px 0 #ffffff, 0 8px 16px -12px rgba(0, 0, 0, 0.08), 0 24px 48px -16px rgba(23, 52, 102, 0.22);
    transform: translateX(-50%);
}

.pn-nb-bar__btn {
    position: relative;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--color-secondary);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.pn-nb-bar__btn:hover,
.pn-nb-bar__btn:focus-visible {
    background: #f1f1f1;
}

.pn-nb-bar__btn:active {
    border-color: #e2e2e2;
    box-shadow: inset 0 -1px 3px rgba(18, 18, 18, 0.15), inset 0 1.25px 1px #ffffff;
}

.pn-nb-bar__fs {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.pn-nb-bar__sep {
    flex-shrink: 0;
    width: 1px;
    height: 24px;
    margin: 0 4px;
    background: #ececec;
}

.pn-nb-bar__prog {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 64px;
    padding: 0 6px;
}

.pn-nb-bar__prog b {
    font-size: 13px;
    line-height: 16px;
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-nb-bar__prog .bx-bar {
    height: 4px;
}

.pn-nb-bar__cta {
    flex-shrink: 0;
    margin-left: 2px;
}

.pn-nb-tip {
    position: absolute;
    bottom: calc(100% + 16px);
    left: 50%;
    padding: 4px 6px;
    border-radius: 6px;
    background: #121212;
    box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.4);
    font-size: 11px;
    line-height: 16px;
    font-weight: 500;
    white-space: nowrap;
    color: #e2e2e2;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%);
    transition: opacity 0.2s, visibility 0.2s;
}

.pn-nb-bar__btn:hover .pn-nb-tip,
.pn-nb-bar__btn:focus-visible .pn-nb-tip {
    opacity: 1;
    visibility: visible;
}

.pn-nb-pop {
    position: fixed;
    inset: auto auto 88px 50%;
    width: min(360px, calc(100vw - 32px));
    max-height: min(70vh, 540px);
    margin: 0;
    padding: 12px;
    overflow-y: auto;
    border: 1px solid #ececec;
    border-radius: 20px;
    background: #fcfcfc;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.25);
    transform: translateX(-50%);
}

.pn-nb-pop:not(:popover-open) {
    display: none;
}

.pn-nb-pop::backdrop {
    background: transparent;
}

.pn-nb__toc .pn-label,
.pn-nb-pop .pn-label {
    padding: 4px 12px 6px;
}

@media (min-width: 1280px) {
    .pn-nb-bar__toc {
        display: none;
    }
}

@media (max-width: 1279px) {
    .pn-nb {
        grid-template-columns: minmax(0, 1fr);
        max-width: 1040px;
    }

    .pn-nb__side {
        display: none;
    }
}

@media (max-width: 1023px) {
    .pn-nb__paper {
        padding: 32px 28px 36px;
    }

    .pn-nb__sec {
        padding-right: 0;
    }

    .pn-nb__lanehint {
        display: none;
    }
}

@media (max-width: 767px) {
    .pn-nb__paper {
        padding: 24px 18px 28px;
    }

    .pn-nb__title {
        font-size: 28px;
        line-height: 34px;
    }

    .pn-nb__head .pn-read__lead {
        font-size: 16px;
    }

    .pn-nb__modes .pn-seg {
        width: 100%;
    }

    .pn-nb__modes .pn-seg__tab {
        gap: 6px;
        padding: 0 10px;
        font-size: 13px;
    }

    .pn-nb__modes .pn-seg__tab .pn-ic {
        display: none;
    }

    .pn-nb__sec {
        padding-top: 28px;
    }

    .pn-nb__sec + .pn-nb__sec {
        margin-top: 32px;
    }

    .pn-nb__shead h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .pn-nb__text.pn-prose {
        font-size: calc(16px * var(--pn-fs, 1));
    }

    .pn-nb-tr__row {
        grid-template-columns: minmax(0, 1fr) 36px;
        grid-template-areas: "w g" "r r";
        gap: 8px;
        padding-inline: 0;
    }

    .pn-nb-tr__row--head,
    .pn-nb-tr__no {
        display: none;
    }

    .pn-nb-tr__wrong {
        grid-area: w;
    }

    .pn-nb-tr__right {
        grid-area: r;
    }

    .pn-nb-tr__go {
        grid-area: g;
    }

    .pn-nb-bar {
        bottom: 12px;
        gap: 4px;
        padding: 6px;
    }

    .pn-nb-bar__alt,
    .pn-nb-bar__cta {
        display: none;
    }
}

.pn-stp__rail {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin: 8px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--pn-line);
    list-style: none;
}

.pn-stp__rail li {
    position: relative;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.pn-stp__rail li + li::before {
    content: "";
    position: absolute;
    top: 19px;
    left: calc(-50% + 28px);
    right: calc(50% + 28px);
    height: 2px;
    border-radius: 2px;
    background: var(--color-primary-500);
    transition: background-color 0.3s;
}

.pn-stp__rail li:has(.is-locked)::before {
    background: rgba(26, 26, 28, 0.1);
}

.pn-stp__dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 6px;
    text-align: center;
    text-decoration: none;
    color: var(--color-secondary);
}

.pn-stp__dot.is-locked {
    cursor: default;
}

.pn-stp__dot:focus-visible {
    outline: none;
}

.pn-stp__dot:focus-visible .pn-stp__node {
    box-shadow: 0 0 0 4px rgba(34, 76, 152, 0.25);
}

.pn-stp__node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary-500);
    border-radius: 50%;
    background: #ffffff;
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    color: var(--color-primary-500);
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.pn-stp__node .pn-ic {
    width: 18px;
    height: 18px;
}

.pn-stp__ok,
.pn-stp__re {
    display: none;
}

.pn-stp__dot.is-done .pn-stp__node {
    background: var(--color-primary-500);
    color: #ffffff;
}

.pn-stp__dot.is-done .pn-stp__num {
    display: none;
}

.pn-stp__dot.is-done:not(.is-again) .pn-stp__ok,
.pn-stp__dot.is-again .pn-stp__re {
    display: inline-flex;
}

.pn-stp__dot.is-current .pn-stp__node {
    box-shadow: 0 0 0 5px rgba(34, 76, 152, 0.14);
}

.pn-stp__dot.is-locked .pn-stp__node {
    border-style: dashed;
    border-color: rgba(26, 26, 28, 0.18);
    color: var(--pn-faint);
}

.pn-stp__dot:not(.is-locked):not(.is-done):hover .pn-stp__node {
    background: rgba(34, 76, 152, 0.08);
}

.pn-stp__lbl {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: var(--pn-muted);
}

.pn-stp__dot.is-current .pn-stp__lbl {
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-stp__dot.is-locked .pn-stp__lbl {
    color: var(--pn-faint);
}

.pn-stp__time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    line-height: 18px;
    color: var(--pn-muted);
}

.pn-stp__time .pn-ic {
    width: 16px;
    height: 16px;
}

.pn-stp__gate {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 24px 24px;
    border-radius: 24px;
    background: rgba(34, 76, 152, 0.05);
}

.pn-nb.is-learning .pn-stp__gate .pn-read__qc {
    background: #ffffff;
}

.pn-stp__ghead {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pn-stp__gico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #ffffff;
    color: var(--color-primary-500);
    box-shadow: inset 0 0 0 1px rgba(34, 76, 152, 0.14);
    transition: background-color 0.2s, color 0.2s;
}

.pn-stp__gico .pn-ic {
    width: 20px;
    height: 20px;
}

.pn-stp__gico .pn-ic:last-child,
.pn-stp__gsub--open {
    display: none;
}

.pn-stp__gtitle {
    margin: 0 0 2px;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-stp__gsub {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--pn-muted);
}

.pn-stp__gate:has([data-state="known"], [data-state="unknown"]) .pn-stp__gico {
    background: var(--color-primary-500);
    color: #ffffff;
}

.pn-stp__gate:has([data-state="known"], [data-state="unknown"]) .pn-stp__gico .pn-ic:first-child,
.pn-stp__gate:has([data-state="known"], [data-state="unknown"]) .pn-stp__gsub--lock {
    display: none;
}

.pn-stp__gate:has([data-state="known"], [data-state="unknown"]) .pn-stp__gico .pn-ic:last-child,
.pn-stp__gate:has([data-state="known"], [data-state="unknown"]) .pn-stp__gsub--open {
    display: block;
}

.pn-stp__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding-top: 20px;
    border-top: 1px solid var(--pn-line);
}

.pn-stp__hint {
    margin-left: auto;
    font-size: 13px;
    line-height: 18px;
    color: var(--pn-faint);
}

.pn-stp__next {
    margin-left: auto;
}

.pn-stp__hint:not([hidden]) + .pn-stp__next {
    margin-left: 0;
}

.pn-stp__next:disabled {
    opacity: 0.4;
    pointer-events: none;
}

.pn-stp__result {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 28px 32px 32px;
}

.pn-stp__rhead {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pn-stp__rico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(34, 76, 152, 0.1);
    color: var(--color-primary-500);
}

.pn-stp__rico .pn-ic {
    width: 28px;
    height: 28px;
}

.pn-stp__rtitle {
    margin: 0 0 2px;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--color-secondary);
    outline: none;
}

.pn-stp__score {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pn-stp__cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--pn-tint);
}

.pn-stp__cell .pn-label {
    margin: 0;
}

.pn-stp__cell b {
    font-size: 28px;
    line-height: 34px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--color-secondary);
}

.pn-stp__cell--known b {
    color: var(--pn-right);
}

.pn-stp__cell--unknown b {
    color: var(--pn-wrong);
}

.pn-stp__again {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pn-stp__again .pn-label {
    margin: 0 0 4px;
}

.pn-stp__arow {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(26, 26, 28, 0.08);
    font-size: 15px;
    line-height: 20px;
    font-weight: 500;
    color: var(--color-secondary);
    text-decoration: none;
    transition: background-color 0.2s;
}

.pn-stp__arow[hidden],
.pn-stp__anone[hidden] {
    display: none;
}

.pn-stp__arow:hover {
    background: rgba(34, 76, 152, 0.05);
}

.pn-stp__arow .pn-read__tlabel {
    flex: 1;
    min-width: 0;
}

.pn-stp__arow > .pn-ic {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--color-primary-500);
}

.pn-stp__anone {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--pn-muted);
}

.pn-stp__anone .pn-ic {
    width: 18px;
    height: 18px;
    color: var(--color-primary-500);
}

.pn-nb-bar__prog.pn-stp__barprog {
    width: auto;
    min-width: 108px;
}

.pn-stp__barprog b {
    white-space: nowrap;
}

@media (max-width: 767px) {
    .pn-stp__rail {
        padding-top: 16px;
    }

    .pn-stp__rail li + li::before {
        top: 15px;
        left: calc(-50% + 20px);
        right: calc(50% + 20px);
    }

    .pn-stp__dot {
        padding: 0;
    }

    .pn-stp__node {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .pn-stp__node .pn-ic {
        width: 15px;
        height: 15px;
    }

    .pn-stp__dot.is-current .pn-stp__node {
        box-shadow: 0 0 0 4px rgba(34, 76, 152, 0.14);
    }

    .pn-stp__lbl {
        display: none;
    }

    .pn-stp__gate {
        padding: 16px;
        border-radius: 20px;
    }

    .pn-stp__nav > .pn-textbtn {
        order: 3;
    }

    .pn-stp__hint,
    .pn-stp__next {
        flex: 1 1 100%;
        margin-left: 0;
        text-align: center;
    }

    .pn-stp__next {
        justify-content: center;
    }

    .pn-stp__result {
        padding: 20px;
    }

    .pn-stp__rico {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .pn-stp__rtitle {
        font-size: 20px;
        line-height: 28px;
    }

    .pn-stp__cell {
        padding: 12px;
    }

    .pn-stp__cell b {
        font-size: 22px;
        line-height: 28px;
    }

    .pn-nb-bar__prog.pn-stp__barprog {
        min-width: 92px;
    }
}

.pn-nb__sec[hidden],
.pn-nb__shead .bx-status[hidden] {
    display: none;
}

.pn-nb.is-learning .pn-nb__sec {
    margin-top: 0;
    border-top: 0;
}

.pn-nb__shead h2 {
    outline: none;
}

.pn-nb__sec > .pn-stp__gate {
    margin-top: 32px;
}

.pn-nb__sec > .pn-stp__nav {
    margin-top: 28px;
}

.pn-nb:not(.is-learning) .pn-stp__gate {
    padding: 0;
    border-radius: 0;
    background: none;
}

.pn-nb:not(.is-learning) .pn-stp__ghead,
.pn-nb:not(.is-learning) .pn-stp__nav {
    display: none;
}

#nb-test:checked ~ .pn-nb .pn-stp__gate {
    margin-top: 0;
}

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

.pn-nb.is-learning .pn-nb__after {
    display: none;
}

.pn-stp__result {
    scroll-margin-top: 96px;
}

.pn-nb__rail {
    display: none;
}

.pn-nb.is-learning .pn-nb__modes .pn-seg {
    opacity: 0.45;
    pointer-events: none;
}

#nb-full:checked ~ .pn-nb.is-learning .pn-nb__hint--full {
    display: none;
}

.pn-nb.is-learning .pn-nb__hint--learn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pn-nb__hint--learn .pn-ic {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--color-primary-500);
}

.pn-nb__tst {
    display: inline-flex;
    flex-shrink: 0;
}

.pn-nb__tst > span {
    display: none;
}

.pn-read__toc a.is-done:not(.is-again) .pn-nb__tok,
.pn-read__toc a.is-again .pn-nb__tre,
.pn-read__toc a.is-locked .pn-nb__tlk {
    display: inline-flex;
}

.pn-read__toc a.is-locked,
.pn-read__toc a.is-locked:hover {
    background: none;
    color: var(--pn-faint);
    cursor: default;
}

.pn-read__toc a.is-locked .pn-read__tno {
    background: none;
    outline: 1px dashed rgba(26, 26, 28, 0.2);
    outline-offset: -1px;
}

.pn-read__toc .pn-nb__tlk .pn-ic {
    width: 16px;
    height: 16px;
    color: var(--pn-faint);
}

@media (max-width: 1279px) {
    .pn-nb.is-learning .pn-nb__rail {
        display: grid;
    }
}

@media (max-width: 767px) {
    .pn-nb__sec > .pn-stp__gate {
        margin-top: 24px;
    }
}

.pn-nb {
    position: relative;
}

.pn-sn-layer {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.pn-sn-conn {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.pn-sn-conn path {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.pn-sn {
    --sc: #224c98;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 280px;
    min-width: 220px;
    max-width: min(560px, 100%);
    min-height: 96px;
    overflow: hidden;
    resize: both;
    border: 1px solid #ececec;
    border-radius: 16px;
    background: #fcfcfc;
    box-shadow: 0 18px 24px -20px rgba(0, 0, 0, 0.13), inset 0 2px 0 #ffffff, 0 8px 16px -12px rgba(0, 0, 0, 0.08);
    font-size: 14px;
    line-height: 20px;
    color: var(--color-secondary);
    pointer-events: auto;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pn-sn.is-lane {
    width: var(--sn-w, 280px);
}

.pn-sn[hidden] {
    display: none;
}

.pn-sn.is-active {
    border-color: color-mix(in srgb, var(--sc) 35%, #ececec);
    box-shadow: 0 18px 24px -20px rgba(0, 0, 0, 0.13), inset 0 2px 0 #ffffff, 0 24px 48px -16px rgba(23, 52, 102, 0.22);
}

.pn-sn.is-drag {
    box-shadow: 0 32px 48px -20px rgba(23, 52, 102, 0.35), 0 8px 16px -12px rgba(0, 0, 0, 0.1);
}

.pn-sn.is-flash {
    animation: pn-sn-flash 1.2s ease;
}

@keyframes pn-sn-flash {
    30% {
        border-color: var(--sc);
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--sc) 25%, transparent), 0 24px 48px -16px rgba(23, 52, 102, 0.22);
    }
}

.pn-sn__bar {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 12px 10px 0 14px;
    cursor: grab;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.pn-sn.is-drag .pn-sn__bar {
    cursor: grabbing;
}

.pn-sn__grip {
    display: grid;
    order: 3;
    place-items: center;
    width: 22px;
    color: var(--pn-faint);
    opacity: 0;
    transition: opacity 0.2s;
}

.pn-sn:hover .pn-sn__grip,
.pn-sn.is-active .pn-sn__grip {
    opacity: 1;
}

.pn-sn__grip .pn-ic {
    width: 16px;
    height: 16px;
    stroke-width: 3;
}

.pn-sn__kind {
    display: inline-flex;
    flex: 1;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: var(--sc-ink, var(--sc));
    white-space: nowrap;
}

.pn-sn__kind .pn-ic {
    box-sizing: content-box;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    padding: 6px;
    border: 1.5px solid currentColor;
    border-radius: 999px 999px 999px 0;
    background: #fcfcfc;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
}

.pn-sn__kind span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.pn-sn__btn {
    position: relative;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    color: var(--pn-muted);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.pn-sn__btn:hover,
.pn-sn__btn:focus-visible {
    background: #f1f1f1;
    color: var(--color-secondary);
}

.pn-sn__btn[aria-pressed="true"],
.pn-sn__btn[aria-expanded="true"] {
    background: rgba(34, 76, 152, 0.1);
    color: var(--color-primary-500);
}

.pn-sn__btn .pn-ic {
    width: 16px;
    height: 16px;
}

.pn-sn__bar .pn-sn__btn {
    opacity: 0;
}

.pn-sn:hover .pn-sn__bar .pn-sn__btn,
.pn-sn.is-active .pn-sn__bar .pn-sn__btn,
.pn-sn__bar .pn-sn__btn:focus-visible {
    opacity: 1;
}

.pn-sn__img {
    position: relative;
    margin: 12px 14px 0;
}

.pn-sn__img img {
    display: block;
    width: 100%;
    max-height: 220px;
    border-radius: 12px;
    background: #f6f6f6;
    object-fit: contain;
}

.pn-sn__imgx {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(255, 255, 255, 0.92);
}

.pn-sn__quote {
    display: -webkit-box;
    margin: 12px 14px 0;
    padding: 8px 12px;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(26, 26, 28, 0.045);
    font-size: 12px;
    line-height: 18px;
    color: var(--pn-muted);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.pn-sn__img[hidden],
.pn-sn__quote[hidden],
.pn-sn__pal[hidden] {
    display: none;
}

.pn-sn__body {
    flex: 1;
    min-height: 44px;
    margin: 6px 6px 0;
    padding: 4px 8px 14px;
    overflow-y: auto;
    border-radius: 8px;
    outline: 0;
    overflow-wrap: anywhere;
    cursor: text;
}

.pn-sn__body:empty::before {
    content: attr(data-ph);
    color: var(--pn-faint);
    pointer-events: none;
}

.pn-sn__tools {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px 14px 10px 12px;
    border-top: 1px solid #ececec;
    background: #ffffff;
}

.pn-sn.is-active .pn-sn__tools {
    display: flex;
}

.pn-sn__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
}

.pn-sn__dots {
    display: inline-flex;
    gap: 6px;
    margin-right: auto;
    padding: 0 4px 0 2px;
}

.pn-sn__type,
.pn-sn__size {
    height: 26px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
    font: inherit;
    font-size: 12px;
    color: var(--color-secondary);
}

.pn-sn__type {
    max-width: 132px;
    padding: 0 4px 0 6px;
}

.pn-sn__size {
    width: 36px;
    padding: 0 2px;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}

.pn-sn__size::-webkit-inner-spin-button,
.pn-sn__size::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.pn-sn__type:focus-visible,
.pn-sn__size:focus {
    border-color: var(--color-primary-500);
    outline: 0;
}

.pn-sn__fs {
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
}

.pn-sn__sep {
    width: 1px;
    height: 16px;
    margin: 0 2px;
    background: #e6e6e6;
}

.pn-sn__palbtn .pn-ic {
    width: 14px;
    height: 14px;
    margin-top: -4px;
}

.pn-sn__swatch {
    position: absolute;
    right: 6px;
    bottom: 4px;
    left: 6px;
    height: 3px;
    border-radius: 2px;
    background: #1a1a1c;
}

.pn-sn__swatch.is-none {
    background: transparent;
    box-shadow: inset 0 0 0 1px #d4d4d4;
}

.pn-sn__pal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 2px 2px 0;
}

.pn-sn-dot {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--c);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.pn-sn-dot:hover {
    transform: scale(1.12);
}

.pn-sn-dot[aria-pressed="true"] {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 3.5px var(--c);
}

.pn-sn-dot--any {
    background: conic-gradient(#e5484d, #f5a524, #f5e04f, #46a758, #12a594, #3e93de, #224c98, #8e4ec6, #d6409f, #e5484d);
}

.pn-sn-dot--any input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    opacity: 0;
    cursor: pointer;
}

.pn-sn-dot--any.is-on {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 3.5px var(--sc);
}

.pn-sn-dot--any.is-on::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--sc);
    box-shadow: 0 0 0 1.5px #ffffff;
    pointer-events: none;
}

.pn-sn-dot--any:focus-within {
    outline: 2px solid var(--color-primary-500);
    outline-offset: 3px;
}

.pn-sn-dot--sq {
    width: 22px;
    height: 22px;
    border-radius: 6px;
}

.pn-sn-dot--none {
    overflow: hidden;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px #d4d4d4;
}

.pn-sn-dot--none::after {
    content: "";
    position: absolute;
    top: -4px;
    bottom: -4px;
    left: 50%;
    width: 1.5px;
    background: rgba(26, 26, 28, 0.35);
    transform: rotate(45deg);
}

.pn-sn--indexcard .pn-sn__kind .pn-ic {
    border-color: var(--sc);
    background: var(--sc);
    color: var(--sc-on, #ffffff);
}

.pn-sn--longnote {
    width: 340px;
}

.pn-sn--longnote .pn-sn__body {
    min-height: 96px;
}

.pn-sn--bubble {
    border-radius: 20px 20px 20px 6px;
}

.pn-prose mark.pn-sn-mark {
    padding: 0;
    border-radius: 2px;
    background: color-mix(in srgb, var(--sc) 22%, transparent);
    box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--sc-ink, var(--sc)) 55%, transparent);
    color: inherit;
    cursor: pointer;
}

.pn-prose mark.pn-sn-mark.is-word {
    background: none;
    box-shadow: none;
    text-decoration: underline dotted var(--sc-ink, var(--sc)) 2px;
    text-underline-offset: 4px;
}

.pn-sn-pill {
    position: fixed;
    z-index: 35;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px 5px 5px;
    border-radius: 12px;
    background: #121212;
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.35);
    transform: translate(-50%, -100%);
}

.pn-sn-pill.is-below {
    transform: translate(-50%, 0);
}

.pn-sn-pill[hidden] {
    display: none;
}

.pn-sn-pill__take {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    white-space: nowrap;
    color: #ffffff;
    cursor: pointer;
}

.pn-sn-pill__take:hover,
.pn-sn-pill__take:focus-visible {
    background: rgba(255, 255, 255, 0.1);
}

.pn-sn-pill__take .pn-ic {
    width: 16px;
    height: 16px;
}

.pn-sn-pill__sep {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.18);
}

.pn-sn-pill .pn-sn-dot {
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}

.pn-sn-fab {
    position: fixed;
    right: 24px;
    bottom: 20px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 58px;
    padding: 0 22px 0 18px;
    border: 0;
    border-radius: 20px;
    background: var(--color-primary-500);
    box-shadow: 0 18px 32px -14px rgba(34, 76, 152, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font: inherit;
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s;
}

.pn-sn-fab:hover,
.pn-sn-fab:focus-visible {
    background: var(--color-secondary);
}

.pn-sn-fab .pn-ic {
    width: 20px;
    height: 20px;
}

.pn-nb-pop.pn-sn-add {
    inset: auto 24px 88px auto;
    width: min(300px, calc(100vw - 32px));
    transform: none;
}

.pn-sn-add__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    margin-bottom: 8px;
}

.pn-sn-add__grid:last-child {
    margin-bottom: 0;
}

.pn-sn-add__item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font: inherit;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    text-align: left;
    color: var(--color-secondary);
    cursor: pointer;
}

.pn-sn-add__item:hover,
.pn-sn-add__item:focus-visible {
    background: #f1f1f1;
}

.pn-sn-add__item .pn-ic {
    width: 16px;
    height: 16px;
    color: var(--color-primary-500);
}

.pn-nb-pop.pn-sn-list {
    width: min(400px, calc(100vw - 32px));
    padding: 0;
    overflow: hidden;
}

.pn-nb-pop.pn-sn-list:popover-open {
    display: flex;
    flex-direction: column;
}

.pn-sn-list__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 16px 12px;
}

.pn-sn-list__title {
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
}

.pn-sn-list__count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(34, 76, 152, 0.1);
    font-size: 12px;
    line-height: 22px;
    font-weight: 600;
    text-align: center;
    color: var(--color-primary-500);
}

.pn-sn-list__head .pn-textbtn {
    margin-left: auto;
}

.pn-sn-list__head .pn-textbtn:disabled {
    color: var(--pn-faint);
    cursor: default;
}

.pn-sn-list__search {
    flex: none;
    height: 40px;
    margin: 0 16px 10px;
}

.pn-sn-list__chips {
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 6px;
    padding: 0 16px 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.pn-sn-list__chips .pn-chip {
    flex-shrink: 0;
    height: 30px;
    padding: 0 12px;
    font-size: 13px;
}

.pn-sn-list__items {
    flex: 1;
    min-height: 0;
    margin: 0;
    padding: 6px 8px 8px;
    overflow-y: auto;
    border-top: 1px solid #f0f0f0;
    list-style: none;
}

.pn-sn-list__empty {
    margin: 0;
    padding: 24px 16px;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: var(--pn-muted);
}

.pn-sn-list__line {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-muted);
}

.pn-sn-list__line input {
    flex: 1;
    accent-color: var(--color-primary-500);
}

.pn-sn-list__search[hidden],
.pn-sn-list__chips[hidden],
.pn-sn-list__items[hidden],
.pn-sn-list__empty[hidden] {
    display: none;
}

.pn-sn-item {
    display: flex;
    align-items: flex-start;
    border-radius: 12px;
    transition: background 0.2s;
}

.pn-sn-item + .pn-sn-item {
    margin-top: 2px;
}

.pn-sn-item:hover {
    background: #f4f4f4;
}

.pn-sn-item__go {
    position: relative;
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 8px;
    min-width: 0;
    padding: 10px 4px 10px 24px;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.pn-sn-item__go::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 8px;
    width: 10px;
    height: 10px;
    border-radius: 999px 999px 999px 0;
    background: var(--sc);
}

.pn-sn-item__kind {
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: var(--sc-ink, var(--sc));
}

.pn-sn-item__time {
    grid-row: 1;
    grid-column: 2;
    font-size: 11px;
    line-height: 16px;
    white-space: nowrap;
    color: var(--pn-faint);
}

.pn-sn-item__text {
    display: -webkit-box;
    grid-column: 1 / -1;
    overflow: hidden;
    font-size: 13px;
    line-height: 18px;
    color: var(--color-secondary);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pn-sn-item__text:empty {
    display: none;
}

.pn-sn-item__del {
    margin: 8px 6px 0 0;
    opacity: 0;
}

.pn-sn-item:hover .pn-sn-item__del,
.pn-sn-item__del:focus-visible {
    opacity: 1;
}

.pn-sn-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--color-primary-500);
    box-shadow: 0 0 0 2px #fcfcfc;
    font-size: 10px;
    line-height: 16px;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
}

.pn-sn-badge[hidden] {
    display: none;
}

.pn-sn-toast {
    position: fixed;
    bottom: 96px;
    left: 50%;
    z-index: 40;
    max-width: calc(100vw - 32px);
    padding: 10px 16px;
    border-radius: 12px;
    background: #121212;
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.35);
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    text-align: center;
    color: #ffffff;
    transform: translateX(-50%);
}

.pn-sn-toast[hidden] {
    display: none;
}

#nb-test:checked ~ .pn-nb .pn-sn-layer,
#nb-test:checked ~ .pn-sn-fab,
#nb-test:checked ~ .pn-nb-bar .pn-sn-barbtn {
    display: none;
}

@media (hover: none) {
    .pn-sn__bar .pn-sn__btn,
    .pn-sn-item__del {
        opacity: 1;
    }
}

@media (max-width: 1023px) {
    .pn-sn-fab {
        right: 16px;
        width: 52px;
        height: 52px;
        padding: 0;
        border-radius: 18px;
    }

    .pn-sn-fab span {
        display: none;
    }

    .pn-nb-pop.pn-sn-add {
        right: 16px;
        bottom: 82px;
    }
}

@media (max-width: 767px) {
    .pn-sn-fab {
        bottom: 80px;
    }

    .pn-nb-pop.pn-sn-add {
        bottom: 142px;
    }

    .pn-sn-toast {
        bottom: 144px;
    }
}

@media (max-width: 479px) {
    .pn-nb-bar .pn-nb-bar__sep {
        display: none;
    }

    .pn-nb-bar .pn-nb-bar__btn {
        width: 36px;
        height: 36px;
    }

    .pn-nb-bar__prog.pn-stp__barprog {
        min-width: 76px;
    }
}

@media print {
    .pn-sn-layer,
    .pn-sn-fab,
    .pn-sn-pill,
    .pn-sn-toast,
    .pn-sn-barbtn {
        display: none;
    }

    .pn-prose mark.pn-sn-mark {
        background: none;
        box-shadow: none;
        text-decoration: none;
    }

    .pn-nb__sec {
        padding-right: 0;
    }

    .pn-nb__lanehint {
        display: none;
    }
}

.pn-draw {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    display: block;
    pointer-events: none;
    mix-blend-mode: multiply;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.pn-draw.is-on {
    pointer-events: auto;
    cursor: crosshair;
}

.pn-draw.is-on[data-tool="erase"] {
    cursor: cell;
}

.pn-nb-bar.pn-draw-tools {
    bottom: 88px;
    z-index: 31;
}

.pn-nb-bar.pn-draw-tools[hidden] {
    display: none;
}

.pn-draw-tools__dots {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 8px;
}

.pn-draw-tools__dots[hidden] {
    display: none;
}

.pn-draw-tools__dots[data-draw-pal="hi"] .pn-sn-dot {
    box-shadow: inset 0 0 0 1px rgba(26, 26, 28, 0.14);
}

.pn-draw-tools__dots[data-draw-pal="hi"] .pn-sn-dot[aria-pressed="true"] {
    box-shadow: inset 0 0 0 1px rgba(26, 26, 28, 0.14), 0 0 0 2px #ffffff, 0 0 0 3.5px #8b95a7;
}

.pn-draw-tools .pn-nb-bar__btn[aria-pressed="true"],
.pn-nb-bar__btn.pn-draw-barbtn[aria-pressed="true"] {
    background: rgba(34, 76, 152, 0.1);
    color: var(--color-primary-500);
}

.pn-draw-tools .pn-nb-bar__btn:disabled {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    opacity: 0.35;
    cursor: default;
}

.pn-draw-tools .pn-nb-bar__btn:disabled .pn-nb-tip {
    display: none;
}

.pn-draw-tools:not([hidden]) ~ .pn-sn-fab,
.pn-draw-tools:not([hidden]) ~ .pn-sn-pill {
    display: none;
}

#nb-test:checked ~ .pn-draw,
#nb-test:checked ~ .pn-draw-tools,
#nb-test:checked ~ .pn-nb-bar .pn-draw-barbtn {
    display: none;
}

@media (max-width: 767px) {
    .pn-nb-bar.pn-draw-tools {
        bottom: 76px;
    }
}

@media (max-width: 479px) {
    .pn-nb-bar.pn-draw-tools {
        bottom: 72px;
    }

    .pn-draw-tools__dots {
        gap: 8px;
        padding: 0 6px;
    }

    .pn-nb-bar .pn-nb-bar__map {
        display: none;
    }
}

@media print {
    .pn-draw,
    .pn-draw-tools,
    .pn-draw-barbtn {
        display: none;
    }
}

.pn-read__fig {
    position: relative;
}

.pn-read__fig > img {
    cursor: zoom-in;
}

.pn-read__figbar {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
}

.pn-read__figbtn {
    position: relative;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #ececec;
    border-radius: 10px;
    background: rgba(252, 252, 252, 0.94);
    color: var(--color-secondary);
    box-shadow: 0 8px 16px -12px rgba(0, 0, 0, 0.18), inset 0 2px 0 #ffffff;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.pn-read__figbtn:hover,
.pn-read__figbtn:focus-visible {
    background: #ffffff;
    color: var(--color-primary-500);
}

.pn-read__figbtn .pn-ic {
    width: 18px;
    height: 18px;
}

.pn-read__figbtn .pn-nb-tip {
    top: calc(100% + 8px);
    bottom: auto;
}

.pn-read__figbtn:hover .pn-nb-tip,
.pn-read__figbtn:focus-visible .pn-nb-tip {
    opacity: 1;
    visibility: visible;
}

.pn-lb {
    width: calc(100% - 32px);
    max-width: 1080px;
}

.pn-lb__stage {
    padding: 8px 24px 0;
}

.pn-lb__frame {
    position: relative;
    width: min(100%, calc((100svh - 240px) * var(--r, 1.5)));
    aspect-ratio: var(--r, 1.5);
    margin: 0 auto;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px #ececec;
    overflow: hidden;
}

.pn-lb__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

.pn-lb__ink {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: multiply;
    touch-action: none;
    cursor: crosshair;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.pn-lb__ink[data-tool="erase"] {
    cursor: cell;
}

.pn-lb__foot {
    display: flex;
    justify-content: center;
    padding: 16px 24px 24px;
}

.pn-nb-bar.pn-lb__tools {
    position: static;
    z-index: auto;
    max-width: 100%;
    transform: none;
    box-shadow: 0 8px 16px -12px rgba(0, 0, 0, 0.12), inset 0 2px 0 #ffffff;
}

.pn-resume {
    position: fixed;
    left: 50%;
    bottom: 88px;
    z-index: 31;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px 0 14px;
    border: 0;
    border-radius: 14px;
    background: #121212;
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.35);
    font: inherit;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    white-space: nowrap;
    color: #ffffff;
    cursor: pointer;
    transform: translateX(-50%);
    transition: background 0.2s;
}

.pn-resume[hidden],
.pn-draw-tools:not([hidden]) ~ .pn-resume {
    display: none;
}

.pn-resume:hover,
.pn-resume:focus-visible {
    background: var(--color-primary-500);
}

.pn-resume .pn-ic {
    width: 18px;
    height: 18px;
    transform: rotate(90deg);
}

.pn-nb__note[id^="mc-"] {
    scroll-margin: 96px 0;
}

.pn-nb__note.is-flash .pn-nb__card {
    outline: 3px solid transparent;
    outline-offset: 4px;
    animation: pn-flash 2.4s ease-out;
}

@keyframes pn-flash {
    0%,
    55% {
        outline-color: rgba(34, 76, 152, 0.45);
    }

    100% {
        outline-color: rgba(34, 76, 152, 0);
    }
}

@media (max-width: 767px) {
    .pn-lb__stage {
        padding: 8px 16px 0;
    }

    .pn-lb__foot {
        padding: 14px 12px 16px;
    }

    .pn-lb__frame {
        width: min(100%, calc((100svh - 220px) * var(--r, 1.5)));
    }

    .pn-resume {
        bottom: 76px;
    }
}

@media (max-width: 479px) {
    .pn-read__figbar {
        top: 6px;
        right: 6px;
    }

    .pn-resume {
        bottom: 72px;
    }
}

@media print {
    .pn-read__figbar,
    .pn-resume {
        display: none;
    }

    .pn-read__fig > img {
        cursor: default;
    }
}

.pn-book__open {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0 20px;
    margin-bottom: 36px;
}

.pn-book__num {
    font-size: 80px;
    line-height: 66px;
    font-weight: 300;
    letter-spacing: -0.05em;
    color: var(--color-primary-500);
    font-variant-numeric: tabular-nums;
}

.pn-book__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.pn-book__head h2 {
    margin-top: 6px;
}

.pn-book__terms {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--pn-line);
    font-size: 14px;
    line-height: 22px;
    color: rgba(26, 26, 28, 0.65);
}

.pn-book__terms b {
    margin-right: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-secondary);
}

.pn-nb__sec.is-book .pn-nb__text.pn-prose > * + * {
    margin-top: 28px;
}

.pn-nb__sec.is-book .pn-nb__text.pn-prose > p + p {
    margin-top: 0;
    text-indent: 1.5em;
}

.pn-nb__sec.is-book .pn-nb__text.pn-prose > p + :is(ul, ol, dl),
.pn-nb__sec.is-book .pn-nb__text.pn-prose > :is(ul, ol, dl) + p {
    margin-top: 12px;
}

.pn-nb__sec.is-book .pn-nb__text > p,
.pn-nb__sec.is-book .pn-nb__text > ul > li,
.pn-nb__sec.is-book .pn-nb__text > ol > li {
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.pn-nb__sec.is-book .pn-nb__text mark:not(.pn-sn-mark) {
    padding: 0;
    background: none;
    font-weight: 500;
    color: var(--color-secondary);
}

.pn-book__kp {
    font-weight: 500;
    color: var(--color-secondary);
}

.pn-book__ref {
    white-space: nowrap;
    color: var(--color-primary-500);
    text-decoration: none;
}

.pn-book__ref:hover,
.pn-book__ref:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pn-book__fig,
.pn-book__tab {
    scroll-margin: 96px 0;
}

.pn-nb__text .pn-book__fig {
    gap: 12px;
}

.pn-book__tab {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
}

.pn-nb__text .pn-book__cap {
    font-size: calc(14px * var(--pn-fs, 1));
    line-height: 1.55;
    text-align: left;
    color: rgba(26, 26, 28, 0.65);
}

.pn-nb__text .pn-book__cap b {
    margin-right: 6px;
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-book__tab .pn-read__table {
    padding: 0;
    border-top: 1.5px solid var(--color-secondary);
    border-bottom: 1.5px solid var(--color-secondary);
    border-radius: 0;
    box-shadow: none;
}

.pn-book__tab .pn-table th {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(26, 26, 28, 0.3);
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-book__tab .pn-table td {
    padding: 8px 12px;
    border-bottom: 0;
}

.pn-book__tab .pn-table tbody tr:first-child td {
    padding-top: 12px;
}

.pn-book__tab .pn-table tbody tr:last-child td {
    padding-bottom: 12px;
}

.pn-nb__sec.is-book .pn-read__steps {
    gap: 14px;
}

.pn-nb__sec.is-book .pn-read__steps li {
    padding: 0;
    border-radius: 0;
    background: none;
}

@media (max-width: 479px) {
    .pn-book__open {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 28px;
    }

    .pn-book__num {
        font-size: 56px;
        line-height: 48px;
    }

    .pn-nb__sec.is-book .pn-nb__text > p,
    .pn-nb__sec.is-book .pn-nb__text > ul > li,
    .pn-nb__sec.is-book .pn-nb__text > ol > li {
        text-align: left;
    }
}

button.pn-tstrip__n {
    width: 100%;
    padding: 0;
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

.pn-textbtn > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pn-textbtn:disabled {
    cursor: default;
}

.pn-textbtn.is-done {
    color: var(--color-primary-500);
}

.pn-q__why li.is-wrong {
    background: var(--pn-wrong-soft);
}

.pn-dots i.is-wrong {
    background: var(--pn-wrong);
}

.pn-rep__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.pn-dialog--md {
    max-width: 680px;
}

@media (max-width: 767px) {
    .pn-rep--dialog .pn-rep__card {
        padding: 20px;
    }
}

[data-pn-focus]:focus {
    outline: none;
}

.pn-qhud__live {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.pn-qhud__live .pn-qhud__bar {
    flex: 1 1 220px;
    min-width: 0;
}

.pn-sheet {
    display: flex;
    flex-direction: column;
    padding: 4px 32px 0;
}

.pn-sheet__q {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0 12px;
    padding: 28px 0 30px;
    border-top: 1px solid var(--pn-line);
}

.pn-sheet__q:first-child {
    border-top: 0;
}

.pn-sheet__no {
    font-size: 22px;
    line-height: 30px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-secondary);
    transition: color 0.2s;
}

.pn-sheet__q.is-now .pn-sheet__no {
    color: var(--color-primary-500);
}

.pn-sheet__q[data-result="right"] .pn-sheet__no {
    color: var(--pn-right);
}

.pn-sheet__q[data-result="wrong"] .pn-sheet__no {
    color: var(--pn-wrong);
}

.pn-sheet__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.pn-sheet .pn-q__next {
    align-items: center;
}

.pn-sheet .pn-q__next [data-pn-toggle] {
    margin-right: auto;
}

.pn-sheet__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 92px;
    padding: 20px 0 24px;
    border-top: 1px solid var(--pn-line);
}

.pn-sheet__page {
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    color: var(--pn-muted);
}

@media (max-width: 767px) {
    .pn-sheet {
        padding: 0 20px;
    }

    .pn-sheet__q {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 0 8px;
        padding: 22px 0 24px;
    }

    .pn-sheet__no {
        font-size: 18px;
        line-height: 26px;
    }
}

@media (max-width: 479px) {
    .pn-sheet {
        padding: 0 16px;
    }

    .pn-sheet__q {
        grid-template-columns: minmax(0, 1fr);
    }

    .pn-sheet__no {
        margin-bottom: 6px;
        font-size: 17px;
        line-height: 24px;
    }
}

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

.pn-paper__main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.pn-paper__head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
}

.pn-paper__name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    padding-left: 12px;
    border-left: 1px solid rgba(26, 26, 28, 0.12);
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pn-paper__rail {
    position: sticky;
    z-index: 15;
}

.pn-paper__ctl {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pn-paper__nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pn-paper__pos {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 36px;
    padding: 0 8px 0 12px;
    border: 0;
    border-radius: 999px;
    background: none;
    font: inherit;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--color-secondary);
    cursor: pointer;
    transition: background-color 0.2s;
}

.pn-paper__pos:hover,
.pn-paper__pos[aria-expanded="true"] {
    background: var(--pn-tint);
}

.pn-paper__pos .pn-ic {
    width: 16px;
    height: 16px;
    color: var(--pn-muted);
    transform: rotate(-90deg);
    transition: transform 0.2s;
}

.pn-paper__pos[aria-expanded="true"] .pn-ic {
    transform: rotate(90deg);
}

.pn-paper__ctl .btn {
    justify-content: center;
}

@media (max-width: 1199px) {
    .pn-paper__rail {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        gap: 12px;
        padding: 14px 18px;
        border-radius: 24px;
        box-shadow: 0 -16px 32px -20px rgba(23, 52, 102, 0.3), 0 6px 13px 0 rgba(23, 52, 102, 0.04), 0 0 0 1px rgba(26, 26, 28, 0.05);
    }

    .pn-paper__rail .pn-qhud__live .pn-qhud__bar {
        flex-basis: 140px;
    }

    .pn-paper__rail--test {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px 20px;
    }

    .pn-paper__rail--test .pn-qhud__bar {
        flex: 1 1 200px;
        min-width: 0;
    }

    .pn-paper__rail--test .pn-tstrip {
        display: none;
        flex: 1 1 100%;
        order: -1;
    }

    .pn-paper__rail--test.is-open .pn-tstrip {
        display: grid;
    }
}

@media (min-width: 1200px) {
    .pn-narrow--paper {
        max-width: 1116px;
    }

    .pn-paper {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 272px;
        align-items: start;
        gap: 24px;
    }

    .pn-paper__rail {
        top: 100px;
        gap: 18px;
        padding: 20px;
    }

    .pn-paper__rail .pn-qhud__live {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .pn-paper__rail .pn-qhud__bar,
    .pn-paper__rail .pn-qhud__live .pn-qhud__bar {
        flex: none;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px 12px;
    }

    .pn-paper__rail .pn-qhud__bar .bx-bar {
        order: 2;
        flex: none;
        width: 100%;
    }

    .pn-paper__rail .pn-qhud__stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pn-paper__rail .pn-tstrip {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .pn-paper__nav {
        display: none;
    }

    .pn-paper__ctl .btn {
        flex: 1;
    }
}

@media (max-width: 767px) {
    .pn-paper,
    .pn-paper__main {
        gap: 16px;
    }

    .pn-paper__rail {
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        gap: 10px;
        padding: 12px 14px;
        border-radius: 20px;
    }

    .pn-paper__rail .pn-qhud__live {
        gap: 8px 12px;
    }

    .pn-paper__rail .pn-qhud__live .pn-qhud__bar {
        flex-basis: 120px;
    }

    .pn-paper__rail .pn-qhud__stats li:not(.is-right):not(.is-wrong) {
        display: none;
    }

    .pn-paper__rail--test {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .pn-paper__rail--test .pn-qhud__bar {
        flex: none;
    }

    .pn-paper__rail--test .pn-paper__ctl {
        justify-content: space-between;
    }
}

.pn-paper__nav .pn-iconlink:disabled {
    opacity: 0.4;
    cursor: default;
}

.pn-paper__nav .pn-iconlink:disabled:hover {
    background: rgba(26, 26, 28, 0.04);
    color: rgba(26, 26, 28, 0.6);
}

.pn-wb__sheet .pn-sheet__q {
    border-top: 0;
}

.pn-wb__sheet .pn-sheet__q:not(.is-hidden) ~ .pn-sheet__q {
    border-top: 1px solid var(--pn-line);
}

.pn-note .pn-wb__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 18px;
    color: var(--pn-muted);
}

.pn-wb__meta .pn-count {
    margin-right: 0;
}

.pn-wb__none {
    margin: 0;
    padding: 48px 0;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: var(--pn-faint);
}

.pn-wb__rail {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
}

.pn-wb__sum {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pn-wb__total {
    font-size: 40px;
    line-height: 44px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--color-secondary);
}

.pn-wb__sum .pn-row__text small {
    white-space: normal;
}

.pn-wb__rail .pn-label {
    margin-bottom: 8px;
}

.pn-wb__rail .bx-group {
    gap: 12px;
    height: auto;
    min-height: 64px;
    padding: 12px 14px 12px 16px;
}

.pn-wb__rail .bx-group .pn-row__text b {
    white-space: normal;
}

@media (min-width: 1200px) {
    .pn-wb__rail {
        position: sticky;
        top: 100px;
    }
}

@media (max-width: 1199px) {
    .pn-wb__rail {
        order: -1;
    }
}

@media (max-width: 767px) {
    .pn-wb__rail {
        gap: 16px;
        padding: 16px;
    }

    .pn-wb__total {
        font-size: 32px;
        line-height: 38px;
    }
}

.pn-finder__head {
    align-items: center;
    gap: 12px;
    padding: 20px 20px 12px;
}

.pn-finder__input {
    height: 48px;
    padding: 0 16px;
    border-radius: 24px;
    font-size: 15px;
}

.pn-finder__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 240px;
    max-height: min(60svh, 520px);
    padding: 8px 20px 16px;
    overflow-y: auto;
}

.pn-finder__group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pn-finder__group .pn-label {
    margin: 0 0 6px 4px;
}

.pn-finder .bx-group {
    height: 56px;
    padding: 0 10px;
    background: transparent;
    outline: 0;
    transition: background-color 0.2s;
}

.pn-finder .bx-group:after {
    content: none;
}

.pn-finder .bx-group__icon {
    width: 36px;
    height: 36px;
    margin-right: 12px;
}

.pn-finder a.bx-group:hover,
.pn-finder a.bx-group:focus-visible {
    background: rgba(34, 76, 152, 0.06);
}

.pn-finder a.bx-group:focus-visible .pn-go {
    color: var(--color-primary-500);
}

.pn-finder__none {
    margin: 0;
    padding: 48px 0;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: var(--pn-muted);
}

.pn-finder__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding: 14px 20px 18px;
    border-top: 1px solid var(--pn-line);
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-faint);
}

.pn-finder__foot kbd {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    margin-right: 2px;
    padding: 0 6px;
    border-radius: 6px;
    background: rgba(26, 26, 28, 0.05);
    font: inherit;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.6);
}

.pn-finder__note {
    margin-left: auto;
}

@media (max-width: 767px) {
    .pn-finder__foot > span:not(.pn-finder__note) {
        display: none;
    }

    .pn-finder__note {
        margin-left: 0;
    }
}

.pn-pw {
    position: relative;
}

.pn-pw .auth-form-input {
    width: 100%;
    padding-right: 52px;
}

.pn-pw__peek {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
}

.pn-pw__peek.is-on {
    background: rgba(34, 76, 152, 0.08);
    color: var(--color-primary-500);
}

.pn-pw__meter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pn-pw__meter .bx-bar span {
    transition: width 0.25s, background-color 0.25s;
}

.pn-pw__meter[data-score="0"] .bx-bar span,
.pn-pw__meter[data-score="1"] .bx-bar span,
.pn-pw__meter[data-score="2"] .bx-bar span {
    background: var(--pn-wrong);
}

.pn-pw__meter[data-score="3"] .bx-bar span {
    background: var(--color-primary-500);
}

.pn-pw__meter[data-score="4"] .bx-bar span {
    background: var(--pn-right);
}

.pn-pw__meter[data-score="0"] [data-pn-pw-label],
.pn-pw__meter[data-score="1"] [data-pn-pw-label],
.pn-pw__meter[data-score="2"] [data-pn-pw-label] {
    color: var(--pn-wrong);
}

.pn-pw__meter[data-score="4"] [data-pn-pw-label] {
    color: var(--pn-right);
}

.pn-pw__hint.is-ok {
    color: var(--pn-right);
}

.pn-pw__hint.is-bad {
    color: var(--pn-wrong);
}

.pn-pw__note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.pn-pw__note .pn-ic {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 1px;
}

.pn-ob__empty {
    padding: 8px 0 0;
}

.pn-err .bx-status {
    align-self: flex-start;
    margin-bottom: 4px;
}

.pn-err__btns {
    flex-wrap: wrap;
}

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

.pn-off .pn-empty .bx-status,
.pn-ob__empty .bx-status {
    margin-bottom: 20px;
}

.pn-cp {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.pn-cp__code {
    font-size: 20px;
    letter-spacing: 0.3em;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.pn-cp__run {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 32px 24px 64px;
}

.pn-cp__bar {
    position: sticky;
    top: 16px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
}

.pn-cp__doc {
    display: flex;
    flex: 1 1 260px;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.pn-cp__doc .bx-group__icon {
    flex-shrink: 0;
    margin: 0;
}

.pn-cp__doc .pn-row__text {
    min-width: 0;
    margin: 0;
}

.pn-cp__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pn-cp__meta .pn-pill {
    gap: 6px;
}

.pn-cp__meta .pn-ic {
    width: 14px;
    height: 14px;
}

.pn-cp__hint {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    color: var(--pn-faint);
}

.pn-cp__pages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    user-select: none;
}

.pn-cp__page {
    aspect-ratio: 210 / 297;
    gap: 16px;
    padding: 32px 30px 24px;
    overflow: hidden;
    border-radius: 12px;
}

.pn-cp__page .pn-prose {
    flex: 1;
    gap: 12px;
    min-height: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.65;
    -webkit-mask-image: linear-gradient(#000 calc(100% - 64px), transparent);
    mask-image: linear-gradient(#000 calc(100% - 64px), transparent);
}

.pn-cp__page .pn-prose h3 {
    margin: 0;
    font-size: 17px;
    line-height: 24px;
}

.pn-cp__img {
    display: block;
    width: 100%;
    aspect-ratio: 210 / 297;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    -webkit-user-drag: none;
}

.pn-cp__load {
    padding: 32px 0 8px;
}

.pn-cp__head,
.pn-cp__foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
    line-height: 16px;
    color: var(--pn-faint);
}

.pn-cp__head {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--pn-line);
}

.pn-cp__foot {
    padding-top: 10px;
    border-top: 1px solid var(--pn-line);
}

@media (max-width: 767px) {
    .pn-cp__run {
        padding: 16px 16px 48px;
    }

    .pn-cp__bar {
        position: static;
    }

    .pn-cp__bar .pn-btns {
        width: 100%;
    }

    .pn-cp__bar .pn-btns .btn {
        flex: 1;
        justify-content: center;
    }

    .pn-cp__pages {
        grid-template-columns: minmax(0, 1fr);
    }

    .pn-cp__page {
        padding: 24px 20px 18px;
    }
}

@media print {
    .pn-cp__bar,
    .pn-cp__hint {
        display: none;
    }

    .pn-cp__run {
        max-width: none;
        padding: 0;
    }

    .pn-cp__pages {
        display: block;
    }

    .pn-cp__page {
        aspect-ratio: auto;
        min-height: 100vh;
        border-radius: 0;
        box-shadow: none;
        break-after: page;
    }

    .pn-cp__page .pn-prose {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .pn-cp__load {
        display: none;
    }

    .pn-cp__img {
        aspect-ratio: auto;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        break-after: page;
    }

    @page {
        size: A4;
        margin: 0;
    }
}

.pn-ob__card--wide {
    max-width: 680px;
}

.pn-access {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.pn-access__plans {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 1160px;
    scroll-margin-top: 96px;
}

.pn-access__plans .pn-subhead {
    justify-content: center;
    margin: 0;
}

.pn-access__plans .bx-pricing__note {
    margin: 0 auto;
}

.pn-mk-packs {
    margin: 48px auto 0;
}

.pn-key {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
}

.pn-field__hint.is-bad {
    color: var(--pn-wrong);
}

.pn-check--top {
    align-items: flex-start;
}

.pn-check--top input {
    flex-shrink: 0;
    margin-top: 1px;
}

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

.pn-rules__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 0 0;
    padding: 0 0 0 18px;
    font-size: 14px;
    line-height: 20px;
}

.pn-rules__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 18px;
    color: rgba(26, 26, 28, 0.7);
}

.pn-rules__checks li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pn-rules__checks .pn-ic {
    color: var(--pn-right);
}

.pn-wait {
    padding: 8px 0 0;
}

.pn-wait .pn-text {
    max-width: 360px;
    text-align: center;
}

.pn-wait.is-ready .pn-spin {
    border-color: var(--pn-right);
    animation: none;
}

.pn-ob--report {
    align-items: flex-start;
}

.pn-rp-public {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 1120px;
}

.pn-rp-public > .pn-ob__card {
    max-width: none;
    gap: 20px;
    padding: 28px 32px;
}

.pn-lib__lock {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--pn-tint);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--pn-faint);
}

.pn-lib__lock .pn-ic {
    flex-shrink: 0;
}

.bx-feature.is-locked .bx-feature__preview {
    opacity: 0.55;
    filter: grayscale(1);
}

.pn-mm__topic.is-locked {
    color: rgba(26, 26, 28, 0.4);
    cursor: default;
}

.pn-mm__topic.is-locked:hover {
    background: transparent;
}

.pn-mm__lock {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.pn-noprint {
    display: none;
}

@media print {
    body[data-pn-trial] > *:not(.pn-noprint) {
        display: none !important;
    }

    body[data-pn-trial] .pn-noprint {
        display: block;
        padding: 48px;
        font-size: 18px;
        line-height: 28px;
        font-weight: 500;
        color: #1a1a1c;
    }
}

.pn-up {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    margin-top: 12px;
    padding: 18px;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(160deg, var(--color-primary-500) 0%, var(--color-primary-700) 100%);
    color: #ffffff;
    box-shadow: 0 18px 32px -18px rgba(23, 52, 102, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

.pn-up:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 36px -18px rgba(23, 52, 102, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.pn-up__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.pn-up__glow img {
    position: absolute;
    top: -40%;
    right: -55%;
    width: 150%;
    max-width: none;
    height: auto;
    opacity: 0.55;
    mix-blend-mode: screen;
    animation: pn-up-glow 6s ease-in-out infinite alternate;
}

@keyframes pn-up-glow {
    from {
        transform: translate(0, 0) rotate(0deg);
    }

    to {
        transform: translate(-12%, 8%) rotate(-8deg);
    }
}

.pn-up__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.pn-up__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
}

.pn-up__pic {
    width: 44px;
    height: 44px;
    margin: -6px -4px 0 0;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.25));
}

.pn-up__title {
    margin-top: 6px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
}

.pn-up__text {
    margin-top: 6px;
    font-size: 13px;
    line-height: 18px;
    color: rgba(255, 255, 255, 0.78);
}

.pn-up__label {
    margin-top: 12px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
}

.pn-up__rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.pn-up__row-top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
}

.pn-up__row-top em {
    font-style: normal;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.75);
}

.pn-up__bar {
    display: block;
    height: 6px;
    margin-top: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    overflow: hidden;
}

.pn-up__bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #ffffff;
}

.pn-up__row.is-full .pn-up__row-top em {
    color: #ffffff;
    font-weight: 600;
}

.pn-up__row.is-full .pn-up__bar > span {
    background: #ffd27a;
}

.pn-up__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-primary-500);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.pn-up__btn .pn-ic {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.pn-up:hover .pn-up__btn .pn-ic {
    transform: translateX(3px);
}

@media (max-height: 760px) {
    .pn-up__label,
    .pn-up__rows {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pn-up__glow img {
        animation: none;
    }
}

.pn-fm--locked .pn-lib__lock {
    margin-top: 0;
}

.pn-guide__list {
    display: grid;
    gap: 8px;
}

.pn-card .pn-guide__list .bx-group {
    height: auto;
    min-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.pn-guide__list .pn-row__text small {
    white-space: normal;
}

.pn-guide__list .bx-group.is-done .pn-row__text b {
    color: rgba(26, 26, 28, 0.5);
}

.pn-guide__foot {
    display: flex;
    justify-content: flex-end;
    padding: 0 12px 14px;
}

@media (min-width: 900px) {
    .pn-guide__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.pn-vid-page [hidden],
.pn-vid-hero [hidden] {
    display: none !important;
}

.pn-vid-poster {
    display: block;
    padding: 0;
    background: #0b1630;
    color: #ffffff;
}

.pn-vid-poster img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

a.pn-vid-poster[href]:hover img {
    transform: scale(1.03);
}

.pn-vid-poster:not([href]) {
    cursor: default;
}

.pn-vid-poster__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 32px -12px rgba(5, 10, 24, 0.5);
    color: var(--color-primary-500);
    transition: transform 0.2s ease;
}

a.pn-vid-poster[href]:hover .pn-vid-poster__play {
    transform: scale(1.06);
}

.pn-vid-poster__play .pn-ic {
    width: 26px;
    height: 26px;
}

.pn-vid-poster__time {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(5, 10, 24, 0.66);
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #ffffff;
}

.pn-vid-poster__bar {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.28);
}

.pn-vid-poster__bar span {
    display: block;
    height: 100%;
    background: var(--color-primary-500);
}

.pn-vid-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 20px;
    color: rgba(26, 26, 28, 0.6);
}

.pn-vid-facts li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pn-vid-facts .pn-ic {
    width: 16px;
    height: 16px;
    color: var(--pn-faint);
}

.bx-feature.pn-vid-hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.bx-feature.pn-vid-hero .bx-feature__preview {
    align-self: center;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
}

.pn-vid-hero .bx-feature__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.pn-vid-hero .bx-feature__title {
    margin: 0;
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.pn-vid-hero .bx-feature__text,
.pn-vid-hero .pn-vid-facts,
.pn-vid-hero .pn-lib__lock {
    margin: 0;
}

.pn-vid-hero .pn-hbar {
    align-self: stretch;
}

.pn-vid-hero .pn-vid-poster__play {
    width: 76px;
    height: 76px;
    margin: -38px 0 0 -38px;
}

.pn-vid-grid .bx-feature__preview {
    height: auto;
    aspect-ratio: 16 / 9;
}

.pn-vid-grid .bx-feature__text {
    margin-bottom: 8px;
}

.pn-vid-grid .pn-vid-facts {
    margin: 0;
}

.pn-vid-grid .pn-lib__btns {
    margin-top: auto;
    padding-top: 16px;
}

.pn-vid-grid .pn-lib__lock {
    margin-top: auto;
}

@media (max-width: 819px) {
    .pn-vid-hero .bx-feature__title {
        font-size: 1.625rem;
    }
}

.pn-vid-page {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
    gap: 20px;
}

.pn-vid-main,
.pn-vid-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.pn-vid-stage {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 24px 48px -24px rgba(23, 52, 102, 0.32), 0 6px 13px 0 rgba(23, 52, 102, 0.05);
}

.pn-vid-screen {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #05070d;
}

.pn-vid-video {
    display: block;
    width: 100%;
    height: 100%;
    background: #05070d;
    object-fit: contain;
}

.pn-vid-full {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(5, 10, 24, 0.55);
    color: #ffffff;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s, background-color 0.2s;
}

.pn-vid-full .pn-ic {
    width: 18px;
    height: 18px;
}

.pn-vid-stage:hover .pn-vid-full,
.pn-vid-full:focus-visible {
    opacity: 1;
}

.pn-vid-full:hover {
    background: rgba(5, 10, 24, 0.75);
}

.pn-vid-mark {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: block;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    opacity: 0.25;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
}

.pn-vid-stage.is-full .pn-vid-mark {
    font-size: 15px;
    line-height: 20px;
}

.pn-vid-stage.is-stopped .pn-vid-video {
    visibility: hidden;
}

.pn-vid-stage.is-pseudo {
    position: fixed;
    inset: 0;
    z-index: 1000;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

html.pn-vid-lock,
html.pn-vid-lock body {
    overflow: hidden;
}

@media (hover: none) {
    .pn-vid-full {
        opacity: 1;
    }
}

.pn-vid-q__card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
}

.pn-vid-q__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.pn-vid-q__hint {
    font-size: 13px;
    line-height: 18px;
    color: var(--pn-muted);
}

.pn-vid-q__stem {
    margin: 0;
    font-size: 17px;
    line-height: 26px;
    font-weight: 500;
    color: var(--color-secondary);
}

.pn-vid-q .pn-choices {
    gap: 8px;
}

.pn-vid-q .pn-verdict {
    gap: 12px;
    padding: 10px 14px;
    border-radius: 16px;
}

.pn-vid-q .pn-verdict .pn-verdict__icon {
    width: 32px;
    height: 32px;
}

.pn-vid-q .pn-verdict .pn-verdict__icon .pn-ic {
    width: 18px;
    height: 18px;
}

.pn-vid-q.is-done .pn-vid-q__hint {
    display: none;
}

@media (min-width: 768px) {
    .pn-vid-stage {
        container: pnvid / inline-size;
    }

    .pn-vid-q {
        position: absolute;
        inset: 0;
        z-index: 4;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px;
        background: rgba(5, 8, 16, 0.64);
    }

    .pn-vid-q__card {
        width: 100%;
        max-width: 620px;
        max-height: 100%;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-bottom: 0;
        border-radius: 24px;
        background: #ffffff;
        box-shadow: 0 32px 64px -24px rgba(5, 10, 24, 0.6);
    }

    .pn-vid-q__card > .pn-btns {
        position: sticky;
        bottom: 0;
        z-index: 1;
        margin: -4px -20px 0;
        padding: 10px 20px 20px;
        background: #ffffff;
    }
}

@container pnvid (max-width: 1000px) {
    .pn-vid-q {
        padding: 12px;
    }

    .pn-vid-q__card {
        gap: 10px;
        padding: 16px 16px 0;
        border-radius: 20px;
    }

    .pn-vid-q__card > .pn-btns {
        margin: -2px -16px 0;
        padding: 8px 16px 16px;
    }

    .pn-vid-q__hint {
        display: none;
    }

    .pn-vid-q__stem {
        font-size: 15px;
        line-height: 22px;
    }

    .pn-vid-q .pn-choices {
        gap: 6px;
    }
}

.pn-vid-stage.is-full {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: #000000;
}

.pn-vid-stage.is-full .pn-vid-screen {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    background: #000000;
}

.pn-vid-stage.is-full .pn-vid-video {
    background: #000000;
}

.pn-vid-stage.is-full .pn-vid-full {
    opacity: 1;
}

.pn-vid-stage.is-full .pn-vid-q {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 8, 16, 0.64);
}

.pn-vid-stage.is-full .pn-vid-q__card {
    width: 100%;
    max-width: 640px;
    max-height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 0;
    border-radius: 24px;
    background: #ffffff;
}

.pn-vid-stage.is-full .pn-vid-q__card > .pn-btns {
    position: sticky;
    bottom: 0;
    z-index: 1;
    margin: -4px -20px 0;
    padding: 10px 20px 20px;
    background: #ffffff;
}

.pn-vid-info .pn-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
}

.pn-vid-info__title {
    margin: 0;
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-secondary);
}

.pn-vid-info .pn-vid-facts {
    margin: 0;
}

.pn-vid-info .pn-hbar {
    align-self: stretch;
}

.pn-vid-info__ai {
    margin: 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--pn-faint);
}

.pn-vid-chapters,
.pn-vid-qlist {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pn-vid-chapters {
    gap: 2px;
}

.pn-vid-chapter {
    display: flex;
    align-items: baseline;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    font: inherit;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    color: rgba(26, 26, 28, 0.78);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.pn-vid-chapter:hover {
    background: var(--pn-tint);
}

.pn-vid-chapter__time {
    flex-shrink: 0;
    min-width: 40px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--pn-muted);
}

.pn-vid-chapter.is-active {
    background: var(--color-primary-50);
    color: var(--color-secondary);
}

.pn-vid-chapter.is-active .pn-vid-chapter__time {
    color: var(--color-primary-500);
}

.pn-vid-qitem {
    display: flex;
    gap: 12px;
    padding: 12px 4px;
}

.pn-vid-qitem + .pn-vid-qitem {
    border-top: 1px solid var(--pn-line);
}

.pn-vid-qitem__mark {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--pn-tint);
    color: var(--pn-faint);
}

.pn-vid-qitem__mark .pn-ic {
    width: 16px;
    height: 16px;
}

.pn-vid-qitem.is-right .pn-vid-qitem__mark {
    background: var(--pn-right-soft);
    color: var(--pn-right);
}

.pn-vid-qitem.is-wrong .pn-vid-qitem__mark {
    background: var(--pn-wrong-soft);
    color: var(--pn-wrong);
}

.pn-vid-qitem small {
    display: block;
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-muted);
}

.pn-vid-qitem p {
    display: -webkit-box;
    margin: 2px 0 4px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 14px;
    line-height: 20px;
    color: rgba(26, 26, 28, 0.8);
}

.pn-vid-qitem__state {
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: var(--pn-faint);
}

.pn-vid-qitem.is-right .pn-vid-qitem__state {
    color: var(--pn-right);
}

.pn-vid-qitem.is-wrong .pn-vid-qitem__state {
    color: var(--pn-wrong);
}

.pn-vid-side .pn-promo:not([href]) {
    cursor: default;
    opacity: 0.72;
}

@media (max-width: 1279px) {
    .pn-vid-page {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .pn-vid-stage {
        border-radius: 24px;
    }

    .pn-vid-q__card {
        padding: 16px;
    }

    .pn-vid-stage.is-full .pn-vid-q {
        padding: 12px;
    }

    .pn-vid-stage.is-full .pn-vid-q__card > .pn-btns {
        margin: -4px -16px 0;
        padding: 10px 16px 16px;
    }

    .pn-vid-info .pn-card__body {
        padding: 16px;
    }

    .pn-vid-info__title {
        font-size: 1.5rem;
    }
}

.pn-rp {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-width: 0;
}

.pn-rp > .pn-note {
    margin-top: -24px;
}

.pn-rp button:focus-visible {
    outline: 2px solid var(--color-primary-500);
    outline-offset: 2px;
}

.pn-rp .pn-card > .pn-card__body:first-child {
    padding-top: 12px;
}

.pn-rp-sec {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    scroll-margin-top: 96px;
}

.pn-rp-ch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: -10px;
}

.pn-rp-ch__no {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--color-primary-500);
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #ffffff;
}

.pn-rp-ch__label {
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pn-muted);
}

.pn-rp-ch__title {
    margin: 0;
    font-size: 28px;
    line-height: 34px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--color-secondary);
}

.pn-rp-ch__title + .pn-rp-ch__lead {
    margin-top: -12px;
}

.pn-rp-ch__lead {
    max-width: 760px;
    margin: 0;
    font-size: 15px;
    line-height: 24px;
    color: var(--pn-muted);
}

.pn-rp-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 20px;
}

.pn-rp-main,
.pn-rp-aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.pn-rp-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
}

.pn-rp-trio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
}

.pn-rp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    align-items: start;
    gap: 20px;
}

.pn-rp .bx-bar {
    display: block;
}

.pn-rp .pn-rp-stack > .bx-mrow {
    margin-bottom: 0;
}

.pn-rp .pn-rp-stack > .pn-label {
    margin: 0;
}

.pn-rp-subs .pn-rp-stack {
    gap: 8px;
}

.pn-rp-subs .bx-mrow,
.pn-rp-subs .bx-mrow.is-low {
    padding: 10px 12px;
    background: rgba(26, 26, 28, 0.035);
    box-shadow: none;
}

.pn-rp-subs .bx-mrow__top {
    margin-bottom: 8px;
    font-size: 13px;
}

.pn-rp-subs .pn-label:not(:first-child) {
    margin-top: 10px;
}

.pn-rp-explain {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pn-rp-text {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: rgba(26, 26, 28, 0.7);
}

.pn-rp-text.is-muted {
    font-size: 13px;
    line-height: 20px;
    color: var(--pn-muted);
}

.pn-rp-sub {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pn-rp-sub > .pn-rp-chips,
.pn-card__body > .pn-rp-chips:first-child {
    margin-top: 0;
}

.pn-rp-strip {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
}

.pn-rp-strip__groups {
    display: flex;
    gap: 14px;
}

.pn-rp-strip__group {
    display: flex;
    flex: var(--pn-n, 1) 1 0;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.pn-rp-strip__cells {
    display: flex;
    gap: 3px;
}

.pn-rp-strip__cells .pn-rp-q {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: 28px;
    border-radius: 4px;
}

.pn-rp-strip__name {
    overflow: hidden;
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--pn-muted);
}

.pn-rp-strip__name b {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--color-secondary);
}

.pn-rp-strip__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}

.pn-rp-strip__label {
    font-size: 13px;
    line-height: 18px;
    color: var(--pn-muted);
}

.pn-rp-q {
    display: block;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: rgba(26, 26, 28, 0.12);
    font: inherit;
}

button.pn-rp-q {
    cursor: pointer;
    transition: opacity 0.15s;
}

button.pn-rp-q:hover {
    opacity: 0.7;
}

.pn-rp-q.is-c,
.pn-rp-dot.is-c {
    background: var(--pn-right);
}

.pn-rp-q.is-w,
.pn-rp-dot.is-w {
    background: var(--pn-wrong);
}

.pn-rp-dot {
    display: inline-block;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(26, 26, 28, 0.2);
}

.pn-rp-chip {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    height: 26px;
    margin: 0;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(26, 26, 28, 0.06);
    font: inherit;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: rgba(26, 26, 28, 0.65);
}

.pn-rp-chip.is-c {
    background: var(--pn-right-soft);
    color: var(--pn-right);
}

.pn-rp-chip.is-w {
    background: var(--pn-wrong-soft);
    color: var(--pn-wrong);
}

button.pn-rp-chip {
    cursor: pointer;
    transition: box-shadow 0.15s;
}

button.pn-rp-chip:hover {
    box-shadow: inset 0 0 0 1px currentColor;
}

.pn-rp-ledger {
    display: flex;
    flex-direction: column;
}

.pn-rp-ledger__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 11px 8px;
    border-bottom: 1px solid var(--pn-line);
    font-size: 14px;
    line-height: 20px;
}

.pn-rp-ledger__row:last-child {
    border-bottom: 0;
}

.pn-rp-ledger__name {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: rgba(26, 26, 28, 0.8);
}

.pn-rp-ledger__calc {
    font-size: 12px;
    line-height: 16px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--pn-faint);
}

.pn-rp-ledger__value {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
    color: var(--color-secondary);
}

.pn-rp-ledger__row.is-total {
    margin-top: -1px;
    border-top: 1px solid rgba(26, 26, 28, 0.16);
}

.pn-rp-ledger__row.is-total .pn-rp-ledger__name {
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-rp-ledger__row.is-total .pn-rp-ledger__value {
    font-size: 18px;
    line-height: 24px;
    color: var(--color-primary-500);
}

.pn-rp-ledger__row.is-soft .pn-rp-ledger__name,
.pn-rp-ledger__row.is-soft .pn-rp-ledger__value {
    font-weight: 500;
    color: var(--pn-muted);
}

.pn-rp-table tr.is-weak td {
    background: rgba(34, 76, 152, 0.06);
}

.pn-rp-table td small {
    color: var(--pn-faint);
}

.pn-rp-cwb {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--pn-faint);
}

.pn-rp-cwb span {
    font-weight: 600;
}

.pn-rp-cwb span.is-c {
    color: var(--pn-right);
}

.pn-rp-cwb span.is-w {
    color: var(--pn-wrong);
}

.pn-rp-cwb span.is-b {
    color: var(--pn-muted);
}

.pn-rp-acc {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
}

.pn-rp-acc .bx-bar {
    flex: 1;
    min-width: 60px;
}

.pn-rp-acc b {
    min-width: 38px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.pn-rp-acc.is-low .bx-bar span {
    background: var(--color-primary-500);
}

.pn-rp-acc.is-low b {
    color: var(--color-primary-500);
}

.pn-rp-cohort {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pn-rp-cohort p {
    margin: 0;
    font-size: 14px;
    line-height: 21px;
    color: rgba(26, 26, 28, 0.75);
}

.pn-rp-cohort small {
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-muted);
}

.pn-rp-dist {
    padding: 28px 30px 0;
}

.pn-rp-dist__track {
    position: relative;
    height: 12px;
    border-radius: 6px;
    background: var(--pn-tint);
}

.pn-rp-dist__band {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 6px;
    background: rgba(34, 76, 152, 0.14);
}

.pn-rp-dist__tick {
    position: absolute;
    top: -4px;
    bottom: -4px;
    width: 1.5px;
    background: rgba(26, 26, 28, 0.25);
    transform: translateX(-50%);
}

.pn-rp-dist__you {
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: var(--color-primary-500);
    box-shadow: 0 2px 6px rgba(23, 52, 102, 0.3);
    transform: translate(-50%, -50%);
}

.pn-rp-dist__you b {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--color-primary-500);
    transform: translateX(-50%);
}

.pn-rp-dist__axis {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 11px;
    line-height: 16px;
    font-variant-numeric: tabular-nums;
    color: var(--pn-faint);
}

.pn-rp-hist {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pn-rp-hist__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
}

.pn-rp-hist__row.is-current {
    background: rgba(34, 76, 152, 0.06);
}

.pn-rp-hist__score {
    font-size: 15px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pn-rp-hist__row.is-current .pn-rp-hist__score {
    color: var(--color-primary-500);
}

.pn-rp-hist__delta {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
    padding: 12px 12px 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--pn-muted);
}

.pn-rp-hist__delta b {
    font-size: 22px;
    line-height: 28px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pn-rp-hist__delta b.is-up {
    color: var(--color-primary-500);
}

.pn-rp-hist__delta b.is-down {
    color: var(--pn-muted);
}

.pn-rp-heat td.pn-rp-heat__cell {
    text-align: center;
}

.pn-rp-heat__cell b {
    display: block;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pn-rp-heat__cell small {
    display: block;
    font-size: 11px;
    line-height: 14px;
}

.pn-rp-heat td.pn-rp-heat__cell.is-low {
    background: rgba(34, 76, 152, 0.08);
}

.pn-rp-heat__cell.is-low b {
    color: var(--color-primary-500);
}

.pn-rp-heat__cell.is-none {
    color: var(--pn-faint);
}

.bx-mrow__name small {
    margin-left: 6px;
    font-size: 12px;
    color: var(--pn-muted);
}

.pn-rp-graph {
    scroll-margin-top: 96px;
}

.pn-rp-graph__close {
    border: 0;
    font: inherit;
    font-size: 12px;
    line-height: 16px;
    cursor: pointer;
}

.pn-rp-graph__close[hidden],
.pn-rp-qd[hidden] {
    display: none;
}

.pn-rp-graph__scroll {
    overflow-x: auto;
    padding: 0 12px;
}

.pn-rp-graph__svg {
    display: block;
    width: 100%;
    min-width: 640px;
    height: auto;
}

.pn-rp-graph__col {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    fill: rgba(26, 26, 28, 0.42);
}

.pn-rp-graph__sep {
    stroke: rgba(26, 26, 28, 0.08);
    stroke-dasharray: 4 4;
}

.pn-rp-graph__edge {
    fill: none;
    stroke: rgba(26, 26, 28, 0.16);
    stroke-width: 1.5;
    transition: opacity 0.2s, stroke 0.2s;
}

.pn-rp-graph__edge.is-critical {
    stroke: var(--color-primary-400);
    stroke-width: 2;
}

.pn-rp-graph__edge.is-on {
    stroke: var(--color-primary-500);
    stroke-width: 2.5;
}

.pn-rp-graph__edge.is-dim {
    opacity: 0.15;
}

.pn-rp-graph__node {
    cursor: pointer;
    outline: none;
    transition: opacity 0.2s;
}

.pn-rp-graph__node.is-dim {
    opacity: 0.3;
}

.pn-rp-graph__halo {
    fill: rgba(34, 76, 152, 0.14);
    opacity: 0;
    transition: opacity 0.2s;
}

.pn-rp-graph__node.is-on .pn-rp-graph__halo,
.pn-rp-graph__node:hover .pn-rp-graph__halo,
.pn-rp-graph__node:focus-visible .pn-rp-graph__halo {
    opacity: 1;
}

.pn-rp-graph__node:focus-visible .pn-rp-graph__dot {
    stroke: var(--color-primary-500);
    stroke-width: 2;
}

.pn-rp-graph__dot {
    fill: #eeeeef;
}

.pn-rp-graph__pct {
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    fill: rgba(26, 26, 28, 0.65);
}

.pn-rp-graph__label {
    font-size: 12px;
    font-weight: 500;
    fill: rgba(26, 26, 28, 0.75);
}

.pn-rp-graph__node.is-solid .pn-rp-graph__dot {
    fill: #dadadc;
}

.pn-rp-graph__node.is-weak .pn-rp-graph__dot {
    fill: var(--color-primary-100);
}

.pn-rp-graph__node.is-weak .pn-rp-graph__pct {
    fill: var(--color-primary-500);
}

.pn-rp-graph__node.is-critical .pn-rp-graph__dot {
    fill: var(--color-primary-500);
}

.pn-rp-graph__node.is-critical .pn-rp-graph__pct {
    fill: #ffffff;
}

.pn-rp-graph__node.is-critical .pn-rp-graph__label {
    font-weight: 600;
    fill: var(--color-primary-500);
}

.pn-rp-graph__legend {
    justify-content: flex-start;
    padding: 4px 8px 0;
}

.pn-rp-graph__key {
    display: inline-block;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #eeeeef;
    box-shadow: inset 0 0 0 1px rgba(26, 26, 28, 0.08);
}

.pn-rp-graph__key.is-solid {
    background: #dadadc;
}

.pn-rp-graph__key.is-weak {
    background: var(--color-primary-100);
}

.pn-rp-graph__key.is-critical {
    background: var(--color-primary-500);
    box-shadow: none;
}

.pn-rp-graph__key.is-path {
    width: 16px;
    height: 2px;
    border-radius: 1px;
    background: var(--color-primary-400);
    box-shadow: none;
}

.pn-rp-roots {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pn-rp-roots__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 10px 14px;
    border: 0;
    border-radius: 16px;
    background: var(--pn-tint);
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
    transition: background-color 0.2s;
}

.pn-rp-roots__row:hover {
    background: rgba(26, 26, 28, 0.06);
}

.pn-rp-roots__row > .pn-ic {
    width: 18px;
    height: 18px;
    color: var(--pn-faint);
}

.pn-rp-roots__node {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pn-rp-roots__node b {
    overflow: hidden;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pn-rp-roots__node small {
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-muted);
}

.pn-rp-roots__node.is-weak b,
.pn-rp-roots__node.is-critical b {
    color: var(--color-primary-500);
}

.pn-rp-plan {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pn-rp-plan__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--pn-tint);
}

.pn-rp-plan__rank {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary-500);
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.pn-rp-plan__text {
    flex: 1;
    min-width: 0;
}

.pn-rp-plan__text b {
    display: block;
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
}

.pn-rp-plan__text p {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 21px;
    color: rgba(26, 26, 28, 0.7);
}

.pn-rp-plan__gain {
    flex-shrink: 0;
    font-size: 14px;
    line-height: 28px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--color-primary-500);
}

.pn-rp-plan__est {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgba(34, 76, 152, 0.2);
}

.pn-rp-plan__est .pn-big {
    color: var(--color-primary-500);
}

.pn-rp-aspects {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pn-rp-aspects__row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pn-rp-aspects__row > b {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.pn-rp-aspects__pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pn-rp-aspects__side {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--pn-tint);
}

.pn-rp-aspects__side small {
    overflow: hidden;
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--pn-muted);
}

.pn-rp-aspects__side em {
    font-size: 12px;
    line-height: 16px;
    font-style: normal;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pn-rp-aspects__side.is-low,
.pn-rp-xray__row.is-low,
.pn-rp-half.is-low,
.pn-rp-stress__row.is-low {
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(26, 26, 28, 0.05), 0 16px 32px -16px rgba(23, 52, 102, 0.28);
}

.pn-rp-aspects__side.is-low .bx-bar span,
.pn-rp-half.is-low .bx-bar span {
    background: var(--color-primary-500);
}

.pn-rp-aspects__side.is-low em {
    color: var(--color-primary-500);
}

.pn-rp-scatter {
    display: flex;
    flex-direction: column;
    padding: 4px 8px 0;
}

.pn-rp-scatter__field {
    position: relative;
    height: 260px;
    border-radius: 16px;
    background: var(--pn-tint);
}

.pn-rp-scatter__mid {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    border-top: 1px dashed rgba(26, 26, 28, 0.14);
}

.pn-rp-scatter__thr {
    position: absolute;
    top: 0;
    bottom: 0;
    border-left: 1.5px dashed var(--color-primary-400);
}

.pn-rp-scatter__corner {
    position: absolute;
    max-width: 46%;
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-muted);
    pointer-events: none;
}

.pn-rp-scatter__corner b {
    margin-left: 2px;
    font-weight: 600;
    color: var(--color-secondary);
}

.pn-rp-scatter__corner.is-tl {
    top: 10px;
    left: 12px;
}

.pn-rp-scatter__corner.is-tr {
    top: 10px;
    right: 12px;
    text-align: right;
}

.pn-rp-scatter__corner.is-bl {
    bottom: 10px;
    left: 12px;
}

.pn-rp-scatter__corner.is-br {
    right: 12px;
    bottom: 10px;
    text-align: right;
}

.pn-rp-sdot {
    position: absolute;
    z-index: 1;
    width: 12px;
    height: 12px;
    margin: 0;
    padding: 0;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: rgba(26, 26, 28, 0.3);
    box-shadow: 0 1px 3px rgba(26, 26, 28, 0.18);
    transform: translate(-50%, -50%);
    transition: transform 0.15s;
}

.pn-rp-sdot.is-c {
    background: var(--pn-right);
}

.pn-rp-sdot.is-w {
    background: var(--pn-wrong);
}

button.pn-rp-sdot {
    cursor: pointer;
}

button.pn-rp-sdot:hover {
    z-index: 2;
    transform: translate(-50%, -50%) scale(1.35);
}

.pn-rp-scatter__axis {
    position: relative;
    height: 18px;
    margin-top: 6px;
}

.pn-rp-scatter__axis span {
    position: absolute;
    top: 0;
    font-size: 11px;
    line-height: 16px;
    font-variant-numeric: tabular-nums;
    color: var(--pn-faint);
    transform: translateX(-50%);
}

.pn-rp-scatter__caption {
    margin-top: 2px;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    color: var(--pn-muted);
}

.pn-rp-bars {
    padding: 4px 8px 0;
}

.pn-rp-bars__field {
    position: relative;
    display: flex;
    gap: 2px;
    height: 160px;
    border-bottom: 1px solid rgba(26, 26, 28, 0.1);
}

.pn-rp-bars__avg {
    position: absolute;
    z-index: 1;
    right: 0;
    left: 0;
    border-top: 1.5px dashed var(--color-primary-500);
    pointer-events: none;
}

.pn-rp-bars__bar {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

button.pn-rp-bars__bar {
    cursor: pointer;
}

.pn-rp-bars__bar i {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 3px 3px 0 0;
    background: rgba(26, 26, 28, 0.18);
    transition: opacity 0.15s;
}

.pn-rp-bars__bar.is-c i {
    background: var(--pn-right);
}

.pn-rp-bars__bar.is-w i {
    background: var(--pn-wrong);
}

button.pn-rp-bars__bar:hover i {
    opacity: 0.7;
}

.pn-rp-bars__axis {
    display: flex;
    gap: 2px;
    margin-top: 6px;
}

.pn-rp-bars__axis span {
    flex: 1 1 0;
    min-width: 0;
    font-size: 10px;
    line-height: 14px;
    font-variant-numeric: tabular-nums;
    text-align: center;
    white-space: nowrap;
    color: var(--pn-faint);
}

.pn-rp-xray {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pn-rp-xray__row {
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--pn-tint);
}

.pn-rp-xray__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.pn-rp-xray__head b {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.pn-rp-xray__head span {
    flex-shrink: 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-muted);
}

.pn-rp-pace {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pn-rp-pace__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pn-rp-pace__top b {
    overflow: hidden;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pn-rp-pace__bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px;
    align-items: center;
    gap: 8px;
}

.pn-rp-pace__bar i {
    display: block;
    min-width: 2px;
    height: 8px;
    border-radius: 4px;
    background: rgba(123, 123, 123, 0.4);
}

.pn-rp-pace__bar.is-you i {
    background: var(--color-primary-500);
}

.pn-rp-pace__bar span {
    font-size: 12px;
    line-height: 16px;
    font-variant-numeric: tabular-nums;
    text-align: right;
    color: var(--pn-muted);
}

.pn-rp-halves {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.pn-rp-half {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--pn-tint);
}

.pn-rp-half small {
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-muted);
}

.pn-rp-half .pn-big {
    font-size: 28px;
    line-height: 32px;
}

.pn-rp-half.is-low .pn-big {
    color: var(--color-primary-500);
}

.pn-rp-half__meta {
    font-size: 12px;
    line-height: 16px;
    font-variant-numeric: tabular-nums;
    color: var(--pn-muted);
}

.pn-rp-stress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pn-rp-stress__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 16px;
    background: var(--pn-tint);
}

.pn-rp-stress__row .pn-row__text {
    margin-right: 0;
}

.pn-rp-stress__time {
    flex-shrink: 0;
    font-size: 13px;
    line-height: 18px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--pn-muted);
}

.pn-rp-visits {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pn-rp-visits__row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    line-height: 18px;
    color: var(--pn-muted);
}

.pn-rp-peers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pn-rp-peers__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px 3px 3px;
    border-radius: 999px;
    background: var(--pn-tint);
}

.pn-rp-peers__item small {
    font-size: 12px;
    line-height: 16px;
    font-variant-numeric: tabular-nums;
    color: var(--pn-muted);
}

.pn-rp-dis {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr));
    align-items: start;
    gap: 10px;
}

.pn-rp-dis__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: var(--pn-tint);
}

.pn-rp-dis__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.pn-rp-dis__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
}

.pn-rp-dis__head b {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.pn-rp-dis__head small {
    font-size: 12px;
    line-height: 16px;
    color: var(--pn-muted);
}

.pn-rp-dis__ans {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    font-size: 13px;
    line-height: 18px;
    color: var(--pn-muted);
}

.pn-rp-dis__ans > .pn-ic {
    width: 16px;
    height: 16px;
    color: var(--pn-faint);
}

.pn-rp-dis__ans b,
.pn-rp-qd__keys b {
    margin-left: 4px;
    font-weight: 600;
}

.pn-rp-dis__ans b.is-w,
.pn-rp-qd__keys b.is-w {
    color: var(--pn-wrong);
}

.pn-rp-dis__ans b.is-c,
.pn-rp-qd__keys b.is-c {
    color: var(--pn-right);
}

.pn-rp-wtable {
    min-width: 640px;
}

.pn-rp-ans {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
}

.pn-rp-ans.is-w {
    background: var(--pn-wrong-soft);
    color: var(--pn-wrong);
}

.pn-rp-ans.is-c {
    background: var(--pn-right-soft);
    color: var(--pn-right);
}

.pn-rp-qx {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
}

.pn-rp-qmap {
    position: sticky;
    top: 96px;
}

.pn-rp-qmap__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pn-rp-qmap__group .pn-label {
    margin-bottom: 8px;
}

.pn-rp-qmap__cells {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
    gap: 6px;
}

.pn-rp-cell {
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: var(--pn-tint);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--pn-faint);
    cursor: pointer;
    transition: box-shadow 0.15s;
}

.pn-rp-cell.is-c {
    background: var(--pn-right-soft);
    color: var(--pn-right);
}

.pn-rp-cell.is-w {
    background: var(--pn-wrong-soft);
    color: var(--pn-wrong);
}

.pn-rp-cell:hover {
    box-shadow: inset 0 0 0 1px currentColor;
}

.pn-rp-cell.is-on {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--color-primary-500);
}

.pn-rp-qx__detail {
    min-width: 0;
}

.pn-rp-qd {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 24px;
    scroll-margin-top: 96px;
}

.pn-rp-qd__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.pn-rp-qd__no {
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pn-rp-qd__sec {
    font-size: 13px;
    line-height: 18px;
    color: var(--pn-muted);
}

.pn-rp-qd__state {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--pn-tint);
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: var(--pn-muted);
}

.pn-rp-qd__state.is-c {
    background: var(--pn-right-soft);
    color: var(--pn-right);
}

.pn-rp-qd__state.is-w {
    background: var(--pn-wrong-soft);
    color: var(--pn-wrong);
}

.pn-rp-qd__flag {
    display: inline-flex;
    color: var(--color-primary-500);
}

.pn-rp-qd__flag .pn-ic {
    width: 18px;
    height: 18px;
}

.pn-rp-qd__time {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    margin-left: auto;
    font-size: 13px;
    line-height: 18px;
    font-variant-numeric: tabular-nums;
    color: var(--pn-muted);
}

.pn-rp-qd__time .pn-ic {
    width: 16px;
    height: 16px;
}

.pn-rp-qd__time small {
    font-size: 12px;
    color: var(--pn-faint);
}

.pn-rp-qd__stem {
    min-width: 0;
    font-size: 15px;
    line-height: 24px;
}

.pn-rp-qd__choices.is-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.pn-rp-qd__keys {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 14px;
    line-height: 20px;
    color: var(--pn-muted);
}

.pn-rp-qd__notes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pn-rp-qd__line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    line-height: 21px;
    color: rgba(26, 26, 28, 0.75);
}

.pn-rp-qd__line .pn-ic {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: var(--color-primary-500);
}

.pn-rp-qd__line.is-c .pn-ic {
    color: var(--pn-right);
}

.pn-rp-qd__line b {
    margin-left: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.pn-rp-qd__box {
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--pn-tint);
}

.pn-rp-qd__box .pn-label {
    margin-bottom: 6px;
}

.pn-rp-qd__box p {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: rgba(26, 26, 28, 0.75);
}

.pn-rp-sol {
    padding-top: 14px;
    border-top: 1px solid var(--pn-line);
}

.pn-rp-sol summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--color-primary-500);
    list-style: none;
    cursor: pointer;
}

.pn-rp-sol summary::-webkit-details-marker {
    display: none;
}

.pn-rp-sol summary .pn-ic {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.pn-rp-sol[open] summary .pn-ic {
    transform: rotate(90deg);
}

.pn-rp-sol__hide,
.pn-rp-sol[open] .pn-rp-sol__show {
    display: none;
}

.pn-rp-sol[open] .pn-rp-sol__hide {
    display: inline;
}

.pn-rp-sol__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.pn-rp-sol__body p {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: rgba(26, 26, 28, 0.75);
}

@media (max-width: 1279px) {
    .pn-rp-cols {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .pn-rp-trio {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pn-rp-qx {
        grid-template-columns: minmax(0, 1fr);
    }

    .pn-rp-qmap {
        position: static;
    }
}

@media (max-width: 1023px) {
    .pn-rp-cols,
    .pn-rp-pair {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .pn-rp {
        gap: 32px;
    }

    .pn-rp > .pn-note {
        margin-top: -20px;
    }

    .pn-rp-ch__title {
        font-size: 22px;
        line-height: 28px;
    }

    .pn-rp-ch__lead {
        font-size: 14px;
        line-height: 22px;
    }

    .pn-rp-trio {
        grid-template-columns: minmax(0, 1fr);
    }

    .pn-rp-strip {
        padding: 16px;
    }

    .pn-rp-strip__groups {
        flex-wrap: wrap;
        gap: 12px;
    }

    .pn-rp-strip__group {
        flex: 1 1 100%;
    }

    .pn-rp-strip__cells .pn-rp-q {
        height: 24px;
    }

    .pn-rp-dist {
        padding: 28px 28px 0;
    }

    .pn-rp-scatter,
    .pn-rp-bars {
        padding: 4px 0 0;
    }

    .pn-rp-scatter__field {
        height: 230px;
    }

    .pn-rp-scatter__corner {
        font-size: 11px;
        line-height: 14px;
    }

    .pn-rp-bars__field {
        gap: 1px;
        height: 140px;
    }

    .pn-rp-bars__axis {
        gap: 1px;
    }

    .pn-rp-qd {
        padding: 18px 16px;
    }

    .pn-rp-qd__time {
        margin-left: 0;
    }

    .pn-rp-plan__item,
    .pn-rp-plan__est {
        padding: 12px 14px;
    }

    .pn-rp-dis__row {
        padding: 12px;
    }

    .pn-rp-roots__row {
        padding: 10px 12px;
    }

    .pn-rp-table td:last-child,
    .pn-rp-cwb {
        white-space: nowrap;
    }

    .pn-rp-heat th:nth-child(3),
    .pn-rp-heat td:nth-child(3),
    .pn-rp-wtable th:nth-child(3),
    .pn-rp-wtable td:nth-child(3) {
        display: table-cell;
    }

    .pn-rp-wtable th:nth-child(5),
    .pn-rp-wtable td:nth-child(5) {
        display: none;
    }

    .pn-rp-wtable {
        min-width: 0;
    }

    .pn-rp-wtable td,
    .pn-rp-wtable th {
        padding-left: 4px;
        padding-right: 4px;
    }

    .pn-rp-wtable td:first-child,
    .pn-rp-wtable th:first-child {
        padding-left: 0;
    }

    .pn-rp-wtable td:last-child,
    .pn-rp-wtable .pn-row__text b,
    .pn-rp-wtable .pn-row__text small {
        white-space: normal;
    }
}

.pn-langs > summary {
    cursor: pointer;
}

.pn-langs__code {
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 20px;
    font-weight: 600;
    color: var(--color-primary-500);
    background: rgba(34, 76, 152, 0.08);
}

.pn-langs__pop {
    display: grid;
    gap: 2px;
    width: 232px;
    max-height: min(70vh, 560px);
    overflow-y: auto;
}

.pn-langs__item {
    display: block;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 20px;
    color: rgba(26, 26, 28, 0.75);
}

.pn-langs__item:hover {
    background: rgba(34, 76, 152, 0.06);
    color: var(--color-primary-500);
}

.pn-langs__item.is-active {
    background: rgba(34, 76, 152, 0.08);
    color: var(--color-primary-500);
    font-weight: 600;
}
