        /* =========================================================
           1. DESIGN TOKENS & GLOBAL RESETS (DEFAULT: DARK MODE)
           ========================================================= */
        :root {
            --jako-bg: #111315;
            --jako-text: #f4f5f7;
            --jako-border: rgba(255, 255, 255, 0.16);
            --jako-glass: rgba(25, 28, 31, 0.88);
            --gradient-start: rgba(255, 255, 255, 0.04);
            --gradient-mid: rgba(17, 19, 21, 0.86);
            --gradient-end: #111315;
            --icon-hover: #fff;
        }

        body.light-mode {
            --jako-bg: #f4f5f7;
            --jako-text: #0d0d0d;
            --jako-border: rgba(0, 0, 0, 0.12);
            --jako-glass: rgba(255, 255, 255, 0.88);
            --gradient-start: rgba(0, 0, 0, 0.02);
            --gradient-mid: rgba(244, 245, 247, 0.85);
            --gradient-end: #f4f5f7;
            --icon-hover: #000;
        }

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

        html, body {
            height: 100vh;
            max-height: 100vh;
            overflow: hidden;
        }

        body {
            font-family: 'Rajdhani', sans-serif;
            background-color: var(--jako-bg);
            color: var(--jako-text);
            width: 100vw;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            user-select: none;
            position: relative;
            letter-spacing: 0.02em;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        ::selection {
            background-color: var(--jako-text);
            color: var(--jako-bg);
        }

        button, span, div {
            -webkit-tap-highlight-color: transparent;
        }

        /* Ambient Background Layers */
        #page-bg-overlay, .ambient-gradient {
            position: fixed;
            inset: 0;
        }

        #page-bg-overlay {
            background: radial-gradient(
                circle at 50% 30%,
                var(--gradient-start) 0%,
                var(--gradient-mid) 65%,
                var(--gradient-end) 100%
            );
            z-index: -1;
        }

        .ambient-gradient {
            background: linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.03),
                transparent,
                rgba(0, 0, 0, 0.03)
            );
            z-index: 0;
            pointer-events: none;
        }

        /* =========================================================
           2. MACRO-BLOCK 1: SUN — CONTINUOUS GLASS HEADER
           ========================================================= */
        .header-style-bar {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            width: 100%;
            min-height: 42px;
            padding: 0 1rem;
            z-index: 100;
            background: var(--jako-glass);
            border-bottom: 1px solid var(--jako-border);
            backdrop-filter: blur(24px) saturate(125%);
            -webkit-backdrop-filter: blur(24px) saturate(125%);
        }

        .header-style-bar.site-header {
            justify-content: space-between;
            gap: 1rem;
            min-height: 46px;
            padding: 0 1rem;
            border-top: 0;
        }

        .site-brand-lockup {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            min-width: 0;
            color: var(--jako-text);
            text-decoration: none;
            white-space: nowrap;
        }

        .site-brand-mark {
            display: block;
            width: 21px;
            height: 21px;
            fill: currentColor;
            opacity: 0.92;
            flex: 0 0 auto;
        }

        .site-brand {
            font-family: 'Orbitron', sans-serif;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.2em;
        }

        .header-controls {
            display: flex;
            align-items: stretch;
            flex: 0 0 auto;
            min-height: 30px;
            overflow: hidden;
            color: var(--jako-text);
            background: var(--jako-glass);
            border: 1px solid var(--jako-border);
            border-radius: 3px;
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.08),
                0 2px 8px rgba(0, 0, 0, 0.035);
        }

        .header-control {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            min-height: 30px;
            padding: 0;
            color: inherit;
            background: transparent;
            border: 0;
            border-radius: 0;
            cursor: pointer;
            text-decoration: none;
            transition: background-color 0.2s ease, color 0.2s ease;
        }

        .header-control + .header-control {
            border-left: 1px solid var(--jako-border);
        }

        .header-control:hover {
            background: var(--jako-border);
        }

        .header-control:active {
            background: var(--jako-border);
            box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
        }

        .header-control:focus-visible,
        .site-brand-lockup:focus-visible {
            outline: 1px solid var(--jako-text);
            outline-offset: -3px;
        }

        .header-icon {
            display: block;
            width: 14px;
            height: 14px;
            color: currentColor;
            fill: currentColor;
            stroke: none;
            opacity: 0.76;
            transition: opacity 0.2s ease;
        }

        .icon-stroke {
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .theme-icon {
            fill: none;
            stroke: currentColor;
            stroke-width: 1.35;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .theme-icon-sun {
            fill: currentColor;
            stroke: none;
        }

        .header-control:hover .header-icon {
            opacity: 1;
        }

        /* =========================================================
           3. VIEWPORT & CARD SYSTEM
           ========================================================= */
        .vision-scroll-viewport {
            width: 100%;
            max-width: 580px;
            padding: 0.5rem 0.8rem 1rem 0.8rem;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            flex-grow: 1;
            overflow-y: auto;
            overflow-x: hidden;
            scrollbar-width: thin;
        }

        .vision-card {
            background: var(--jako-glass);
            border: 1px solid var(--jako-border);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            padding: 0.6rem 0.8rem;
            border-radius: 4px;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
            width: 100%;
        }

        body.light-mode .vision-card {
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.4);
        }

        .section-heading {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--jako-border);
            padding-bottom: 0.2rem;
            margin-bottom: 0.4rem;
        }

        .section-heading > span {
            font-family: 'Orbitron', sans-serif;
            font-size: 6px;
            font-weight: 700;
            letter-spacing: 0.1em;
            opacity: 0.5;
            text-transform: uppercase;
            text-align: left;
        }

        .section-heading h2 {
            font-family: 'Orbitron', sans-serif;
            font-size: 8.5px;
            font-weight: 700;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            text-align: right;
        }

/* =========================================================
           4. MACRO-BLOCK 2: BODY (PROFILE, EDUCATION, EXPERIENCE)
           ========================================================= */
        .engine-box {
            display: flex;
            gap: 0.8rem;
            align-items: center;
        }

        .engine-avatar {
            width: 62px;
            height: 62px;
            border-radius: 4px;
            object-fit: cover;
            border: 1px solid var(--jako-border);
            flex-shrink: 0;
            cursor: pointer;
            transition: opacity 0.2s ease;
        }

        .engine-avatar:hover {
            opacity: 0.85;
        }

        /* Profile Title Block & Embedded SVG Button */
        .engine-title-block {
            font-family: 'Orbitron', sans-serif;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.15em;
            margin-bottom: 0.25rem;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .profile-photo-btn {
            background: transparent;
            border: none;
            padding: 0;
            margin: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--jako-text);
            opacity: 1;
            transition: color 0.2s ease, transform 0.15s ease;
        }

        .profile-photo-btn .site-brand-mark {
            display: block;
            width: 21px;
            height: 21px;
            fill: currentColor;
            transition: fill 0.2s ease;
        }

        .profile-photo-btn:hover {
            transform: scale(1.1);
        }

        .profile-photo-icon {
            width: 13px;
            height: 13px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .engine-text {
            line-height: 1.35;
            font-size: 11px;
            font-weight: 500;
            opacity: 0.9;
        }

        /* Entity Row Styles */
        .dropSphere-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .dropSphere-row {
            display: flex;
            flex-direction: column;
            width: 100%;
            cursor: pointer;
            transition: opacity 0.15s ease;
        }

        .dropSphere-row:hover {
            opacity: 0.85;
        }

        .dropSphere-value {
            display: flex;
            flex-direction: column;
            gap: 0.15rem;
            width: 100%;
            font-size: 11px;
            line-height: 1.3;
        }

        .dropSphere-line-primary {
            display: flex;
            align-items: baseline;
            gap: 0.4rem;
            width: 100%;
            flex-wrap: wrap;
        }

        .dropSphere-line-secondary {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            width: 100%;
            flex-wrap: wrap;
        }

        .dropSphere-label {
            flex-shrink: 0;
            font-family: monospace;
            font-size: 8px;
            font-weight: 500;
            letter-spacing: 0.02em;
            opacity: 0.55;
            line-height: 1;
            white-space: nowrap;
        }

        .experience-tools {
            display: inline-block;
            font-family: 'Orbitron', sans-serif;
            font-size: 6px;
            font-weight: 700;
            letter-spacing: 0.08em;
            opacity: 0.6;
        }

        .metadata {
            opacity: 0.55;
            font-size: 8.5px;
        }

        /* =========================================================
           5. MEDIA GALLERY & PREVIEWS
           ========================================================= */
        .media-preview {
            display: none;
            width: 100%;
            padding: 0.4rem 0 0.2rem 0;
        }

        .media-preview.is-open {
            display: flex;
        }

        .media-gallery {
            flex-direction: row;
            gap: 0.4rem;
            overflow-x: auto;
            scrollbar-width: thin;
        }

        .media-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.2rem;
            cursor: pointer;
            flex: 0 0 88px;
            background: transparent;
            border: none;
        }

        .media-item img {
            width: 100%;
            height: 64px;
            object-fit: contain;
            border: 1px solid var(--jako-border);
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.8);
            transition: border-color 0.2s ease, transform 0.15s ease;
        }

        .media-item:hover img {
            transform: scale(1.02);
        }

        .media-item.is-selected img {
            border-color: var(--jako-text);
            box-shadow: 0 0 0 1px var(--jako-text);
        }

        .media-item span {
            font-family: 'Orbitron', sans-serif;
            font-size: 6px;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            opacity: 0.6;
        }

        .selected-media-preview {
            width: 100%;
        }

        .selected-media-preview img {
            width: 100%;
            height: auto;
            max-height: 480px;
            object-fit: contain;
            border-radius: 4px;
            border: 1px solid var(--jako-border);
            margin-top: 0.3rem;
            background: rgba(0, 0, 0, 0.02);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        /* =========================================================
           6. PRINT / PDF STYLES
           ========================================================= */
        @media print {
            html, body {
                height: auto !important;
                max-height: none !important;
                overflow: visible !important;
                background: #fff !important;
                color: #000 !important;
            }

            #page-bg-overlay, .ambient-gradient, .header-style-bar {
                display: none !important;
            }

            .vision-scroll-viewport {
                overflow: visible !important;
                height: auto !important;
                max-height: none !important;
                padding: 0 !important;
                max-width: 100% !important;
            }

            .vision-card {
                box-shadow: none !important;
                border: 1px solid #ddd !important;
                background: #fff !important;
                backdrop-filter: none !important;
                margin-bottom: 0.5rem;
                page-break-inside: avoid;
            }

            .media-preview.is-open {
                display: flex !important;
            }

            .selected-media-preview img {
                max-height: none !important;
                page-break-inside: avoid;
            }

            * {
                -webkit-print-color-adjust: exact !important;
                print-color-adjust: exact !important;
            }
        }

        @media (max-width: 360px) {
            .site-header {
                min-height: 42px;
                padding-inline: 0.65rem;
                gap: 0.5rem;
            }

            .site-brand-mark {
                width: 19px;
                height: 19px;
            }

            .site-brand {
                font-size: 10px;
                letter-spacing: 0.16em;
            }

            .header-control {
                width: 34px;
                min-height: 28px;
            }

            .header-controls {
                min-height: 28px;
            }
        }