:root {
    --bg: #0b1118;
    --bg-elevated: rgba(15, 23, 33, 0.86);
    --bg-soft: rgba(19, 28, 40, 0.74);
    --panel: #101720;
    --panel-strong: #15202b;
    --line: rgba(148, 163, 184, 0.18);
    --line-strong: rgba(112, 181, 249, 0.32);
    --text: #ecf3f9;
    --muted: #96a7b8;
    --gold: #70b5f9;
    --gold-soft: rgba(112, 181, 249, 0.12);
    --burgundy: #ff6b57;
    --burgundy-soft: rgba(255, 107, 87, 0.14);
    --green: #3ecf8e;
    --red: #ff7b72;
    --shadow: 0 24px 48px rgba(2, 8, 20, 0.36);
    --shadow-sm: 0 14px 28px rgba(2, 8, 20, 0.28);
    --radius-xl: 32px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --font: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    --ui-font: var(--font);
    --display-font: "Space Grotesk", "Manrope", "Avenir Next", sans-serif;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    color-scheme: dark;
}

body {
    background:
        radial-gradient(circle at top left, rgba(112, 181, 249, 0.12), transparent 32%),
        radial-gradient(circle at 85% 15%, rgba(255, 107, 87, 0.1), transparent 24%),
        linear-gradient(180deg, #0b1118, #0d141d 52%, #0a1017);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    opacity: 0.6;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

.app-shell {
    min-height: 100vh;
}

.boot-loader {
    min-height: 100vh;
    display: grid;
    place-items: center;
    gap: 16px;
    text-align: center;
}

.boot-loader__mark,
.brand-wordmark {
    font-family: var(--display-font);
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: 0;
}

.boot-loader__text,
.muted {
    color: var(--muted);
}

.gold-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
}

.gold-link:hover {
    text-decoration: underline;
}

.button--large {
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
}

.auth-screen {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(440px, 0.9fr);
    background: var(--bg);
}

.auth-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px;
    gap: 48px;
    background: #0a0a0b;
    border-right: 1px solid var(--line);
    overflow: hidden;
}

.cinematic-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(216, 162, 87, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(131, 33, 44, 0.12) 0%, transparent 40%),
        url('/assets/images/auth-bg.jpg');
    /* Placeholder for a high-end film still */
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) saturate(0.8);
    opacity: 0.8;
    z-index: 1;
}

.auth-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: overlay;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.03);
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
}

.hero-title {
    margin: 0;
    max-width: 12ch;
    font-family: var(--display-font);
    font-size: clamp(3rem, 6vw, 5.7rem);
    line-height: 0.95;
}

.hero-copy {
    max-width: 60ch;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.75;
}

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

.metric-card,
.surface,
.pillars,
.feed-card,
.deck-card,
.conversation-card,
.stat-card,
.project-card {
    border: 1px solid var(--line);
    background: var(--panel);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.surface {
    border-radius: var(--radius-lg);
}

.metric-card {
    padding: 18px;
    border-radius: var(--radius-md);
}

.metric-value {
    display: block;
    margin-bottom: 10px;
    font-family: var(--display-font);
    font-size: 2rem;
}

.preview-stack {
    display: grid;
    gap: 18px;
}

.preview-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.18));
}

.preview-poster {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #21161a;
}

.preview-poster img,
.project-card__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-meta {
    display: grid;
    gap: 12px;
    align-content: center;
}

.preview-title {
    margin: 0;
    font-size: 1.15rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 0.84rem;
}

.tag--gold {
    border-color: var(--line-strong);
    color: var(--gold);
    background: var(--gold-soft);
}

.tag--burgundy {
    background: var(--burgundy-soft);
    color: #f6c5cf;
}

.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    border: 1px solid var(--line-strong);
    box-shadow: 0 48px 96px -24px rgba(0, 0, 0, 0.6);
}

.section-title {
    margin: 0 0 10px;
    font-family: var(--display-font);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1;
}

.section-copy {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.7;
}

.segmented {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    margin-bottom: 24px;
}

.segmented button {
    min-height: 44px;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
}

.segmented button.is-active {
    color: var(--text);
    background: linear-gradient(135deg, rgba(216, 162, 87, 0.2), rgba(110, 30, 52, 0.25));
    border: 1px solid var(--line-strong);
}

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

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

.field {
    display: grid;
    gap: 8px;
}

.field label {
    color: var(--muted);
    font-size: 0.88rem;
}

.input,
.textarea,
.select {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    outline: none;
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.textarea {
    min-height: 120px;
    padding: 14px 16px;
    resize: vertical;
}

.input:focus,
.textarea:focus,
.select:focus {
    border-color: rgba(216, 162, 87, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button,
.ghost-button,
.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.button:hover,
.ghost-button:hover,
.icon-button:hover {
    transform: translateY(-1px);
}

.button {
    background: linear-gradient(135deg, rgba(216, 162, 87, 0.95), rgba(176, 106, 55, 0.95));
    color: #160d0f;
    font-weight: 700;
}

.ghost-button {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid var(--line);
}

.icon-button {
    width: 48px;
    padding: 0;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.status-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line-strong);
    background: linear-gradient(135deg, rgba(216, 162, 87, 0.12), rgba(110, 30, 52, 0.18));
    color: var(--text);
}

.status-banner--danger {
    border-color: rgba(206, 91, 99, 0.35);
    background: rgba(206, 91, 99, 0.14);
}

.dashboard {
    min-height: 100vh;
}

.dashboard--sidebar {
    display: grid;
    grid-template-columns: 288px minmax(0, 1fr);
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 24px;
    padding: 28px 22px;
    border-right: 1px solid var(--line);
    background: rgba(10, 7, 9, 0.88);
    backdrop-filter: blur(18px);
}

.brand-lockup {
    display: grid;
    gap: 8px;
}

.brand-copy {
    color: var(--muted);
    line-height: 1.7;
}

.sidebar-nav {
    display: grid;
    gap: 10px;
}

.nav-button {
    justify-content: flex-start;
    gap: 12px;
    min-height: 52px;
    border-radius: var(--radius-md);
    padding: 0 14px;
    color: var(--muted);
    background: transparent;
    border: 1px solid transparent;
}

.nav-button.is-active {
    color: var(--text);
    background: linear-gradient(135deg, rgba(216, 162, 87, 0.15), rgba(110, 30, 52, 0.18));
    border-color: var(--line);
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
}

.nav-button.is-active .nav-dot {
    background: var(--gold);
    box-shadow: 0 0 18px rgba(216, 162, 87, 0.5);
}

.sidebar-meta {
    display: grid;
    gap: 16px;
    align-content: start;
}

.workspace {
    padding: 32px 42px;
    overflow-y: auto;
}

.workspace--social {
    padding: 88px 24px 32px;
}

.topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: start;
}

.page-title {
    margin: 0 0 6px;
    font-family: var(--display-font);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 0.96;
}

.topbar-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

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

.stat-card {
    padding: 20px;
    border-radius: var(--radius-md);
}

.stat-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.7rem;
}

.filter-row,
.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.select {
    min-width: 180px;
}

.feed-grid,
.project-grid,
.admin-grid,
.connections-grid {
    display: grid;
    gap: 18px;
}

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

.card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #1c1215;
}

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

.card-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(8, 5, 7, 0.94));
}

.avatar-stack {
    position: absolute;
    left: 22px;
    bottom: 18px;
    display: flex;
    align-items: end;
    gap: 14px;
    z-index: 1;
}

.avatar {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 26px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #59343d, #1a1013);
}

.avatar-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-family: var(--display-font);
    font-size: 1.45rem;
    color: #f2e6d8;
}

.avatar--sm {
    width: 44px;
    height: 44px;
    border-radius: 14px;
}

.card-body {
    display: grid;
    gap: 18px;
    padding: 22px;
}

.card-title {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.3;
}

.card-subtitle {
    color: var(--muted);
}

.score-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(216, 162, 87, 0.12);
    border: 1px solid rgba(216, 162, 87, 0.22);
    color: var(--gold);
    font-size: 0.84rem;
}

.meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 0.92rem;
}

.deck-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
}

.deck-stage {
    position: relative;
    min-height: 760px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.24));
    overflow: hidden;
}

.deck-card {
    position: absolute;
    inset: 26px;
    display: grid;
    grid-template-rows: 1fr auto;
    border-radius: 28px;
    overflow: hidden;
    transition: transform 220ms ease, opacity 220ms ease;
    touch-action: none;
}

.deck-card.is-under {
    transform: scale(0.96) translateY(20px);
}

.deck-card__image {
    position: relative;
    background: #1f1418;
}

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

.deck-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0.9) 100%),
        linear-gradient(180deg, rgba(110, 30, 52, 0.04), rgba(0, 0, 0, 0.12));
}

.deck-card__meta {
    position: absolute;
    inset: auto 26px 26px;
    z-index: 1;
    display: grid;
    gap: 16px;
}

.deck-actions {
    display: flex;
    gap: 14px;
}

.deck-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    min-width: 56px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(9, 6, 8, 0.88);
    color: var(--text);
}

.deck-pill--like {
    background: rgba(74, 167, 114, 0.18);
    border-color: rgba(74, 167, 114, 0.35);
    color: #b8f0ca;
}

.deck-pill--pass {
    background: rgba(206, 91, 99, 0.16);
    border-color: rgba(206, 91, 99, 0.32);
    color: #ffd0d5;
}

.messages-layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 22px;
    min-height: 760px;
}

.conversation-list,
.chat-panel,
.profile-layout,
.admin-layout {
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.conversation-list {
    padding: 18px;
    display: grid;
    gap: 12px;
    align-content: start;
    max-height: 760px;
    overflow: auto;
}

.conversation-card {
    padding: 14px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.03);
}

.conversation-card.is-active {
    border-color: var(--line-strong);
    background: linear-gradient(135deg, rgba(216, 162, 87, 0.12), rgba(110, 30, 52, 0.12));
}

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

.chat-panel {
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
}

.chat-topbar,
.chat-composer {
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
}

.chat-composer {
    border-top: 1px solid var(--line);
    border-bottom: 0;
}



.social-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 320px;
    gap: 32px;
    max-width: 1300px;
    margin: 0 auto;
}

.social-layout--linkedin {
    grid-template-columns: 250px minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.tag-input-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
    background: var(--panel-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    min-height: 48px;
}

.tag-input-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--gold-soft);
    color: var(--gold);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tag-input-remove {
    cursor: pointer;
    opacity: 0.6;
    font-size: 1.1rem;
    line-height: 1;
}

.tag-input-remove:hover {
    opacity: 1;
}

.tag-input-field {
    flex: 1;
    min-width: 120px;
    background: transparent;
    border: none;
    color: var(--text);
    outline: none;
    font-size: 0.9rem;
}

.tag-input-field::placeholder {
    color: var(--muted);
}

/* Topbar Actions */
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-button {
    position: relative;
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.icon-button:hover {
    color: var(--text);
    background: var(--panel-strong);
}

.icon-button svg {
    width: 20px;
    height: 20px;
}

.icon-button .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--gold);
    color: var(--bg);
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--panel);
}

.topbar-divider {
    width: 1px;
    height: 24px;
    background: var(--line);
    margin: 0 8px;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.topbar-user:hover {
    background: var(--panel-strong);
}

.topbar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line);
}

.topbar-username {
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    opacity: 0.7;
}

.nav-button.is-active .nav-icon {
    opacity: 1;
    color: var(--gold);
}

.sidebar-sticky {
    position: sticky;
    top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feed-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.feed-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.feed-card__header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feed-card__header-avatar {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--panel-strong);
}

.feed-card__header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feed-card__header-info {
    flex: 1;
}

.feed-card__name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    cursor: pointer;
}

.feed-card__name:hover {
    text-decoration: underline;
    color: var(--gold);
}

.feed-card__meta {
    font-size: 0.8rem;
    color: var(--muted);
}

.feed-card__body {
    padding: 0 16px 16px;
}

.feed-card__content {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
    white-space: pre-wrap;
}

.feed-card__media {
    margin: 0 -16px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #000;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feed-card__media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.feed-card__footer {
    padding: 8px 16px;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 8px;
}

.feed-card__score {
    margin-left: auto;
}

.project-feed-card {
    border-left: 4px solid var(--gold);
}

.input,
.select,
.textarea {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--panel-strong);
    color: var(--text);
    font-size: 0.92rem;
    transition: var(--transition);
}

.profile-summary-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.profile-summary-card__bg {
    height: 64px;
    background: linear-gradient(135deg, var(--gold-soft), var(--burgundy-soft));
}

.profile-summary-card__content {
    padding: 0 16px 20px;
    text-align: center;
    margin-top: -32px;
}

.profile-summary-card__avatar {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border: 3px solid var(--bg);
    margin: 0 auto 12px;
    overflow: hidden;
    background: var(--panel-strong);
}

.profile-summary-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-summary-card__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    margin-top: 16px;
    padding-top: 16px;
}

.profile-summary-card__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-summary-card__stat strong {
    font-size: 1.1rem;
}

.profile-summary-card__stat span {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 1200px) {
    .social-layout {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .social-layout>aside:last-child {
        display: none;
    }
}

@media (max-width: 900px) {
    .social-layout {
        grid-template-columns: 1fr;
    }

    .social-layout>aside:first-child {
        display: none;
    }
}

.message-stream {
    padding: 22px;
    overflow: auto;
    display: grid;
    gap: 14px;
}

.message-bubble {
    max-width: min(70%, 520px);
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.message-bubble.is-mine {
    margin-left: auto;
    background: linear-gradient(135deg, rgba(216, 162, 87, 0.14), rgba(110, 30, 52, 0.18));
    border: 1px solid rgba(216, 162, 87, 0.2);
}

.message-time {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.78rem;
}

.profile-layout,
.admin-layout {
    padding: 26px;
    display: grid;
    gap: 22px;
}

.profile-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px;
    align-items: center;
}

.profile-hero .avatar {
    width: 120px;
    height: 120px;
    border-radius: 28px;
}

.progress-bar {
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.progress-bar span {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(216, 162, 87, 0.88), rgba(110, 30, 52, 0.8));
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-tabs button {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    border: 1px solid var(--line);
}

.admin-tabs button.is-active {
    color: var(--text);
    border-color: var(--line-strong);
    background: rgba(216, 162, 87, 0.12);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

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

.poster-picker {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.poster-option {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid transparent;
    aspect-ratio: 4 / 5;
}

.poster-option.is-active {
    border-color: var(--line-strong);
}

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

.composer-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(5, 3, 5, 0.72);
    backdrop-filter: blur(16px);
}

.composer-sheet {
    width: min(100%, 900px);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 28px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: var(--panel-strong);
    box-shadow: var(--shadow);
}

.empty-state {
    padding: 42px;
    border-radius: var(--radius-xl);
    border: 1px dashed rgba(255, 255, 255, 0.14);
    color: var(--muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
}

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    min-width: 280px;
    max-width: 380px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--line-strong);
    background: rgba(14, 10, 12, 0.92);
    box-shadow: var(--shadow);
}

.loading-bar {
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.loading-bar::after {
    content: "";
    display: block;
    width: 38%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(216, 162, 87, 0.88), transparent);
    animation: loadPulse 1.2s infinite;
}

@keyframes loadPulse {
    from {
        transform: translateX(-140%);
    }

    to {
        transform: translateX(340%);
    }
}

@media (max-width: 1180px) {

    .dashboard,
    .auth-screen,
    .deck-layout,
    .messages-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        height: auto;
        grid-template-rows: auto;
    }

    .stat-strip,
    .feed-grid,
    .project-grid,
    .connections-grid,
    .showcase-grid,
    .poster-picker {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {

    .auth-showcase,
    .auth-panel,
    .workspace {
        padding: 22px;
    }

    .preview-card,
    .profile-hero,
    .topbar,
    .form-grid--two,
    .conversation-header {
        grid-template-columns: 1fr;
    }

    .stat-strip,
    .feed-grid,
    .project-grid,
    .connections-grid,
    .showcase-grid,
    .poster-picker {
        grid-template-columns: 1fr;
    }

    .deck-card {
        inset: 16px;
    }

    .message-bubble {
        max-width: 100%;
    }
}

/* Public Profile Overhaul */
.public-profile-layout {
    display: grid;
    gap: 32px;
}

.profile-banner {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.profile-banner__bg {
    height: 200px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(129, 140, 248, 0.2));
    position: relative;
}

.profile-banner__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.9));
}

.profile-banner__content {
    position: relative;
    padding: 0 42px 42px;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 32px;
    align-items: end;
    margin-top: -80px;
}

.profile-avatar-large {
    width: 180px;
    height: 180px;
    border-radius: 40px;
    overflow: hidden;
    border: 4px solid var(--bg);
    background: var(--panel-strong);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-header-info {
    padding-bottom: 8px;
}

.headline-large {
    font-size: 1.25rem;
    margin: 8px 0;
    color: var(--text);
}

.profile-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
}

@media (max-width: 900px) {
    .profile-content-grid {
        grid-template-columns: 1fr;
    }

    .profile-banner__content {
        grid-template-columns: 1fr;
        text-align: center;
        place-items: center;
    }

    .meta-line {
        justify-content: center;
    }
}

/* Public Profile Overhaul */
.profile-banner {
    height: 200px;
    background: linear-gradient(135deg, var(--panel-strong), #0a0f18);
    position: relative;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
}

.profile-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.15;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.profile-header {
    padding: 0 40px 40px;
    position: relative;
    background: var(--panel);
    border-radius: 0 0 24px 24px;
    border: 1px solid var(--line);
    border-top: none;
    margin-bottom: 32px;
}

.profile-avatar-large {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--panel);
    background: var(--panel-strong);
    object-fit: cover;
    margin-top: -70px;
    margin-bottom: 16px;
    position: relative;
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.profile-headline {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.profile-subline {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 24px;
    max-width: 600px;
}

.reference-card {
    background: var(--panel-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 16px;
}

.reference-card blockquote {
    font-size: 1rem;
    font-style: italic;
    color: var(--text);
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.6;
    position: relative;
}

.reference-card blockquote::before {
    content: "\\201C";
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: Georgia, serif;
}

.reference-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

/* Interface Refresh */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon svg {
    display: block;
}

.brand-lockup {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 14px;
}

.brand-chip {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #0a66c2, #3f8fd8);
    color: #f7fbff;
    font-family: var(--display-font);
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    box-shadow: 0 14px 28px rgba(10, 102, 194, 0.24);
}

.sidebar {
    background: rgba(11, 17, 24, 0.92);
}

.sidebar-cta .button {
    width: 100%;
}

.nav-label {
    flex: 1;
    text-align: left;
}

.nav-button {
    align-items: center;
}

.nav-button.is-active {
    background: linear-gradient(135deg, rgba(112, 181, 249, 0.16), rgba(255, 107, 87, 0.1));
    border-color: var(--line-strong);
}

.nav-button.is-active .nav-icon {
    color: var(--gold);
}

.metric-card,
.surface,
.feed-card,
.deck-card,
.conversation-card,
.stat-card,
.project-card,
.conversation-list,
.chat-panel,
.profile-layout,
.admin-layout {
    background: rgba(16, 23, 32, 0.96);
}

.metric-value--compact {
    font-size: 1.35rem;
}

.auth-showcase__content,
.auth-preview-stack {
    position: relative;
    z-index: 2;
}

.auth-hero-title {
    margin: 24px 0 18px;
    max-width: 11ch;
}

.auth-hero-copy {
    max-width: 560px;
    margin-bottom: 42px;
    font-size: 1.08rem;
}

.auth-showcase__metrics {
    max-width: 640px;
}

.auth-preview-card {
    transform: rotate(-1deg);
}

.auth-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.auth-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(7, 12, 18, 0.72);
    border: 1px solid rgba(112, 181, 249, 0.18);
    color: var(--text);
    font-size: 0.84rem;
}

.auth-segmented {
    margin-bottom: 32px;
}

.auth-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.auth-copy {
    margin-bottom: 28px;
    font-size: 0.98rem;
}

.auth-form {
    gap: 20px;
}

.auth-submit-row {
    margin-top: 10px;
}

.auth-submit-button {
    width: 100%;
}

.auth-footer {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    text-align: center;
}

.auth-footer__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--gold);
}

.auth-card {
    border-radius: 26px;
    background: rgba(16, 23, 32, 0.8);
}

.button {
    background: linear-gradient(135deg, #0a66c2, #004182);
    color: #f7fbff;
}

.button--secondary {
    background: linear-gradient(135deg, rgba(255, 107, 87, 0.16), rgba(255, 107, 87, 0.22));
    color: var(--text);
    border: 1px solid rgba(255, 107, 87, 0.2);
}

.ghost-button {
    background: rgba(255, 255, 255, 0.03);
}

.topbar--shell {
    margin-bottom: 28px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(16, 23, 32, 0.76);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

.topbar-context {
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.topbar-subtitle {
    margin-top: 6px;
    max-width: 680px;
    font-size: 0.94rem;
}

.topbar-actions--expanded {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.topbar-action {
    min-height: 46px;
    gap: 10px;
}

.topbar-action .badge {
    position: static;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    background: var(--burgundy-soft);
    color: #ffd8d1;
}

.topbar-post-button {
    min-height: 46px;
}

.topbar-user {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.topbar-user__meta {
    display: grid;
    text-align: right;
}

.topbar-user__meta span {
    color: var(--muted);
    font-size: 0.72rem;
}

.topbar-avatar {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    overflow: hidden;
    display: inline-flex;
}

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

.score-badge {
    background: var(--gold-soft);
    border-color: rgba(112, 181, 249, 0.24);
    color: var(--gold);
}

.tag--gold {
    color: var(--gold);
    background: var(--gold-soft);
    border-color: rgba(112, 181, 249, 0.2);
}

.tag--burgundy {
    color: #ffd8d1;
    background: var(--burgundy-soft);
}

.stat-strip {
    margin-bottom: 20px;
}

.stat-card {
    background: linear-gradient(180deg, rgba(112, 181, 249, 0.06), rgba(16, 23, 32, 0.96));
}

.feed-card__footer,
.project-card__actions {
    flex-wrap: wrap;
}

.feed-card__footer .button,
.feed-card__footer .ghost-button,
.project-card__actions .button,
.project-card__actions .ghost-button {
    min-height: 40px;
}

.profile-summary-card__name {
    font-size: 1.08rem;
    margin-bottom: 4px;
}

.profile-summary-card__headline {
    font-size: 0.85rem;
}

.profile-summary-card__location {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.78rem;
}

.profile-summary-card__footer {
    padding: 12px;
    border-top: 1px solid var(--line);
}

.profile-summary-card__button {
    width: 100%;
    justify-content: flex-start;
    font-size: 0.85rem;
}

.sidebar-panel {
    padding: 20px;
}

.sidebar-panel__title {
    margin-bottom: 8px;
    font-size: 1rem;
}

.sidebar-panel__copy {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.6;
}

.sidebar-panel__button {
    width: 100%;
    margin-top: 16px;
}

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

.sidebar-project,
.sidebar-talent {
    width: 100%;
    display: grid;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
}

.sidebar-project:hover,
.sidebar-talent:hover {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-project {
    grid-template-columns: 48px minmax(0, 1fr);
}

.sidebar-project img {
    width: 48px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
}

.sidebar-project span,
.sidebar-talent__copy {
    display: grid;
    gap: 4px;
}

.sidebar-project span span,
.sidebar-talent__copy span {
    color: var(--muted);
    font-size: 0.76rem;
}

.sidebar-talent {
    grid-template-columns: 44px minmax(0, 1fr) auto;
}

.sidebar-talent__avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--panel-strong);
}

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

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

.sidebar-stat-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
}

.sidebar-stat-list div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.conversation-card.is-active,
.admin-tabs button.is-active,
.segmented button.is-active {
    background: linear-gradient(135deg, rgba(112, 181, 249, 0.16), rgba(255, 107, 87, 0.12));
    border-color: var(--line-strong);
}

.deck-stage {
    background: linear-gradient(180deg, rgba(112, 181, 249, 0.06), rgba(255, 107, 87, 0.05));
}

.deck-card__image::after {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(6, 10, 16, 0.94) 100%),
        linear-gradient(180deg, rgba(10, 102, 194, 0.06), rgba(255, 107, 87, 0.12));
}

.profile-banner__bg {
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.24), rgba(255, 107, 87, 0.18));
}

@media (max-width: 760px) {
    .topbar-actions--expanded {
        justify-content: stretch;
    }

    .topbar-action,
    .topbar-post-button {
        width: 100%;
    }

    .topbar-user {
        width: 100%;
        justify-content: space-between;
    }
}

/* LinkedIn-style Social Shell */
.app-navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 30;
    border-bottom: 1px solid var(--line);
    background: rgba(11, 17, 24, 0.94);
    backdrop-filter: blur(20px);
}

.app-navbar__inner {
    max-width: 1400px;
    margin: 0 auto;
    min-height: 72px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
}

.app-navbar__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.app-navbar__search {
    width: min(100%, 360px);
}

.app-navbar__search .input {
    min-height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

.app-navbar__nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.app-nav-item {
    min-width: 78px;
    min-height: 56px;
    padding: 10px 12px;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    display: grid;
    place-items: center;
    gap: 6px;
    font-size: 0.78rem;
}

.app-nav-item.is-active {
    color: var(--text);
    border-bottom-color: var(--gold);
}

.app-nav-item--profile {
    min-width: 64px;
}

.left-rail {
    display: grid;
    gap: 16px;
}

.left-rail__nav {
    padding: 10px;
}

.left-rail__nav-item {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    background: transparent;
}

.left-rail__nav-item.is-active,
.left-rail__nav-item:hover {
    color: var(--text);
    background: rgba(112, 181, 249, 0.08);
}

.composer-card {
    padding: 16px;
    margin-bottom: 16px;
}

.composer-card__row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.composer-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--panel-strong);
}

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

.composer-card__trigger {
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    text-align: left;
    color: var(--muted);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.composer-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
}

.composer-card__action {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    background: transparent;
}

.composer-card__action:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.feed-toolbar {
    display: grid;
    gap: 16px;
    padding: 16px 18px;
    margin-bottom: 14px;
}

.feed-toolbar__copy {
    display: grid;
    gap: 4px;
}

.feed-toolbar__copy span {
    color: var(--muted);
    font-size: 0.92rem;
}

.feed-toolbar__stats .stat-strip {
    margin-bottom: 0;
}

.toolbar--linkedin {
    margin-bottom: 20px;
}

.social-layout--linkedin {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.social-layout--linkedin.no-right-rail {
    grid-template-columns: 240px minmax(0, 1fr);
}

.workspace--social {
    padding: 100px 24px 32px;
}

/* Social Layout Page Headers */
.social-column--center .topbar {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.social-column--center .topbar h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-strong);
}

.social-column--center .topbar p {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* Public Profile Refinements */
.public-profile-layout {
    padding-bottom: 60px;
}

.profile-banner {
    height: 180px;
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    margin-bottom: -60px;
}

.profile-header {
    position: relative;
    padding: 0 32px 32px;
    z-index: 2;
}

.profile-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--panel);
    background: var(--panel);
    object-fit: cover;
}

.social-column {
    min-width: 0;
}

/* Profile Redesign */
.profile-section {
    padding: 32px;
    margin-bottom: 24px;
}

.profile-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.profile-section--highlight {
    border: 1px solid var(--gold-soft);
    background: rgba(212, 175, 55, 0.05);
}

.profile-text {
    white-space: pre-wrap;
    line-height: 1.7;
    color: var(--text);
    opacity: 0.9;
}

.strength-meter {
    margin-top: 12px;
}

.strength-meter__bar {
    height: 8px;
    background: var(--line);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-meter__fill {
    height: 100%;
    background: var(--gold);
    transition: width 0.4s ease;
}

.icon-button.profile-banner__edit {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(16, 23, 32, 0.6);
}

.icon-button.profile-avatar__edit {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
}

/* Notifications */
.notification-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-lg);
    transition: background 0.2s;
    position: relative;
}

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

.notification-item.is-unread {
    background: rgba(212, 175, 55, 0.05);
}

.notification-item__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-item__content p {
    margin: 0 0 4px;
    color: var(--text-strong);
}

.unread-dot {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.button--disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--line) !important;
    color: var(--text-muted) !important;
}

/* Social Posting & Composer */
.composer-sheet--post {
    max-width: 600px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.composer-post-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
}

.visibility-selector {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.composer-post-body {
    padding: 16px 24px;
    max-height: 70vh;
    overflow-y: auto;
}

.composer-post-title {
    width: 100%;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 16px;
    outline: none;
}

.composer-post-text {
    width: 100%;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
    min-height: 120px;
    resize: none;
    outline: none;
    margin-bottom: 24px;
}

.composer-post-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.composer-media-section {
    margin-top: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
}

.poster-picker-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
}

.poster-option {
    flex-shrink: 0;
    width: 60px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: transform 0.2s;
}

.poster-option.is-active {
    border-color: var(--gold);
    transform: scale(1.05);
}

.composer-post-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.composer-tools {
    display: flex;
    gap: 12px;
}

.tool-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.tool-btn:hover {
    opacity: 1;
}

.button--post {
    padding: 8px 24px;
    font-weight: 600;
    border-radius: 20px;
}

/* Project Post Card */
.project-post-card {
    padding: 0 !important;
}

.project-post-card .feed-card__header {
    padding: 12px 16px;
}

.project-post-content {
    padding: 0 16px 16px;
}

.project-post-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.project-post-logline {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.project-post-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
    background: #000;
}

.project-post-image {
    width: 100%;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

.project-post-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
}

.project-post-description {
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-post-meta-strip {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.project-post-roles {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.project-post-footer {
    padding: 8px 12px !important;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-actions {
    display: flex;
    gap: 8px;
}

.visibility-badge {
    font-size: 0.9rem;
    opacity: 0.6;
}

.profile-summary-card__bg {
    height: 72px;
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.28), rgba(255, 107, 87, 0.18));
}

.profile-summary-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

.profile-summary-card__insights {
    display: grid;
    gap: 10px;
    padding: 0 16px 14px;
    border-top: 1px solid var(--line);
}

.profile-summary-card__insights div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    font-size: 0.82rem;
}

.profile-summary-card__insights span {
    color: var(--muted);
}

.profile-summary-card__insights strong {
    color: var(--gold);
}

.sidebar-panel {
    border-radius: 16px;
}

.sidebar-panel__title {
    font-size: 1.03rem;
}

.sidebar-panel__copy {
    line-height: 1.55;
}

.feed-card,
.project-card,
.composer-card,
.feed-toolbar,
.sidebar-panel,
.profile-summary-card {
    border-radius: 14px;
}

@media (max-width: 960px) {
    .app-navbar__inner {
        grid-template-columns: 1fr;
        padding: 14px 16px;
    }

    .app-navbar__nav {
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .workspace--social {
        padding-top: 122px;
    }

    .social-layout--linkedin {
        grid-template-columns: 1fr;
    }
}

/* Unified Composer & Social Feed */
.composer-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    overflow: hidden;
}

.composer-card__tabs {
    display: flex;
    border-bottom: 1px solid var(--line);
}

.composer-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.composer-tab:hover {
    background: rgba(255, 255, 255, 0.03);
}

.composer-tab.is-active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.composer-card__body {
    padding: 16px;
}

.composer-header {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.composer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.composer-textarea {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-strong);
    font-size: 1.1rem;
    resize: none;
    min-height: 100px;
    font-family: inherit;
}

.composer-textarea:focus {
    outline: none;
}

.composer-footer {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

.feed-stream {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-post-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.social-post-content {
    padding: 0 16px 16px;
}

.social-post-text {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-strong);
    white-space: pre-wrap;
}

/* Search Layout */
.search-results {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.search-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.search-profile-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background 0.2s;
}

.search-profile-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Project Composer Enhancements */
.composer-sheet--project {
    max-width: 700px !important;
    max-height: 90vh;
    overflow-y: auto;
}

.composer-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.composer-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.composer-section-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 700;
}

.composer-icon {
    font-size: 1.5rem;
    background: var(--surface);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.field .label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.composer-post-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .composer-post-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Notifications Redesign ────────────────────────────── */
.notif-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 0;
}

.notif-card-block {
    border-radius: var(--radius-xl);
    padding: 24px;
}

.notif-block-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.notification-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.notification-item.is-unread {
    background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 4%, transparent), transparent);
    border-radius: 10px;
    padding: 14px 12px;
    margin: 0 -12px;
}

.notification-item__icon {
    font-size: 1.4rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.notification-item__avatar {
    flex-shrink: 0;
}

.notification-item__content p {
    margin: 0 0 4px;
    font-size: 0.93rem;
    line-height: 1.4;
}

.notification-item__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.unread-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}