html[data-visual-style="backstage"] .entity-profile .profile-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

html[data-visual-style="backstage"] .entity-profile .profile-social-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 8px;
    border: 1px solid var(--bh-line);
    border-radius: var(--bh-radius-control);
    background: color-mix(in srgb, var(--bh-paper-raised) 88%, transparent);
    color: var(--bh-ink);
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

html[data-visual-style="backstage"] .entity-profile .profile-social-link:hover {
    border-color: var(--bh-signal);
    background: color-mix(in srgb, var(--bh-signal) 9%, var(--bh-paper-raised));
    color: var(--bh-signal-strong);
}

html[data-visual-style="backstage"] .entity-profile .profile-social-link img,
html[data-visual-style="backstage"] .entity-profile .public-live-channel-identity > img {
    display: block;
    flex: 0 0 auto;
    border-radius: 50%;
}

html[data-visual-style="backstage"] .entity-profile .public-live-channel-identity {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 10px;
}

html[data-visual-style="backstage"] .entity-profile .public-live-channel-identity .public-live-channel-heading {
    min-width: 0;
}

html[data-visual-style="backstage"] .entity-profile .profile-actions .profile-primary-action {
    min-height: 44px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

html[data-visual-style="backstage"] .entity-profile .profile-follow-login-action {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding-block: 7px;
}

html[data-visual-style="backstage"] .entity-profile .profile-overview > p {
    max-width: 76ch;
}

html[data-visual-style="backstage"] .entity-profile .profile-container-nav a,
html[data-visual-style="backstage"] .entity-profile .profile-container-nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
    text-align: center;
}

html[data-visual-style="backstage"] .entity-profile .inline-manage-link {
    min-height: 44px;
}

html[data-visual-style="backstage"] .entity-profile .profile-access-request,
html[data-visual-style="backstage"] .entity-profile .profile-access-request-state {
    flex: 1 1 100%;
    max-width: 620px;
    border: 1px solid var(--bh-line);
    border-radius: var(--bh-radius-control);
    background: color-mix(in srgb, var(--bh-paper-raised) 92%, transparent);
}

html[data-visual-style="backstage"] .entity-profile .profile-access-request > summary {
    display: flex;
    min-height: 44px;
    cursor: pointer;
    align-items: center;
    padding: 8px 13px;
    color: var(--bh-signal-strong);
    font-weight: 800;
    list-style: none;
}

html[data-visual-style="backstage"] .entity-profile .profile-access-request > summary::-webkit-details-marker {
    display: none;
}

html[data-visual-style="backstage"] .entity-profile .profile-access-request > summary::after {
    content: "+";
    margin-left: auto;
    padding-left: 12px;
    font-family: Consolas, "Courier New", monospace;
}

html[data-visual-style="backstage"] .entity-profile .profile-access-request[open] > summary::after {
    content: "−";
}

html[data-visual-style="backstage"] .entity-profile .profile-access-request form {
    display: grid;
    gap: 10px;
    padding: 0 13px 13px;
}

html[data-visual-style="backstage"] .entity-profile .profile-access-request label {
    font-weight: 800;
}

html[data-visual-style="backstage"] .entity-profile .profile-access-request label span,
html[data-visual-style="backstage"] .entity-profile .profile-access-request p,
html[data-visual-style="backstage"] .entity-profile .profile-access-request-state span {
    color: var(--bh-ink-muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

html[data-visual-style="backstage"] .entity-profile .profile-access-request textarea {
    min-height: 92px;
    resize: vertical;
}

html[data-visual-style="backstage"] .entity-profile .profile-access-request button {
    justify-self: start;
    min-height: 44px;
}

html[data-visual-style="backstage"] .entity-profile .profile-access-request-state {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 4px 4px 13px;
}

@media (max-width: 560px) {
    html[data-visual-style="backstage"] .entity-profile .profile-access-request-state {
        align-items: stretch;
        flex-direction: column;
        padding: 10px;
    }

    html[data-visual-style="backstage"] .entity-profile .profile-access-request-state button {
        width: 100%;
        min-height: 44px;
    }
}

html[data-visual-style="backstage"] .entity-profile .profile-timeline-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    gap: 0;
    max-width: 960px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

html[data-visual-style="backstage"] .entity-profile .profile-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 84px 28px minmax(0, 1fr);
    min-height: 96px;
    min-width: 0;
}

html[data-visual-style="backstage"] .entity-profile .profile-timeline-item::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 97px;
    width: 2px;
    background: var(--bh-line);
}

html[data-visual-style="backstage"] .entity-profile .profile-timeline-item:first-child::before {
    top: 11px;
}

html[data-visual-style="backstage"] .entity-profile .profile-timeline-item:last-child::before {
    bottom: calc(100% - 11px);
}

html[data-visual-style="backstage"] .entity-profile .profile-timeline-year {
    padding: 2px 12px 0 0;
    color: var(--bh-signal-strong);
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-align: right;
}

html[data-visual-style="backstage"] .entity-profile .profile-timeline-marker {
    position: relative;
    z-index: 1;
    display: block;
    width: 14px;
    height: 14px;
    margin: 2px auto 0;
    border: 3px solid var(--bh-paper);
    border-radius: 50%;
    background: var(--bh-signal);
    box-shadow: 0 0 0 1px var(--bh-signal-strong);
}

html[data-visual-style="backstage"] .entity-profile .profile-timeline-item.is-founded .profile-timeline-marker {
    width: 18px;
    height: 18px;
    margin-top: 0;
    background: var(--bh-hot);
    box-shadow: 0 0 0 1px var(--bh-hot);
}

html[data-visual-style="backstage"] .entity-profile .profile-timeline-copy {
    min-width: 0;
    padding: 0 0 28px 14px;
}

html[data-visual-style="backstage"] .entity-profile .profile-timeline-copy h3,
html[data-visual-style="backstage"] .entity-profile .profile-timeline-copy p {
    margin: 0;
}

html[data-visual-style="backstage"] .entity-profile .profile-timeline-copy p {
    margin-top: 6px;
    color: var(--bh-ink-soft);
    line-height: 1.55;
}

html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-create {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    gap: 24px;
    align-items: start;
}

html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-create > div > p:last-child,
html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-guidance p:last-child {
    margin-bottom: 0;
}

html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-form-grid {
    grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr);
}

html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-editor-list {
    display: grid;
    gap: 14px;
}

html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-editor-item {
    margin: 0;
}

html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-editor-item.is-hidden {
    border-style: dashed;
}

html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-editor-item > header,
html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-editor-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-editor-item > header h3 {
    margin-bottom: 0;
}

html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-editor-actions {
    justify-content: flex-end;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--bh-line);
}

html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-fixed-title {
    display: grid;
    align-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--bh-line);
    border-radius: var(--bh-radius-control);
    background: var(--bh-paper-raised);
}

html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-fixed-title span {
    color: var(--bh-ink-soft);
    font-size: 0.78rem;
}

html[data-visual-style="backstage"] .entity-profile .profile-featured-date {
    display: block;
    margin-top: 10px;
    color: var(--bh-ink-soft);
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

html[data-visual-style="backstage"] .entity-profile .profile-event-history-list {
    max-width: 960px;
    margin: 16px 0 0;
    padding: 0;
    border-top: 1px solid var(--bh-line);
    list-style: none;
}

html[data-visual-style="backstage"] .entity-profile .profile-event-history-item {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    min-width: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--bh-line);
}

html[data-visual-style="backstage"] .entity-profile .profile-event-history-item > time {
    padding-top: 4px;
    color: var(--bh-signal-strong);
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

html[data-visual-style="backstage"] .entity-profile .profile-event-history-item > div {
    min-width: 0;
}

html[data-visual-style="backstage"] .entity-profile .profile-event-history-item h3,
html[data-visual-style="backstage"] .entity-profile .profile-event-history-item p {
    margin: 0;
}

html[data-visual-style="backstage"] .entity-profile .profile-event-history-item h3 a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--bh-ink);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

html[data-visual-style="backstage"] .entity-profile .profile-event-history-item h3 a:hover,
html[data-visual-style="backstage"] .entity-profile .profile-event-history-item h3 a:focus-visible {
    color: var(--bh-signal-strong);
}

html[data-visual-style="backstage"] .entity-profile .profile-event-history-item .eyebrow {
    color: var(--bh-ink-soft);
}

html[data-visual-style="backstage"] .entity-profile .profile-event-history-item h3 + p {
    color: var(--bh-ink-soft);
}

@media (min-width: 900px) {
    html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-editor-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

@media (max-width: 620px) {
    html[data-visual-style="backstage"] .entity-profile .profile-social-links {
        display: flex;
    }

    html[data-visual-style="backstage"] .entity-profile .profile-social-link {
        width: 44px;
        padding: 7px;
        justify-content: center;
    }

    html[data-visual-style="backstage"] .entity-profile .profile-social-link span {
        display: none;
    }

    html[data-visual-style="backstage"] .entity-profile .profile-container-nav::before {
        position: static;
    }

    html[data-visual-style="backstage"] .entity-profile .profile-container-nav {
        scroll-padding-inline: 12px;
    }

    html[data-visual-style="backstage"] .entity-profile .profile-timeline-list {
        max-width: none;
    }

    html[data-visual-style="backstage"] .entity-profile .profile-timeline-item {
        grid-template-columns: 56px 22px minmax(0, 1fr);
        grid-template-rows: auto;
        min-height: 92px;
    }

    html[data-visual-style="backstage"] .entity-profile .profile-timeline-item::before {
        left: 66px;
    }

    html[data-visual-style="backstage"] .entity-profile .profile-timeline-year {
        padding: 2px 8px 0 0;
        text-align: right;
    }

    html[data-visual-style="backstage"] .entity-profile .profile-timeline-copy {
        padding: 0 0 20px 10px;
    }

    html[data-visual-style="backstage"] .entity-profile .profile-event-history-item {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
    }

    html[data-visual-style="backstage"] .entity-profile .profile-event-history-item > time {
        font-size: 0.74rem;
        white-space: normal;
    }

    html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-create,
    html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-editor-item > header,
    html[data-visual-style="backstage"] .profile-timeline-page .profile-timeline-editor-actions {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}

@media (forced-colors: active) {
    html[data-visual-style="backstage"] .entity-profile .profile-social-link {
        border: 1px solid ButtonText;
    }

    html[data-visual-style="backstage"] .entity-profile .profile-event-history-list {
        border-top-color: ButtonText;
    }

    html[data-visual-style="backstage"] .entity-profile .profile-event-history-item {
        border-bottom-color: ButtonText;
    }
}
