        :root {
            --bg: #edf2f7;
            --panel: #ffffff;
            --line: #d6dee7;
            --ink: #142433;
            --muted: #617181;
            --accent: #0f6cbd;
            --accent-2: #0e7490;
            --good: #31a24c;
        }
        html[dir="rtl"] body {
            direction: rtl;
        }
        html[dir="rtl"] .auth-copy,
        html[dir="rtl"] .auth-form-card,
        html[dir="rtl"] .member-brand-copy,
        html[dir="rtl"] .member-top-copy,
        html[dir="rtl"] .member-profile-copy,
        html[dir="rtl"] .member-context-card,
        html[dir="rtl"] .panel,
        html[dir="rtl"] .card-head,
        html[dir="rtl"] .page-head {
            text-align: right;
        }
        html[data-script="cjk"] .auth-title,
        html[data-script="cjk"] .brand,
        html[data-script="cjk"] .member-brand {
            letter-spacing: normal;
        }
        * { box-sizing: border-box; }
        body {
            margin: 0;
            font-family: "Segoe UI Variable", "SF Pro Text", "Helvetica Neue", sans-serif;
            color: var(--ink);
            background:
                radial-gradient(circle at top left, rgba(15, 108, 189, 0.08), transparent 32%),
                radial-gradient(circle at top right, rgba(14, 116, 144, 0.08), transparent 28%),
                var(--bg);
        }
        a { color: var(--accent); text-decoration: none; }
        a:hover { text-decoration: underline; }
        .shell {
            max-width: 1440px;
            margin: 0 auto;
            padding: 1.4rem 1rem 2.6rem;
        }
        .topbar {
            margin-bottom: 0.9rem;
        }
        .topbar-main {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            padding: 0.8rem 0;
        }
        .brand {
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 0.28rem;
            padding: 0.45rem 0.82rem 0.45rem 0.68rem;
            border-radius: 999px;
            border: 1px solid rgba(23, 42, 58, 0.08);
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 245, 250, 0.92));
            box-shadow: 0 8px 20px rgba(23, 42, 58, 0.08);
            font-size: 1rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            overflow: hidden;
        }
        .brand::after {
            content: "";
            position: absolute;
            inset: -40% auto auto 58%;
            width: 96px;
            height: 96px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(24, 119, 242, 0.18), transparent 68%);
            pointer-events: none;
        }
        .brand-mark {
            width: 0.62rem;
            height: 0.62rem;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, #fff7cf, #f1b93a 58%, #d17d09 100%);
            box-shadow: 0 0 0 5px rgba(241, 185, 58, 0.16), 0 0 18px rgba(241, 185, 58, 0.32);
        }
        .brand-yz {
            position: relative;
            z-index: 1;
            background: linear-gradient(135deg, #0f5e57, #1877f2 72%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .brand-mesh {
            position: relative;
            z-index: 1;
            color: #163340;
        }
        .nav {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        .workspace-nav {
            display: flex;
            flex-wrap: wrap;
            gap: 0.55rem;
            margin-bottom: 1.35rem;
        }
        .nav a {
            padding: 0.7rem 1rem;
            border: 1px solid var(--line);
            border-radius: 999px;
            background: rgba(255,255,255,0.7);
        }
        .workspace-nav a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 40px;
            padding: 0.62rem 0.92rem;
            border: 1px solid var(--line);
            border-radius: 999px;
            background: rgba(255,255,255,0.8);
            color: var(--ink);
            font-size: 0.92rem;
        }
        .workspace-nav a:hover {
            text-decoration: none;
            background: rgba(255,255,255,0.96);
            border-color: rgba(15, 108, 189, 0.22);
        }
        .session-box {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: flex-end;
            gap: 0.6rem;
        }
        .role-pill {
            background: rgba(15, 94, 87, 0.14);
            border-color: rgba(15, 94, 87, 0.24);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            font-size: 0.85rem;
        }
        .locale-box {
            display: flex;
            align-items: center;
            border: 1px solid rgba(26, 28, 31, 0.1);
            border-radius: 999px;
            background: rgba(255,255,255,0.72);
            padding: 0.2rem 0.35rem;
        }
        .session-pill, .pill {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.55rem 0.8rem;
            border: 1px solid rgba(26, 28, 31, 0.1);
            border-radius: 999px;
            background: rgba(255,255,255,0.6);
        }
        .pill:hover,
        .session-pill:hover {
            text-decoration: none;
        }
        .active-pill {
            background: rgba(15, 94, 87, 0.16);
            border-color: rgba(15, 94, 87, 0.22);
        }
        .danger-pill {
            background: rgba(141, 63, 47, 0.16);
            border-color: rgba(141, 63, 47, 0.24);
        }
        .hero, .page-head {
            display: grid;
            gap: 1rem;
            margin-bottom: 1.2rem;
        }
        .hero {
            grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
            align-items: start;
        }
        .hero.single {
            grid-template-columns: minmax(0, 700px);
            justify-content: center;
        }
        .hero.single.auth-shell {
            grid-template-columns: minmax(0, 980px);
        }
        .spotlight {
            padding: 2rem;
        }
        .auth-panel {
            position: relative;
            overflow: hidden;
            padding: 0;
            background:
                linear-gradient(135deg, rgba(248, 252, 255, 0.98), rgba(255, 248, 243, 0.98));
        }
        .auth-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.92fr);
            gap: 0;
            align-items: stretch;
        }
        .auth-copy {
            position: relative;
            padding: 2.35rem;
            background:
                radial-gradient(circle at top left, rgba(24, 119, 242, 0.16), transparent 38%),
                radial-gradient(circle at bottom right, rgba(15, 94, 87, 0.14), transparent 34%);
        }
        .auth-copy::after {
            content: "";
            position: absolute;
            right: -28px;
            bottom: -42px;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.72), transparent 72%);
            pointer-events: none;
        }
        .auth-brand-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            margin-bottom: 1rem;
            padding: 0.5rem 0.85rem;
            border-radius: 999px;
            border: 1px solid rgba(23, 42, 58, 0.08);
            background: rgba(255, 255, 255, 0.8);
            box-shadow: 0 14px 34px rgba(23, 42, 58, 0.08);
            font-size: 0.92rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }
        .auth-brand-pill::before {
            content: "";
            width: 0.58rem;
            height: 0.58rem;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, #fff6d2, #f1b93a 58%, #cb7610 100%);
            box-shadow: 0 0 0 4px rgba(241, 185, 58, 0.14);
        }
        .auth-title {
            margin: 0 0 0.85rem;
            font-size: clamp(2rem, 4vw, 3.25rem);
            line-height: 1.03;
            letter-spacing: -0.04em;
            max-width: 11ch;
        }
        .auth-lede {
            max-width: 44ch;
        }
        .auth-chip-row {
            display: flex;
            flex-wrap: wrap;
            gap: 0.55rem;
            margin-top: 1.3rem;
        }
        .auth-chip {
            display: inline-flex;
            align-items: center;
            padding: 0.5rem 0.8rem;
            border-radius: 999px;
            border: 1px solid rgba(15, 94, 87, 0.14);
            background: rgba(255, 255, 255, 0.76);
            color: #21414b;
            font-size: 0.92rem;
        }
        .auth-form-card {
            display: grid;
            align-content: center;
            gap: 1rem;
            margin: 1rem;
            padding: 1.65rem;
            border-radius: 28px;
            border: 1px solid rgba(23, 42, 58, 0.08);
            background: rgba(255, 255, 255, 0.88);
            box-shadow: 0 22px 58px rgba(23, 42, 58, 0.08);
            backdrop-filter: blur(10px);
        }
        .auth-form-kicker {
            margin: 0;
            color: var(--muted);
            font-size: 0.88rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }
        .auth-form-card h2 {
            margin-bottom: 0.15rem;
        }
        .auth-form-card .form-stack label span {
            font-weight: 600;
            color: #173844;
        }
        .auth-form-card input {
            border-color: rgba(23, 42, 58, 0.12);
            background: rgba(255, 255, 255, 0.98);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 1px 2px rgba(23, 42, 58, 0.04);
        }
        .auth-form-card input:focus,
        .auth-form-card select:focus,
        .auth-form-card textarea:focus {
            outline: 3px solid rgba(24, 119, 242, 0.16);
            border-color: rgba(24, 119, 242, 0.42);
        }
        .auth-footnote {
            margin: 0;
            color: var(--muted);
            line-height: 1.55;
        }
        .auth-secondary {
            margin: 0;
            color: var(--muted);
        }
        .eyebrow {
            margin: 0 0 0.5rem;
            color: var(--accent-2);
            letter-spacing: 0.16em;
            text-transform: uppercase;
            font-size: 0.82rem;
        }
        h1, h2, h3 { margin: 0 0 0.75rem; }
        .lede {
            max-width: 62ch;
            color: var(--muted);
            font-size: 1.04rem;
            line-height: 1.6;
        }
        .stats-grid, .panel-grid, .split-grid, .mini-grid, .pill-row {
            display: grid;
            gap: 0.9rem;
        }
        .stats-grid {
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        }
        .panel-grid {
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            margin-bottom: 1.2rem;
        }
        .workspace-stack {
            display: grid;
            gap: 1.2rem;
            margin-bottom: 1.5rem;
        }
        .split-grid {
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            margin-bottom: 1.5rem;
        }
        .compact-grid {
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        }
        .mini-grid {
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        }
        .pill-row {
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            margin-top: 1rem;
        }
        .panel, .stat-card, .mini-card {
            border: 1px solid rgba(26, 28, 31, 0.08);
            background: var(--panel);
            border-radius: 18px;
            box-shadow: 0 8px 24px rgba(22, 36, 51, 0.07);
        }
        .panel {
            padding: 1rem;
            overflow: visible;
        }
        .panel.wide {
            grid-column: span 2;
        }
        .workspace-section {
            padding: 1.25rem;
        }
        .workspace-section-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        .workspace-actions-grid {
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        }
        .section-kicker {
            margin-bottom: 0.4rem;
        }
        .hub-link-row {
            margin-top: 1rem;
        }
        .anchor-pill {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
        }
        .anchor-pill:hover {
            text-decoration: none;
        }
        .workspace-card {
            min-height: 100%;
        }
        .success-panel {
            border-color: rgba(44, 107, 82, 0.24);
            background: rgba(237, 248, 242, 0.92);
        }
        .mini-card {
            display: block;
            padding: 0.95rem;
            transition: transform 0.14s ease, box-shadow 0.14s ease;
        }
        .mini-card:hover {
            text-decoration: none;
            transform: translateY(-2px);
            box-shadow: 0 14px 30px rgba(22, 36, 51, 0.1);
        }
        .hierarchy-grid {
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            align-items: stretch;
        }
        .hierarchy-crumb {
            border-radius: 18px;
        }
        .hierarchy-node {
            border: 1px solid rgba(15, 94, 87, 0.2);
            background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(240, 246, 244, 0.92));
            display: grid;
            gap: 0.7rem;
        }
        .hierarchy-node .button-row {
            justify-content: flex-start;
        }
        .hierarchy-pills {
            grid-template-columns: 1fr;
            margin-top: 0;
        }
        .mini-card strong {
            display: block;
            margin-bottom: 0.35rem;
        }
        .mini-card span, .mini-card code, .muted-note, .muted {
            color: var(--muted);
        }
        .stat-card {
            padding: 0.95rem;
        }
        .stat-card span {
            display: block;
            color: var(--muted);
            margin-bottom: 0.35rem;
        }
        .stat-card strong {
            font-size: 1.7rem;
            line-height: 1.1;
        }
        .stat-link {
            display: block;
            color: var(--ink);
            transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
        }
        .stat-link:hover {
            text-decoration: none;
            transform: translateY(-2px);
            border-color: rgba(15, 108, 189, 0.2);
            box-shadow: 0 14px 30px rgba(22, 36, 51, 0.1);
        }
        .stat-link small {
            display: block;
            margin-top: 0.4rem;
            color: var(--muted);
            font-size: 0.84rem;
            line-height: 1.4;
        }
        .form-stack {
            display: grid;
            gap: 0.85rem;
        }
        .blocking-modal-scrim {
            position: fixed;
            inset: 0;
            z-index: 1200;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
            background: rgba(15, 19, 24, 0.52);
            backdrop-filter: blur(6px);
        }
        .blocking-modal {
            width: min(100%, 420px);
            border: 1px solid rgba(141, 63, 47, 0.22);
            border-radius: 24px;
            background: linear-gradient(180deg, rgba(255, 248, 244, 0.98), rgba(253, 241, 235, 0.98));
            box-shadow: 0 26px 70px rgba(19, 26, 32, 0.28);
            padding: 1.4rem;
        }
        .modal-close-form {
            margin-top: 1rem;
        }
        .form-stack label {
            display: grid;
            gap: 0.35rem;
        }
        .checkbox-row {
            grid-template-columns: auto 1fr;
            align-items: center;
        }
        input, select, textarea, button {
            width: 100%;
            border-radius: 16px;
            border: 1px solid var(--line);
            padding: 0.85rem 0.95rem;
            font: inherit;
            background: rgba(255,255,255,0.86);
            color: var(--ink);
        }
        textarea {
            resize: vertical;
        }
        input[disabled], textarea[disabled], select[disabled], button[disabled] {
            opacity: 0.58;
            cursor: not-allowed;
        }
        button {
            cursor: pointer;
            background: linear-gradient(135deg, var(--accent), #0a413d);
            color: #fdf8f1;
            border: none;
        }
        .pill,
        .session-pill {
            color: var(--ink);
        }
        .ghost-button {
            width: auto;
            background: rgba(255,255,255,0.72);
            color: var(--ink);
            border: 1px solid var(--line);
        }
        .inline-form {
            display: inline-flex;
            gap: 0.45rem;
            align-items: center;
            margin: 0.2rem 0.25rem 0.2rem 0;
        }
        .locale-form {
            margin: 0;
            gap: 0.5rem;
        }
        .locale-form label {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            color: var(--muted);
            font-size: 0.92rem;
        }
        .locale-form span {
            font-weight: 600;
        }
        .locale-form select {
            width: auto;
            min-width: 158px;
            border-radius: 999px;
            padding: 0.48rem 2rem 0.48rem 0.85rem;
            border-color: rgba(23, 42, 58, 0.12);
            background: rgba(255, 255, 255, 0.94);
        }
        .inline-form input {
            width: 180px;
            padding: 0.55rem 0.7rem;
            border-radius: 12px;
        }
        .inline-form button {
            width: auto;
            padding: 0.55rem 0.85rem;
            border-radius: 12px;
        }
        .button-row {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: 0.45rem;
        }
        .compact-form {
            margin-top: 0.8rem;
        }
        .comment-card {
            align-items: flex-start;
            gap: 0.45rem;
        }
        .card-head {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 0.85rem;
        }
        .stack {
            display: grid;
            gap: 1rem;
        }
        .toolbar-row,
        .pagination-row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.75rem;
        }
        .toolbar-row {
            justify-content: space-between;
        }
        .pagination-row {
            justify-content: flex-end;
        }
        .toolbar-row .form-stack,
        .pagination-row .form-stack {
            gap: 0.7rem;
        }
        .panel-subnav {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 0.8rem;
        }
        .panel-subnav .mini-card {
            min-height: 100%;
        }
        .panel-subnav .mini-card.active-panel {
            border-color: rgba(15, 108, 189, 0.28);
            background: linear-gradient(180deg, rgba(240, 248, 255, 0.96), rgba(255, 255, 255, 0.98));
        }
        .member-shell {
            display: grid;
            grid-template-columns: 280px minmax(0, 1fr) 260px;
            gap: 1.2rem;
            align-items: start;
        }
        .member-mode {
            background:
                radial-gradient(circle at top left, rgba(24, 77, 126, 0.22), transparent 26%),
                radial-gradient(circle at top right, rgba(0, 132, 114, 0.16), transparent 28%),
                linear-gradient(180deg, #eef4f7 0%, #f7f3ec 54%, #f3efe6 100%);
        }
        .member-mode .shell {
            max-width: 1540px;
            padding-bottom: 6rem;
        }
        .member-mode .page-head,
        .member-mode .hero {
            border: 1px solid rgba(24, 77, 126, 0.08);
            border-radius: 32px;
            padding: 1.5rem;
            background:
                linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248, 251, 252, 0.9)),
                rgba(255,255,255,0.85);
            box-shadow: 0 24px 70px rgba(28, 44, 67, 0.09);
        }
        .member-mode .panel,
        .member-mode .stat-card,
        .member-mode .mini-card {
            border-color: rgba(23, 42, 58, 0.06);
            background:
                linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248, 250, 252, 0.9));
            box-shadow: 0 24px 60px rgba(28, 44, 67, 0.08);
        }
        .member-mode .panel {
            border-radius: 28px;
            padding: 1.3rem;
        }
        .member-mode .mini-card {
            border-radius: 22px;
            padding: 1.05rem;
        }
        .member-mode .button-row {
            justify-content: flex-start;
        }
        .member-mode .table-link {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.65rem 0.95rem;
            border-radius: 999px;
            background: rgba(24, 77, 126, 0.08);
            color: #124062;
        }
        .member-mode .table-link:hover {
            text-decoration: none;
            background: rgba(24, 77, 126, 0.12);
        }
        .member-mode .pill {
            background: rgba(24, 77, 126, 0.06);
            border-color: rgba(24, 77, 126, 0.08);
        }
        .member-sidebar {
            position: sticky;
            top: 1rem;
            align-self: start;
            border: 1px solid rgba(23, 42, 58, 0.08);
            border-radius: 30px;
            background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(244, 249, 251, 0.84));
            box-shadow: 0 24px 60px rgba(28, 44, 67, 0.08);
            padding: 1rem;
        }
        .member-brand-block {
            display: grid;
            gap: 0.4rem;
            margin-bottom: 1rem;
        }
        .member-brand {
            font-size: 0.98rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--accent);
        }
        .member-brand-block p {
            margin: 0;
            color: var(--muted);
            line-height: 1.45;
            font-size: 0.92rem;
        }
        .member-profile-card {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 0.85rem;
            align-items: center;
            padding: 0.95rem;
            border-radius: 22px;
            background: linear-gradient(135deg, rgba(18, 64, 98, 0.94), rgba(16, 101, 92, 0.88));
            color: #f7fbfd;
            margin-bottom: 1rem;
        }
        .member-avatar {
            width: 52px;
            height: 52px;
            border-radius: 18px;
            object-fit: cover;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .member-avatar-fallback {
            background: rgba(255,255,255,0.18);
            color: #f7fbfd;
            font-size: 1rem;
            font-weight: 800;
            letter-spacing: 0.08em;
        }
        .member-profile-copy {
            display: grid;
            gap: 0.18rem;
        }
        .member-profile-copy strong {
            font-size: 1rem;
        }
        .member-profile-copy span {
            color: rgba(247, 251, 253, 0.78);
            font-size: 0.88rem;
        }
        .member-nav {
            display: grid;
            gap: 0.65rem;
        }
        .member-nav-link {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 0.75rem;
            align-items: start;
            border: 1px solid rgba(23, 42, 58, 0.08);
            border-radius: 18px;
            background: rgba(255,255,255,0.68);
            padding: 0.82rem 0.88rem;
            transition: border-color 0.14s ease, background 0.14s ease, transform 0.14s ease;
        }
        .member-nav-link:hover {
            text-decoration: none;
            background: rgba(245, 250, 253, 0.98);
            border-color: rgba(24, 77, 126, 0.22);
            transform: translateY(-1px);
        }
        .member-nav-link.active {
            background: linear-gradient(135deg, rgba(18, 64, 98, 0.96), rgba(16, 101, 92, 0.88));
            border-color: transparent;
            color: #f7fbfd;
            box-shadow: 0 18px 40px rgba(18, 64, 98, 0.2);
        }
        .member-nav-badge {
            width: 40px;
            height: 40px;
            border-radius: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(18, 64, 98, 0.08);
            color: #124062;
            font-size: 0.78rem;
            font-weight: 800;
            letter-spacing: 0.08em;
        }
        .member-nav-link.active .member-nav-badge {
            background: rgba(255,255,255,0.16);
            color: #f7fbfd;
        }
        .member-nav-copy {
            display: grid;
            gap: 0.2rem;
        }
        .member-nav-link strong {
            font-size: 0.95rem;
        }
        .member-nav-link span,
        .member-nav-copy span {
            color: var(--muted);
            font-size: 0.85rem;
            line-height: 1.35;
        }
        .member-nav-link.active .member-nav-copy span,
        .member-nav-link.active strong {
            color: rgba(247, 251, 253, 0.96);
        }
        .member-main {
            min-width: 0;
            display: grid;
            gap: 1.15rem;
        }
        .member-top {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 1rem;
            align-items: center;
            border: 1px solid rgba(23, 42, 58, 0.08);
            border-radius: 30px;
            background:
                radial-gradient(circle at top right, rgba(45, 163, 142, 0.16), transparent 28%),
                linear-gradient(135deg, rgba(255,255,255,0.95), rgba(247, 250, 252, 0.9));
            box-shadow: 0 24px 60px rgba(28, 44, 67, 0.08);
            padding: 1rem 1.15rem;
            position: sticky;
            top: 1rem;
            z-index: 5;
        }
        .member-top-copy {
            display: grid;
            gap: 0.25rem;
        }
        .member-top-kicker {
            color: #10655c;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            font-size: 0.76rem;
            font-weight: 700;
        }
        .member-top-copy strong {
            font-size: 1.08rem;
        }
        .member-top-copy span:last-child {
            color: var(--muted);
            line-height: 1.45;
        }
        .member-top .session-box {
            justify-content: flex-end;
        }
        .social-hero-grid,
        .social-split,
        .social-grid-2,
        .feed-stack,
        .metric-strip,
        .social-inline-list,
        .section-stack {
            display: grid;
            gap: 1rem;
        }
        .social-hero-grid {
            grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
            align-items: start;
        }
        .social-split {
            grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.95fr);
        }
        .social-grid-2 {
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        }
        .metric-strip {
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        }
        .metric-tile {
            border-radius: 22px;
            padding: 1rem;
            background: rgba(24, 77, 126, 0.05);
            border: 1px solid rgba(24, 77, 126, 0.08);
        }
        .metric-tile span {
            display: block;
            color: var(--muted);
            margin-bottom: 0.35rem;
            font-size: 0.88rem;
        }
        .metric-tile strong {
            font-size: 1.4rem;
        }
        .feed-stack {
            grid-template-columns: minmax(0, 1fr);
        }
        .feed-card {
            display: grid;
            gap: 1rem;
        }
        .social-meta-row {
            display: flex;
            flex-wrap: wrap;
            gap: 0.55rem;
        }
        .social-meta {
            display: inline-flex;
            align-items: center;
            padding: 0.52rem 0.78rem;
            border-radius: 999px;
            background: rgba(24, 77, 126, 0.06);
            color: #124062;
            font-size: 0.88rem;
        }
        .social-note {
            margin: 0;
            color: var(--muted);
            line-height: 1.58;
        }
        .social-caption {
            color: var(--muted);
            font-size: 0.9rem;
            line-height: 1.45;
        }
        .social-spotlight {
            position: relative;
            overflow: hidden;
        }
        .social-spotlight::after {
            content: "";
            position: absolute;
            inset: auto -60px -80px auto;
            width: 180px;
            height: 180px;
            border-radius: 999px;
            background: radial-gradient(circle, rgba(45, 163, 142, 0.18), transparent 68%);
            pointer-events: none;
        }
        .social-list-card {
            display: grid;
            gap: 0.5rem;
        }
        .social-list-card strong {
            font-size: 1rem;
        }
        .social-card-head {
            display: grid;
            gap: 0.35rem;
        }
        .social-chip-row {
            display: flex;
            flex-wrap: wrap;
            gap: 0.45rem;
        }
        .social-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.48rem 0.7rem;
            border-radius: 14px;
            background: rgba(16, 101, 92, 0.08);
            color: #10655c;
            font-size: 0.84rem;
            font-weight: 600;
        }
        .social-empty {
            text-align: center;
            padding: 1.1rem;
        }
        .social-text {
            white-space: pre-wrap;
            line-height: 1.7;
            margin: 0;
        }
        .timeline-list {
            display: grid;
            gap: 0.85rem;
        }
        .timeline-item {
            padding-left: 1rem;
            border-left: 2px solid rgba(24, 77, 126, 0.12);
        }
        .profile-hero-card {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 1rem;
            align-items: center;
        }
        .profile-hero-avatar {
            width: 88px;
            height: 88px;
            border-radius: 26px;
            object-fit: cover;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 16px 40px rgba(18, 64, 98, 0.16);
        }
        .profile-hero-copy {
            display: grid;
            gap: 0.3rem;
        }
        .profile-hero-copy p {
            margin: 0;
        }
        .profile-hero-handle {
            color: var(--muted);
        }
        .profile-quick-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 0.85rem;
        }
        .profile-main-card,
        .profile-media-card {
            display: grid;
            gap: 0.65rem;
        }
        .profile-main-card strong,
        .profile-media-card strong {
            font-size: 1rem;
        }
        .profile-media-thumb {
            width: 100%;
            max-height: 220px;
            object-fit: cover;
            border-radius: 18px;
            border: 1px solid rgba(23, 42, 58, 0.08);
            background: rgba(24, 77, 126, 0.04);
        }
        .profile-form-grid {
            display: grid;
            gap: 1rem;
        }
        .profile-form-grid.two {
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        }
        .member-rail {
            display: grid;
            gap: 1rem;
            align-self: start;
            position: sticky;
            top: 1rem;
        }
        .member-context-card {
            border: 1px solid rgba(23, 42, 58, 0.08);
            border-radius: 28px;
            background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(246, 249, 251, 0.88));
            box-shadow: 0 24px 60px rgba(28, 44, 67, 0.08);
            padding: 1rem;
        }
        .member-quick-grid {
            display: grid;
            gap: 0.75rem;
        }
        .member-quick-link {
            display: grid;
            gap: 0.18rem;
            padding: 0.9rem 0.95rem;
            border-radius: 20px;
            background: rgba(24, 77, 126, 0.05);
            border: 1px solid rgba(24, 77, 126, 0.08);
        }
        .member-quick-link strong {
            color: var(--ink);
        }
        .member-quick-link span {
            color: var(--muted);
            font-size: 0.86rem;
        }
        .member-quick-link:hover {
            text-decoration: none;
            background: rgba(24, 77, 126, 0.08);
        }
        .member-rail-pills {
            grid-template-columns: 1fr;
            margin-top: 0;
        }
        .member-bottom-nav {
            display: none;
        }
        .member-bottom-link {
            display: grid;
            gap: 0.12rem;
            justify-items: center;
            text-align: center;
            padding: 0.8rem 0.7rem;
            border-radius: 20px;
            color: var(--muted);
        }
        .member-bottom-link span {
            font-size: 0.72rem;
            font-weight: 800;
            letter-spacing: 0.08em;
        }
        .member-bottom-link strong {
            font-size: 0.82rem;
        }
        .member-bottom-link.active {
            background: linear-gradient(135deg, rgba(18, 64, 98, 0.96), rgba(16, 101, 92, 0.88));
            color: #f7fbfd;
        }
        .data-table {
            width: 100%;
            border-collapse: collapse;
            min-width: 0;
            table-layout: fixed;
        }
        .compact-table th, .compact-table td {
            padding-top: 0.58rem;
            padding-bottom: 0.58rem;
        }
        .data-table th, .data-table td {
            text-align: left;
            padding: 0.72rem 0.65rem;
            border-bottom: 1px solid rgba(26, 28, 31, 0.09);
            vertical-align: top;
            word-break: break-word;
        }
        .data-table tbody tr:hover {
            background: rgba(15, 108, 189, 0.04);
        }
        .data-table th {
            color: var(--muted);
            font-size: 0.92rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }
        code, pre {
            font-family: "SFMono-Regular", ui-monospace, monospace;
            font-size: 0.9rem;
        }
        pre {
            white-space: pre-wrap;
            margin: 0;
            max-width: 420px;
        }
        .path-agent-cell .muted-note {
            margin-top: 0.28rem;
        }
        .table-detail-cell {
            position: relative;
            width: 118px;
        }
        .table-detail-button {
            width: auto;
            min-width: 92px;
            padding: 0.58rem 0.88rem;
            border: 1px solid rgba(23, 42, 58, 0.12);
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 245, 249, 0.98));
            color: var(--ink);
            font-weight: 700;
            justify-content: center;
            cursor: pointer;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
        }
        .table-detail-button:hover {
            background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(231, 240, 246, 1));
            border-color: rgba(15, 108, 189, 0.24);
        }
        .table-detail-button:focus-visible {
            outline: 2px solid rgba(15, 108, 189, 0.22);
            outline-offset: 2px;
        }
        .data-table tbody tr[data-detail-row] {
            cursor: pointer;
        }
        .data-table tbody tr[data-detail-row]:hover {
            background: rgba(15, 108, 189, 0.06);
        }
        .data-table tbody tr.detail-dock-active {
            background: rgba(15, 108, 189, 0.1);
        }
        .detail-hover {
            position: fixed;
            z-index: 1450;
            width: min(340px, calc(100vw - 1.5rem));
            pointer-events: none;
            opacity: 0;
            transform: translateY(8px);
            transition: opacity 0.16s ease, transform 0.16s ease;
        }
        .detail-hover.is-open {
            opacity: 1;
            transform: translateY(0);
        }
        .detail-hover-card {
            padding: 0.9rem 0.95rem;
            border: 1px solid rgba(23, 42, 58, 0.12);
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.97);
            box-shadow: 0 20px 54px rgba(22, 36, 51, 0.16);
            backdrop-filter: blur(12px);
        }
        .detail-hover-kicker {
            margin: 0 0 0.28rem;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--accent-2);
        }
        .detail-hover-card h3 {
            margin: 0;
            font-size: 1rem;
            line-height: 1.25;
            color: var(--ink);
        }
        .detail-hover-body {
            margin-top: 0.7rem;
        }
        .detail-hover-list {
            display: grid;
            gap: 0.5rem;
            margin: 0;
        }
        .detail-hover-list div {
            display: grid;
            gap: 0.12rem;
        }
        .detail-hover-list dt {
            margin: 0;
            font-size: 0.69rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--muted);
        }
        .detail-hover-list dd {
            margin: 0;
            color: var(--ink);
            line-height: 1.4;
        }
        .detail-hover-hint {
            margin: 0.72rem 0 0;
            font-size: 0.76rem;
            color: var(--muted);
        }
        body.detail-dock-open .shell {
            padding-bottom: 22rem;
        }
        .detail-dock {
            position: fixed;
            inset: auto 1rem 1rem;
            z-index: 1400;
            pointer-events: none;
        }
        .detail-dock-card {
            width: min(1180px, calc(100vw - 2rem));
            margin: 0 auto;
            max-height: min(58vh, 540px);
            overflow: auto;
            padding: 1rem 1rem 1.1rem;
            border: 1px solid rgba(23, 42, 58, 0.14);
            border-radius: 24px;
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 253, 0.98));
            box-shadow: 0 30px 76px rgba(22, 36, 51, 0.2);
            opacity: 0;
            transform: translateY(18px);
            transition: opacity 0.18s ease, transform 0.18s ease;
        }
        .detail-dock.is-open {
            pointer-events: auto;
        }
        .detail-dock.is-open .detail-dock-card {
            opacity: 1;
            transform: translateY(0);
        }
        .detail-dock-head {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 1rem;
            align-items: start;
            margin-bottom: 0.9rem;
        }
        .detail-dock-kicker {
            margin: 0 0 0.3rem;
            font-size: 0.76rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--accent-2);
        }
        .detail-dock-close {
            width: auto;
            min-width: 96px;
        }
        .detail-dock-body {
            display: grid;
            gap: 0.9rem;
        }
        .detail-dock-grid {
            display: grid;
            gap: 0.9rem;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        }
        .detail-dock-section {
            padding: 0.9rem;
            border: 1px solid rgba(23, 42, 58, 0.08);
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.86);
        }
        .detail-dock-section h3 {
            margin-bottom: 0.65rem;
            font-size: 0.84rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--accent-2);
        }
        .detail-dock-pill-row {
            display: flex;
            flex-wrap: wrap;
            gap: 0.45rem;
        }
        .detail-dock-list {
            display: grid;
            gap: 0.6rem;
            margin: 0;
        }
        .detail-dock-list div {
            display: grid;
            gap: 0.14rem;
        }
        .detail-dock-list dt {
            margin: 0;
            font-size: 0.74rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--muted);
        }
        .detail-dock-list dd {
            margin: 0;
            color: var(--ink);
            line-height: 1.48;
        }
        .detail-dock-raw {
            border: 1px solid rgba(23, 42, 58, 0.08);
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.86);
            padding: 0.9rem;
        }
        .detail-dock-raw summary {
            cursor: pointer;
            font-size: 0.84rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--accent-2);
        }
        .detail-dock-raw pre {
            max-width: none;
            max-height: 260px;
            overflow: auto;
            margin-top: 0.8rem;
            padding: 0.72rem;
            border-radius: 14px;
            background: rgba(237, 242, 247, 0.92);
            font-size: 0.78rem;
        }
        @media (max-width: 920px) {
            .detail-hover {
                display: none;
            }
            body.detail-dock-open .shell {
                padding-bottom: 26rem;
            }
            .detail-dock {
                inset: auto 0.65rem 0.65rem;
            }
            .detail-dock-card {
                width: calc(100vw - 1.3rem);
                max-height: 68vh;
                border-radius: 20px;
            }
            .detail-dock-head {
                grid-template-columns: minmax(0, 1fr);
            }
            .detail-dock-close {
                width: 100%;
            }
        }
        .table-link {
            font-weight: 600;
        }
        .analytics-note-row {
            margin-top: 0;
        }
        .analytics-hero-grid {
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        }
        .analytics-summary-card {
            display: grid;
            gap: 0.22rem;
        }
        .analytics-summary-card strong {
            font-size: 1.45rem;
        }
        .analytics-map-panel {
            display: grid;
            gap: 1rem;
        }
        .analytics-map-meta-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 0.9rem;
        }
        .analytics-table-panel {
            display: grid;
            gap: 1rem;
        }
        .analytics-world-layout {
            display: grid;
            gap: 1rem;
        }
        .analytics-world-stage-card,
        .analytics-world-inspector {
            border: 1px solid rgba(23, 42, 58, 0.08);
            border-radius: 18px;
            background: rgba(248, 251, 255, 0.94);
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
        }
        .analytics-world-stage-card {
            padding: 0.9rem;
            display: grid;
            gap: 0.8rem;
        }
        .analytics-world-inspector {
            padding: 0.95rem 1rem;
            display: grid;
            gap: 0.8rem;
        }
        .analytics-world-inspector h3,
        .analytics-world-inspector p {
            margin: 0;
        }
        .analytics-world-inspector-label {
            color: var(--muted);
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-size: 0.76rem;
            font-weight: 700;
        }
        .analytics-world-metric-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 0.75rem;
        }
        .analytics-world-metric {
            padding: 0.8rem 0.85rem;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.92);
            border: 1px solid rgba(23, 42, 58, 0.08);
            display: grid;
            gap: 0.35rem;
        }
        .analytics-world-metric span {
            color: var(--muted);
            font-size: 0.78rem;
        }
        .analytics-world-metric strong {
            font-size: 1rem;
        }
        .analytics-world-shell {
            display: grid;
            cursor: grab;
        }
        .analytics-world-shell.dragging {
            cursor: grabbing;
        }
        .analytics-world-frame {
            position: relative;
            min-height: 620px;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: inset 0 0 0 1px rgba(23, 42, 58, 0.08);
            background:
                radial-gradient(circle at 18% 16%, rgba(24, 119, 242, 0.12), transparent 28%),
                linear-gradient(180deg, rgba(240, 248, 255, 0.96), rgba(232, 243, 252, 0.98));
        }
        .analytics-world-map-shell {
            display: grid;
        }
        .analytics-world-loading {
            min-height: 620px;
            display: grid;
            place-items: center;
            color: var(--muted);
            padding: 1rem 1.2rem;
            text-align: center;
        }
        .analytics-world-svg {
            width: 100%;
            height: auto;
            display: block;
        }
        .analytics-world-ocean {
            fill: #dceefb;
        }
        .analytics-world-graticule line {
            stroke: rgba(255, 255, 255, 0.45);
            stroke-width: 1;
        }
        .analytics-world-country {
            fill: rgba(200, 214, 227, 0.88);
            stroke: rgba(62, 93, 117, 0.46);
            stroke-width: 0.9;
            transition: fill 140ms ease, stroke 140ms ease, opacity 140ms ease;
            cursor: pointer;
        }
        .analytics-world-country.has-activity {
            fill: rgba(123, 176, 236, 0.92);
        }
        .analytics-world-country.activity-level-1 {
            fill: rgba(165, 203, 244, 0.9);
        }
        .analytics-world-country.activity-level-2 {
            fill: rgba(137, 185, 240, 0.92);
        }
        .analytics-world-country.activity-level-3 {
            fill: rgba(108, 166, 235, 0.94);
        }
        .analytics-world-country.activity-level-4 {
            fill: rgba(74, 143, 228, 0.95);
        }
        .analytics-world-country.activity-level-5 {
            fill: rgba(36, 116, 219, 0.96);
        }
        .analytics-world-country.active,
        .analytics-world-country.focus-ring {
            fill: rgba(24, 119, 242, 0.9);
            stroke: rgba(16, 58, 94, 0.92);
            stroke-width: 1.6;
        }
        .analytics-world-country:focus-visible,
        .analytics-world-point:focus-visible {
            outline: none;
        }
        .analytics-world-point circle {
            fill: rgba(255, 122, 61, 0.78);
            stroke: rgba(94, 44, 22, 0.85);
            stroke-width: 2;
            transition: transform 140ms ease, fill 140ms ease;
        }
        .analytics-world-point {
            cursor: pointer;
        }
        .analytics-world-point.activity-level-1 circle {
            fill: rgba(255, 157, 107, 0.78);
        }
        .analytics-world-point.activity-level-2 circle {
            fill: rgba(255, 141, 83, 0.82);
        }
        .analytics-world-point.activity-level-3 circle {
            fill: rgba(255, 126, 57, 0.88);
        }
        .analytics-world-point.activity-level-4 circle {
            fill: rgba(255, 104, 44, 0.92);
        }
        .analytics-world-point.activity-level-5 circle {
            fill: rgba(245, 81, 24, 0.96);
        }
        .analytics-world-point.active circle {
            fill: rgba(255, 94, 38, 0.96);
        }
        .analytics-world-tooltip {
            position: absolute;
            z-index: 5;
            max-width: 300px;
            pointer-events: none;
            padding: 0.6rem 0.75rem;
            border-radius: 16px;
            background: rgba(15, 27, 41, 0.92);
            color: #ffffff;
            box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
            font-size: 0.84rem;
            line-height: 1.45;
            transform: translate(-50%, -120%);
        }
        .analytics-path-card,
        .analytics-geo-card {
            min-height: 138px;
        }
        .analytics-path-card code,
        .analytics-geo-card code {
            display: inline-flex;
            margin-top: 0.45rem;
        }
        .analytics-geo-grid {
            margin-top: 0.35rem;
        }
        body.member-mode {
            background: #f0f2f5;
        }
        .member-mode .shell {
            max-width: 1560px;
            padding-top: 1rem;
        }
        .member-mode .page-head,
        .member-mode .hero {
            border: none;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
            padding: 0;
        }
        .member-shell {
            grid-template-columns: 320px minmax(0, 1fr) 300px;
            gap: 1rem;
        }
        .member-mode .panel,
        .member-mode .stat-card,
        .member-mode .mini-card,
        .member-mode .member-sidebar,
        .member-mode .member-top,
        .member-mode .member-context-card {
            background: #ffffff;
            border: 1px solid #dfe3e8;
            box-shadow: 0 1px 2px rgba(15, 20, 25, 0.08);
        }
        .member-mode .panel,
        .member-mode .member-sidebar,
        .member-mode .member-top,
        .member-mode .member-context-card,
        .member-mode .mini-card,
        .member-mode .stat-card {
            border-radius: 16px;
        }
        .member-mode .mini-card {
            padding: 1rem;
        }
        .member-mode .table-link {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.62rem 0.92rem;
            border-radius: 8px;
            border: 1px solid #dbe7f2;
            background: #e7f3ff;
            color: #1877f2;
        }
        .member-mode .table-link:hover {
            text-decoration: none;
            background: #dbe7f2;
        }
        .member-mode .pill,
        .member-mode .session-pill {
            background: #f0f2f5;
            border-color: #dfe3e8;
        }
        .member-sidebar {
            top: 0.75rem;
            padding: 1rem;
        }
        .member-brand-row {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 0.75rem;
            align-items: center;
        }
        .member-brand-mark {
            width: 42px;
            height: 42px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #1877f2;
            color: #ffffff;
            font-size: 1rem;
            font-weight: 800;
        }
        .member-brand-copy {
            display: grid;
            gap: 0.2rem;
        }
        .member-brand {
            color: #1877f2;
            font-size: 1.02rem;
            font-weight: 700;
            letter-spacing: 0;
            text-transform: none;
        }
        .member-brand-block {
            margin-bottom: 1rem;
        }
        .member-brand-block p {
            color: var(--muted);
            font-size: 0.88rem;
            line-height: 1.45;
        }
        .member-profile-card {
            display: grid;
            gap: 0.8rem;
            padding: 1rem;
            color: var(--ink);
        }
        .member-profile-main {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 0.85rem;
            align-items: center;
        }
        .member-avatar,
        .fb-user-avatar {
            width: 60px;
            height: 60px;
            border-radius: 999px;
            overflow: hidden;
            flex-shrink: 0;
        }
        .member-avatar-image {
            width: 100%;
            height: 100%;
            border-radius: inherit;
            object-fit: cover;
            background: #dfe3e8;
        }
        .member-avatar-fallback {
            border-radius: inherit;
            background: #e7f3ff;
            color: #1877f2;
            font-size: 1rem;
            font-weight: 800;
            letter-spacing: 0.04em;
        }
        .member-profile-copy {
            gap: 0.18rem;
        }
        .member-profile-copy strong {
            font-size: 1rem;
        }
        .member-profile-copy p,
        .member-profile-copy h2 {
            margin: 0;
        }
        .member-profile-copy span {
            color: var(--muted);
            font-size: 0.88rem;
        }
        .member-profile-link {
            color: #1877f2;
            font-weight: 600;
        }
        .member-profile-link:hover {
            text-decoration: underline;
        }
        .member-nav-link {
            border: none;
            border-radius: 12px;
            background: transparent;
            padding: 0.72rem 0.78rem;
        }
        .member-nav-link:hover {
            background: #f0f2f5;
            transform: none;
        }
        .member-nav-link.active {
            background: #e7f3ff;
            color: var(--ink);
            border-color: transparent;
            box-shadow: none;
        }
        .member-nav-badge {
            width: 36px;
            height: 36px;
            border-radius: 999px;
            background: #e4e6eb;
            color: #1877f2;
        }
        .member-nav-link.active .member-nav-badge {
            background: #1877f2;
            color: #ffffff;
        }
        .member-nav-link.active .member-nav-copy span,
        .member-nav-link.active strong {
            color: var(--ink);
        }
        .member-top {
            padding: 0.95rem 1.05rem;
            top: 0.75rem;
            border-radius: 16px;
            background: #ffffff;
        }
        .member-top-kicker {
            color: var(--muted);
            letter-spacing: 0.08em;
        }
        .member-top-copy strong {
            font-size: 1.04rem;
        }
        .member-top-copy span:last-child {
            color: var(--muted);
        }
        .member-context-card {
            padding: 1rem;
            border-radius: 16px;
        }
        .member-rail {
            top: 0.75rem;
        }
        .member-session-card {
            display: grid;
            gap: 0.45rem;
        }
        .member-session-card strong {
            font-size: 1rem;
        }
        .member-session-card span {
            color: var(--muted);
        }
        .social-chip {
            background: #f0f2f5;
            border: 1px solid #dfe3e8;
            color: var(--ink);
            border-radius: 999px;
        }
        .metric-tile {
            background: #f7f8fa;
            border: 1px solid #e4e6eb;
            border-radius: 12px;
        }
        .metric-tile strong {
            font-size: 1.28rem;
        }
        .fb-home-grid,
        .fb-profile-grid {
            display: grid;
            gap: 1rem;
            align-items: start;
        }
        .fb-home-grid {
            grid-template-columns: 320px minmax(0, 1fr) 300px;
        }
        .fb-profile-grid {
            grid-template-columns: 360px minmax(0, 1fr);
        }
        .fb-side-column,
        .fb-main-column,
        .fb-right-column {
            display: grid;
            gap: 1rem;
            align-content: start;
        }
        .fb-home-hero,
        .fb-feed-card,
        .fb-story-card,
        .fb-editor-card {
            border-radius: 16px;
        }
        .fb-home-hero {
            border: 1px solid #dfe3e8;
            border-radius: 16px;
            background: #ffffff;
            box-shadow: 0 1px 2px rgba(15, 20, 25, 0.08);
            padding: 1rem 1.1rem;
        }
        .fb-story-card {
            display: grid;
            gap: 1rem;
        }
        .fb-cover-card {
            border: 1px solid #dfe3e8;
            border-radius: 16px;
            background: #ffffff;
            box-shadow: 0 1px 2px rgba(15, 20, 25, 0.08);
            overflow: hidden;
            margin-bottom: 1rem;
        }
        .fb-cover-banner {
            height: 220px;
            background:
                linear-gradient(135deg, rgba(24, 119, 242, 0.2), rgba(255, 255, 255, 0.8)),
                linear-gradient(135deg, #dbe7f2, #f7f8fa 62%);
        }
        .fb-cover-body {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr) auto;
            gap: 1rem;
            align-items: end;
            padding: 0 1.25rem 1.25rem;
            margin-top: -54px;
        }
        .fb-cover-body .profile-hero-avatar {
            width: 148px;
            height: 148px;
            border-radius: 999px;
            border: 4px solid #ffffff;
            background: #f0f2f5;
            box-shadow: none;
        }
        .fb-cover-copy {
            display: grid;
            gap: 0.3rem;
            padding-top: 3.4rem;
        }
        .fb-cover-copy h1,
        .fb-cover-copy p {
            margin: 0;
        }
        .fb-cover-metrics {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: 0.45rem;
            padding-top: 3rem;
        }
        .fb-user-card {
            display: grid;
            gap: 0.9rem;
        }
        .fb-user-card-head {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 0.85rem;
            align-items: center;
        }
        .fb-user-card-copy {
            display: grid;
            gap: 0.22rem;
        }
        .fb-user-card-copy strong {
            margin: 0;
        }
        .fb-user-card-copy span {
            color: var(--muted);
        }
        .fb-user-avatar {
            width: 56px;
            height: 56px;
        }
        .fb-people-grid {
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        }
        .profile-hero-card {
            align-items: center;
        }
        .profile-hero-avatar {
            width: 96px;
            height: 96px;
            border-radius: 999px;
        }
        .profile-quick-grid {
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        }
        .profile-main-card,
        .profile-media-card {
            display: grid;
            gap: 0.55rem;
            border: 1px solid #e4e6eb;
            border-radius: 12px;
            background: #f7f8fa;
            padding: 0.95rem;
            content-visibility: auto;
            contain: layout paint;
            contain-intrinsic-size: 300px 320px;
        }
        .profile-media-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 0.95rem;
        }
        .profile-media-visual {
            display: block;
            color: inherit;
            text-decoration: none;
            border-radius: 12px;
            overflow: hidden;
            background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(234, 241, 247, 0.94));
        }
        .profile-media-placeholder {
            min-height: 220px;
            padding: 1rem;
            display: grid;
            place-items: center;
            align-content: center;
            gap: 0.5rem;
            text-align: center;
            background:
                radial-gradient(circle at top, rgba(24, 119, 242, 0.14), transparent 42%),
                linear-gradient(180deg, rgba(255,255,255,0.98), rgba(238, 243, 248, 0.94));
        }
        .profile-media-body {
            display: grid;
            gap: 0.55rem;
        }
        .profile-media-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 0.45rem 0.7rem;
        }
        .profile-media-thumb {
            display: block;
            width: 100%;
            border-radius: 12px;
            max-height: 240px;
            object-fit: cover;
            background: #dfe3e8;
        }
        .profile-form-grid.two {
            grid-template-columns: 1fr;
        }
        @media (max-width: 900px) {
            .hero {
                grid-template-columns: 1fr;
            }
            .auth-grid {
                grid-template-columns: 1fr;
            }
            .panel.wide {
                grid-column: span 1;
            }
            .locale-box {
                margin-left: 0;
            }
        }
        @media (max-width: 1040px) {
            .member-shell {
                grid-template-columns: 1fr;
            }
            .fb-home-grid,
            .fb-profile-grid,
            .social-hero-grid,
            .social-split {
                grid-template-columns: 1fr;
            }
            .member-sidebar {
                position: static;
            }
            .member-top {
                position: static;
            }
            .member-rail {
                position: static;
                order: 3;
            }
            .fb-cover-body {
                grid-template-columns: 1fr;
                align-items: start;
                margin-top: -36px;
            }
            .fb-cover-copy,
            .fb-cover-metrics {
                padding-top: 0;
            }
            .fb-cover-metrics {
                justify-content: flex-start;
            }
        }
        @media (max-width: 720px) {
            .analytics-world-frame,
            .analytics-world-loading {
                min-height: 420px;
            }
            .member-top {
                grid-template-columns: 1fr;
            }
            .member-sidebar,
            .member-rail {
                display: none;
            }
            .member-shell {
                gap: 0.9rem;
            }
            .member-bottom-nav {
                position: fixed;
                left: 0.9rem;
                right: 0.9rem;
                bottom: 0.9rem;
                display: grid;
                grid-template-columns: repeat(5, minmax(0, 1fr));
                gap: 0.45rem;
                padding: 0.45rem;
                border-radius: 26px;
                background: rgba(255, 255, 255, 0.94);
                border: 1px solid rgba(23, 42, 58, 0.08);
                box-shadow: 0 24px 60px rgba(28, 44, 67, 0.18);
                z-index: 30;
                backdrop-filter: blur(18px);
            }
            .member-mode .shell {
                padding-bottom: 7rem;
            }
            .fb-cover-body .profile-hero-avatar {
                width: 108px;
                height: 108px;
            }
        }
