.jr-page {
    --jr-radius: 18px;
    --jr-radius-sm: 12px;
    --jr-articles: #14527A;
    --jr-articles-soft: #E7F0F6;
    --jr-mistakes: #B4530C;
    --jr-mistakes-soft: #FFF3E6;
    --jr-video: #6D3FD6;
    --jr-video-soft: #F2ECFF;
    --jr-cases: #0F766E;
    --jr-cases-soft: #E6F6F3;
    --jr-ok: #0F7B3F;
    --jr-ok-soft: #E9F6EF;
    --jr-warn: #B45309;
    --jr-warn-soft: #FFF4E5;
    --jr-danger: #B42318;
    --jr-danger-soft: #FEF0EE;
    --jr-info: #14527A;
    --jr-info-soft: #E7F0F6;
    --jr-ink-soft: #3A4757;
    --jr-shadow: 0 10px 30px rgba(16, 24, 40, .08);
    --jr-shadow-hover: 0 16px 40px rgba(16, 24, 40, .14);
    --jr-art-a-top: #2C7DB4;
    --jr-art-a-left: #1C6596;
    --jr-art-a-right: #134C72;
    --jr-art-b-top: #F3B54A;
    --jr-art-b-left: #E39A23;
    --jr-art-b-right: #C27B10;
    --jr-art-c-top: #FFFFFF;
    --jr-art-c-left: #DCE6EE;
    --jr-art-c-right: #C3D2DE;
    --jr-art-line: #9DB4C6;
    --jr-art-d-top: #A88BF2;
    --jr-art-d-left: #7C57E3;
    --jr-art-d-right: #5B36C2;
    --jr-art-e-top: #7FD3C5;
    --jr-art-e-left: #3FAF9E;
    --jr-art-e-right: #26877A;
    --jr-art-shadow: rgba(16, 24, 40, .14);
}

[data-bs-theme="dark"] .jr-page {
    --jr-articles: #6FB6E3;
    --jr-articles-soft: rgba(111, 182, 227, .14);
    --jr-mistakes: #F5A25B;
    --jr-mistakes-soft: rgba(245, 162, 91, .14);
    --jr-video: #B79CF0;
    --jr-video-soft: rgba(183, 156, 240, .14);
    --jr-cases: #5ED0C0;
    --jr-cases-soft: rgba(94, 208, 192, .13);
    --jr-ok: #3FBF7F;
    --jr-ok-soft: rgba(63, 191, 127, .13);
    --jr-warn: #FBBF24;
    --jr-warn-soft: rgba(251, 191, 36, .13);
    --jr-danger: #F87171;
    --jr-danger-soft: rgba(248, 113, 113, .13);
    --jr-info: #6FB6E3;
    --jr-info-soft: rgba(111, 182, 227, .13);
    --jr-ink-soft: #C9D3DD;
    --jr-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --jr-shadow-hover: 0 16px 40px rgba(0, 0, 0, .5);
    --jr-art-c-top: #DDE6EE;
    --jr-art-c-left: #A9B8C6;
    --jr-art-c-right: #8597A8;
    --jr-art-line: #6E8396;
    --jr-art-shadow: rgba(0, 0, 0, .45);
}

.jr-page .crumbs {
    margin-bottom: .5rem;
}

.jr-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
}

.jr-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    grid-template-areas:
        "text art"
        "hint art"
        "search search"
        "actions actions";
    column-gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem 1.75rem;
    overflow: hidden;
    border: 1px solid var(--ot-border);
    border-radius: var(--jr-radius);
    background:
        radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--jr-tone, var(--ot-primary)) 18%, transparent), transparent 62%),
        radial-gradient(50% 80% at 0% 100%, color-mix(in srgb, var(--jr-art-b-top) 12%, transparent), transparent 70%),
        linear-gradient(135deg, var(--ot-surface), var(--ot-surface-alt));
    box-shadow: var(--sh-1);
}

.jr-hero--articles { --jr-tone: var(--jr-articles); }
.jr-hero--mistakes { --jr-tone: var(--jr-mistakes); }
.jr-hero--video { --jr-tone: var(--jr-video); }
.jr-hero--cases { --jr-tone: var(--jr-cases); }

.jr-hero__text {
    grid-area: text;
    min-width: 0;
}

.jr-hero__kicker {
    display: inline-flex;
    margin: .35rem 0 .45rem;
    padding: .2rem .65rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--jr-tone, var(--ot-primary)) 12%, transparent);
    color: var(--jr-tone, var(--ot-primary));
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.jr-hero__title {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -.012em;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.jr-hero__hint {
    grid-area: hint;
    max-width: 70ch;
    margin: .75rem 0 0;
    color: var(--ot-muted);
    line-height: 1.6;
}

.jr-hero__art {
    grid-area: art;
    align-self: center;
    justify-self: end;
    width: 220px;
}

.jr-hero__actions {
    grid-area: actions;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1rem;
}

.jr-hero__actions:empty {
    display: none;
}

.jr-search {
    grid-area: search;
    display: flex;
    gap: .6rem;
    max-width: 640px;
    margin-top: 1.1rem;
}

.jr-search__field {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.jr-search__field .ic {
    position: absolute;
    top: 50%;
    left: .85rem;
    width: 1rem;
    height: 1rem;
    color: var(--ot-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.jr-search__field .form-control {
    height: 44px;
    padding-left: 2.4rem;
    border-radius: 12px;
}

.jr-search .btn {
    min-height: 44px;
    padding-inline: 1.25rem;
    border-radius: 12px;
}

.jr-art {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.jr-art__shadow ellipse { fill: var(--jr-art-shadow); }
.jr-art__a-top { fill: var(--jr-art-a-top); }
.jr-art__a-left { fill: var(--jr-art-a-left); }
.jr-art__a-right { fill: var(--jr-art-a-right); }
.jr-art__b-top { fill: var(--jr-art-b-top); }
.jr-art__b-left { fill: var(--jr-art-b-left); }
.jr-art__b-right { fill: var(--jr-art-b-right); }
.jr-art__c-top { fill: var(--jr-art-c-top); }
.jr-art__c-left { fill: var(--jr-art-c-left); }
.jr-art__c-right { fill: var(--jr-art-c-right); }
.jr-art__line { stroke: var(--jr-art-line); stroke-width: 2.2; stroke-linecap: round; }
.jr-art__d-top { fill: var(--jr-art-d-top); }
.jr-art__d-left { fill: var(--jr-art-d-left); }
.jr-art__d-right { fill: var(--jr-art-d-right); }
.jr-art__play { fill: #FFFFFF; opacity: .92; }
.jr-art__e-top, .jr-art__f-top { fill: var(--jr-art-e-top); }
.jr-art__e-left, .jr-art__f-left { fill: var(--jr-art-e-left); }
.jr-art__e-right, .jr-art__f-right { fill: var(--jr-art-e-right); }

.jr-art__cube,
.jr-art__float {
    transform-box: fill-box;
    animation: jr-float 6s ease-in-out infinite;
}

.jr-art__float--1 { animation-duration: 7s; animation-delay: -2s; }
.jr-art__float--2 { animation-duration: 5.5s; animation-delay: -1s; }

@keyframes jr-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.jr-tabs {
    margin-bottom: 1.25rem;
}

.jr-tabs__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.25rem;
    padding: 0 .35rem;
    border-radius: 999px;
    background: var(--ot-surface-alt);
    color: var(--ot-muted);
    font-size: .72rem;
    font-weight: 700;
}

.tab-nav__item.active .jr-tabs__count {
    background: color-mix(in srgb, var(--ot-on-primary) 22%, transparent);
    color: var(--ot-on-primary);
}

.jr-tabs__count--alert {
    background: var(--jr-danger);
    color: #fff;
}

.jr-filter {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.25rem;
}

.jr-filter__label {
    flex: 0 0 auto;
    color: var(--ot-muted);
    font-size: .85rem;
    font-weight: 600;
}

.jr-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    min-width: 0;
}

.jr-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .3rem .85rem;
    border: 1px solid var(--ot-border);
    border-radius: 999px;
    background: var(--ot-surface);
    color: var(--ot-text);
    font-size: .85rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.jr-pill:hover {
    border-color: var(--ot-primary);
    color: var(--ot-primary);
}

.jr-pill.is-active {
    border-color: var(--ot-primary);
    background: var(--ot-primary);
    color: var(--ot-on-primary);
}

.jr-found {
    margin: -.25rem 0 1.25rem;
    color: var(--ot-muted);
    font-size: .9rem;
}

.jr-found a {
    margin-left: .5rem;
}

.jr-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .9rem;
    color: var(--ot-muted);
    font-size: .8rem;
    line-height: 1.4;
}

.jr-meta > * + *::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 3px;
    margin-right: .9rem;
    border-radius: 50%;
    background: currentColor;
    vertical-align: middle;
    opacity: .6;
}

.jr-meta--big {
    font-size: .9rem;
}

.jr-meta__by {
    color: var(--ot-text);
    font-weight: 600;
}

.jr-meta__read {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--jr-ok);
    font-weight: 600;
}

.jr-meta__read .ic {
    width: .95rem;
    height: .95rem;
}

.jr-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    margin-bottom: 1.75rem;
    overflow: hidden;
    border: 1px solid var(--ot-border);
    border-radius: var(--jr-radius);
    background: var(--ot-surface);
    box-shadow: var(--jr-shadow);
}

.jr-lead__media {
    position: relative;
    display: block;
    min-height: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--jr-ph-a, #0B3452), var(--jr-ph-b, #1F7AB0));
}

.jr-lead__media img,
.jr-lead__media .jr-ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.jr-lead:hover .jr-lead__media img {
    transform: scale(1.03);
}

.jr-lead__body {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: 2rem 2rem 2rem 1.75rem;
    min-width: 0;
}

.jr-lead__rubric {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    color: var(--jr-tone);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.jr-lead__rubric .ic {
    width: 1rem;
    height: 1rem;
}

.jr-lead__pin {
    padding: .1rem .55rem;
    border-radius: 999px;
    background: var(--jr-warn-soft);
    color: var(--jr-warn);
    font-size: .7rem;
    letter-spacing: .02em;
}

.jr-lead__title {
    margin: 0;
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.25;
}

.jr-lead__title a,
.jr-card__title a,
.jr-episode__title a,
.jr-premiere__title a {
    color: inherit;
    text-decoration: none;
}

.jr-lead__title a:hover,
.jr-card__title a:hover,
.jr-episode__title a:hover,
.jr-premiere__title a:hover {
    color: var(--ot-primary);
}

.jr-lead__text {
    margin: 0;
    color: var(--jr-ink-soft);
    font-size: 1rem;
    line-height: 1.6;
}

.jr-lead__button {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: auto;
    min-height: 44px;
    padding-inline: 1.25rem;
    border-radius: 12px;
}

.jr-card--articles { --jr-tone: var(--jr-articles); --jr-tone-soft: var(--jr-articles-soft); --jr-ph-a: #0B3452; --jr-ph-b: #1F7AB0; }
.jr-card--mistakes { --jr-tone: var(--jr-mistakes); --jr-tone-soft: var(--jr-mistakes-soft); --jr-ph-a: #78260C; --jr-ph-b: #D66E14; }
.jr-card--video { --jr-tone: var(--jr-video); --jr-tone-soft: var(--jr-video-soft); --jr-ph-a: #34166E; --jr-ph-b: #7C3AED; }
.jr-card--cases { --jr-tone: var(--jr-cases); --jr-tone-soft: var(--jr-cases-soft); --jr-ph-a: #0A3234; --jr-ph-b: #0F766E; }

.jr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.jr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ot-border);
    border-radius: var(--jr-radius);
    background: var(--ot-surface);
    box-shadow: var(--sh-1);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.jr-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--jr-tone) 40%, var(--ot-border));
    box-shadow: var(--jr-shadow-hover);
}

.jr-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--jr-ph-a, #0B3452), var(--jr-ph-b, #1F7AB0));
}

.jr-card__media img,
.jr-card__media .jr-ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.jr-card:hover .jr-card__media img {
    transform: scale(1.04);
}

.jr-card__rubric {
    position: absolute;
    top: .75rem;
    left: .75rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    max-width: calc(100% - 1.5rem);
    padding: .3rem .65rem;
    border-radius: 999px;
    background: rgba(10, 18, 28, .72);
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.3;
    backdrop-filter: blur(6px);
    overflow-wrap: anywhere;
}

.jr-card__rubric .ic {
    width: .85rem;
    height: .85rem;
    flex: 0 0 .85rem;
}

.jr-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--jr-video);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    transform: translate(-50%, -50%);
    transition: transform .25s ease;
}

.jr-card__play .ic {
    width: 1.3rem;
    height: 1.3rem;
    margin-left: 3px;
}

.jr-card__play--big {
    width: 72px;
    height: 72px;
}

.jr-card:hover .jr-card__play,
.jr-episode:hover .jr-card__play {
    transform: translate(-50%, -50%) scale(1.08);
}

.jr-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: .6rem;
    padding: 1.1rem 1.25rem 1.25rem;
}

.jr-card__title {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 650;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.jr-card__lead {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--ot-muted);
    font-size: .9rem;
    line-height: 1.55;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.jr-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: auto;
    padding-top: .35rem;
}

.jr-card__saved {
    color: var(--jr-warn);
}

.jr-card__saved .ic {
    width: 1.1rem;
    height: 1.1rem;
}

.jr-card.is-read .jr-card__title {
    color: var(--jr-ink-soft);
}

.jr-ph {
    display: grid;
    place-items: center;
    background:
        radial-gradient(60% 80% at 80% 20%, rgba(255, 255, 255, .22), transparent 60%),
        linear-gradient(135deg, var(--jr-ph-a), var(--jr-ph-b));
    color: #fff;
}

.jr-ph--articles { --jr-ph-a: #0B3452; --jr-ph-b: #1F7AB0; }
.jr-ph--mistakes { --jr-ph-a: #78260C; --jr-ph-b: #D66E14; }
.jr-ph--video { --jr-ph-a: #34166E; --jr-ph-b: #7C3AED; }
.jr-ph--cases { --jr-ph-a: #0A3234; --jr-ph-b: #0F766E; }

.jr-ph__cubes {
    width: 62%;
    max-width: 260px;
    height: auto;
}

.jr-ph__t { fill: rgba(255, 255, 255, .85); }
.jr-ph__l { fill: rgba(255, 255, 255, .5); }
.jr-ph__r { fill: rgba(255, 255, 255, .28); }
.jr-ph__soft { opacity: .55; }

.jr-ph__icon {
    position: absolute;
    right: 1rem;
    bottom: .9rem;
    width: 1.6rem;
    height: 1.6rem;
    opacity: .85;
}

.jr-outcome {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    align-self: flex-start;
    margin: 0;
    padding: .3rem .7rem;
    border-radius: 10px;
    background: var(--jr-tone-soft, var(--jr-info-soft));
    color: var(--jr-tone, var(--jr-info));
    font-size: .82rem;
    font-weight: 600;
}

.jr-outcome .ic {
    width: .95rem;
    height: .95rem;
}

.jr-outcome--warning { --jr-tone: var(--jr-warn); --jr-tone-soft: var(--jr-warn-soft); }
.jr-outcome--danger { --jr-tone: var(--jr-danger); --jr-tone-soft: var(--jr-danger-soft); }
.jr-outcome--info { --jr-tone: var(--jr-info); --jr-tone-soft: var(--jr-info-soft); }

.jr-outcome--big {
    flex-direction: column;
    align-items: flex-end;
    gap: .1rem;
    padding: .55rem .9rem;
    text-align: right;
    font-size: .8rem;
}

.jr-outcome--big b {
    font-size: 1.35rem;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.jr-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin: 0 0 2rem;
}

.jr-pager--inner {
    margin: 0;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--ot-border);
}

.jr-pager__info {
    color: var(--ot-muted);
    font-size: .9rem;
}

.jr-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    padding: 2.5rem 1.5rem 2.75rem;
    text-align: center;
}

.jr-empty > .jr-ph {
    position: relative;
    width: 180px;
    aspect-ratio: 16 / 10;
    margin-bottom: .5rem;
    border-radius: 16px;
}

.jr-empty__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 650;
}

.jr-empty__text {
    max-width: 52ch;
    margin: 0 0 .5rem;
    color: var(--ot-muted);
    line-height: 1.6;
}

.jr-empty--flat {
    padding: 2rem 1.25rem;
}

.jr-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: .75rem 1.5rem;
    margin-bottom: 1.1rem;
}

.jr-section-head__title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.jr-section-head__hint {
    margin: .3rem 0 0;
    color: var(--ot-muted);
    font-size: .9rem;
    line-height: 1.5;
}

.jr-section-head__actions,
.jr-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.jr-qa-teaser,
.jr-related,
.jr-season {
    margin: 2.25rem 0 1.5rem;
}

.jr-qa-teaser__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1rem;
}

.jr-qa-mini {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--ot-border);
    border-radius: var(--jr-radius-sm);
    background: var(--ot-surface);
    color: var(--ot-text);
    text-decoration: none;
    box-shadow: var(--sh-1);
    transition: border-color .2s ease, transform .2s ease;
}

.jr-qa-mini:hover {
    border-color: var(--ot-primary);
    transform: translateY(-2px);
}

.jr-qa-mini__block {
    align-self: flex-start;
    padding: .15rem .55rem;
    border-radius: 999px;
    background: var(--ot-primary-soft);
    color: var(--ot-primary);
    font-size: .72rem;
    font-weight: 700;
}

.jr-qa-mini__title {
    font-weight: 600;
    line-height: 1.45;
}

.jr-qa-mini__more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: auto;
    color: var(--ot-primary);
    font-size: .85rem;
    font-weight: 600;
}

.jr-premiere {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    border: 1px solid var(--ot-border);
    border-radius: var(--jr-radius);
    background:
        radial-gradient(80% 120% at 100% 0%, var(--jr-video-soft), transparent 70%),
        var(--ot-surface);
    box-shadow: var(--jr-shadow);
}

.jr-premiere__player {
    order: -1;
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
}

.jr-premiere__poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
}

.jr-premiere__poster img,
.jr-premiere__poster .jr-ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jr-premiere__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .7rem;
    min-width: 0;
}

.jr-premiere__label {
    padding: .2rem .65rem;
    border-radius: 999px;
    background: var(--jr-video);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.jr-premiere__episode {
    margin: 0;
    color: var(--jr-video);
    font-weight: 700;
}

.jr-premiere__title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
}

.jr-premiere__text {
    margin: 0;
    color: var(--jr-ink-soft);
    line-height: 1.6;
}

.jr-hero-name {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .5rem;
    margin: 0;
    font-weight: 600;
}

.jr-hero-name span {
    color: var(--ot-muted);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.jr-hero-name--article {
    margin: 0 0 1.25rem;
}

.jr-episodes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jr-episode {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ot-border);
    border-radius: var(--jr-radius);
    background: var(--ot-surface);
    box-shadow: var(--sh-1);
    transition: transform .25s ease, box-shadow .25s ease;
}

.jr-episode:hover {
    transform: translateY(-3px);
    box-shadow: var(--jr-shadow-hover);
}

.jr-episode__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #34166E, #7C3AED);
}

.jr-episode__media img,
.jr-episode__media .jr-ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jr-episode__time {
    position: absolute;
    right: .6rem;
    bottom: .6rem;
    padding: .15rem .45rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, .72);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.jr-episode__body {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    padding: 1rem 1.2rem 1.2rem;
}

.jr-episode__number {
    color: var(--jr-video);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.jr-episode__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.35;
}

.jr-episode__hero {
    margin: 0;
    color: var(--ot-text);
    font-size: .85rem;
    font-weight: 600;
}

.jr-episode__lead {
    margin: 0;
    color: var(--ot-muted);
    font-size: .9rem;
    line-height: 1.55;
}

.jr-progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1040;
    height: 3px;
    pointer-events: none;
}

.jr-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--ot-primary), var(--jr-video));
    transform: scaleX(0);
    transform-origin: left center;
}

.jr-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1rem;
    margin-bottom: 1.25rem;
    padding: .9rem 1.1rem;
    border: 1px solid var(--ot-border);
    border-radius: var(--jr-radius-sm);
    background: var(--ot-surface);
    line-height: 1.5;
}

.jr-banner > div {
    flex: 1 1 260px;
    min-width: 0;
}

.jr-banner > .ic {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 1.25rem;
}

.jr-banner--warning { border-color: color-mix(in srgb, var(--jr-warn) 40%, var(--ot-border)); background: var(--jr-warn-soft); }
.jr-banner--warning > .ic { color: var(--jr-warn); }
.jr-banner--danger { border-color: color-mix(in srgb, var(--jr-danger) 40%, var(--ot-border)); background: var(--jr-danger-soft); }
.jr-banner--danger > .ic { color: var(--jr-danger); }
.jr-banner--muted { background: var(--ot-surface-alt); }
.jr-banner--draft { border-radius: 0 var(--jr-radius-sm) var(--jr-radius-sm) 0; }

.jr-article {
    max-width: 1140px;
    margin: 0 auto 1.5rem;
    padding: 2rem 2.25rem 1.75rem;
    border: 1px solid var(--ot-border);
    border-radius: var(--jr-radius);
    background: var(--ot-surface);
    box-shadow: var(--sh-1);
}

.jr-article--articles { --jr-tone: var(--jr-articles); --jr-tone-soft: var(--jr-articles-soft); }
.jr-article--mistakes { --jr-tone: var(--jr-mistakes); --jr-tone-soft: var(--jr-mistakes-soft); }
.jr-article--video { --jr-tone: var(--jr-video); --jr-tone-soft: var(--jr-video-soft); }
.jr-article--cases { --jr-tone: var(--jr-cases); --jr-tone-soft: var(--jr-cases-soft); }

.jr-article__head {
    max-width: 820px;
    margin-bottom: 1.75rem;
}

.jr-article__rubric {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin: .25rem 0 .75rem;
    color: var(--jr-tone);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.jr-article__rubric span {
    padding: .1rem .55rem;
    border-radius: 999px;
    background: var(--jr-tone-soft);
    letter-spacing: .02em;
    text-transform: none;
}

.jr-article__rubric .ic {
    width: 1rem;
    height: 1rem;
}

.jr-article__title {
    margin: 0 0 .9rem;
    font-size: clamp(1.6rem, 3.4vw, 2.5rem);
    font-weight: 750;
    letter-spacing: -.012em;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.jr-article__lead {
    margin: 0 0 1.1rem;
    color: var(--jr-ink-soft);
    font-size: 1.15rem;
    line-height: 1.6;
}

.jr-article__tools {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.25rem;
}

.jr-article__tools form {
    margin: 0;
}

.jr-article__tools .btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    border-radius: 12px;
}

.jr-toggle {
    border: 1px solid var(--ot-border);
    background: var(--ot-surface);
    color: var(--ot-text);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.jr-toggle:hover {
    border-color: var(--ot-primary);
    color: var(--ot-primary);
}

.jr-toggle .jr-toggle__on,
.jr-toggle.is-on .jr-toggle__off {
    display: none;
}

.jr-toggle.is-on .jr-toggle__on {
    display: inline-block;
}

.jr-toggle.is-on {
    border-color: color-mix(in srgb, var(--jr-ok) 45%, var(--ot-border));
    background: var(--jr-ok-soft);
    color: var(--jr-ok);
}

[data-mark-form="saved"] .jr-toggle.is-on {
    border-color: color-mix(in srgb, var(--jr-warn) 45%, var(--ot-border));
    background: var(--jr-warn-soft);
    color: var(--jr-warn);
}

.jr-article__video {
    margin: 0 0 1.75rem;
}

.jr-article__video .vplayer,
.jr-premiere__player .vplayer {
    border-radius: 14px;
}

.jr-consent {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: .75rem 0 0;
    color: var(--jr-warn);
    font-size: .85rem;
    font-weight: 600;
}

.jr-consent.is-ok {
    color: var(--jr-ok);
}

.jr-article__cover {
    margin: 0 0 2rem;
    overflow: hidden;
    border-radius: 16px;
    background: var(--ot-surface-alt);
}

.jr-article__cover img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
}

.jr-article__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
}

.jr-article__layout.has-toc {
    grid-template-columns: minmax(0, 1fr) 240px;
}

.jr-article__main {
    min-width: 0;
}

.jr-toc {
    font-size: .88rem;
}

.jr-toc ol {
    display: grid;
    gap: .2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jr-toc__item a {
    display: block;
    padding: .35rem .7rem;
    border-left: 2px solid var(--ot-border);
    color: var(--ot-muted);
    line-height: 1.4;
    text-decoration: none;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.jr-toc__item--3 a {
    padding-left: 1.3rem;
    font-size: .84rem;
}

.jr-toc__item a:hover,
.jr-toc__item a.is-active {
    border-left-color: var(--jr-tone, var(--ot-primary));
    background: var(--jr-tone-soft, var(--ot-primary-soft));
    color: var(--ot-text);
}

.jr-toc--side {
    position: sticky;
    top: 1.25rem;
    align-self: start;
    max-height: calc(100vh - 2.5rem);
    overflow: auto;
}

.jr-toc__title {
    margin: 0 0 .6rem;
    color: var(--ot-muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.jr-toc--inline {
    display: none;
    margin-bottom: 1.5rem;
    padding: .85rem 1rem;
    border: 1px solid var(--ot-border);
    border-radius: var(--jr-radius-sm);
    background: var(--ot-surface-alt);
}

.jr-toc--inline summary {
    min-height: 28px;
    font-weight: 600;
    cursor: pointer;
}

.jr-toc--inline ol {
    margin-top: .75rem;
}

.jr-prose {
    max-width: 70ch;
    color: var(--ot-text);
    font-size: 1.0625rem;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.jr-prose > * {
    margin-top: 0;
    margin-bottom: 1.15em;
}

.jr-prose h2 {
    margin-top: 2.1em;
    margin-bottom: .65em;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.3;
    scroll-margin-top: 1.5rem;
}

.jr-prose h3 {
    margin-top: 1.7em;
    margin-bottom: .55em;
    font-size: 1.2rem;
    font-weight: 650;
    line-height: 1.35;
    scroll-margin-top: 1.5rem;
}

.jr-prose > :first-child {
    margin-top: 0;
}

.jr-prose p {
    margin-bottom: 1.15em;
}

.jr-prose ul,
.jr-prose ol {
    padding-left: 1.4em;
}

.jr-prose li {
    margin-bottom: .45em;
    padding-left: .2em;
}

.jr-prose li::marker {
    color: var(--jr-tone, var(--ot-primary));
    font-weight: 700;
}

.jr-prose a {
    color: var(--ot-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}

.jr-prose a:hover {
    text-decoration-thickness: 2px;
}

.jr-prose strong {
    font-weight: 700;
}

.jr-prose blockquote {
    position: relative;
    margin: 1.75em 0;
    padding: 1.1em 1.25em 1.1em 3.1em;
    border-left: 4px solid var(--jr-tone, var(--ot-primary));
    border-radius: 0 14px 14px 0;
    background: var(--jr-tone-soft, var(--ot-primary-soft));
    color: var(--ot-text);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.65;
}

.jr-prose blockquote::before {
    content: "\201C";
    position: absolute;
    top: .1em;
    left: .45em;
    color: var(--jr-tone, var(--ot-primary));
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.6em;
    font-style: normal;
    line-height: 1;
    opacity: .55;
}

.jr-prose blockquote p {
    margin: 0;
}

.jr-prose hr {
    margin: 2em auto;
    width: 30%;
    border: 0;
    border-top: 2px dashed var(--ot-border);
    opacity: 1;
}

.jr-figure {
    margin: 1.75em 0;
}

.jr-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: var(--sh-1);
}

.jr-figure figcaption {
    margin-top: .6rem;
    color: var(--ot-muted);
    font-size: .88rem;
    line-height: 1.5;
    text-align: center;
}

.jr-source {
    max-width: 70ch;
    margin: 1.75rem 0 0;
    border: 1px solid var(--ot-border);
    border-radius: var(--jr-radius-sm);
    background: var(--ot-surface-alt);
}

.jr-source summary {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 48px;
    padding: .75rem 1rem;
    font-weight: 600;
    cursor: pointer;
}

.jr-source__text {
    max-height: 420px;
    margin: 0 1rem;
    padding: .25rem 0;
    overflow: auto;
    font-size: .92rem;
    line-height: 1.6;
}

.jr-source__text p {
    margin-bottom: .8em;
}

.jr-source__note {
    margin: .75rem 1rem 1rem;
    color: var(--ot-muted);
    font-size: .82rem;
}

.jr-article__end {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ot-border);
}

.jr-article__end form {
    margin: 0;
}

.jr-article__end .tag {
    text-decoration: none;
}

.jr-reading .jr-related,
.jr-reading .jr-tabs,
.jr-reading .jr-banner,
.jr-reading .jr-cta {
    max-width: 1140px;
    margin-right: auto;
    margin-left: auto;
}

.jr-finish {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    padding-inline: 1.25rem;
    border-radius: 12px;
}

.jr-finish.is-done,
.jr-finish:disabled {
    border-color: var(--jr-ok);
    background: var(--jr-ok-soft);
    color: var(--jr-ok);
    opacity: 1;
}

.jr-case {
    margin: 0 0 2rem;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--jr-cases) 30%, var(--ot-border));
    border-radius: var(--jr-radius);
    background: var(--ot-surface);
}

.jr-case__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
    background:
        radial-gradient(80% 140% at 100% 0%, color-mix(in srgb, var(--jr-cases) 16%, transparent), transparent 70%),
        var(--jr-cases-soft);
}

.jr-case__seal {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 14px;
    background: var(--jr-cases);
    color: #fff;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--jr-cases) 35%, transparent);
}

[data-bs-theme="dark"] .jr-case__seal {
    color: #0B1218;
}

.jr-case__seal .ic {
    width: 1.5rem;
    height: 1.5rem;
}

.jr-case__ids {
    flex: 1 1 240px;
    min-width: 0;
}

.jr-case__kind {
    margin: 0 0 .2rem;
    font-size: 1.1rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.jr-case__court {
    margin: 0;
    color: var(--jr-ink-soft);
    line-height: 1.45;
}

.jr-case__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: .9rem 1.5rem;
    margin: 0;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid var(--ot-border);
}

.jr-case__facts dt {
    margin-bottom: .2rem;
    color: var(--ot-muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.jr-case__facts dd {
    margin: 0;
    font-weight: 600;
    line-height: 1.45;
}

.jr-case__wide {
    grid-column: 1 / -1;
}

.jr-case__note {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    padding: .8rem 1.4rem;
    border-bottom: 1px solid var(--ot-border);
    background: var(--jr-warn-soft);
    color: var(--jr-warn);
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.45;
}

.jr-case__note .ic {
    flex: 0 0 1rem;
}

.jr-case__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--ot-border);
}

.jr-case__part {
    padding: 1.2rem 1.4rem 1.3rem;
    background: var(--ot-surface);
}

.jr-case__part p {
    margin: 0;
    line-height: 1.65;
}

.jr-case__title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .6rem;
    font-size: .95rem;
    font-weight: 700;
}

.jr-case__title .ic {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    padding: .35rem;
    border-radius: 8px;
}

.jr-case__part--essence .ic { background: var(--jr-info-soft); color: var(--jr-info); }
.jr-case__part--violation .ic { background: var(--jr-danger-soft); color: var(--jr-danger); }
.jr-case__part--consequences .ic { background: var(--jr-warn-soft); color: var(--jr-warn); }
.jr-case__part--lesson .ic { background: var(--jr-ok-soft); color: var(--jr-ok); }

.jr-case__part:nth-child(odd):has(+ .jr-case__part--lesson),
.jr-case__part:nth-child(odd):last-child {
    grid-column: 1 / -1;
}

.jr-case__part--lesson {
    grid-column: 1 / -1;
    background:
        linear-gradient(90deg, var(--jr-ok-soft), transparent 70%),
        var(--ot-surface);
}

.jr-case__lessons {
    display: grid;
    gap: .55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jr-case__lessons li {
    position: relative;
    padding-left: 1.6rem;
    line-height: 1.6;
}

.jr-case__lessons li::before {
    content: "";
    position: absolute;
    top: .5em;
    left: .2rem;
    width: .55rem;
    height: .55rem;
    border-radius: 2px;
    background: var(--jr-ok);
    transform: rotate(45deg);
}

.jr-case__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1rem;
    padding: 1rem 1.4rem;
    border-top: 1px solid var(--ot-border);
}

.jr-case__foot .btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
}

.jr-case__source {
    color: var(--ot-muted);
    font-size: .85rem;
    overflow-wrap: anywhere;
}

.jr-cta {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    margin: 0 0 2rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--ot-border);
    border-radius: var(--jr-radius);
    background:
        radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--ot-primary) 16%, transparent), transparent 60%),
        linear-gradient(135deg, var(--ot-surface), var(--ot-surface-alt));
}

.jr-cta__title {
    margin: 0 0 .45rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.jr-cta__text p {
    margin: 0;
    color: var(--ot-muted);
    line-height: 1.6;
}

.jr-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.jr-page-head {
    margin-bottom: 1.25rem;
}

.jr-alert {
    border-radius: var(--jr-radius-sm);
}

.jr-editor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.5rem;
    align-items: start;
}

.jr-editor__main,
.jr-editor__side {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    min-width: 0;
}


.jr-editor__panel {
    margin: 0;
}

.jr-stack {
    display: grid;
    gap: 1.15rem;
}

.jr-label {
    display: block;
    margin-bottom: .45rem;
    color: var(--ot-text);
    font-size: .82rem;
    font-weight: 600;
}

.jr-rubric-pick {
    margin: 0;
    padding: 0;
    border: 0;
}

.jr-rubric-pick__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .65rem;
}

.jr-rubric-card {
    position: relative;
    cursor: pointer;
}

.jr-rubric-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.jr-rubric-card--articles { --jr-tone: var(--jr-articles); --jr-tone-soft: var(--jr-articles-soft); }
.jr-rubric-card--mistakes { --jr-tone: var(--jr-mistakes); --jr-tone-soft: var(--jr-mistakes-soft); }
.jr-rubric-card--video { --jr-tone: var(--jr-video); --jr-tone-soft: var(--jr-video-soft); }
.jr-rubric-card--cases { --jr-tone: var(--jr-cases); --jr-tone-soft: var(--jr-cases-soft); }

.jr-rubric-card__box {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    height: 100%;
    min-height: 92px;
    padding: .8rem .85rem;
    border: 1.5px solid var(--ot-border);
    border-radius: 14px;
    background: var(--ot-surface);
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.jr-rubric-card__box .ic {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--jr-tone);
}

.jr-rubric-card__title {
    font-weight: 650;
    line-height: 1.3;
}

.jr-rubric-card__hint {
    color: var(--ot-muted);
    font-size: .75rem;
    line-height: 1.35;
}

.jr-rubric-card:hover .jr-rubric-card__box {
    border-color: var(--jr-tone);
}

.jr-rubric-card input:checked + .jr-rubric-card__box {
    border-color: var(--jr-tone);
    background: var(--jr-tone-soft);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--jr-tone) 18%, transparent);
}

.jr-rubric-card input:focus-visible + .jr-rubric-card__box {
    outline: 2px solid var(--jr-tone);
    outline-offset: 2px;
}

.jr-counter {
    font-variant-numeric: tabular-nums;
}

.jr-markup__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .55rem;
}

.jr-markup__top label {
    margin: 0;
}

.jr-markup__tabs {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--ot-border);
    border-radius: 10px;
    background: var(--ot-surface-alt);
}

.jr-markup__tab {
    min-height: 34px;
    padding: .3rem .85rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ot-muted);
    font-size: .85rem;
    font-weight: 600;
}

.jr-markup__tab.is-active {
    background: var(--ot-surface);
    color: var(--ot-text);
    box-shadow: var(--sh-1);
}

.jr-markup textarea {
    min-height: 360px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: .92rem;
    line-height: 1.6;
}

.jr-editor--qa .jr-markup textarea {
    min-height: 260px;
}

.jr-markup__preview {
    max-width: none;
    min-height: 360px;
    padding: 1.25rem 1.4rem;
    border: 1px solid var(--ot-border);
    border-radius: 0 0 10px 10px;
    background: var(--ot-surface);
}

.jr-markup__stats {
    margin-top: .45rem;
}

.jr-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .3rem;
    padding: .45rem;
    border: 1px solid var(--ot-border);
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    background: var(--ot-surface-alt);
}

.jr-toolbar__btn {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 0;
    padding: .25rem .7rem;
    border: 1px solid var(--ot-border);
    border-radius: 8px;
    background: var(--ot-surface);
    color: var(--ot-text);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
}

.jr-toolbar__btn:hover,
.jr-toolbar__btn:focus-within {
    border-color: var(--ot-primary);
    color: var(--ot-primary);
}

.jr-markup .jr-toolbar__file {
    display: inline-flex;
    margin: 0;
    color: var(--ot-text);
    font-size: .82rem;
    font-weight: 600;
}

.jr-markup .jr-toolbar__file:hover,
.jr-markup .jr-toolbar__file:focus-within {
    color: var(--ot-primary);
}

.jr-toolbar__btn--bold {
    font-weight: 800;
}

.jr-toolbar__btn--italic {
    font-style: italic;
}

.jr-toolbar__status {
    margin-left: auto;
    color: var(--ot-muted);
    font-size: .8rem;
}

.jr-toolbar__status.is-error {
    color: var(--jr-danger);
}

.jr-help {
    margin-top: .85rem;
    padding: .6rem .9rem;
    border: 1px dashed var(--ot-border);
    border-radius: 10px;
}

.jr-help summary {
    min-height: 30px;
    color: var(--ot-primary);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
}

.jr-help__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: .5rem 1.25rem;
    margin: .75rem 0 .5rem;
}

.jr-help__list div {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.jr-help__list dt code {
    color: var(--ot-text);
    font-size: .82rem;
    overflow-wrap: anywhere;
}

.jr-help__list dd {
    margin: 0;
    color: var(--ot-muted);
    font-size: .8rem;
}

.jr-help__note {
    margin: 0;
    color: var(--ot-muted);
    font-size: .8rem;
    line-height: 1.5;
}

.jr-gallery {
    margin-top: 1rem;
}

.jr-gallery__row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.jr-gallery__item {
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--ot-border);
    border-radius: 8px;
    background: var(--ot-surface-alt);
    transition: border-color .15s ease, transform .15s ease;
}

.jr-gallery__item:hover {
    border-color: var(--ot-primary);
    transform: translateY(-2px);
}

.jr-gallery__item img {
    display: block;
    width: 96px;
    height: 64px;
    object-fit: cover;
}

.jr-check {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
}

.jr-check .form-check-input {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: .15rem;
}

.jr-check label {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    line-height: 1.45;
    cursor: pointer;
}

.jr-check label span {
    color: var(--ot-muted);
    font-size: .82rem;
}

.jr-check--consent {
    padding: .85rem 1rem;
    border: 1px solid color-mix(in srgb, var(--jr-video) 30%, var(--ot-border));
    border-radius: 12px;
    background: var(--jr-video-soft);
}

.jr-status-pick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 3px;
    border: 1px solid var(--ot-border);
    border-radius: 12px;
    background: var(--ot-surface-alt);
}

.jr-status-pick__item {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.jr-status-pick__item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.jr-status-pick__item span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 9px;
    color: var(--ot-muted);
    font-size: .88rem;
    font-weight: 600;
    transition: background-color .15s ease, color .15s ease;
}

.jr-status-pick__item input:checked + span {
    background: var(--ot-surface);
    color: var(--ot-text);
    box-shadow: var(--sh-1);
}

.jr-status-pick__item input:focus-visible + span {
    outline: 2px solid var(--ot-primary);
    outline-offset: 1px;
}

.jr-blocks-pick,
.jr-blocks-radio__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
}

.jr-blocks-pick__item,
.jr-blocks-radio__item {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 40px;
    margin: 0;
    padding: .4rem .65rem;
    border: 1px solid var(--ot-border);
    border-radius: 10px;
    background: var(--ot-surface);
    font-size: .88rem;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.jr-blocks-pick__item:hover,
.jr-blocks-radio__item:hover {
    border-color: var(--ot-primary);
}

.jr-blocks-pick__item:has(input:checked),
.jr-blocks-radio__item:has(input:checked) {
    border-color: var(--ot-primary);
    background: var(--ot-primary-soft);
}

.jr-blocks-pick__item input,
.jr-blocks-radio__item input {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: var(--ot-primary);
}

.jr-blocks-radio {
    margin: 0;
    padding: 0;
    border: 0;
}

.jr-blocks-radio__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jr-editor__buttons {
    display: grid;
    gap: .5rem;
}

.jr-editor__buttons .btn,
.jr-editor__publish .btn {
    min-height: 44px;
}

.jr-editor__cover {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.jr-note {
    margin: .75rem 0 0;
    color: var(--ot-muted);
    font-size: .82rem;
    line-height: 1.5;
}

.jr-danger {
    display: flex;
    justify-content: flex-end;
    margin: 1.5rem 0 2rem;
}

.jr-divider {
    margin: .25rem 0;
    border-color: var(--ot-border);
    opacity: 1;
}

.jr-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.jr-kpi {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--ot-border);
    border-radius: 14px;
    background: var(--ot-surface);
    color: var(--ot-text);
    text-decoration: none;
    box-shadow: var(--sh-1);
    transition: border-color .18s ease, transform .18s ease;
}

.jr-kpi:hover {
    transform: translateY(-2px);
    border-color: var(--ot-primary);
}

.jr-kpi.is-active {
    border-color: var(--ot-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ot-primary) 15%, transparent);
}

.jr-kpi__value {
    font-size: 1.6rem;
    font-weight: 750;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.jr-kpi__label {
    color: var(--ot-muted);
    font-size: .82rem;
}

.jr-kpi {
    border-left: 4px solid var(--jr-kpi-tone, var(--ot-primary));
}

.jr-kpi--ok { --jr-kpi-tone: var(--jr-ok); }
.jr-kpi--draft { --jr-kpi-tone: var(--ot-border); }
.jr-kpi--soon { --jr-kpi-tone: var(--jr-warn); }
.jr-kpi--public { --jr-kpi-tone: var(--jr-cases); }
.jr-kpi--ok .jr-kpi__value { color: var(--jr-ok); }
.jr-kpi--draft .jr-kpi__value { color: var(--ot-muted); }
.jr-kpi--soon .jr-kpi__value { color: var(--jr-warn); }
.jr-kpi--public .jr-kpi__value { color: var(--jr-cases); }

.jr-filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .4rem;
}

.jr-rows {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jr-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: .9rem 1.25rem;
    border-bottom: 1px solid var(--ot-border);
}

.jr-row:last-child {
    border-bottom: 0;
}

.jr-row__thumb {
    position: relative;
    display: block;
    width: 112px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
}

.jr-row__thumb img,
.jr-row__thumb .jr-ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jr-row__thumb .jr-ph__icon {
    display: none;
}

.jr-row__main {
    min-width: 0;
}

.jr-row__title {
    display: block;
    color: var(--ot-text);
    font-weight: 650;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.jr-row__title:hover {
    color: var(--ot-primary);
}

.jr-row__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .65rem;
    margin-top: .35rem;
    color: var(--ot-muted);
    font-size: .8rem;
}

.jr-row__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.jr-badge {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: .15rem .55rem;
    border-radius: 999px;
    background: var(--ot-surface-alt);
    color: var(--ot-muted);
    font-size: .74rem;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.jr-badge--ok,
.jr-badge--success { background: var(--jr-ok-soft); color: var(--jr-ok); }
.jr-badge--soon,
.jr-badge--warning,
.jr-badge--warn { background: var(--jr-warn-soft); color: var(--jr-warn); }
.jr-badge--danger { background: var(--jr-danger-soft); color: var(--jr-danger); }
.jr-badge--public { background: var(--jr-cases-soft); color: var(--jr-cases); }
.jr-badge--draft,
.jr-badge--muted { background: var(--ot-surface-alt); color: var(--ot-muted); }

.jr-badge--big {
    padding: .35rem .8rem;
    font-size: .82rem;
}

.jr-two {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.jr-two > .panel {
    margin: 0;
}

.jr-two--wide {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

.jr-two--form {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

.jr-error {
    display: flex;
    gap: .75rem;
    margin-bottom: 1.25rem;
    padding: .9rem 1.1rem;
    border: 1px solid color-mix(in srgb, var(--jr-danger) 35%, var(--ot-border));
    border-radius: 12px;
    background: var(--jr-danger-soft);
    line-height: 1.5;
}

.jr-error > .ic {
    flex: 0 0 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: .1rem;
    color: var(--jr-danger);
}

.jr-error p {
    margin: .3rem 0 0;
}

.jr-steps {
    display: grid;
    gap: .85rem;
    margin: 0;
    padding-left: 1.3rem;
    line-height: 1.6;
}

.jr-steps li::marker {
    color: var(--ot-primary);
    font-weight: 700;
}

.jr-steps--plain {
    padding-left: 1.1rem;
}

.jr-queries-strip {
    margin-bottom: 1.25rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--ot-border);
    border-radius: 14px;
    background: var(--ot-surface);
}

.jr-queries-strip__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-bottom: .8rem;
}

.jr-queries-strip__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.jr-query-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jr-query-chip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .2rem .55rem;
    padding: .35rem .4rem .35rem .75rem;
    border: 1px solid var(--ot-border);
    border-radius: 12px;
    background: var(--ot-surface-alt);
    font-size: .85rem;
}

.jr-query-chip form {
    margin: 0;
}

.jr-query-chip .btn-link {
    padding-right: .25rem;
    padding-left: .25rem;
}

.jr-query-chip.is-off {
    opacity: .6;
}

.jr-query-chip__title {
    font-weight: 650;
    line-height: 1.35;
}

.jr-query-chip__meta {
    color: var(--ot-muted);
    font-size: .78rem;
}

.jr-query-chip__dot {
    display: inline-block;
    width: .55rem;
    height: .55rem;
    flex: 0 0 .55rem;
    border-radius: 50%;
    background: var(--ot-muted);
}

.jr-query-chip__dot--ok { background: var(--jr-ok); }
.jr-query-chip__dot--error { background: var(--jr-danger); }

.jr-segment {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .3rem;
    max-width: 100%;
    margin-bottom: 1.25rem;
    padding: .3rem;
    border: 1px solid var(--ot-border);
    border-radius: 14px;
    background: var(--ot-surface);
}

.jr-segment__item {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 38px;
    padding: .35rem .85rem;
    border-radius: 10px;
    color: var(--ot-muted);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
}

.jr-segment__item span {
    color: inherit;
    font-size: .76rem;
    opacity: .8;
}

.jr-segment__item:hover {
    background: var(--ot-surface-alt);
    color: var(--ot-text);
}

.jr-segment__item.is-active {
    background: var(--ot-primary);
    color: var(--ot-on-primary);
}

.jr-suggest-list,
.jr-query-list,
.jr-inbox,
.jr-mine {
    display: grid;
    gap: 1rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.jr-query-list {
    gap: 0;
    margin: 0;
}

.jr-suggest,
.jr-inbox__item,
.jr-mine__item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--ot-border);
    border-radius: 14px;
    background: var(--ot-surface);
    box-shadow: var(--sh-1);
}

.jr-suggest__main,
.jr-inbox__main,
.jr-mine__main {
    flex: 1 1 420px;
    min-width: 0;
}

.jr-suggest__court {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0 0 .35rem;
    color: var(--jr-cases);
    font-size: .82rem;
    font-weight: 700;
}

.jr-suggest__title {
    margin: 0 0 .45rem;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.jr-suggest__title a {
    color: var(--ot-text);
    text-decoration: none;
}

.jr-suggest__title a:hover {
    color: var(--ot-primary);
}

.jr-suggest__title .ic {
    width: .8rem;
    height: .8rem;
    margin-left: .35rem;
    color: var(--ot-muted);
}

.jr-suggest__snippet {
    margin: 0 0 .5rem;
    color: var(--jr-ink-soft);
    font-size: .9rem;
    line-height: 1.55;
}

.jr-suggest__meta {
    margin: 0;
    color: var(--ot-muted);
    font-size: .8rem;
    line-height: 1.5;
}

.jr-suggest__actions {
    display: grid;
    flex: 0 1 280px;
    gap: .5rem;
}

.jr-suggest__actions .btn {
    min-height: 40px;
}

.jr-reject {
    display: flex;
    gap: .4rem;
}

.jr-reject .form-control {
    min-width: 0;
}

.jr-query {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--ot-border);
}

.jr-query:last-child {
    border-bottom: 0;
}

.jr-query__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
}

.jr-query__title {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.jr-query__url {
    margin: .35rem 0;
    font-size: .85rem;
    overflow-wrap: anywhere;
}

.jr-query__meta {
    margin: 0 0 .75rem;
    color: var(--ot-muted);
    font-size: .84rem;
    line-height: 1.55;
}

.jr-query__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: .5rem;
}

.jr-query__actions form {
    margin: 0;
}

.jr-query__edit {
    flex: 0 1 auto;
}

.jr-query__edit[open] {
    flex: 1 1 100%;
    order: 5;
}

.jr-query__edit:not([open]) > .jr-query__form {
    display: none;
}

.jr-query__edit summary {
    display: inline-flex;
    align-items: center;
    list-style: none;
}

.jr-query__edit summary::-webkit-details-marker {
    display: none;
}

.jr-query__form {
    margin-top: .75rem;
    padding: 1rem;
    border: 1px solid var(--ot-border);
    border-radius: 12px;
    background: var(--ot-surface-alt);
}

.jr-qa-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.75rem;
    align-items: start;
}

.jr-qa-layout__main {
    min-width: 0;
}

.jr-qa-layout__side {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 1rem;
}

.jr-qa-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1rem;
}

.jr-qa-bar__found {
    margin: 0;
    color: var(--ot-muted);
    font-size: .9rem;
}

.jr-qa-bar__found a {
    margin-left: .4rem;
}

.jr-sort {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--ot-border);
    border-radius: 10px;
    background: var(--ot-surface-alt);
}

.jr-sort__item {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .25rem .85rem;
    border-radius: 8px;
    color: var(--ot-muted);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
}

.jr-sort__item.is-active {
    background: var(--ot-surface);
    color: var(--ot-text);
    box-shadow: var(--sh-1);
}

.jr-qa-list {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.jr-qa {
    padding: 1.2rem 1.35rem;
    border: 1px solid var(--ot-border);
    border-radius: 16px;
    background: var(--ot-surface);
    box-shadow: var(--sh-1);
}

.jr-qa__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .75rem;
    margin-bottom: .55rem;
    color: var(--ot-muted);
    font-size: .8rem;
}

.jr-qa__block {
    padding: .12rem .6rem;
    border-radius: 999px;
    background: var(--ot-primary-soft);
    color: var(--ot-primary);
    font-size: .74rem;
    font-weight: 700;
}

.jr-qa__block--training { background: var(--jr-video-soft); color: var(--jr-video); }
.jr-qa__block--medical { background: var(--jr-danger-soft); color: var(--jr-danger); }
.jr-qa__block--ppe { background: var(--jr-warn-soft); color: var(--jr-warn); }
.jr-qa__block--sout { background: var(--jr-cases-soft); color: var(--jr-cases); }
.jr-qa__block--risks { background: var(--jr-ok-soft); color: var(--jr-ok); }

.jr-qa__author {
    color: var(--ot-text);
    font-weight: 600;
}

.jr-qa__title {
    margin: 0 0 .6rem;
    font-size: 1.08rem;
    font-weight: 650;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.jr-qa__title a {
    color: var(--ot-text);
    text-decoration: none;
}

.jr-qa__title a:hover {
    color: var(--ot-primary);
}

.jr-qa__answer {
    margin: 0 0 .85rem;
    padding: .75rem .95rem;
    border-left: 3px solid var(--jr-ok);
    border-radius: 0 10px 10px 0;
    background: var(--jr-ok-soft);
    color: var(--jr-ink-soft);
    font-size: .92rem;
    line-height: 1.6;
}

.jr-qa__label {
    color: var(--jr-ok);
    font-weight: 700;
}

.jr-qa__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
}

.jr-qa__foot form {
    margin: 0;
}

.jr-qa__more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
}

.jr-vote {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 38px;
    padding: .3rem .8rem;
    border: 1px solid var(--ot-border);
    border-radius: 999px;
    background: var(--ot-surface);
    color: var(--ot-text);
    font-size: .85rem;
    font-weight: 600;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.jr-vote:hover {
    border-color: var(--jr-ok);
    color: var(--jr-ok);
}

.jr-vote:active {
    transform: scale(.97);
}

.jr-vote b {
    min-width: 1.4rem;
    padding: 0 .35rem;
    border-radius: 999px;
    background: var(--ot-surface-alt);
    font-size: .78rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.jr-vote.is-on {
    border-color: var(--jr-ok);
    background: var(--jr-ok-soft);
    color: var(--jr-ok);
}

.jr-vote--big {
    min-height: 44px;
    padding-inline: 1rem;
}

.jr-ask-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
    padding: 1.3rem;
    border: 1px solid var(--ot-border);
    border-radius: 16px;
    background:
        radial-gradient(90% 120% at 100% 0%, var(--ot-primary-soft), transparent 70%),
        var(--ot-surface);
    box-shadow: var(--sh-1);
}

.jr-ask-card__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--ot-primary);
    color: var(--ot-on-primary);
}

.jr-ask-card__icon .ic {
    width: 1.35rem;
    height: 1.35rem;
}

.jr-ask-card__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.jr-ask-card__text {
    margin: 0;
    color: var(--ot-muted);
    font-size: .9rem;
    line-height: 1.55;
}

.jr-ask-card .btn {
    min-height: 44px;
}

.jr-ask-card__mine {
    font-size: .88rem;
    font-weight: 600;
}

.jr-side-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 600;
    text-decoration: none;
}

.jr-side-link.btn {
    justify-content: center;
    min-height: 44px;
}

.jr-ask {
    margin: 0;
}

.jr-ask__title {
    margin: .3rem 0 .35rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.jr-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.jr-form-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
}

.jr-ask-tips .jr-steps {
    margin-bottom: 1rem;
}

.jr-mine__title,
.jr-inbox__title {
    margin: 0 0 .4rem;
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.jr-mine__title a,
.jr-inbox__title a {
    color: var(--ot-text);
    text-decoration: none;
}

.jr-mine__title a:hover,
.jr-inbox__title a:hover {
    color: var(--ot-primary);
}

.jr-mine__reason,
.jr-mine__hint,
.jr-inbox__text,
.jr-inbox__author {
    margin: 0;
    color: var(--ot-muted);
    font-size: .88rem;
    line-height: 1.55;
}

.jr-inbox__author {
    margin-top: .4rem;
    font-size: .8rem;
}

.jr-mine__reason {
    color: var(--jr-danger);
}

.jr-thread {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.jr-bubble {
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--ot-border);
    border-radius: 18px;
    background: var(--ot-surface);
    box-shadow: var(--sh-1);
}

.jr-bubble--answer {
    border-color: color-mix(in srgb, var(--jr-ok) 35%, var(--ot-border));
    background:
        linear-gradient(180deg, var(--jr-ok-soft), transparent 140px),
        var(--ot-surface);
}

.jr-bubble--waiting {
    display: flex;
    align-items: center;
    gap: .85rem;
    border-style: dashed;
    color: var(--ot-muted);
}

.jr-bubble--waiting p {
    margin: 0;
    line-height: 1.55;
}

.jr-bubble__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

.jr-bubble__head > div {
    flex: 1 1 200px;
    min-width: 0;
}

.jr-bubble__who {
    margin: 0;
    font-weight: 700;
}

.jr-bubble__when {
    margin: .1rem 0 0;
    color: var(--ot-muted);
    font-size: .8rem;
}

.jr-bubble__title {
    margin: 0 0 .75rem;
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.jr-bubble__text {
    margin: 0;
    color: var(--jr-ink-soft);
    line-height: 1.65;
}

.jr-bubble__vote {
    margin: 1.25rem 0 0;
}

.jr-prose--answer {
    max-width: 72ch;
    font-size: 1rem;
}

.jr-avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--ot-primary-soft);
    color: var(--ot-primary);
}

.jr-avatar--brand {
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--ot-border);
}

.jr-avatar img {
    width: 30px;
    height: 30px;
}

.jr-reveal {
    animation: jr-rise .38s ease-out both;
}

@keyframes jr-rise {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1199.98px) {
    .jr-article__layout.has-toc {
        grid-template-columns: minmax(0, 1fr);
    }

    .jr-toc--side {
        display: none;
    }

    .jr-toc--inline {
        display: block;
    }

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

    .jr-editor__side {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
        align-items: start;
    }

    .jr-qa-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .jr-qa-layout__side {
        position: static;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    }
}

@media (max-width: 991.98px) {
    .jr-lead,
    .jr-premiere {
        grid-template-columns: minmax(0, 1fr);
    }

    .jr-lead__media {
        aspect-ratio: 16 / 9;
    }

    .jr-lead__body {
        padding: 1.4rem 1.4rem 1.5rem;
    }

    .jr-two,
    .jr-two--wide,
    .jr-two--form {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .jr-cta {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .jr-cta__actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .jr-hero {
        grid-template-columns: minmax(0, 1fr) 96px;
        grid-template-areas:
            "text art"
            "hint hint"
            "search search"
            "actions actions";
        column-gap: 1rem;
        padding: 1.15rem 1rem 1.25rem;
    }

    .jr-hero__art {
        align-self: start;
        width: 96px;
        margin-top: .4rem;
    }

    .jr-hero__actions .btn,
    .jr-search .btn,
    .jr-pill,
    .jr-segment__item,
    .jr-sort__item,
    .jr-toolbar__btn,
    .jr-markup__tab,
    .jr-vote,
    .jr-row__actions .btn,
    .jr-suggest__actions .btn,
    .jr-query__actions .btn,
    .jr-inbox__item > .btn,
    .jr-mine__item > .btn,
    .jr-reject .form-control,
    .jr-head-actions .btn,
    .jr-filter-actions .btn {
        min-height: 44px;
    }

    .jr-hero__actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .jr-filter {
        align-items: flex-start;
        flex-direction: column;
        gap: .5rem;
    }

    .jr-filter__chips {
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        padding-bottom: .25rem;
        scrollbar-width: none;
    }

    .jr-filter__chips::-webkit-scrollbar {
        display: none;
    }

    .jr-pill {
        flex: 0 0 auto;
    }

    .jr-grid,
    .jr-episodes,
    .jr-qa-teaser__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.15rem;
    }

    .jr-article {
        padding: 1.25rem 1rem 1.35rem;
        border-radius: 16px;
    }

    .jr-article__lead {
        font-size: 1.05rem;
    }

    .jr-article__tools .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .jr-article__tools form {
        display: flex;
        flex: 1 1 auto;
    }

    .jr-article__tools form .btn {
        width: 100%;
    }

    .jr-prose {
        font-size: 1.02rem;
        line-height: 1.68;
    }

    .jr-prose h2 {
        font-size: 1.3rem;
    }

    .jr-prose blockquote {
        padding: .95em 1em .95em 2.6em;
    }

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

    .jr-case__head,
    .jr-case__facts,
    .jr-case__part,
    .jr-case__foot,
    .jr-case__note {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .jr-outcome--big {
        align-items: flex-start;
        text-align: left;
    }

    .jr-cta {
        grid-template-columns: minmax(0, 1fr);
        padding: 1.25rem 1rem;
    }

    .jr-cta__art {
        width: 120px;
    }

    .jr-cta__actions .btn {
        flex: 1 1 auto;
    }

    .jr-row {
        grid-template-columns: 84px minmax(0, 1fr);
        padding: .85rem 1rem;
    }

    .jr-row__thumb {
        width: 84px;
    }

    .jr-row__actions {
        grid-column: 1 / -1;
    }

    .jr-row__actions .btn {
        flex: 1 1 auto;
    }

    .jr-segment {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .jr-segment::-webkit-scrollbar {
        display: none;
    }

    .jr-segment__item {
        flex: 0 0 auto;
    }

    .jr-suggest__actions {
        flex: 1 1 100%;
    }

    .jr-query-chips {
        display: grid;
        gap: .5rem;
    }

    .jr-query-chip {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: .25rem .55rem;
        padding: .6rem .75rem;
    }

    .jr-query-chip__meta,
    .jr-query-chip form {
        grid-column: 2;
    }

    .jr-blocks-radio__grid,
    .jr-blocks-pick {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jr-blocks-pick__item,
    .jr-blocks-radio__item,
    .jr-status-pick__item span {
        min-height: 44px;
    }

    .jr-bubble {
        padding: 1.15rem 1rem;
    }

    .jr-qa {
        padding: 1.05rem 1rem;
    }

    .jr-editor__side,
    .jr-qa-layout__side {
        grid-template-columns: minmax(0, 1fr);
    }

    .jr-markup textarea,
    .jr-markup__preview {
        min-height: 300px;
    }

    .jr-toolbar__status {
        flex: 1 1 100%;
        margin-left: 0;
    }

    .jr-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
    }

    .jr-inbox__item > .btn,
    .jr-mine__item > .btn {
        flex: 1 1 100%;
    }
}

@media (max-width: 420px) {
    .jr-hero {
        grid-template-columns: minmax(0, 1fr) 76px;
    }

    .jr-hero__art {
        width: 76px;
    }

    .jr-search {
        flex-direction: column;
    }

    .jr-rubric-pick__grid,
    .jr-blocks-radio__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .jr-rubric-card__box {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jr-art__cube,
    .jr-art__float,
    .jr-reveal {
        animation: none;
    }

    .jr-card,
    .jr-card__media img,
    .jr-lead__media img,
    .jr-episode,
    .jr-qa-mini,
    .jr-kpi,
    .jr-vote,
    .jr-card__play {
        transition: none;
    }

    .jr-card:hover,
    .jr-episode:hover,
    .jr-qa-mini:hover,
    .jr-kpi:hover {
        transform: none;
    }
}

@media (max-width: 359.98px) {
    .jr-blocks-pick,
    .jr-blocks-radio__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
