:root {
    color-scheme: light;
    --public-bg: #eef3f8;
    --public-surface: #ffffff;
    --public-surface-soft: #f3f7f8;
    --public-surface-tint: #e9f5f2;
    --public-text: #101827;
    --public-muted: #5b687c;
    --public-accent: #0f766e;
    --public-accent-strong: #0a5852;
    --public-blue: #2563eb;
    --public-sky: #0284c7;
    --public-amber: #d97706;
    --public-rose: #be123c;
    --public-violet: #7c3aed;
    --public-lime: #4d7c0f;
    --public-border: rgba(16, 24, 39, 0.12);
    --public-border-strong: rgba(16, 24, 39, 0.18);
    --public-shadow: 0 18px 46px rgba(16, 24, 39, 0.08);
    --public-shadow-soft: 0 8px 24px rgba(16, 24, 39, 0.06);
}

/* Public project showcase and collapsible navigation. */
.b_public_layout--group_title {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.b_public_layout--group_title:hover,
.b_public_layout--group_title:focus-visible {
    background: #202024;
    outline: 2px solid color-mix(in srgb, var(--section-color, #8b5cf6) 65%, transparent);
    outline-offset: 2px;
}

.b_public_layout--chevron {
    margin-left: auto;
    color: #92969c;
    transition: transform 160ms ease;
}

.b_public_layout--group.__expanded .b_public_layout--chevron {
    transform: rotate(180deg);
}

.b_public_layout--subnav[hidden] {
    display: none;
}

.block__project_overview {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 16px;
    padding: 18px;
    border-radius: 13px;
}

.block__project_story,
.block__project_opportunities,
.block__project_latest {
    margin-top: 26px;
    padding: 24px;
    border: 1px solid var(--public-border);
    border-radius: 13px;
    background: var(--public-surface);
}

.b_project_story--text {
    margin: 0;
    color: #c7c9cd;
    font-size: 16px;
    line-height: 1.7;
}

.b_project_latest--all {
    color: #8bb7ff;
    text-decoration: none;
    font-weight: 700;
}

.b_project_detail--button {
    cursor: pointer;
    font: inherit;
}

.block__project_participation {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--public-border);
    border-radius: 14px;
    background: var(--public-surface);
}

.b_project_participation--title {
    margin: 0;
    color: #f0f1f2;
    font-size: 18px;
}

.b_project_participation--owner {
    display: grid;
    gap: 4px;
}

.b_project_participation--owner span {
    color: var(--public-muted);
    font-size: 13px;
}

.b_project_participation--owner a,
.b_project_participation--owner strong,
.b_project_participation--links a,
.b_project_participation--socials a {
    color: #e2e4e7;
    text-decoration: none;
}

.b_project_participation--status {
    margin: 0;
    color: #aeb3ba;
}

.b_project_participation--button,
.b_project_join--submit {
    min-height: 44px;
    border: 0;
    border-radius: 10px;
    background: var(--public-accent);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.b_project_participation--links,
.b_project_participation--socials {
    display: grid;
    gap: 8px;
}

.b_project_participation--links a {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid var(--public-border);
}

.b_project_participation--socials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 13px;
}

.block__project_join {
    width: min(560px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    padding: 0;
    border: 1px solid var(--public-border-strong);
    border-radius: 16px;
    background: #202124;
    color: var(--public-text);
}

.block__project_join::backdrop {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(3px);
}

.b_project_join--form,
.b_project_join--fields {
    display: grid;
    gap: 16px;
}

.b_project_join--form {
    padding: 24px;
}

.b_project_join--head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.b_project_join--title {
    margin: 0;
    color: #f4f5f6;
    font-size: 24px;
}

.b_project_join--close {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid var(--public-border);
    border-radius: 9px;
    background: #292a2d;
    color: #d7d9dd;
    font-size: 24px;
    cursor: pointer;
}

.b_project_join--field {
    display: grid;
    gap: 7px;
    color: #d6d8dc;
    font-weight: 700;
}

.b_project_join--field em {
    color: #ff7b7b;
    font-style: normal;
}

.b_project_join--field input,
.b_project_join--field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid var(--public-border-strong);
    border-radius: 9px;
    background: #161719;
    color: #f3f4f5;
    font: inherit;
}

.b_project_join--field input:focus,
.b_project_join--field textarea:focus,
.b_project_join--submit:focus-visible,
.b_project_participation--button:focus-visible,
.b_project_detail--button:focus-visible,
.b_project_join--close:focus-visible {
    outline: 2px solid #73a9ff;
    outline-offset: 2px;
}

.b_project_join--feedback,
.b_project_join--success {
    margin: 0;
    padding: 12px;
    border-radius: 9px;
}

.b_project_join--feedback {
    background: rgba(239, 68, 68, 0.14);
    color: #ffb0b0;
}

.b_project_join--success {
    background: rgba(34, 197, 94, 0.14);
    color: #9ee7b4;
}

.b_project_join--submit {
    width: 100%;
    padding: 0 18px;
}

.b_project_join--submit:disabled {
    cursor: wait;
    opacity: 0.62;
}

.b_public_header--auth,
.b_public_header--account {
    display: flex;
    align-items: center;
    gap: 10px;
}

.b_public_header--button[hidden],
.b_public_header--account[hidden] {
    display: none !important;
}

.b_public_header--account_name,
.b_public_header--account_logout {
    color: inherit;
    font: inherit;
    font-weight: 700;
}

.b_public_header--account_profile {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.b_public_header--account_profile_wrap {
    position: relative;
    min-width: 0;
}

.b_public_header--account_menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    min-width: 180px;
    padding: 6px;
    border: 1px solid var(--public-border-strong);
    border-radius: 10px;
    background: var(--public-surface);
    box-shadow: 0 12px 28px rgba(16, 24, 39, 0.18);
}

.b_public_header--account_menu[hidden] {
    display: none;
}

.b_public_header--account_menu_link {
    padding: 9px 10px;
    border-radius: 7px;
    color: var(--public-text);
    font-weight: 700;
    text-decoration: none;
}

.b_public_header--account_menu_link:hover,
.b_public_header--account_menu_link:focus-visible {
    background: var(--public-surface-tint);
}

.b_public_header--account_avatar {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--public-accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 850;
}

.b_public_header--account_avatar_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b_public_header--account_identity {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.b_public_header--account_name,
.b_public_header--account_email {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.b_public_header--account_email {
    color: var(--public-muted);
    font-size: 12px;
    line-height: 1.2;
}

.b_public_header--account_logout {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--public-muted);
    cursor: pointer;
}

.b_public_header--account_logout:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.b_public_header--account_logout:disabled {
    cursor: wait;
    opacity: 0.62;
}

.b_public_header--account_logout_ico {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.block__public_auth {
    width: min(420px, calc(100% - 32px));
    padding: 0;
    border: 1px solid var(--public-border-strong);
    border-radius: 16px;
    background: #202124;
    color: #f4f5f6;
}

.block__public_auth::backdrop {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(3px);
}

.b_public_auth--form {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.b_public_auth--head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.b_public_auth--title {
    margin: 0;
    font-size: 24px;
}

.b_public_auth--close {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid var(--public-border);
    border-radius: 9px;
    background: #292a2d;
    color: #d7d9dd;
    font-size: 24px;
    cursor: pointer;
}

.b_public_auth--field {
    display: grid;
    gap: 7px;
    color: #d6d8dc;
    font-weight: 700;
}

.b_public_auth--field input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid var(--public-border-strong);
    border-radius: 9px;
    background: #161719;
    color: #f3f4f5;
    font: inherit;
}

.b_public_auth--submit {
    min-height: 44px;
    border: 0;
    border-radius: 10px;
    background: var(--public-accent);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.b_public_auth--message {
    margin: 0;
    padding: 12px;
    border-radius: 9px;
    background: rgba(239, 68, 68, 0.14);
    color: #ffb0b0;
}

.b_public_auth--message[data-type="info"] {
    background: rgba(37, 99, 235, 0.16);
    color: #b9d4ff;
}

.b_public_auth--field input:focus,
.b_public_auth--submit:focus-visible,
.b_public_auth--close:focus-visible,
.b_public_header--account_profile:focus-visible,
.b_public_header--account_menu_link:focus-visible,
.b_public_header--account_logout:focus-visible {
    outline: 2px solid #73a9ff;
    outline-offset: 2px;
}

.b_public_auth--submit:disabled {
    cursor: wait;
    opacity: 0.62;
}

@media (max-width: 1100px) {
    .b_public_layout--rail {
        position: static;
        display: block;
        grid-column: 2;
    }
}

@media (max-width: 820px) {
    .b_public_layout--sidebar {
        position: static;
        display: grid;
    }

    .b_public_layout--rail {
        grid-column: 1;
    }
}

@media (max-width: 520px) {
    .b_public_header--account {
        gap: 7px;
    }

    .b_public_header--account_email {
        display: none;
    }

    .b_public_header--account_menu {
        min-width: min(180px, calc(100vw - 32px));
    }

    .b_public_auth--form {
        padding: 18px;
    }

    .b_public_auth--title {
        font-size: 20px;
    }
}

/* Horizontal public project banner and project facts rail. */

.b_project_overview--stat {
    position: relative;
    min-height: 108px;
    padding: 16px 16px 16px 48px;
}

.b_project_overview--ico {
    position: absolute;
    top: 18px;
    left: 16px;
    color: var(--project-color, var(--public-accent));
    font-size: 20px;
}

.b_project_overview--stat strong {
    color: #f0f1f2;
}

.block__project_latest {
    margin-top: 28px;
}

.b_project_latest--empty {
    margin: 0;
    padding: 18px;
    border: 1px dashed var(--public-border-strong);
    border-radius: 10px;
    color: var(--public-muted);
}

.b_project_participation--owner {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.b_project_participation--avatar {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--public-border-strong);
    border-radius: 50%;
    background: color-mix(in srgb, var(--project-color, var(--public-accent)) 24%, #252525);
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
}

.b_project_participation--avatar_img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.b_project_participation--owner_copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.b_project_participation--owner_copy small {
    color: var(--public-muted);
    font-size: 12px;
}

.b_project_participation--owner_copy a,
.b_project_participation--owner_copy strong {
    overflow: hidden;
    color: #f0f1f2;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.b_project_participation--dates {
    display: grid;
    gap: 8px;
    margin: 0;
}

.b_project_participation--dates div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-top: 9px;
    border-top: 1px solid var(--public-border);
}

.b_project_participation--dates dt,
.b_project_participation--dates dd {
    margin: 0;
}

.b_project_participation--dates dt {
    color: var(--public-muted);
    font-size: 13px;
}

.b_project_participation--dates dd {
    color: #e2e4e7;
    font-weight: 700;
}

.b_project_participation--social_title {
    margin: 0;
    color: var(--public-muted);
    font-size: 13px;
    font-weight: 700;
}

.b_project_participation--socials {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.b_project_participation--social {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--public-border-strong);
    border-radius: 50%;
    background: #292929;
    color: #e2e4e7;
    font-size: 18px;
    text-decoration: none;
}

.b_project_participation--social span {
    color: inherit;
    font-size: 11px;
    font-weight: 900;
}

.b_project_participation--social:hover,
.b_project_participation--social:focus-visible {
    border-color: var(--project-color, var(--public-accent));
    color: var(--project-color, var(--public-accent));
    outline: none;
}

@media (max-width: 620px) {
    .block__project_story,
    .block__project_opportunities,
    .block__project_latest,
    .block__project_overview,
    .b_project_join--form {
        padding: 18px;
    }

    .b_project_join--title {
        font-size: 20px;
    }
}

/* Public frontend feed theme. */
:root {
    color-scheme: dark;
    --public-bg: #141414;
    --public-surface: #222222;
    --public-surface-soft: #292929;
    --public-surface-tint: #252525;
    --public-text: #d6d7d9;
    --public-muted: #92979d;
    --public-accent: #3f8cff;
    --public-accent-strong: #65a4ff;
    --public-blue: #3f8cff;
    --public-sky: #48a7ff;
    --public-amber: #f1b84b;
    --public-rose: #ff5d73;
    --public-violet: #9c7dff;
    --public-lime: #6ed08b;
    --public-border: rgba(255, 255, 255, 0.07);
    --public-border-strong: rgba(255, 255, 255, 0.12);
    --public-shadow: none;
    --public-shadow-soft: none;
}

body.block__public {
    background: var(--public-bg);
    color: var(--public-text);
    font: 16px/1.45 Arial, Helvetica, sans-serif;
}

body.block__public::selection {
    background: rgba(63, 140, 255, 0.45);
}

.block__public_header {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 76px;
    background: #252628;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.b_public_header--wrapper {
    position: relative;
    width: min(1392px, calc(100% - 40px));
    min-height: 76px;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) auto;
    gap: 32px;
}

.b_public_header--brand {
    width: 92px;
    height: 46px;
    gap: 0;
}

.b_public_header--mark {
    width: 92px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
}

.b_public_header--logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(1);
}

.b_public_header--search {
    width: min(800px, 100%);
    height: 40px;
    align-self: center;
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.block__public_header.__search_open .b_public_header--search {
    background: #1d1d1e;
    border-color: rgba(255, 255, 255, 0.15);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.b_public_header--search_ico {
    color: #9da3aa;
    font-size: 27px;
    line-height: 1;
}

.b_public_header--search_input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #d9dbde;
    font: inherit;
    font-size: 18px;
}

.b_public_header--search_input::placeholder {
    color: #9ca1a7;
}

.b_public_header--actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.b_public_header--search_button {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #f3f4f5;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.b_public_header--search_button:hover,
.block__public_header.__search_open .b_public_header--search_button {
    background: rgba(255, 255, 255, 0.07);
}

.b_public_header--write,
.b_public_header--button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border: 1px solid var(--public-border);
    border-radius: 28px;
    text-decoration: none;
    font-weight: 800;
}

.b_public_header--write {
    border-color: rgba(255, 180, 71, 0.55);
    background: linear-gradient(135deg, #ff9d28 0%, #ff6e35 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(255, 110, 53, 0.22);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.b_public_header--write:hover {
    color: #ffffff;
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 11px 24px rgba(255, 110, 53, 0.32);
}

.b_public_header--write:focus-visible {
    outline: 3px solid rgba(255, 180, 71, 0.45);
    outline-offset: 3px;
}

.b_public_header--write span {
    font-size: 22px;
    line-height: 1;
}

.b_public_header--button {
    min-width: 98px;
    background: var(--public-accent);
    color: #ffffff;
    box-shadow: none;
}

.block__public_layout {
    width: min(1392px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px minmax(0, 800px) 320px;
    align-items: start;
    gap: 32px;
    padding: 38px 0 70px;
}

.b_public_layout--sidebar,
.b_public_layout--rail {
    position: sticky;
    top: 110px;
    min-width: 0;
}

.b_public_layout--sidebar {
    display: grid;
    gap: 12px;
}

.b_public_layout--nav {
    display: grid;
    gap: 4px;
}

.b_public_layout--group {
    display: grid;
    gap: 4px;
}

.b_public_layout--group_title {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 14px;
    border-radius: 13px;
    color: #f1f2f3;
    font-size: 17px;
    font-weight: 800;
}

.b_public_layout--group.__active .b_public_layout--group_title {
    background: #202024;
}

.b_public_layout--subnav {
    display: grid;
    gap: 3px;
    margin-left: 29px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.b_public_layout--link {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 14px;
    border-radius: 13px;
    color: #c8cace;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
}

.b_public_layout--link.__nested {
    min-height: 44px;
    gap: 11px;
    padding: 0 10px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 400;
}

.b_public_layout--link:hover,
.b_public_layout--link.__active {
    background: #242425;
    color: #f1f2f3;
}

.b_public_layout--link.__active::after {
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-radius: 50%;
    background: var(--section-color, var(--public-accent));
    content: '';
}

.b_public_layout--caption {
    display: block;
    margin: 30px 14px 12px;
    color: #7f8489;
    font-size: 14px;
}

.b_public_layout--badge {
    width: 32px;
    height: 32px;
    display: inline-grid;
    flex: 0 0 32px;
    place-items: center;
    border-radius: 50%;
    background: var(--section-bg, rgba(139, 92, 246, 0.18));
    color: var(--section-color, #8b5cf6);
}

.b_public_layout--link.__nested .b_public_layout--badge {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    background: transparent;
    transition: background-color 160ms ease;
}

.b_public_layout--link.__nested:hover .b_public_layout--badge,
.b_public_layout--link.__nested:focus-visible .b_public_layout--badge {
    background: var(--section-bg, rgba(139, 92, 246, 0.18));
}

.b_public_layout--svg {
    width: 18px;
    height: 18px;
}

.b_public_layout--link.__nested .b_public_layout--svg {
    width: 16px;
    height: 16px;
}

.b_public_layout--label {
    min-width: 0;
}

.b_public_layout--content {
    min-width: 0;
}

.block__popular {
    overflow: hidden;
    padding: 20px;
    border-radius: 14px;
    background: var(--public-surface);
}

.b_popular--title {
    margin: 0 0 18px;
    color: #f0f1f2;
    font-size: 17px;
    line-height: 1.2;
}

.b_popular--item {
    display: grid;
    gap: 5px;
    padding: 15px 0;
    border-top: 1px solid var(--public-border);
    color: inherit;
    text-decoration: none;
}

.b_popular--item:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.b_popular--item:last-child {
    padding-bottom: 0;
}

.b_popular--label {
    color: #aeb2b7;
    font-size: 13px;
}

.b_popular--item strong {
    color: #e1e2e4;
    font-size: 15px;
    line-height: 1.38;
}

.b_popular--meta {
    color: #8f959c;
    font-size: 13px;
}

.block__public_section,
.block__item_detail,
.block__projects,
.block__project_detail,
.block__public_home,
.block__public_profile {
    width: 100%;
    margin: 0;
    padding: 0;
}

.b_public_section--hero {
    min-height: 70px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 0 4px 18px;
    border: 0;
    background: transparent;
}

.b_public_section--hero::before,
.b_public_section--hero::after {
    display: none;
}

.b_public_section--eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #7f858b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.b_public_section--title {
    margin: 0;
    color: #e8e9ea;
    font-size: 23px;
    line-height: 1.15;
}

.b_public_section--sort {
    margin-top: 2px;
    color: #b5b8bc;
    font-size: 15px;
}

.block__section_entries {
    margin: 0;
}

.b_section_entries--grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.b_section_entries--item,
.b_section_entries--item.__featured {
    position: relative;
    min-height: 0;
    display: block;
    overflow: hidden;
    padding: 28px 30px 20px;
    border: 0;
    border-radius: 13px;
    background: var(--public-surface);
    box-shadow: none;
}

.b_section_entries--item.__featured::after {
    display: none;
}

.b_section_entries--item::before,
.b_section_entries--item.__featured::before {
    display: none;
}

.b_section_entries--top {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.b_section_entries--mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--project-color, #3f8cff);
    color: #ffffff;
    font-size: 13px;
    font-weight: 1000;
}

.b_section_entries--author {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.b_section_entries--author strong {
    overflow: hidden;
    color: #d6d7d9;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.b_section_entries--author small {
    color: #92969b;
    font-size: 13px;
}

.b_section_entries--subscribe,
.b_item_detail--subscribe {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 9px;
    background: #343435;
    color: #c9cbce;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.b_section_entries--body {
    display: block;
    padding-top: 17px;
}

.b_section_entries--section {
    display: inline-block;
    margin-bottom: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--public-accent-strong);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.b_section_entries--title,
.b_section_entries--item.__featured .b_section_entries--title {
    margin: 0;
    color: #d9dadd;
    font-size: 27px;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.b_section_entries--title a {
    text-decoration: none;
}

.b_section_entries--title a:hover {
    color: #ffffff;
}

.b_section_entries--text,
.b_section_entries--item.__featured .b_section_entries--text {
    margin: 14px 0 0;
    color: #c2c4c7;
    font-size: 17px;
    line-height: 1.55;
}

.b_section_entries--media {
    display: block;
    overflow: hidden;
    margin: 20px -2px 0;
    border-radius: 12px;
    background: #19191a;
}

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

.b_section_entries--reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.b_section_entries--reactions span {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 20px;
    background: #333334;
    color: #adb1b6;
    font-size: 13px;
}

.b_section_entries--reactions span:first-child {
    color: #f1c768;
}

.b_section_entries--meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 18px;
    color: #989da3;
    font-size: 13px;
}

.b_section_entries--meta > span {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.b_section_entries--button {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    margin-left: auto;
    color: #aeb2b7;
    text-decoration: none;
    font-weight: 700;
}

.b_section_entries--button:hover {
    color: #ffffff;
}

.block__section_empty {
    min-height: 270px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
    padding: 40px;
    border: 0;
    border-radius: 13px;
    background: var(--public-surface);
    text-align: center;
}

.b_section_empty--ico {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #2f3031;
    color: #8f959b;
    font-size: 28px;
}

.b_section_empty--title {
    max-width: 620px;
    margin: 0;
    color: #e0e1e3;
    font-size: 21px;
}

.b_section_empty--text {
    max-width: 560px;
    margin: 0;
    color: var(--public-muted);
}

.b_section_empty--button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    padding: 0 18px;
    border-radius: 10px;
    background: var(--public-accent);
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
}

.b_project_detail--crumbs {
    margin-bottom: 18px;
}

.b_project_detail--crumb {
    color: #a9adb2;
    text-decoration: none;
}

.b_item_detail--hero {
    display: block;
    overflow: hidden;
    padding: 28px 30px 20px;
    border: 0;
    border-radius: 13px;
    background: var(--public-surface);
}

.b_item_detail--author {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.b_item_detail--mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--project-color, #3f8cff);
    color: #ffffff;
    font-size: 13px;
    font-weight: 1000;
}

.b_item_detail--identity {
    min-width: 0;
    display: grid;
}

.b_item_detail--identity strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.b_item_detail--identity small {
    color: var(--public-muted);
}

.b_item_detail--copy {
    display: block;
    padding: 22px 0 0;
}

.b_item_detail--eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--public-accent-strong);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.b_item_detail--title {
    margin: 0;
    color: #e3e4e6;
    font-size: 34px;
    line-height: 1.14;
    letter-spacing: -0.025em;
}

.b_item_detail--text {
    margin: 18px 0 0;
    color: #c6c8cb;
    font-size: 18px;
    line-height: 1.65;
}

.b_item_detail--img {
    width: 100%;
    max-height: 560px;
    display: block;
    margin-top: 24px;
    border-radius: 12px;
    object-fit: cover;
}

.b_item_detail--meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.b_item_detail--meta > span {
    display: grid;
    gap: 3px;
    padding: 14px;
    border-radius: 10px;
    background: #29292a;
}

.b_item_detail--meta small {
    color: var(--public-muted);
}

.b_item_detail--meta strong {
    overflow-wrap: anywhere;
}

.b_item_detail--actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.b_project_detail--button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border: 1px solid var(--public-border-strong);
    border-radius: 10px;
    background: #2c2c2d;
    color: #d2d4d7;
    text-decoration: none;
    font-weight: 800;
}

.b_project_detail--button.__primary {
    border-color: var(--public-accent);
    background: var(--public-accent);
    color: #ffffff;
}

.b_item_detail--footer {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--public-border);
    color: var(--public-muted);
    font-size: 13px;
}

.b_item_detail--footer a {
    margin-left: auto;
    color: #c5c8cc;
    text-decoration: none;
}

/* Existing public project and profile screens inherit the same dark shell. */
.b_projects--hero,
.b_public_home--hero,
.b_project_detail--hero,
.block__project_overview,
.block__public_join,
.b_public_profile--hero,
.b_public_profile--section {
    border-color: var(--public-border);
    background: var(--public-surface);
    box-shadow: none;
}

.b_projects--hero,
.b_public_home--hero {
    margin-bottom: 20px;
    padding: 28px;
    border-radius: 13px;
}

.block__projects_filter,
.block__projects_result,
.block__project_card,
.b_projects--stat,
.b_public_home--stat,
.b_public_sections--item,
.b_projects_result--empty,
.b_public_profile--stat,
.b_public_profile--experience_item,
.b_public_profile--project {
    border-color: var(--public-border);
    background: var(--public-surface);
    box-shadow: none;
}

.b_projects_filter--input,
.b_projects_filter--views,
.b_projects_result--table,
.b_projects_result--table th,
.b_projects_result--table td {
    border-color: var(--public-border);
    background: var(--public-surface-soft);
    color: var(--public-text);
}

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

.b_public_home--title,
.b_projects--title,
.b_project_detail--title,
.b_public_profile--title,
.b_public_sections--title,
.b_public_join--title {
    color: #e5e6e8;
}

.b_project_card--body,
.b_public_sections--item,
.block__public_join,
.block__project_overview,
.b_public_profile--section {
    color: var(--public-text);
}

@media (max-width: 1280px) {
    .b_public_header--wrapper,
    .block__public_layout {
        width: min(1180px, calc(100% - 32px));
        grid-template-columns: 210px minmax(0, 1fr) 280px;
        gap: 24px;
    }
}

@media (max-width: 1100px) {
    .b_public_header--wrapper {
        grid-template-columns: 210px minmax(0, 1fr) auto;
    }

    .block__public_layout {
        grid-template-columns: 210px minmax(0, 800px);
        justify-content: center;
    }

    .b_public_layout--rail {
        display: none;
    }
}

@media (max-width: 820px) {
    .b_public_header--wrapper {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 12px;
    }

    .b_public_header--search {
        width: 100%;
    }

    .block__public_layout {
        width: min(800px, calc(100% - 32px));
        grid-template-columns: minmax(0, 1fr);
        padding-top: 24px;
    }

    .b_public_layout--sidebar {
        display: none;
    }
}

@media (max-width: 620px) {
    .block__public_header,
    .b_public_header--wrapper {
        min-height: 66px;
    }

    .b_public_header--wrapper {
        width: calc(100% - 24px);
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding: 0;
    }

    .b_public_header--brand,
    .b_public_header--mark {
        width: 76px;
        height: 38px;
    }

    .b_public_header--search {
        position: absolute;
        inset: 8px 118px 8px 86px;
        width: auto;
        height: 50px;
        padding: 0 14px;
    }

    .block__public_header.__search_open .b_public_header--write {
        display: none;
    }

    .b_public_header--actions {
        gap: 6px;
    }

    .b_public_header--search_button {
        width: 38px;
        height: 38px;
        font-size: 24px;
    }

    .b_public_header--write {
        width: 40px;
        min-height: 40px;
        padding: 0;
        font-size: 0;
    }

    .b_public_header--write span {
        font-size: 20px;
    }

    .b_public_header--button {
        min-width: 76px;
        min-height: 42px;
        padding: 0 14px;
        font-size: 14px;
    }

    .block__public_layout {
        width: calc(100% - 20px);
        padding-top: 16px;
    }

    .b_public_section--hero {
        min-height: 58px;
        padding: 0 2px 14px;
    }

    .b_public_section--title {
        font-size: 20px;
    }

    .b_section_entries--item,
    .b_section_entries--item.__featured,
    .b_item_detail--hero {
        padding: 20px 18px 16px;
    }

    .b_section_entries--top,
    .b_item_detail--author {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .b_section_entries--mark,
    .b_item_detail--mark {
        width: 42px;
        height: 42px;
    }

    .b_section_entries--subscribe,
    .b_item_detail--subscribe {
        min-height: 34px;
        padding: 0 10px;
        font-size: 12px;
    }

    .b_section_entries--title,
    .b_section_entries--item.__featured .b_section_entries--title {
        font-size: 22px;
    }

    .b_section_entries--text,
    .b_section_entries--item.__featured .b_section_entries--text,
    .b_item_detail--text {
        font-size: 16px;
    }

    .b_section_entries--meta,
    .b_item_detail--footer {
        gap: 12px;
    }

    .b_section_entries--meta span:nth-child(2),
    .b_item_detail--footer span:nth-child(2) {
        display: none;
    }

    .b_item_detail--title {
        font-size: 28px;
    }

    .b_item_detail--meta,
    .b_public_sections--grid,
    .b_projects_result--grid {
        grid-template-columns: 1fr;
    }

    .block__section_empty {
        min-height: 240px;
        padding: 28px 20px;
    }
}

@layer legacy {
* {
    box-sizing: border-box;
}

body.block__public {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0, rgba(238, 243, 248, 0.96) 460px, rgba(247, 249, 251, 0.98) 100%),
        var(--public-bg);
    color: var(--public-text);
    font: 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

.block__public_header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid var(--public-border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
    backdrop-filter: blur(18px);
}

.b_public_header--wrapper {
    width: min(1180px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.b_public_header--brand,
.b_public_header--link,
.b_public_header--button {
    text-decoration: none;
}

.b_public_header--brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0;
}

.b_public_header--mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--public-accent), var(--public-blue));
    color: #ffffff;
    font-size: 13px;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.24);
}

.b_public_header--nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.b_public_header--nav::-webkit-scrollbar {
    display: none;
}

.b_public_header--link {
    flex: 0 0 auto;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--public-muted);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.b_public_header--link.__active,
.b_public_header--link:hover {
    background: var(--public-surface-tint);
    color: var(--public-accent-strong);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.b_public_header--button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-radius: 8px;
    background: var(--public-text);
    color: #ffffff;
    font-weight: 850;
    box-shadow: 0 12px 28px rgba(16, 24, 39, 0.16);
}

.block__projects {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 56px;
}

.b_projects--hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 24px;
    align-items: end;
    padding: 28px 0 22px;
}

.b_projects--eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--public-accent-strong);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.b_projects--title {
    max-width: 760px;
    margin: 0;
    font-size: 44px;
    line-height: 1.06;
    letter-spacing: 0;
}

.b_projects--text {
    max-width: 720px;
    margin: 14px 0 0;
    color: var(--public-muted);
    font-size: 17px;
}

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

.b_projects--stat {
    min-height: 86px;
    display: grid;
    align-content: center;
    gap: 2px;
    padding: 14px;
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: var(--public-surface);
}

.b_projects--stat strong {
    font-size: 26px;
    line-height: 1;
}

.b_projects--stat em {
    color: var(--public-muted);
    font-style: normal;
}

.block__projects_filter {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px) auto auto auto;
    align-items: end;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: var(--public-surface);
    box-shadow: var(--public-shadow);
}

.b_projects_filter--field {
    display: grid;
    gap: 6px;
}

.b_projects_filter--label {
    color: var(--public-muted);
    font-size: 13px;
    font-weight: 700;
}

.b_projects_filter--input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--public-text);
    font: inherit;
}

.b_projects_filter--views {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: #f9fbfd;
}

.b_projects_filter--view,
.b_projects_filter--button,
.b_projects_filter--reset {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 8px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.b_projects_filter--view {
    height: 32px;
    color: var(--public-muted);
}

.b_projects_filter--view.__active {
    background: var(--public-surface);
    color: var(--public-accent-strong);
    box-shadow: 0 2px 8px rgba(24, 33, 47, 0.08);
}

.b_projects_filter--button {
    border: 0;
    background: var(--public-accent);
    color: #ffffff;
    cursor: pointer;
}

.b_projects_filter--reset {
    color: var(--public-muted);
}

.block__projects_result {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.b_projects_result--summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--public-muted);
}

.b_projects_result--summary span {
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--public-surface-soft);
}

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

.block__project_card {
    min-width: 0;
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: var(--public-surface);
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(24, 33, 47, 0.06);
}

.b_project_card--link {
    display: grid;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}

.b_project_card--preview {
    min-height: 132px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--project-color, var(--public-accent)) 16%, #ffffff);
    color: var(--project-color, var(--public-accent));
}

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

.b_project_card--mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #ffffff;
    font-size: 20px;
    font-weight: 900;
}

.b_project_card--body {
    display: grid;
    gap: 9px;
    padding: 15px;
}

.b_project_card--category {
    width: max-content;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--public-surface-soft);
    color: var(--public-accent-strong);
    font-size: 12px;
    font-weight: 800;
}

.b_project_card--title {
    margin: 0;
    font-size: 19px;
    line-height: 1.2;
}

.b_project_card--text {
    min-height: 45px;
    margin: 0;
    color: var(--public-muted);
}

.b_project_card--meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--public-muted);
    font-size: 13px;
}

.b_project_card--meta span {
    padding: 5px 7px;
    border-radius: 8px;
    background: #f6f8fb;
}

.b_projects_result--table_wrap {
    overflow-x: auto;
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: var(--public-surface);
}

.b_projects_result--table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.b_projects_result--table th,
.b_projects_result--table td {
    padding: 12px;
    border-bottom: 1px solid var(--public-border);
    text-align: left;
    vertical-align: top;
}

.b_projects_result--table th {
    color: var(--public-muted);
    font-size: 13px;
}

.b_projects_result--table_link {
    color: var(--public-accent-strong);
    font-weight: 800;
    text-decoration: none;
}

.b_projects_result--more {
    display: flex;
    justify-content: center;
}

.b_projects_result--more_button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid var(--public-accent);
    border-radius: 8px;
    background: var(--public-accent);
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.b_projects_result--more_button:hover,
.b_projects_result--more_button:focus-visible {
    background: var(--public-accent-strong);
}

.b_projects_result--pager {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.b_projects_result--page {
    min-width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: var(--public-surface);
    color: var(--public-text);
    font-weight: 750;
    text-decoration: none;
}

.b_projects_result--page.__active {
    background: var(--public-accent);
    color: #ffffff;
}

.b_projects_result--empty {
    padding: 24px;
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: var(--public-surface);
    color: var(--public-muted);
}

.block__public_home,
.block__project_detail,
.block__public_section,
.block__item_detail {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 64px;
}

.b_public_home--hero,
.b_project_detail--hero,
.b_public_section--hero,
.b_item_detail--hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: 32px;
    align-items: center;
    padding: 52px 0 42px;
}

.b_public_section--hero {
    position: relative;
    min-height: 264px;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--public-border);
}

.b_public_section--hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.95), transparent 74%);
}

.b_public_section--copy {
    max-width: 780px;
}

.b_public_home--eyebrow,
.b_public_sections--eyebrow,
.b_project_detail--category,
.b_public_section--eyebrow,
.b_item_detail--eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--public-accent-strong);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.b_public_home--title,
.b_project_detail--title,
.b_public_section--title,
.b_item_detail--title {
    margin: 0;
    font-size: 56px;
    line-height: 1.04;
    letter-spacing: 0;
}

.b_public_home--text,
.b_project_detail--text,
.b_public_section--text,
.b_item_detail--text {
    max-width: 720px;
    margin: 14px 0 0;
    color: var(--public-muted);
    font-size: 18px;
}

.b_public_home--actions,
.b_project_detail--actions,
.b_item_detail--actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.b_public_home--button,
.b_project_detail--button,
.b_section_empty--button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: var(--public-surface);
    color: var(--public-text);
    font-weight: 800;
    text-decoration: none;
}

.b_public_home--button.__primary,
.b_project_detail--button.__primary,
.b_section_empty--button {
    border-color: var(--public-accent);
    background: var(--public-accent);
    color: #ffffff;
}

.b_public_home--trail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.b_public_home--trail a {
    padding: 7px 10px;
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--public-muted);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.b_public_home--trail a:hover,
.b_public_home--trail a:focus-visible {
    border-color: color-mix(in srgb, var(--public-blue) 40%, var(--public-border));
    color: var(--public-blue);
    outline: none;
}

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

.b_public_home--stat,
.b_project_overview--stat {
    min-height: 92px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: var(--public-surface);
}

.b_public_section--panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-self: stretch;
    align-content: end;
}

.b_public_section--stat {
    min-height: 118px;
    display: grid;
    align-content: end;
    gap: 8px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 250, 0.92)),
        var(--public-surface);
    box-shadow: var(--public-shadow-soft);
}

.b_public_section--stat:nth-child(2) {
    color: var(--public-blue);
}

.b_public_section--stat:nth-child(3) {
    color: var(--public-amber);
}

.b_public_home--stat:nth-child(2),
.b_public_home--stat:nth-child(5),
.b_public_sections--item:nth-child(3n + 2) em {
    color: var(--public-blue);
}

.b_public_home--stat:nth-child(3),
.b_public_sections--item:nth-child(3n) em {
    color: var(--public-amber);
}

.b_public_home--stat:nth-child(4),
.b_public_sections--item:nth-child(4n) em {
    color: var(--public-rose);
}

.b_public_home--stat strong,
.b_public_section--stat strong,
.b_project_overview--stat strong {
    font-size: 30px;
    line-height: 1;
}

.b_public_home--stat em,
.b_public_section--stat em,
.b_project_overview--stat em {
    color: var(--public-muted);
    font-style: normal;
}

.block__public_sections,
.block__public_featured,
.block__project_sections,
.block__section_entries,
.block__section_empty {
    margin-top: 28px;
}

.b_public_sections--head {
    margin-bottom: 14px;
}

.b_public_sections--title {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
}

.b_public_sections--text {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--public-muted);
    font-size: 16px;
}

.b_public_sections--grid,
.b_section_entries--grid {
    display: grid;
    gap: 14px;
}

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

.b_section_entries--grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr));
}

.b_public_sections--item,
.b_section_entries--item,
.block__section_empty {
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: var(--public-surface);
    box-shadow: 0 8px 24px rgba(24, 33, 47, 0.05);
}

.b_public_sections--item {
    display: grid;
    gap: 8px;
    min-height: 176px;
    padding: 16px;
    text-decoration: none;
}

.b_public_sections--item:hover,
.b_public_sections--item:focus-visible,
.block__project_card:hover,
.block__project_card:focus-within {
    border-color: color-mix(in srgb, var(--public-accent) 45%, var(--public-border));
    box-shadow: 0 16px 36px rgba(24, 33, 47, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.b_public_sections--item,
.block__project_card {
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.b_public_sections--item small {
    width: max-content;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: 8px;
    background: #f5f8fb;
    color: var(--public-muted);
    font-size: 12px;
    font-weight: 850;
}

.b_public_sections--item strong {
    font-size: 18px;
}

.b_public_sections--item span {
    color: var(--public-muted);
}

.b_public_sections--item em {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f2f6f9;
    color: var(--public-accent-strong);
    font-style: normal;
    font-weight: 900;
}

.block__public_join {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: 34px;
    padding: 28px 0 0;
    border-top: 1px solid var(--public-border);
}

.b_public_join--title {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
}

.b_public_join--text {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--public-muted);
    font-size: 16px;
}

.b_public_join--actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.b_project_detail--crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--public-muted);
}

.b_project_detail--crumb {
    text-decoration: none;
}

.b_project_detail--preview {
    min-height: 280px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: color-mix(in srgb, var(--project-color, var(--public-accent)) 18%, #ffffff);
}

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

.b_project_detail--mark {
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #ffffff;
    color: var(--project-color, var(--public-accent));
    font-size: 32px;
    font-weight: 900;
}

.b_item_detail--mark {
    width: 120px;
    height: 120px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: color-mix(in srgb, var(--project-color, var(--public-accent)) 18%, #ffffff);
    color: var(--project-color, var(--public-accent));
    font-size: 34px;
    font-weight: 900;
}

.block__item_meta {
    margin-top: 12px;
}

.block__project_overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 16px;
}

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

.b_project_overview--meta {
    display: grid;
    gap: 8px;
}

.b_project_overview--meta div {
    display: grid;
    gap: 3px;
    padding: 12px;
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: var(--public-surface);
}

.b_project_overview--meta span {
    color: var(--public-muted);
    font-size: 13px;
}

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

.b_section_entries--eyebrow {
    display: inline-flex;
    color: var(--public-accent-strong);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.b_section_entries--heading {
    width: 100%;
    margin: 0;
    font-size: 26px;
    line-height: 1.16;
}

.b_section_entries--item {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    min-height: 236px;
    padding: 22px;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.b_section_entries--item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--project-color, var(--public-accent));
}

.b_section_entries--item.__featured {
    grid-column: 1 / -1;
    min-height: 286px;
    padding: 28px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--project-color, var(--public-accent)) 10%, #ffffff), #ffffff 48%),
        var(--public-surface);
}

.b_section_entries--item.__featured::after {
    content: "01";
    position: absolute;
    right: 28px;
    bottom: 18px;
    color: rgba(16, 24, 39, 0.06);
    font-size: 124px;
    font-weight: 950;
    line-height: 0.82;
    pointer-events: none;
}

.b_section_entries--item:hover,
.b_section_entries--item:focus-within {
    border-color: color-mix(in srgb, var(--project-color, var(--public-accent)) 44%, var(--public-border));
    box-shadow: 0 20px 44px rgba(16, 24, 39, 0.1);
    transform: translateY(-2px);
}

.b_section_entries--aside {
    display: grid;
    align-content: space-between;
    justify-items: start;
    gap: 18px;
}

.b_section_entries--mark {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--project-color, var(--public-accent)) 22%, var(--public-border));
    border-radius: 8px;
    background: color-mix(in srgb, var(--project-color, var(--public-accent)) 14%, #ffffff);
    color: var(--project-color, var(--public-accent));
    font-weight: 950;
}

.b_section_entries--index {
    color: rgba(16, 24, 39, 0.22);
    font-size: 32px;
    font-weight: 950;
    line-height: 1;
}

.b_section_entries--body {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 10px;
}

.b_section_entries--top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.b_section_entries--label,
.b_section_entries--section {
    width: max-content;
    max-width: 100%;
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 850;
}

.b_section_entries--label {
    background: color-mix(in srgb, var(--project-color, var(--public-accent)) 12%, #ffffff);
    color: var(--project-color, var(--public-accent));
}

.b_section_entries--section {
    background: #f3f6f9;
    color: var(--public-muted);
}

.b_section_entries--title {
    margin: 0;
    font-size: 24px;
    line-height: 1.14;
    letter-spacing: 0;
}

.b_section_entries--item.__featured .b_section_entries--title {
    max-width: 850px;
    font-size: 34px;
    line-height: 1.08;
}

.b_section_entries--title a {
    text-decoration: none;
}

.b_section_entries--title a:hover,
.b_section_entries--title a:focus-visible {
    color: var(--project-color, var(--public-accent));
    outline: none;
}

.b_section_entries--text {
    max-width: 760px;
    margin: 0;
    color: var(--public-muted);
    font-size: 16px;
}

.b_section_entries--item.__featured .b_section_entries--text {
    font-size: 18px;
}

.b_section_entries--meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 2px;
    color: var(--public-muted);
    font-size: 13px;
}

.b_section_entries--meta span {
    max-width: 100%;
    padding: 6px 9px;
    border: 1px solid rgba(16, 24, 39, 0.08);
    border-radius: 8px;
    background: #f7f9fb;
}

.b_section_entries--button {
    width: max-content;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    padding: 0 14px;
    border-radius: 8px;
    background: var(--public-text);
    color: #ffffff;
    font-weight: 850;
    text-decoration: none;
}

.b_section_entries--button:hover,
.b_section_entries--button:focus-visible {
    background: var(--project-color, var(--public-accent));
    outline: none;
}

.block__section_empty {
    display: grid;
    justify-items: start;
    gap: 14px;
    padding: 22px;
}

.b_section_empty--title {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
}

.block__public_profile {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 30px 0 64px;
}

.b_public_profile--crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--public-muted);
    font-size: 13px;
}

.b_public_profile--crumb {
    text-decoration: none;
}

.b_public_profile--crumb + .b_public_profile--crumb::before {
    margin-right: 8px;
    color: var(--public-border-strong);
    content: "/";
}

.b_public_profile--hero {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) auto;
    gap: 28px;
    align-items: start;
    padding: 32px;
    border: 1px solid var(--public-border);
    border-radius: 14px;
    background:
        radial-gradient(circle at 0 0, color-mix(in srgb, var(--profile-accent) 12%, transparent), transparent 36%),
        var(--public-surface);
    box-shadow: var(--public-shadow);
}

.b_public_profile--avatar {
    width: 132px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 5px solid rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    background: linear-gradient(145deg, var(--profile-accent), color-mix(in srgb, var(--profile-accent) 54%, var(--public-blue)));
    color: #ffffff;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -0.05em;
    box-shadow: 0 18px 34px color-mix(in srgb, var(--profile-accent) 24%, transparent);
}

.b_public_profile--intro {
    min-width: 0;
}

.b_public_profile--eyebrow,
.b_public_profile--section_eyebrow {
    display: inline-flex;
    color: var(--profile-accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.b_public_profile--title {
    margin: 5px 0 8px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.b_public_profile--identity,
.b_public_profile--socials,
.b_public_profile--experience_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.b_public_profile--identity span,
.b_public_profile--experience_meta span {
    padding: 5px 9px;
    border: 1px solid var(--public-border);
    border-radius: 999px;
    background: var(--public-surface-soft);
    color: var(--public-muted);
    font-size: 13px;
    font-weight: 700;
}

.b_public_profile--about {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--public-muted);
    font-size: 16px;
}

.b_public_profile--socials {
    margin-top: 20px;
}

.b_public_profile--social {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 11px;
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: var(--public-surface);
    color: var(--public-text);
    font-size: 13px;
    text-decoration: none;
}

.b_public_profile--social span {
    color: var(--public-muted);
}

.b_public_profile--social:hover,
.b_public_profile--social:focus-visible {
    border-color: var(--profile-accent);
    color: var(--profile-accent);
    outline: none;
}

.b_public_profile--projects_link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-radius: 8px;
    background: var(--public-text);
    color: #ffffff;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.b_public_profile--projects_link:hover,
.b_public_profile--projects_link:focus-visible {
    background: var(--profile-accent);
    outline: none;
}

.b_public_profile--stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.b_public_profile--stat {
    min-height: 104px;
    display: grid;
    align-content: center;
    gap: 3px;
    padding: 18px;
    border: 1px solid var(--public-border);
    border-top: 3px solid var(--profile-accent);
    border-radius: 10px;
    background: var(--public-surface);
    box-shadow: var(--public-shadow-soft);
}

.b_public_profile--stat strong {
    font-size: 30px;
    line-height: 1;
}

.b_public_profile--stat em {
    color: var(--public-muted);
    font-size: 13px;
    font-style: normal;
}

.b_public_profile--section {
    margin-top: 22px;
    padding: 28px;
    border: 1px solid var(--public-border);
    border-radius: 12px;
    background: var(--public-surface);
    box-shadow: var(--public-shadow-soft);
    scroll-margin-top: 94px;
}

.b_public_profile--section_head {
    margin-bottom: 20px;
}

.b_public_profile--section_title {
    margin: 4px 0 0;
    font-size: 28px;
    line-height: 1.2;
}

.b_public_profile--experience {
    display: grid;
    gap: 0;
}

.b_public_profile--experience_item {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 16px;
    padding-bottom: 24px;
}

.b_public_profile--experience_item:last-child {
    padding-bottom: 0;
}

.b_public_profile--experience_item:not(:last-child)::before {
    position: absolute;
    top: 15px;
    bottom: -1px;
    left: 7px;
    width: 2px;
    background: color-mix(in srgb, var(--profile-accent) 28%, transparent);
    content: "";
}

.b_public_profile--experience_marker {
    position: relative;
    z-index: 1;
    width: 16px;
    height: 16px;
    margin-top: 4px;
    border: 4px solid color-mix(in srgb, var(--profile-accent) 18%, #ffffff);
    border-radius: 50%;
    background: var(--profile-accent);
}

.b_public_profile--experience_body {
    min-width: 0;
}

.b_public_profile--experience_project {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--public-text);
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
}

a.b_public_profile--experience_project:hover,
a.b_public_profile--experience_project:focus-visible {
    color: var(--profile-accent);
    outline: none;
}

.b_public_profile--experience_text {
    max-width: 800px;
    margin: 10px 0 0;
    color: var(--public-muted);
}

.b_public_profile--projects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.b_public_profile--project {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--public-border);
    border-radius: 10px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--project-color) 5%, #ffffff), #ffffff 58%);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.b_public_profile--project:hover,
.b_public_profile--project:focus-visible {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--project-color) 46%, var(--public-border));
    box-shadow: var(--public-shadow-soft);
    outline: none;
}

.b_public_profile--project_icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--project-color);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
}

.b_public_profile--project_body {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.b_public_profile--project_body small {
    color: var(--project-color);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.b_public_profile--project_body strong {
    overflow-wrap: anywhere;
    font-size: 18px;
}

.b_public_profile--project_body > span {
    color: var(--public-muted);
}

.b_public_profile--project_body em {
    margin-top: 5px;
    color: var(--public-muted);
    font-size: 12px;
    font-style: normal;
}

.b_public_profile--project_arrow {
    color: var(--project-color);
    font-size: 22px;
    font-weight: 900;
}

.b_public_profile--empty {
    margin: 0;
    padding: 18px;
    border: 1px dashed var(--public-border-strong);
    border-radius: 8px;
    background: var(--public-surface-soft);
    color: var(--public-muted);
}

@media (max-width: 900px) {
    .b_public_header--wrapper,
    .b_projects--hero,
    .block__projects_filter,
    .b_public_home--hero,
    .b_project_detail--hero,
    .b_public_section--hero,
    .b_item_detail--hero,
    .block__project_overview,
    .block__public_join {
        grid-template-columns: 1fr;
    }

    .b_public_header--nav {
        justify-content: start;
        overflow-x: auto;
    }

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

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

    .b_public_section--hero {
        min-height: 0;
    }

    .b_public_join--actions {
        justify-content: flex-start;
    }

    .b_public_profile--hero {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .b_public_profile--avatar {
        width: 112px;
        border-radius: 24px;
        font-size: 32px;
    }

    .b_public_profile--projects_link {
        grid-column: 2;
        justify-self: start;
    }

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

    .b_public_profile--projects {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .b_public_header--wrapper {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        padding: 10px 0;
    }

    .b_public_header--nav {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .b_public_header--brand {
        grid-column: 1;
        grid-row: 1;
    }

    .b_public_header--link {
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    .b_public_header--button {
        grid-column: 2;
        grid-row: 1;
        width: auto;
        text-align: center;
    }

    .b_projects--title,
    .b_public_home--title,
    .b_project_detail--title,
    .b_public_section--title {
        font-size: 32px;
    }

    .b_public_section--hero {
        padding: 34px 0 30px;
    }

    .b_projects--hero_stats,
    .b_projects_result--grid,
    .b_public_home--stats,
    .b_public_sections--grid,
    .b_section_entries--grid,
    .b_project_overview--grid {
        grid-template-columns: 1fr;
    }

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

    .b_public_section--stat {
        min-height: 86px;
        padding: 12px;
    }

    .b_public_section--stat strong {
        font-size: 26px;
    }

    .b_section_entries--item,
    .b_section_entries--item.__featured {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 18px;
    }

    .b_section_entries--item.__featured::after {
        display: none;
    }

    .b_section_entries--aside {
        grid-template-columns: auto 1fr;
        align-items: center;
        align-content: center;
    }

    .b_section_entries--index {
        justify-self: end;
        font-size: 24px;
    }

    .b_section_entries--title,
    .b_section_entries--item.__featured .b_section_entries--title {
        font-size: 24px;
        line-height: 1.14;
    }

    .b_section_entries--text,
    .b_section_entries--item.__featured .b_section_entries--text {
        font-size: 15px;
    }

    .block__public_profile {
        padding-top: 22px;
    }

    .b_public_profile--hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 22px;
    }

    .b_public_profile--avatar {
        width: 92px;
        border-radius: 20px;
        font-size: 28px;
    }

    .b_public_profile--title {
        font-size: 34px;
    }

    .b_public_profile--projects_link {
        grid-column: 1;
        width: 100%;
    }

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

    .b_public_profile--stat {
        min-height: 92px;
        padding: 14px;
    }

    .b_public_profile--section {
        padding: 20px;
    }

    .b_public_profile--section_title {
        font-size: 24px;
    }

    .b_public_profile--project {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 15px;
    }

    .b_public_profile--project_icon {
        width: 42px;
        height: 42px;
    }

    .b_public_profile--project_arrow {
        display: none;
    }
}
}

/* Cascade corrections for the project showcase after legacy responsive rules. */
.b_project_detail--hero {
    display: block;
    padding: 16px 0 0;
}

.b_project_detail--heading {
    margin-bottom: 14px;
}

.b_project_detail--preview {
    width: 100%;
    height: clamp(180px, 22vw, 260px);
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 14px;
}

.b_project_detail--img {
    display: block;
    object-position: center;
}

.b_project_detail--copy {
    max-width: 760px;
    padding-top: 16px;
}

.b_project_detail--copy .b_project_detail--text {
    max-width: none;
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    min-width: 0;
    overflow-wrap: anywhere;
}

.b_project_detail--text > :first-child {
    margin-top: 0;
}

.b_project_detail--text > :last-child {
    margin-bottom: 0;
}

.b_project_detail--text p,
.b_project_detail--text ul,
.b_project_detail--text ol,
.b_project_detail--text blockquote,
.b_project_detail--text pre {
    margin: 0 0 14px;
}

.b_project_detail--text h2,
.b_project_detail--text h3,
.b_project_detail--text h4 {
    margin: 22px 0 10px;
    color: var(--public-text);
    line-height: 1.3;
}

.b_project_detail--text h2 {
    font-size: 24px;
}

.b_project_detail--text h3 {
    font-size: 20px;
}

.b_project_detail--text h4 {
    font-size: 17px;
}

.b_project_detail--text ul,
.b_project_detail--text ol {
    padding-left: 24px;
}

.b_project_detail--text li + li {
    margin-top: 6px;
}

.b_project_detail--text a {
    color: var(--public-blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.b_project_detail--text a:hover,
.b_project_detail--text a:focus-visible {
    color: color-mix(in srgb, var(--public-blue) 78%, #ffffff);
    outline: none;
}

.b_project_detail--text blockquote {
    padding: 10px 14px;
    border-left: 3px solid var(--project-color, var(--public-accent));
    background: var(--public-surface-soft);
    color: var(--public-muted);
}

.b_project_detail--text pre {
    max-width: 100%;
    padding: 14px;
    overflow-x: auto;
    overflow-wrap: normal;
    border: 1px solid var(--public-border);
    border-radius: 8px;
    background: #17191b;
    font-size: 14px;
    line-height: 1.55;
    white-space: pre;
}

.b_project_detail--text code {
    padding: 2px 5px;
    border-radius: 4px;
    background: #17191b;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 0.9em;
}

.b_project_detail--text pre code {
    padding: 0;
    background: transparent;
}

.block__project_overview {
    display: block;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 18px;
    padding: 0;
    border: 0;
    background: transparent;
}

.b_project_overview--grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
}

.b_project_overview--stat {
    min-height: 76px;
    align-content: center;
    gap: 2px;
    padding: 12px 14px 12px 42px;
}

.b_project_overview--ico {
    top: 14px;
    left: 14px;
    font-size: 18px;
}

.b_project_overview--stat strong {
    font-size: 26px;
    line-height: 1.05;
}

.b_project_overview--stat em {
    font-size: 13px;
    line-height: 1.25;
}

@media (max-width: 620px) {
    .b_project_detail--preview {
        height: clamp(160px, 42vw, 220px);
        min-height: 0;
        aspect-ratio: auto;
    }

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

@media (max-width: 1100px) {
    .b_public_layout--rail {
        position: static;
        display: block;
        grid-column: 2;
    }
}

@media (max-width: 820px) {
    .b_public_layout--sidebar {
        position: static;
        display: grid;
    }

    .b_public_layout--rail {
        grid-column: 1;
    }
}
