:root {
    --li-bg: #000000;
    --li-bg-soft: #1b1f23;
    --li-card: #1d2226;
    --li-card-border: #38434f;
    --li-text: #ffffff;
    --li-text-muted: #919191;
    --li-blue: #0a66c2;
    --li-blue-hover: #004182;
    --li-gold: #caa24d;
    --li-badge: #d11124;
    --li-radius: 8px;
    --li-nav-height: 52px;
    --li-max-width: 1128px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.li-app {
    margin: 0;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--li-bg);
    color: var(--li-text);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

.li-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--li-nav-height);
    background: var(--li-card);
    border-bottom: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.li-nav__inner {
    width: 100%;
    max-width: var(--li-max-width);
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.li-nav__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

.li-nav__logo-img {
    height: 34px;
    width: 34px;
    object-fit: cover;
    object-position: left center;
    border-radius: 4px;
    flex-shrink: 0;
}

.li-nav__logo-icon {
    width: 34px;
    height: 34px;
    background: var(--li-blue);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -1px;
}

.li-nav__search {
    flex: 0 1 280px;
    position: relative;
}

.li-nav__search input {
    width: 100%;
    height: 34px;
    border: none;
    border-radius: 4px;
    background: #283037;
    color: var(--li-text);
    padding: 0 12px 0 36px;
    font-size: 14px;
}

.li-nav__search input::placeholder {
    color: var(--li-text-muted);
}

.li-nav__search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--li-text-muted);
    font-size: 14px;
}

.li-nav__links {
    display: flex;
    align-items: stretch;
    margin-left: auto;
    gap: 2px;
}

.li-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 4px 8px 0;
    color: var(--li-text-muted);
    font-size: 12px;
    position: relative;
    cursor: pointer;
    border: none;
    background: none;
}

.li-nav__link i {
    font-size: 20px;
    margin-bottom: 2px;
}

.li-nav__link--active {
    color: var(--li-text);
}

.li-nav__link--active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 8px;
    right: 8px;
    height: 2px;
    background: var(--li-text);
    border-radius: 1px;
}

.li-nav__badge {
    position: absolute;
    top: 2px;
    right: 18px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--li-badge);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.li-nav__me-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.li-nav__divider {
    width: 1px;
    height: 32px;
    background: var(--li-card-border);
    margin: 0 4px;
}

.li-nav__premium {
    color: var(--li-gold);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    padding: 0 8px;
}

.li-main {
    padding-top: calc(var(--li-nav-height) + 24px);
    padding-bottom: 80px;
    max-width: var(--li-max-width);
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    display: grid;
    grid-template-columns: minmax(0, 225px) minmax(0, 1fr) minmax(0, 300px);
    gap: 24px;
    align-items: start;
}

.li-card {
    background: var(--li-card);
    border-radius: var(--li-radius);
    border: 1px solid transparent;
    overflow: hidden;
    margin-bottom: 8px;
}

.li-workplace-card {
    padding: 12px 14px;
}

.li-workplace-card__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--li-text-muted, #666);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.li-workplace-card__summary {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--li-text, #191919);
}

.li-workplace-card__badge {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(10, 102, 194, 0.12);
    color: var(--li-blue, #0a66c2);
}

.li-compose-visibility {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 14px;
}

.li-compose-visibility label {
    font-weight: 600;
    color: var(--li-text-muted, #666);
    white-space: nowrap;
}

.li-compose-visibility select {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--li-border, #e0e0e0);
    border-radius: 8px;
    background: var(--li-card, #fff);
    font-size: 14px;
}

.li-profile-card__banner {
    display: block;
    width: 100%;
    height: 54px;
    object-fit: cover;
    object-position: center;
    background-color: #38434f;
}

.li-profile-card__body {
    padding: 0 12px 16px;
    text-align: center;
    margin-top: -28px;
}

.li-profile-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid var(--li-card);
    object-fit: cover;
    margin: 0 auto 8px;
    display: block;
}

.li-profile-card__name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--li-text);
    line-height: 1.3;
}

.li-profile-card__name a {
    color: inherit;
    text-decoration: none;
}

.li-profile-card__name a:hover {
    color: var(--li-blue);
    text-decoration: underline;
}

.li-profile-card__headline,
.li-profile-card__location {
    font-size: 12px;
    color: var(--li-text-muted);
    margin: 0 0 4px;
    line-height: 1.35;
}

.li-profile-card__company {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--li-card-border);
    font-size: 12px;
    font-weight: 600;
}

.li-profile-card__company img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.li-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    font-size: 12px;
    border-top: 1px solid var(--li-card-border);
}

.li-stat-row span:last-child,
.li-stat-row__value {
    color: var(--li-blue);
    font-weight: 600;
}

.li-stat-row--link {
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.li-stat-row--link:hover {
    background: rgba(255, 255, 255, 0.04);
}

.li-stat-row--link span small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 400;
    color: var(--li-text-muted);
}

.li-sidebar-stats__preview {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px 12px;
    border-top: 1px solid var(--li-card-border);
    font-size: 11px;
    color: var(--li-text-muted);
}

.li-sidebar-stats__preview img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--li-bg);
    margin-left: -6px;
}

.li-sidebar-stats__preview img:first-child {
    margin-left: 0;
}

.li-analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
}

.li-analytics-header h1 {
    margin: 0 0 6px;
    font-size: 22px;
}

.li-analytics-header p {
    margin: 0;
    color: var(--li-text-muted);
    font-size: 14px;
}

.li-analytics-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    padding: 0;
}

.li-analytics-stat {
    padding: 20px;
    border-top: 1px solid var(--li-card-border);
}

.li-analytics-stat + .li-analytics-stat {
    border-left: 1px solid var(--li-card-border);
}

@media (max-width: 640px) {
    .li-analytics-stat + .li-analytics-stat {
        border-left: none;
    }
}

.li-analytics-stat__label {
    display: block;
    font-size: 13px;
    color: var(--li-text-muted);
    margin-bottom: 6px;
}

.li-analytics-stat__value {
    display: block;
    font-size: 28px;
    color: var(--li-blue);
    line-height: 1.2;
}

.li-analytics-stat__period,
.li-analytics-stat__hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-analytics-viewers {
    padding: 16px 0;
}

.li-analytics-viewers h2 {
    margin: 0;
    padding: 0 20px 12px;
    font-size: 16px;
}

.li-analytics-viewer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-top: 1px solid var(--li-card-border);
}

.li-analytics-viewer__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.li-analytics-viewer strong {
    display: block;
    font-size: 14px;
}

.li-analytics-viewer p {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-analytics-viewer time {
    margin-left: auto;
    font-size: 12px;
    color: var(--li-text-muted);
    white-space: nowrap;
}

.li-analytics-empty {
    padding: 16px 20px 20px;
    margin: 0;
    font-size: 13px;
    color: var(--li-text-muted);
}

.li-link-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    border-top: 1px solid var(--li-card-border);
    cursor: pointer;
}

.li-link-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.li-link-row i {
    color: var(--li-text-muted);
    width: 20px;
    text-align: center;
}

.li-view-analytics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--li-text-muted);
    border-top: 1px solid var(--li-card-border);
}

.li-hiring-card {
    padding: 16px;
    position: relative;
}

.li-hiring-card__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: var(--li-text-muted);
    cursor: pointer;
    font-size: 18px;
}

.li-hiring-card__avatar-wrap {
    position: relative;
    width: 80px;
    margin: 0 auto 12px;
}

.li-hiring-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #8b5cf6;
}

.li-hiring-card__badge {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background: #8b5cf6;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.li-hiring-card h3 {
    font-size: 16px;
    margin: 0 0 8px;
    text-align: center;
}

.li-hiring-card p {
    font-size: 12px;
    color: var(--li-text-muted);
    text-align: center;
    margin: 0 0 16px;
}

.li-hiring-card__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.li-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s;
}

.li-btn--primary {
    background: var(--li-blue);
    color: #fff;
    border-color: var(--li-blue);
}

.li-btn--primary:hover {
    background: var(--li-blue-hover);
}

.li-btn--outline {
    background: transparent;
    color: var(--li-text-muted);
    border-color: var(--li-card-border);
}

.li-btn--outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--li-text-muted);
}

.li-btn--follow {
    padding: 4px 16px;
    font-size: 14px;
    border-radius: 24px;
    border: 1px solid var(--li-text-muted);
    background: transparent;
    color: var(--li-text-muted);
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}

.li-btn--follow:hover {
    border-color: var(--li-blue);
    color: var(--li-blue);
    background: rgba(10, 102, 194, 0.08);
}

.li-compose {
    padding: 12px 16px;
}

.li-compose__top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.li-compose__top img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.li-compose__top button,
.li-compose__input {
    flex: 1;
    height: 48px;
    border-radius: 24px;
    border: 1px solid var(--li-card-border);
    background: transparent;
    color: var(--li-text-muted);
    text-align: left;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.li-compose__actions {
    display: flex;
    justify-content: space-around;
    padding-top: 4px;
}

.li-compose__action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--li-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.li-compose__action:hover {
    background: rgba(255, 255, 255, 0.06);
}

.li-compose__action i.fa-video { color: #57c367; }
.li-compose__action i.fa-image { color: #5784b8; }
.li-compose__action i.fa-volume-up { color: #a872e8; }
.li-compose__action i.fa-newspaper { color: #e16745; }

.li-feed-sort {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 0;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-feed-sort select {
    background: transparent;
    border: none;
    color: var(--li-text);
    font-weight: 600;
    cursor: pointer;
    margin-left: 4px;
}

.li-post {
    margin-bottom: 8px;
}

.li-post__social-proof {
    padding: 8px 16px 0;
    font-size: 12px;
    color: var(--li-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.li-post__header {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    position: relative;
}

.li-post__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.li-post__meta h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.li-post__meta p {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--li-text-muted);
    line-height: 1.3;
}

.li-post__meta time {
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-post__join {
    margin-left: auto;
    align-self: flex-start;
}

.li-post__menu {
    position: absolute;
    top: 12px;
    right: 16px;
    display: flex;
    gap: 4px;
}

.li-post__menu-wrap {
    position: relative;
}

.li-post__menu-toggle {
    background: none;
    border: none;
    color: var(--li-text-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
}

.li-post__menu-toggle:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--li-text, #191919);
}

.li-post__menu-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 180px;
    background: var(--li-card-bg, #fff);
    border: 1px solid var(--li-card-border, #e0e0e0);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 20;
    overflow: hidden;
}

.li-post__menu-dropdown form {
    margin: 0;
}

.li-post__menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: none;
    font-size: 14px;
    color: var(--li-text, #191919);
    cursor: pointer;
    text-align: left;
}

.li-post__menu-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.li-post__menu-item--danger {
    color: #b24020;
}

.li-post__menu-item--danger:hover {
    background: rgba(178, 64, 32, 0.08);
}

.li-post__menu-item i {
    width: 16px;
    text-align: center;
    color: var(--li-text-muted);
}

.li-post__menu-item--danger i {
    color: #b24020;
}

.li-post__menu button {
    background: none;
    border: none;
    color: var(--li-text-muted);
    cursor: pointer;
    padding: 4px;
}

.li-post__body {
    padding: 0 16px 12px;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-line;
}

.li-post__body a {
    color: var(--li-blue);
}

.li-post__media {
    padding: 0 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.li-carousel {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--li-card-border);
}

.li-carousel__viewport {
    overflow: hidden;
}

.li-carousel__track {
    display: flex;
    transition: transform 0.3s ease;
}

.li-carousel__slide {
    flex: 0 0 100%;
    margin: 0;
    border: none;
    border-radius: 0;
    background: #000;
}

.li-carousel__slide img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    display: block;
}

.li-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.li-carousel__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.li-carousel__nav--prev { left: 8px; }
.li-carousel__nav--next { right: 8px; }

.li-carousel__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    background: #1b1f23;
    border-top: 1px solid var(--li-card-border);
}

.li-carousel__counter {
    font-size: 12px;
    color: var(--li-text-muted);
    font-weight: 600;
}

.li-carousel__dots {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.li-carousel__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.li-carousel__dot.is-active {
    background: var(--li-blue);
}

.li-post__media-item {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #1b1f23;
    border: 1px solid var(--li-card-border);
}

.li-post__media-item img,
.li-post__media-item video {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: #000;
}

.li-post__media-item--audio {
    padding: 12px;
}

.li-post__media-label {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--li-text-muted);
    word-break: break-word;
}

.li-post__media-item audio {
    width: 100%;
}

.li-post__actions {
    display: flex;
    justify-content: space-around;
    padding: 4px 8px 8px;
    border-top: 1px solid var(--li-card-border);
}

.li-post__engagement {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px 0;
    font-size: 12px;
    color: var(--li-text-muted);
}

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

.li-post__engagement-likes i {
    color: var(--li-blue);
    font-size: 14px;
}

.li-post__engagement-comments {
    margin-left: auto;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    max-width: 70%;
    padding: 0;
    border: none;
    background: none;
    color: var(--li-text-muted);
    font-size: 12px;
    text-align: right;
    cursor: pointer;
}

.li-post__engagement-comments:hover .li-post__engagement-count {
    color: var(--li-blue);
    text-decoration: underline;
}

.li-post__engagement-preview {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.li-post__engagement-count {
    font-weight: 600;
}

.li-post__comments {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--li-card-border);
    display: none;
}

.li-post__comments.is-open,
.li-post__comments:target {
    display: block;
}

.li-comment-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.li-comment {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
}

.li-comment--hidden {
    display: none;
}

.li-comment__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.li-comment__content {
    flex: 1;
    min-width: 0;
}

.li-comment__bubble {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px 12px;
}

.li-comment__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 6px;
    margin-bottom: 2px;
}

.li-comment__author {
    font-weight: 600;
    color: var(--li-text);
    text-decoration: none;
}

.li-comment__author:hover {
    color: var(--li-blue);
    text-decoration: underline;
}

.li-comment__headline {
    color: var(--li-text-muted);
    font-size: 11px;
}

.li-comment__text {
    margin: 0;
    line-height: 1.45;
    color: var(--li-text);
    white-space: pre-wrap;
    word-break: break-word;
}

.li-comment__meta {
    margin-top: 4px;
    padding-left: 4px;
    font-size: 11px;
    color: var(--li-text-muted);
}

.li-comment-list__more {
    margin: 4px 0 0 40px;
    padding: 0;
    border: none;
    background: none;
    color: var(--li-text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.li-comment-list__more:hover {
    color: var(--li-blue);
    text-decoration: underline;
}

.li-comment-form {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.li-comment-form__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.li-comment-form__field {
    flex: 1;
}

.li-comment-form input[type="text"] {
    width: 100%;
    height: 36px;
    border-radius: 18px;
    border: 1px solid var(--li-card-border);
    background: #283037;
    color: var(--li-text);
    padding: 0 14px;
    font-size: 13px;
}

.li-comment-form input[type="text"]:focus {
    outline: none;
    border-color: var(--li-blue);
    box-shadow: 0 0 0 1px var(--li-blue);
}

.li-post__action {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--li-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.li-post__action:hover {
    background: rgba(255, 255, 255, 0.06);
}

.li-post__action--liked {
    color: var(--li-blue);
}

.li-widget__title {
    padding: 12px 16px 8px;
    font-size: 16px;
    font-weight: 600;
}

.li-recommend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    cursor: pointer;
}

.li-recommend-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.li-recommend-item__text h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.li-recommend-item__text p {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-widget__footer i {
    margin-left: auto;
    color: var(--li-text-muted);
}

.li-recommend-item img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.li-recommend-item__text {
    flex: 1;
    min-width: 0;
}

.li-widget__footer {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--li-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.li-widget__footer:hover {
    color: var(--li-text);
}

.li-messaging-widget {
    position: fixed;
    bottom: 0;
    right: 24px;
    z-index: 90;
    width: 288px;
}

.li-messaging-widget.is-expanded .li-messaging__bar {
    display: none;
}

.li-messaging__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: var(--li-radius) var(--li-radius) 0 0;
    background: var(--li-card);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.li-messaging__bar img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.li-messaging__bar span {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

.li-messaging__bar .li-messaging__bar-expand {
    transition: transform 0.2s ease;
}

.li-messaging-widget.is-expanded .li-messaging__bar-expand {
    transform: rotate(180deg);
}

.li-messaging__bar-badge,
.li-messaging-panel__badge {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--li-badge);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.li-messaging-panel {
    display: flex;
    flex-direction: column;
    width: 288px;
    height: 520px;
    background: var(--li-card);
    border-radius: var(--li-radius) var(--li-radius) 0 0;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.li-messaging-panel[hidden] {
    display: none !important;
}

.li-messaging-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--li-card-border);
}

.li-messaging-panel__header-main {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.li-messaging-panel__avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.li-messaging-panel__header h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.li-messaging-panel__header-actions {
    display: flex;
    align-items: center;
    gap: 2px;
}

.li-messaging-panel__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--li-text-muted);
    cursor: pointer;
    text-decoration: none;
}

.li-messaging-panel__action:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--li-text);
}

.li-messaging-panel__search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--li-card-border);
}

.li-messaging-panel__search i {
    color: var(--li-text-muted);
    font-size: 12px;
}

.li-messaging-panel__search input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--li-text);
    font-size: 13px;
    outline: none;
}

.li-messaging-panel__body {
    flex: 1;
    overflow-y: auto;
}

.li-messaging-panel__section .li-messaging-contact {
    width: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
}

.li-messaging-chats {
    position: fixed;
    right: calc(24px + 288px + 12px);
    bottom: 0;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
    z-index: 89;
}

.li-messaging-chat {
    display: flex;
    flex-direction: column;
    width: 328px;
    height: 420px;
    background: var(--li-card);
    border-radius: var(--li-radius) var(--li-radius) 0 0;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    overflow: hidden;
}

.li-messaging-chat.is-minimized {
    height: auto;
}

.li-messaging-chat.is-minimized .li-messaging-chat__messages,
.li-messaging-chat.is-minimized .li-messaging-chat__compose {
    display: none;
}

.li-messaging-chat__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--li-card-border);
}

.li-messaging-chat__header img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.li-messaging-chat__meta {
    flex: 1;
    min-width: 0;
}

.li-messaging-chat__meta strong {
    display: block;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.li-messaging-chat__meta span {
    display: block;
    font-size: 11px;
    color: var(--li-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.li-messaging-chat__actions {
    display: flex;
    gap: 2px;
}

.li-messaging-chat__action {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--li-text-muted);
    cursor: pointer;
}

.li-messaging-chat__action:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--li-text);
}

.li-messaging-chat__messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.li-messaging-chat__compose {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--li-card-border);
}

.li-messaging-chat__compose textarea {
    flex: 1;
    min-height: 36px;
    max-height: 96px;
    resize: none;
    border-radius: 18px;
    border: 1px solid var(--li-card-border);
    background: #283037;
    color: var(--li-text);
    padding: 8px 14px;
    font-size: 13px;
    font-family: inherit;
    line-height: 1.4;
}

.li-messaging-chat__compose button {
    flex-shrink: 0;
    padding: 8px 12px;
}

.li-alert {
    max-width: var(--li-max-width);
    margin: 8px auto 0;
    padding: 10px 16px;
    background: #05350f;
    color: #71d089;
    border-radius: var(--li-radius);
    font-size: 14px;
}

.li-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.li-modal-backdrop.is-open {
    display: flex;
}

.li-modal {
    background: var(--li-card);
    border-radius: var(--li-radius);
    width: 100%;
    max-width: 552px;
    padding: 24px;
}

.li-modal h3 {
    margin: 0 0 16px;
    font-size: 18px;
}

.li-compose-dropzone {
    position: relative;
    border-radius: 8px;
    border: 2px dashed transparent;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.li-compose-dropzone.is-dragover {
    border-color: var(--li-blue);
    background: rgba(10, 102, 194, 0.12);
}

.li-compose-dropzone textarea {
    width: 100%;
    min-height: 120px;
    background: #283037;
    border: 1px solid var(--li-card-border);
    border-radius: 4px;
    color: var(--li-text);
    padding: 12px;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
    display: block;
}

.li-compose-dropzone__hint {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--li-text-muted);
    text-align: center;
    pointer-events: none;
}

.li-compose-dropzone__hint i {
    margin-right: 6px;
    color: var(--li-blue);
}

.li-modal textarea {
    width: 100%;
    min-height: 120px;
    background: #283037;
    border: 1px solid var(--li-card-border);
    border-radius: 4px;
    color: var(--li-text);
    padding: 12px;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
}

.li-modal__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
    gap: 8px;
}

.li-form-error {
    color: #f87171;
    font-size: 12px;
    margin-top: 8px;
}

.li-compose-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--li-card-border);
}

.li-compose-toolbar__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--li-text-muted);
    background: none;
    border: 1px solid var(--li-card-border);
    border-radius: 20px;
    cursor: pointer;
}

.li-compose-toolbar__btn:hover {
    background: rgba(255, 255, 255, 0.06);
}

.li-compose-toolbar__btn i.fa-image { color: #5784b8; }
.li-compose-toolbar__btn i.fa-video { color: #57c367; }
.li-compose-toolbar__btn i.fa-volume-up { color: #a872e8; }

.li-compose-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.li-compose-preview__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 32px 8px 10px;
    background: #283037;
    border: 1px solid var(--li-card-border);
    border-radius: 8px;
    font-size: 12px;
    color: var(--li-text-muted);
    max-width: 100%;
}

.li-compose-preview__item--thumb {
    padding: 0;
    width: 96px;
    height: 96px;
}

.li-compose-preview__item--thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.li-compose-preview__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 220px;
}

.li-compose-preview__remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    cursor: pointer;
    line-height: 1;
    font-size: 14px;
}

.li-main--messaging {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    max-width: 900px;
}

.li-messaging-sidebar .li-card {
    min-height: calc(100vh - var(--li-nav-height) - 48px);
}

.li-messaging-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--li-card-border);
    color: inherit;
    text-decoration: none;
}

.li-messaging-contact:hover,
.li-messaging-contact.is-active {
    background: rgba(255, 255, 255, 0.06);
}

.li-messaging-contact img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.li-messaging-contact__text {
    flex: 1;
    min-width: 0;
}

.li-messaging-contact__text strong {
    display: block;
    font-size: 14px;
}

.li-messaging-contact__text p {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--li-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.li-messaging-contact time {
    font-size: 11px;
    color: var(--li-text-muted);
    flex-shrink: 0;
}

.li-messaging-unread-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--li-blue);
    border-radius: 50%;
    margin-left: 4px;
}

.li-messaging-contacts-title {
    padding: 12px 16px 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--li-text-muted);
    text-transform: uppercase;
    border-top: 1px solid var(--li-card-border);
}

.li-messaging-empty {
    padding: 16px;
    font-size: 13px;
    color: var(--li-text-muted);
    text-align: center;
}

.li-messaging-thread-card {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--li-nav-height) - 48px);
    margin-bottom: 0;
}

.li-messaging-thread-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--li-card-border);
}

.li-messaging-thread-header img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.li-messaging-thread-header h2 {
    margin: 0;
    font-size: 16px;
}

.li-messaging-thread-header p {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-messaging-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 480px;
}

.li-message {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
}

.li-message--sent {
    align-self: flex-end;
    background: var(--li-blue);
    color: #fff;
}

.li-message--received {
    align-self: flex-start;
    background: #283037;
}

.li-message p {
    margin: 0 0 4px;
}

.li-message time {
    font-size: 10px;
    opacity: 0.8;
}

.li-messaging-compose {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--li-card-border);
}

.li-messaging-compose textarea {
    flex: 1;
    min-height: 40px;
    max-height: 120px;
    resize: none;
    border-radius: 20px;
    border: 1px solid var(--li-card-border);
    background: #283037;
    color: var(--li-text);
    padding: 10px 16px;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.4;
}

.li-messaging-placeholder {
    min-height: calc(100vh - var(--li-nav-height) - 48px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    margin-bottom: 0;
}

.li-messaging-placeholder i {
    font-size: 48px;
    color: var(--li-text-muted);
    margin-bottom: 16px;
}

.li-messaging-placeholder h2 {
    margin: 0 0 8px;
}

.li-messaging-placeholder p {
    color: var(--li-text-muted);
    margin: 0;
}

.li-main--recommendations {
    grid-template-columns: minmax(0, 1fr);
    max-width: 720px;
    margin: 0 auto;
}

.li-recommendations-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 16px 8px;
    border-bottom: 1px solid var(--li-card-border);
}

.li-recommendations-header h1 {
    margin: 0 0 6px;
    font-size: 20px;
}

.li-recommendations-header p {
    margin: 0;
    color: var(--li-text-muted);
    font-size: 13px;
}

.li-recommendations-list .li-recommend-item:last-child {
    border-bottom: none;
}

.li-lang-switcher {
    position: relative;
    flex-shrink: 0;
}

.li-lang-switcher__toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 56px;
    padding: 4px 8px;
    border: none;
    background: transparent;
    color: var(--li-text-muted);
    font-size: 12px;
    cursor: pointer;
}

.li-lang-switcher__toggle:hover,
.li-lang-switcher.is-open .li-lang-switcher__toggle {
    color: var(--li-text);
}

.li-lang-switcher__menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--li-card);
    border: 1px solid var(--li-card-border);
    border-radius: var(--li-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    z-index: 120;
}

.li-lang-switcher.is-open .li-lang-switcher__menu {
    display: block;
}

.li-lang-switcher__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--li-text);
}

.li-lang-switcher__item:hover,
.li-lang-switcher__item.is-active {
    background: rgba(10, 102, 194, 0.18);
    color: #70b5f9;
}

.li-lang-switcher__item span:first-child {
    font-weight: 700;
    min-width: 28px;
}

html[dir='rtl'] .li-nav__inner,
html[dir='rtl'] .li-main,
html[dir='rtl'] .li-post__header,
html[dir='rtl'] .li-messaging-contact {
    direction: rtl;
}

html[dir='rtl'] .li-lang-switcher__menu {
    right: auto;
    left: 0;
}

.li-main--jobs {
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    max-width: 1128px;
    gap: 12px;
}

.li-jobs-search {
    margin-bottom: 8px;
    padding: 16px;
}

.li-jobs-search__form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.li-jobs-search__row {
    position: relative;
}

.li-jobs-search__row i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--li-text-muted);
    font-size: 14px;
}

.li-jobs-search__row input {
    width: 100%;
    height: 40px;
    border: 1px solid var(--li-card-border);
    border-radius: 4px;
    background: #283037;
    color: var(--li-text);
    padding: 0 12px 0 36px;
    font-size: 14px;
}

.li-jobs-search__submit {
    width: 100%;
}

.li-jobs-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.li-jobs-filters select {
    flex: 1 1 120px;
    min-width: 0;
    height: 34px;
    border: 1px solid var(--li-card-border);
    border-radius: 4px;
    background: #283037;
    color: var(--li-text);
    font-size: 12px;
    padding: 0 8px;
}

.li-jobs-results-count {
    margin: 12px 0 0;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-jobs-list__items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.li-job-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.li-job-card:hover,
.li-job-card.is-selected {
    background: rgba(10, 102, 194, 0.12);
    outline: 1px solid rgba(10, 102, 194, 0.35);
}

.li-job-card__logo {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.li-job-card__body {
    flex: 1;
    min-width: 0;
}

.li-job-card__body h3 {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.3;
}

.li-job-card__company,
.li-job-card__meta {
    margin: 0;
    font-size: 13px;
    color: var(--li-text-muted);
}

.li-job-card time {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-job-card__badge {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    color: #70b5f9;
    background: rgba(10, 102, 194, 0.18);
    padding: 4px 8px;
    border-radius: 999px;
}

.li-jobs-empty {
    padding: 32px 24px;
    text-align: center;
}

.li-jobs-empty i {
    font-size: 40px;
    color: var(--li-text-muted);
    margin-bottom: 12px;
}

.li-jobs-empty h2,
.li-jobs-empty h3 {
    margin: 0 0 8px;
}

.li-jobs-empty p {
    margin: 0;
    color: var(--li-text-muted);
    font-size: 14px;
}

.li-jobs-empty--detail {
    min-height: calc(100vh - var(--li-nav-height) - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.li-job-detail {
    padding: 24px;
}

.li-job-detail__header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.li-job-detail__logo {
    width: 72px;
    height: 72px;
    border-radius: 4px;
    object-fit: cover;
}

.li-job-detail__intro {
    flex: 1;
    min-width: 0;
}

.li-job-detail__intro h1 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.25;
}

.li-job-detail__intro > p {
    margin: 0 0 8px;
    color: var(--li-text-muted);
    font-size: 14px;
}

.li-job-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.li-job-detail__tags span {
    font-size: 12px;
    color: var(--li-text-muted);
    background: #283037;
    padding: 4px 10px;
    border-radius: 999px;
}

.li-job-detail__actions {
    flex-shrink: 0;
}

.li-job-detail__salary {
    margin-bottom: 20px;
    font-size: 14px;
}

.li-job-detail__section {
    margin-bottom: 24px;
}

.li-job-detail__section h2 {
    margin: 0 0 10px;
    font-size: 18px;
}

.li-job-detail__section p,
.li-job-detail__section div {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    white-space: pre-wrap;
}

.li-job-detail__deadline {
    margin: 0;
    font-size: 13px;
    color: var(--li-gold);
}

.li-modal--wide {
    max-width: 640px;
    position: relative;
}

.li-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: transparent;
    color: var(--li-text-muted);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.li-modal__subtitle {
    margin: -8px 0 16px;
    font-size: 13px;
    color: var(--li-text-muted);
}

.li-easy-apply-applicant {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: #283037;
    border-radius: 8px;
    margin-bottom: 16px;
}

.li-easy-apply-applicant img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.li-easy-apply-applicant strong {
    display: block;
    font-size: 14px;
}

.li-easy-apply-applicant p,
.li-easy-apply-applicant span {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
}

.li-form-input {
    display: block;
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    color: var(--li-text);
    background: rgba(15, 20, 25, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.li-form-input::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.li-form-input:hover {
    border-color: rgba(255, 255, 255, 0.22);
}

.li-form-input:focus {
    outline: none;
    border-color: var(--li-blue);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.28);
    background: rgba(15, 20, 25, 0.9);
}

.li-form-input[type="file"] {
    padding: 8px;
    cursor: pointer;
}

.li-btn--sm {
    padding: 6px 14px;
    font-size: 13px;
}

.li-btn.is-loading {
    opacity: 0.75;
    pointer-events: none;
}

.li-form-hint {
    margin: 6px 0 12px;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-form-errors {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 4px;
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
    font-size: 13px;
}

.li-form-errors p {
    margin: 0;
}

.li-easy-apply-resume {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #283037;
    border-radius: 4px;
    margin-bottom: 8px;
    font-size: 13px;
}

.li-easy-apply-resume a {
    margin-left: auto;
    color: #70b5f9;
    font-size: 12px;
}

.li-easy-apply-fieldset {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
}

.li-easy-apply-fieldset legend {
    padding: 0;
    margin-bottom: 10px;
}

.li-form-label--secondary {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--li-text-muted);
}

.li-easy-apply-saved-doc {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--li-card-border);
    border-radius: var(--li-radius);
}

.li-easy-apply-saved-doc__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(10, 102, 194, 0.18);
    color: #70b5f9;
    font-size: 18px;
}

.li-easy-apply-saved-doc__icon--pdf {
    background: rgba(210, 48, 48, 0.15);
    color: #f87171;
}

.li-easy-apply-saved-doc__meta {
    flex: 1;
    min-width: 0;
}

.li-easy-apply-saved-doc__meta strong {
    display: block;
    font-size: 14px;
    color: var(--li-text);
}

.li-easy-apply-saved-doc__meta p {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--li-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.li-easy-apply-cover.is-readonly {
    opacity: 0.92;
    cursor: default;
    background: rgba(15, 20, 25, 0.45);
}

.li-easy-apply-form .li-form-input--textarea {
    min-height: 120px;
}

.li-file-input {
    display: none;
}

.li-file-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.li-file-name {
    display: block;
    font-size: 12px;
    color: var(--li-text-muted);
    margin-bottom: 12px;
}

.li-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 10px 0;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
}

.li-checkbox input {
    margin-top: 3px;
    accent-color: var(--li-blue);
}

textarea.li-form-input,
.li-form-input--textarea {
    min-height: 168px;
    resize: vertical;
    line-height: 1.5;
}

.li-profile-docs {
    padding: 0;
}

.li-profile-docs__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--li-card-border);
}

.li-profile-docs__title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--li-text);
}

.li-profile-docs__subtitle {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--li-text-muted);
    max-width: 52ch;
}

.li-profile-docs__browse {
    flex-shrink: 0;
    gap: 8px;
    color: var(--li-text);
    border-color: var(--li-card-border);
}

.li-profile-docs__browse:hover {
    color: var(--li-text);
    border-color: var(--li-text-muted);
}

.li-profile-docs__alert {
    margin: 16px 24px 0;
}

.li-profile-docs__alert--success {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--li-radius);
    background: rgba(5, 118, 66, 0.18);
    border: 1px solid rgba(5, 118, 66, 0.45);
    color: #86efac;
    font-size: 14px;
}

.li-profile-docs__alert--success i {
    margin-top: 2px;
    flex-shrink: 0;
}

.li-profile-docs__form {
    padding: 0 24px 24px;
}

.li-profile-docs__section {
    padding: 20px 0;
    border-bottom: 1px solid var(--li-card-border);
}

.li-profile-docs__section:last-of-type {
    border-bottom: none;
}

.li-profile-docs__section-title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--li-text);
}

.li-profile-docs__section .li-form-hint {
    margin-top: 0;
    margin-bottom: 14px;
}

.li-profile-docs__section .li-form-label {
    margin-bottom: 8px;
}

.li-profile-docs__counter {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--li-text-muted);
    text-align: right;
}

html[dir='rtl'] .li-profile-docs__counter {
    text-align: left;
}

.li-profile-docs__counter.is-limit {
    color: #fbbf24;
}

.li-profile-docs__resume-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--li-card-border);
    border-radius: var(--li-radius);
}

.li-profile-docs__resume-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(210, 48, 48, 0.15);
    color: #f87171;
    font-size: 18px;
}

.li-profile-docs__resume-meta {
    flex: 1;
    min-width: 0;
}

.li-profile-docs__resume-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--li-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.li-profile-docs__resume-status {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-profile-docs__remove {
    margin-bottom: 16px;
    color: var(--li-text-muted);
}

.li-profile-docs__remove:hover {
    color: var(--li-text);
}

.li-profile-docs__empty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    padding: 14px 16px;
    font-size: 13px;
    color: var(--li-text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--li-card-border);
    border-radius: var(--li-radius);
}

.li-profile-docs__empty i {
    color: var(--li-blue);
    font-size: 16px;
}

.li-profile-docs__upload {
    margin-top: 4px;
}

.li-profile-docs__upload-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px 16px;
    border: 2px dashed var(--li-card-border);
    border-radius: var(--li-radius);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.li-profile-docs__upload-trigger:hover {
    border-color: var(--li-blue);
    background: rgba(10, 102, 194, 0.08);
}

.li-profile-docs__upload-trigger:focus-within {
    border-color: var(--li-blue);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.28);
}

.li-profile-docs__upload-trigger i {
    font-size: 24px;
    color: var(--li-blue);
}

.li-profile-docs__upload-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--li-text);
}

.li-profile-docs__upload-hint {
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-profile-docs__file-name {
    margin: 10px 0 0;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--li-text);
    background: rgba(10, 102, 194, 0.12);
    border-radius: 6px;
    word-break: break-all;
}

.li-profile-docs__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    margin-top: 4px;
    border-top: 1px solid var(--li-card-border);
}

.li-profile-docs__footer .li-btn--primary {
    min-width: 140px;
}

@media (max-width: 767px) {
    .li-profile-docs__header {
        padding: 16px;
    }

    .li-profile-docs__form {
        padding: 0 16px 16px;
    }

    .li-profile-docs__alert {
        margin-left: 16px;
        margin-right: 16px;
    }

    .li-profile-docs__browse {
        width: 100%;
        justify-content: center;
    }

    .li-profile-docs__resume-card {
        flex-wrap: wrap;
    }

    .li-profile-docs__resume-card .li-btn {
        width: 100%;
        margin-top: 4px;
    }
}

.li-job-picks {
    padding: 0;
    overflow: hidden;
}

.li-job-picks__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--li-card-border);
}

.li-job-picks__header h3 {
    margin: 0;
    font-size: 15px;
}

.li-job-picks__header a {
    font-size: 13px;
    color: #70b5f9;
}

.li-job-picks__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--li-card-border);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.li-job-picks__item:last-child {
    border-bottom: none;
}

.li-job-picks__item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.li-job-picks__item img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
}

.li-job-picks__item div {
    flex: 1;
    min-width: 0;
}

.li-job-picks__item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.li-job-picks__item span {
    display: block;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-job-picks__apply,
.li-job-picks__applied {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
}

.li-job-picks__apply {
    color: var(--li-blue);
}

.li-job-picks__applied {
    color: #70b5f9;
}

html[dir='rtl'] .li-jobs-search__row i {
    left: auto;
    right: 12px;
}

html[dir='rtl'] .li-jobs-search__row input {
    padding: 0 36px 0 12px;
}

html[dir='rtl'] .li-easy-apply-resume a {
    margin-left: 0;
    margin-right: auto;
}

html[dir='rtl'] .li-modal__close {
    right: auto;
    left: 16px;
}

@media (max-width: 1024px) {
    .li-messaging-widget {
        right: 12px;
        width: calc(100vw - 24px);
        max-width: 288px;
    }

    .li-messaging-panel,
    .li-messaging-chat {
        width: 100%;
        max-width: 288px;
    }

    .li-messaging-chats {
        right: 12px;
        left: 12px;
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .li-messaging-chat {
        max-width: none;
    }
}

@media (max-width: 1024px) {
    .li-main,
    .li-main--messaging,
    .li-main--jobs {
        grid-template-columns: 1fr;
    }

    .li-col--left,
    .li-col--right,
    .li-messaging-sidebar {
        display: none;
    }

    .li-nav__search {
        display: none;
    }

    .li-nav__link span {
        display: none;
    }

    .li-nav__link {
        min-width: 56px;
    }
}

.li-main--network {
    grid-template-columns: minmax(0, 1fr);
    max-width: 808px;
}

.li-network-summary {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.li-network-summary__stats {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.li-network-summary__stats strong {
    font-size: 28px;
    line-height: 1.1;
}

.li-network-summary__stats span {
    color: var(--li-text-muted);
    font-size: 14px;
}

.li-network-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--li-card-border);
    padding-top: 12px;
}

.li-network-tabs__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--li-text-muted);
    border: 1px solid transparent;
}

.li-network-tabs__link:hover,
.li-network-tabs__link.is-active {
    color: var(--li-text);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--li-card-border);
}

.li-network-tabs__badge {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--li-badge);
    color: #fff;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.li-network-section {
    margin-top: 12px;
}

.li-network-section__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 16px 8px;
    border-bottom: 1px solid var(--li-card-border);
}

.li-network-section__header h2 {
    margin: 0 0 4px;
    font-size: 18px;
}

.li-network-section__header p {
    margin: 0;
    color: var(--li-text-muted);
    font-size: 13px;
}

.li-network-section__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--li-text-muted);
    white-space: nowrap;
}

.li-network-section__link:hover {
    color: var(--li-text);
}

.li-network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    padding: 16px;
}

.li-network-grid--invitations {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.li-network-card {
    position: relative;
    border: 1px solid var(--li-card-border);
    border-radius: var(--li-radius);
    padding: 16px 12px 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.li-network-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
    margin-bottom: 12px;
}

.li-network-card__link:hover h3 {
    color: var(--li-blue);
}

.li-network-card h3 {
    margin: 10px 0 4px;
    font-size: 15px;
    line-height: 1.3;
}

.li-network-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

.li-network-card__avatar--square {
    border-radius: 8px;
}

.li-network-card__headline,
.li-network-card__note {
    margin: 0 0 12px;
    font-size: 12px;
    color: var(--li-text-muted);
    line-height: 1.4;
}

.li-network-card__note {
    font-style: italic;
}

.li-network-card__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.li-network-card__dismiss-form {
    position: absolute;
    top: 8px;
    right: 8px;
}

.li-network-card__dismiss {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--li-text-muted);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.li-network-card__dismiss:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--li-text);
}

.li-btn--block {
    width: 100%;
}

.li-btn--connect i {
    margin-right: 4px;
}

.li-network-list {
    padding: 8px 0;
}

.li-network-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--li-card-border);
}

.li-network-list-item:last-child {
    border-bottom: none;
}

.li-network-list-item__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.li-network-list-item__text {
    flex: 1;
    min-width: 0;
}

.li-network-list-item__text h3 {
    margin: 0 0 2px;
    font-size: 15px;
}

.li-network-list-item__text p {
    margin: 0;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-network-widget__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: inherit;
}

.li-network-widget__link:hover {
    background: rgba(255, 255, 255, 0.04);
}

.li-network-widget__link > i:first-child {
    font-size: 20px;
    color: var(--li-blue);
}

.li-network-widget__link strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.li-network-widget__link span {
    display: block;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-network-widget__link > i:last-child {
    margin-left: auto;
    color: var(--li-text-muted);
    font-size: 12px;
}

/* Notifications */
.li-nav__notifications {
    position: relative;
}

.li-notifications-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 50%;
    transform: translateX(50%);
    width: 384px;
    max-height: 520px;
    background: var(--li-card);
    border: 1px solid var(--li-card-border);
    border-radius: var(--li-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 150;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.li-notifications-dropdown[hidden] {
    display: none;
}

.li-notifications-dropdown__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--li-card-border);
}

.li-notifications-dropdown__header strong {
    font-size: 16px;
}

.li-notifications-dropdown__header form button {
    border: none;
    background: none;
    color: #70b5f9;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.li-notifications-dropdown__header form button:hover {
    text-decoration: underline;
}

.li-notifications-dropdown__list {
    overflow-y: auto;
    max-height: 400px;
}

.li-notifications-dropdown__empty {
    padding: 32px 24px;
    text-align: center;
    color: var(--li-text-muted);
    font-size: 14px;
    margin: 0;
}

.li-notifications-dropdown__footer {
    display: block;
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--li-text-muted);
    border-top: 1px solid var(--li-card-border);
}

.li-notifications-dropdown__footer:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--li-text);
}

.li-main--notifications {
    grid-template-columns: minmax(0, 1fr);
    max-width: 552px;
    margin: 0 auto;
}

.li-notifications-card {
    overflow: visible;
}

.li-notifications-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--li-card-border);
}

.li-notifications-header h1 {
    margin: 0;
    font-size: 20px;
}

.li-notifications-header__mark-read {
    border: none;
    background: none;
    color: #70b5f9;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.li-notifications-header__mark-read:hover {
    text-decoration: underline;
}

.li-notifications-tabs {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--li-card-border);
}

.li-notifications-tab {
    display: inline-flex;
    align-items: center;
    border: none;
    background: transparent;
    color: var(--li-text-muted);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
}

.li-notifications-tab:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--li-text);
}

.li-notifications-tab--active {
    background: rgba(10, 102, 194, 0.18);
    color: #70b5f9;
}

.li-notifications-group__title {
    margin: 0;
    padding: 12px 20px 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--li-text-muted);
}

.li-notifications-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.li-notifications-list > li {
    border-bottom: 1px solid var(--li-card-border);
}

.li-notifications-list > li:last-child {
    border-bottom: none;
}

.li-notifications-empty {
    padding: 48px 24px;
    text-align: center;
}

.li-notifications-empty i {
    font-size: 48px;
    color: var(--li-text-muted);
    margin-bottom: 16px;
}

.li-notifications-empty p {
    margin: 0;
    color: var(--li-text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.li-notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    color: inherit;
    text-decoration: none;
    transition: background 0.15s ease;
    position: relative;
}

.li-notification-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.li-notification-item--unread {
    background: rgba(10, 102, 194, 0.08);
}

.li-notification-item--unread:hover {
    background: rgba(10, 102, 194, 0.12);
}

.li-notification-item__form {
    display: none;
}

.li-notification-item__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.li-notification-item__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.li-notification-item__icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--li-blue);
    border: 2px solid var(--li-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #fff;
}

.li-notification-item__body {
    flex: 1;
    min-width: 0;
}

.li-notification-item__text {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.4;
}

.li-notification-item__text strong {
    font-weight: 600;
}

.li-notification-item__excerpt {
    margin: 0 0 4px;
    font-size: 13px;
    color: var(--li-text-muted);
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.li-notification-item__time {
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-notification-item__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--li-blue);
    flex-shrink: 0;
    margin-top: 6px;
}

html[dir='rtl'] .li-notifications-dropdown {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

html[dir='rtl'] .li-notification-item__icon {
    right: auto;
    left: -2px;
}

@media (max-width: 1024px) {
    .li-notifications-dropdown {
        width: min(384px, calc(100vw - 32px));
    }

    .li-main--notifications {
        max-width: 100%;
    }
}

/* Pages widget (left sidebar) */
.li-pages-widget {
    padding: 0;
}

.li-pages-widget__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px 8px;
    font-size: 13px;
}

.li-pages-widget__title {
    display: block;
    padding: 12px 12px 8px;
    font-size: 13px;
}

.li-pages-widget__create {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--li-text-muted);
    cursor: pointer;
}

.li-pages-widget__create:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--li-blue);
}

.li-pages-widget__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    text-decoration: none;
    color: inherit;
}

.li-pages-widget__row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.li-pages-widget__logo {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.li-pages-widget__name {
    display: block;
    font-size: 12px;
    font-weight: 600;
}

.li-pages-widget__meta {
    display: block;
    font-size: 11px;
    color: var(--li-text-muted);
}

.li-pages-widget__empty {
    padding: 8px 12px 4px;
    margin: 0;
    font-size: 11px;
    color: var(--li-text-muted);
    line-height: 1.4;
}

.li-link-row--action {
    text-decoration: none;
    color: inherit;
    border: none;
    width: 100%;
    background: transparent;
    text-align: left;
}

/* Page profile */
.li-page-header {
    overflow: hidden;
    padding: 0;
}

.li-page-header__banner {
    height: 80px;
    background: linear-gradient(135deg, #0a66c2, #004182);
}

.li-page-header__body {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    padding: 0 16px 16px;
    margin-top: -32px;
}

.li-page-header__logo {
    width: 72px;
    height: 72px;
    border-radius: 4px;
    border: 2px solid var(--li-card);
    object-fit: cover;
    background: var(--li-card);
}

.li-page-header__info {
    flex: 1;
    min-width: 180px;
    padding-top: 36px;
}

.li-page-header__info h1 {
    margin: 0 0 4px;
    font-size: 20px;
}

.li-page-header__headline {
    margin: 0 0 4px;
    font-size: 13px;
    color: var(--li-text-muted);
}

.li-page-header__followers {
    margin: 0;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-page-header__actions {
    padding-top: 36px;
}

.li-page-header__following-badge {
    font-size: 13px;
    font-weight: 600;
    color: var(--li-text-muted);
}

.li-post__avatar--square {
    border-radius: 4px;
}

.li-post__avatar-link {
    display: block;
    flex-shrink: 0;
}

.li-post__posted-by {
    margin: 0;
    font-size: 11px;
    color: var(--li-text-muted);
}

.li-post__meta h4 a {
    color: inherit;
    text-decoration: none;
}

.li-post__meta h4 a:hover {
    color: var(--li-blue);
    text-decoration: underline;
}

.li-invite-list {
    max-height: 240px;
    overflow-y: auto;
    margin: 12px 0;
    border: 1px solid var(--li-card-border);
    border-radius: 8px;
}

.li-invite-list__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    border-bottom: 1px solid var(--li-card-border);
    cursor: pointer;
}

.li-invite-list__item:last-child {
    border-bottom: none;
}

.li-compose__top-main {
    flex: 1;
    min-width: 0;
}

.li-compose-feed-as {
    margin-bottom: 6px;
}

.li-compose-feed-as select,
.li-compose-as select {
    width: 100%;
    padding: 6px 8px;
    font-size: 12px;
    border: 1px solid var(--li-card-border);
    border-radius: 4px;
    background: var(--li-bg);
    color: inherit;
}

.li-compose-as {
    margin-bottom: 12px;
}

.li-compose-as label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.li-compose-targets {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--li-card-border, #e0e0e0);
}

.li-compose-targets__label {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--li-text, #191919);
}

.li-compose-targets__hint {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-compose-targets__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 220px;
    overflow-y: auto;
}

.li-compose-target {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--li-card-border, #e0e0e0);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.li-compose-target:hover {
    background: rgba(0, 0, 0, 0.03);
}

.li-compose-target:has(input:checked) {
    border-color: var(--li-blue, #0a66c2);
    background: rgba(10, 102, 194, 0.06);
}

.li-compose-target input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--li-blue, #0a66c2);
}

.li-compose-target__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.li-compose-target__avatar--square {
    border-radius: 4px;
}

.li-compose-target__name {
    font-size: 14px;
    font-weight: 500;
    color: var(--li-text, #191919);
    line-height: 1.3;
}

.li-pages-widget__row-wrap {
    display: flex;
    align-items: center;
    position: relative;
}

.li-pages-widget__row-wrap .li-pages-widget__row {
    flex: 1;
    min-width: 0;
}

.li-pages-widget__unfollow {
    margin: 0;
    padding: 0 8px;
}

.li-pages-widget__unfollow button {
    border: none;
    background: transparent;
    color: var(--li-text-muted);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
}

.li-pages-widget__unfollow button:hover {
    color: #c92a2a;
}

.li-page-header__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.li-edit-page-logo-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 12px;
}

.li-edit-page-logo-preview img {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
    background: var(--li-card);
}

.li-edit-page-logo-new {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(10, 102, 194, 0.35);
    background: rgba(10, 102, 194, 0.08);
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-edit-page-logo-new img {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
}

/* Create Page modal — high-tech layout */
.li-create-page-modal {
    max-width: 820px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(10, 102, 194, 0.15);
    background: linear-gradient(165deg, rgba(28, 35, 42, 0.98) 0%, rgba(20, 24, 28, 0.99) 100%);
}

.li-create-page-modal__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 24px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(90deg, rgba(10, 102, 194, 0.14), transparent 55%);
}

.li-create-page-modal__header h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 600;
}

.li-create-page-modal__subtitle {
    margin: 0;
    font-size: 13px;
    color: var(--li-text-muted);
    line-height: 1.45;
}

.li-create-page-modal__header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.35), rgba(10, 102, 194, 0.08));
    border: 1px solid rgba(10, 102, 194, 0.35);
    color: #7eb8ff;
    font-size: 18px;
    flex-shrink: 0;
}

.li-create-page-modal__close {
    margin-left: auto;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: var(--li-text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.li-create-page-modal__close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--li-text);
}

.li-create-page-modal__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 0;
}

.li-create-page-modal__form {
    padding: 20px 24px 24px;
}

.li-create-page-field {
    margin-bottom: 16px;
}

.li-create-page-field .li-form-hint {
    margin-top: 0;
    margin-bottom: 10px;
}

.li-create-page-modal__footer {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.li-logo-upload {
    position: relative;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.2);
    padding: 14px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.li-logo-upload.is-dragover {
    border-color: var(--li-blue);
    background: rgba(10, 102, 194, 0.12);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.2);
}

.li-logo-upload.has-file {
    border-style: solid;
    border-color: rgba(10, 102, 194, 0.45);
}

.li-logo-upload__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.li-logo-upload__preview {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 12px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.li-logo-upload__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.li-logo-upload__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: var(--li-text-muted);
    text-align: center;
    padding: 8px;
    pointer-events: none;
}

.li-logo-upload__placeholder i {
    font-size: 22px;
    color: var(--li-blue);
}

.li-logo-upload.has-file .li-logo-upload__placeholder {
    display: none;
}

.li-logo-upload__actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.li-create-page-preview {
    padding: 20px 20px 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
}

.li-create-page-preview__label {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--li-text-muted);
}

.li-create-page-preview__card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.li-create-page-preview__banner {
    height: 48px;
    background: linear-gradient(135deg, #0a66c2 0%, #004182 100%);
}

.li-create-page-preview__body {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    padding: 0 12px 14px;
    margin-top: -20px;
    background: var(--li-card);
}

.li-create-page-preview__body img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 2px solid var(--li-card);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--li-card);
}

.li-create-page-preview__body strong {
    display: block;
    font-size: 13px;
    line-height: 1.3;
    padding-top: 22px;
}

.li-create-page-preview__body span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: var(--li-text-muted);
    line-height: 1.35;
}

.li-page-header__logo,
.li-pages-widget__logo,
.li-post__avatar--square {
    background: var(--li-card);
}

@media (max-width: 720px) {
    .li-create-page-modal__layout {
        grid-template-columns: 1fr;
    }

    .li-create-page-preview {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

.li-form-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* MetaLink member profile (LinkedIn-style) */
.li-main--profile {
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    max-width: 1128px;
}

.li-col--profile-main {
    min-width: 0;
}

.li-col--profile-side {
    min-width: 0;
}

.li-card.li-profile-hero {
    overflow: visible;
}

.li-profile-hero {
    position: relative;
    margin-bottom: 8px;
}

.li-profile-hero__banner-wrap {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: var(--li-radius) var(--li-radius) 0 0;
    aspect-ratio: 4 / 1;
    max-height: 201px;
    background-color: #38434f;
}

.li-profile-hero__banner {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 120px;
    object-fit: cover;
    object-position: center center;
    background-color: #38434f;
}

.li-profile-hero__media-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    transition: background 0.15s ease;
}

.li-profile-hero__media-edit:hover {
    background: rgba(0, 0, 0, 0.72);
}

.li-profile-hero__media-edit--banner {
    position: absolute;
    top: auto;
    right: 16px;
    bottom: 16px;
    padding: 7px 16px;
    border-radius: 24px;
    z-index: 4;
    pointer-events: auto;
}

.li-profile-hero__banner-wrap:hover .li-profile-hero__media-edit--banner,
.li-profile-hero__media-edit--banner:focus-visible {
    background: rgba(0, 0, 0, 0.72);
}

html[dir='rtl'] .li-profile-hero__media-edit--banner {
    right: auto;
    left: 16px;
}

.li-profile-hero__identity {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px 24px;
    padding: 0 24px 16px;
    margin-top: -76px;
}

.li-profile-hero__avatar-wrap {
    position: relative;
    flex-shrink: 0;
    width: 152px;
    height: 152px;
}

.li-profile-hero__media-edit--avatar {
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

html[dir='rtl'] .li-profile-hero__media-edit--avatar {
    right: auto;
    left: 4px;
}

.li-profile-hero__avatar {
    display: block;
    width: 152px;
    height: 152px;
    max-width: none;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.08);
    object-fit: cover;
    object-position: center top;
    background: #1d2226;
}

.li-profile-hero__info {
    flex: 1 1 220px;
    min-width: 0;
    padding-bottom: 4px;
    margin-top: 0;
}

.li-profile-hero__name {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--li-text);
}

.li-profile-hero__headline {
    margin: 4px 0 0;
    font-size: 16px;
    color: var(--li-text);
}

.li-profile-hero__meta {
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--li-text-muted);
}

.li-profile-hero__dot {
    margin: 0 4px;
}

.li-profile-hero__contact {
    color: var(--li-blue);
    font-weight: 600;
    text-decoration: none;
}

.li-profile-hero__contact:hover {
    text-decoration: underline;
}

.li-profile-hero__company {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--li-text-muted);
}

.li-profile-hero__company img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
}

.li-profile-hero__actions--identity {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 100%;
    margin-left: auto;
    padding-bottom: 4px;
}

@media (min-width: 768px) {
    .li-profile-hero__actions--identity {
        flex: 0 1 auto;
        max-width: 52%;
        margin-left: auto;
        align-self: flex-end;
    }
}

.li-profile-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 24px 16px;
    align-items: center;
}

.li-profile-hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.li-profile-hero__badge--hiring {
    background: #057642;
    color: #fff;
}

.li-profile-hero__open-to {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0 24px 20px;
    padding: 12px 16px;
    border: 1px solid var(--li-card-border);
    border-radius: var(--li-radius);
    background: rgba(255, 255, 255, 0.03);
}

.li-profile-hero__open-to i {
    color: #057642;
    font-size: 20px;
    margin-top: 2px;
}

.li-profile-hero__open-to strong {
    display: block;
    font-size: 14px;
}

.li-profile-hero__open-to span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-profile-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--li-card-border);
}

.li-profile-section__header--stacked {
    align-items: flex-start;
    gap: 12px;
}

.li-profile-section__header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.li-profile-section__subtitle {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--li-text-muted);
}

.li-profile-section__edit {
    color: var(--li-text-muted);
    padding: 8px;
    border-radius: 50%;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.li-profile-section__edit:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--li-text);
}

.li-about-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.li-about-modal__header h3 {
    margin: 0;
}

.li-about-modal__hint {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--li-text-muted);
}

.li-about-modal__textarea {
    width: 100%;
    min-height: 160px;
    background: #283037;
    border: 1px solid var(--li-card-border);
    border-radius: 4px;
    color: var(--li-text);
    padding: 12px;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    font-family: inherit;
}

.li-about-modal__textarea:focus {
    outline: none;
    border-color: var(--li-blue);
    box-shadow: 0 0 0 1px var(--li-blue);
}

.li-about-modal__counter {
    margin-top: 8px;
    font-size: 12px;
    color: var(--li-text-muted);
    text-align: right;
}

.li-about-modal__counter.is-limit {
    color: #f59e0b;
}

.li-profile-section__body {
    padding: 16px 20px 20px;
}

.li-profile-about {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
}

.li-profile-about--empty {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--li-text-muted);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s ease;
}

.li-profile-about--empty:hover {
    color: var(--li-text);
}

.li-profile-analytics__private {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--li-text-muted);
    font-weight: 400;
}

.li-profile-analytics__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--li-card-border);
}

.li-profile-analytics__item {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
    border-right: 1px solid var(--li-card-border);
    transition: background 0.15s ease;
}

.li-profile-analytics__item:last-child {
    border-right: none;
}

.li-profile-analytics__item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.li-profile-analytics__icon {
    font-size: 24px;
    color: var(--li-green, #057642);
    margin-top: 2px;
}

.li-profile-analytics__item strong {
    display: block;
    font-size: 20px;
    color: var(--li-text);
    line-height: 1.2;
}

.li-profile-analytics__item span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-profile-analytics__footer {
    display: block;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--li-text-muted);
    border-top: 1px solid var(--li-card-border);
    text-decoration: none;
}

.li-profile-analytics__footer:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--li-text);
}

.li-profile-activity-tabs {
    padding: 0 20px;
    border-bottom: 1px solid var(--li-card-border);
}

.li-profile-activity-tabs__tab {
    display: inline-block;
    padding: 12px 4px;
    margin-right: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--li-green, #057642);
    border-bottom: 2px solid var(--li-green, #057642);
}

.li-profile-hero__headline-row {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-top: 4px;
}

.li-profile-hero__headline--empty {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--li-text-muted);
    font-size: 16px;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.li-profile-hero__headline--empty:hover {
    color: var(--li-text);
}

.li-profile-hero__headline-edit {
    flex-shrink: 0;
    margin-top: 2px;
}

.li-profile-photo-modal__preview {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.li-profile-photo-modal__preview img {
    width: 152px;
    height: 152px;
    border-radius: 50%;
    border: 4px solid var(--li-card-border);
    object-fit: cover;
    object-position: center top;
    background: var(--li-bg-soft);
}

.li-profile-photo-modal__banner-preview {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 1;
    max-height: 160px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center center;
    background-color: #38434f;
    border: 1px solid var(--li-card-border, #e0e0e0);
    margin-bottom: 12px;
}

.li-profile-photo-modal__banner-new {
    margin-bottom: 12px;
}

.li-profile-photo-modal__banner-new > span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--li-text-muted);
    margin-bottom: 6px;
}

.li-profile-photo-modal__remove {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 0;
    font-size: 14px;
    cursor: pointer;
}

.li-profile-experience__item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--li-card-border);
    align-items: flex-start;
}

.li-profile-experience__content {
    flex: 1;
    min-width: 0;
}

.li-profile-experience__actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.li-profile-section__edit--danger:hover {
    color: #f87171;
}

.li-skills-editor__list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.li-skills-editor__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    font-size: 14px;
}

.li-skills-editor__remove {
    border: 0;
    background: transparent;
    color: var(--li-text-muted);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0 2px;
}

.li-skills-editor__remove:hover {
    color: var(--li-text);
}

.li-skills-editor__add {
    display: flex;
    gap: 8px;
    align-items: center;
}

.li-skills-editor__add .li-form-input {
    flex: 1;
}

.li-profile-experience {
    list-style: none;
    margin: 0;
    padding: 0;
}

.li-profile-experience__item:first-child {
    border-top: none;
    padding-top: 0;
}

.li-profile-experience__logo {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.li-profile-experience__item h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.li-profile-experience__company {
    margin: 2px 0 0;
    font-size: 14px;
    color: var(--li-text-muted);
}

.li-profile-experience__detail {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--li-text-muted);
}

.li-profile-skills {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.li-profile-skills li {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 14px;
    font-weight: 600;
}

.li-profile-side-card {
    padding: 16px;
    margin-bottom: 8px;
}

.li-profile-side-card h3 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--li-text-muted);
}

.li-profile-side-card p {
    margin: 0;
    font-size: 13px;
}

.li-profile-side-card__url {
    word-break: break-all;
    color: var(--li-blue);
}

.li-profile-side-card__link {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--li-text-muted);
    text-align: center;
}

.li-profile-suggestions {
    list-style: none;
    margin: 0;
    padding: 0;
}

.li-profile-suggestions__item {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 8px 12px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--li-card-border);
}

.li-profile-suggestions__item:first-child {
    border-top: none;
}

.li-profile-suggestions__item img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.li-profile-suggestions__item strong {
    display: block;
    font-size: 14px;
}

.li-profile-suggestions__item p {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-btn--sm {
    padding: 4px 12px;
    font-size: 13px;
}

/* Share / Send post modals */
.li-share-modal,
.li-send-modal {
    max-width: 520px;
    width: 100%;
}

.li-share-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--li-card-border);
}

.li-share-modal__header h3 {
    margin: 0;
    font-size: 18px;
}

.li-share-modal__close {
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    color: var(--li-text-muted);
    cursor: pointer;
    padding: 4px 8px;
}

.li-share-modal__preview,
.li-share-modal__repost,
.li-share-modal__actions {
    padding: 0 20px;
}

.li-share-preview {
    margin: 16px 0;
    padding: 12px;
    border: 1px solid var(--li-card-border);
    border-radius: var(--li-radius);
    background: rgba(255, 255, 255, 0.03);
}

.li-share-preview strong {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.li-share-preview p {
    margin: 0;
    font-size: 13px;
    color: var(--li-text-muted);
    line-height: 1.4;
}

.li-share-modal__repost textarea {
    width: 100%;
    resize: vertical;
    min-height: 72px;
}

.li-share-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 16px;
    border-top: 1px solid var(--li-card-border);
    margin-top: 8px;
}

.li-share-modal__action {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 0;
    border: none;
    background: transparent;
    color: var(--li-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.li-share-modal__action:hover {
    color: var(--li-blue);
}

.li-share-modal__action i {
    width: 20px;
    color: var(--li-text-muted);
}

.li-share-modal__toast {
    margin: 0 20px 16px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    background: rgba(5, 118, 66, 0.15);
    color: #86d9a8;
}

.li-share-modal__toast.is-error {
    background: rgba(199, 62, 62, 0.15);
    color: #f5a5a5;
}

.li-send-recipients {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid var(--li-card-border);
    border-radius: var(--li-radius);
}

.li-send-recipients__label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--li-card-border);
}

.li-send-recipients__item:last-child .li-send-recipients__label {
    border-bottom: none;
}

.li-send-recipients__label:hover {
    background: rgba(255, 255, 255, 0.04);
}

.li-send-recipients__label img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.li-send-recipients__label strong {
    display: block;
    font-size: 14px;
}

.li-send-recipients__label small {
    display: block;
    font-size: 12px;
    color: var(--li-text-muted);
}

.li-send-empty {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--li-text-muted);
}

.li-post-reshared {
    padding: 0 16px 12px;
}

.li-post-reshared__label {
    margin: 0 0 8px;
    font-size: 12px;
    color: var(--li-text-muted);
    font-weight: 600;
}

.li-post-reshared__label i {
    margin-right: 6px;
    color: var(--li-green, #057642);
}

.li-post-reshared__card {
    border: 1px solid var(--li-card-border);
    border-radius: var(--li-radius);
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.li-post-reshared__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.li-post-reshared__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.li-post-reshared__body {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.li-post-reshared__link {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--li-text-muted);
}

body.li-modal-open {
    overflow: hidden;
}

@media (max-width: 960px) {
    .li-main--profile {
        grid-template-columns: 1fr;
    }

    .li-profile-analytics__grid {
        grid-template-columns: 1fr;
    }

    .li-profile-analytics__item {
        border-right: none;
        border-bottom: 1px solid var(--li-card-border);
    }

    .li-profile-analytics__item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 767px) {
    .li-profile-hero__banner-wrap {
        max-height: 160px;
        aspect-ratio: 2.2 / 1;
    }

    .li-profile-hero__identity {
        flex-direction: column;
        align-items: stretch;
        margin-top: -60px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .li-profile-hero__avatar-wrap {
        width: 104px;
        height: 104px;
    }

    .li-profile-hero__avatar {
        width: 104px;
        height: 104px;
    }

    .li-profile-hero__media-edit--avatar {
        width: 32px;
        height: 32px;
        right: 2px;
        bottom: 2px;
    }

    .li-profile-hero__actions--identity {
        justify-content: flex-start;
        max-width: none;
        margin-left: 0;
    }

    .li-profile-hero__name {
        font-size: 20px;
    }
}
