@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Inter:wght@400;600;800&display=swap');
        
        body { font-family: 'Inter', sans-serif; padding-top: 76px; }
        .font-mono { font-family: 'JetBrains Mono', monospace; }
        
        /* --- 배경 및 레이아웃 (Background & Layout) --- */
        /* Context-Allocator 스타일 통일 */

        /* 중앙 타임라인 연결선 */
        .step-line {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 2px;
            background: rgba(255, 255, 255, 0.30);
            z-index: 0;
            border-radius: 4px;
            max-height: calc(100% - 600px);
            overflow: hidden;
        }
        
        /* --- UI 컴포넌트 (Components) --- */
        /* 카드 스타일: Context-Allocator 패턴 적용 */
        .step-card {
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.30);
            border-radius: 12px;
        }
        .step-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
            border-color: rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.05);
        }

        /* Context Card: 우측 데이터 박스 */
        .context-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.30);
            border-radius: 12px;
            transition: all 0.3s ease;
        }
        .context-card:hover {
            border-color: rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.05);
        }

        /* 연결 점선 */
        .dotted-connector {
            border-top: 2px dashed #475569;
            position: absolute;
            top: 50%;
            width: 3rem;
            z-index: 0;
        }
        .right-connector { right: -3rem; }
        .left-connector { left: -3rem; }

        /* AI 모델 뱃지 */
        .badge-base { padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; color: white; transition: all 0.3s ease; display: inline-block; margin-right: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.3); letter-spacing: 0.025em; }
        
        /* 레고 블록 부유 애니메이션 */
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-5px); }
        }
        .lego-block { animation: float 3s ease-in-out infinite; }
        
        /* 전략 선택 탭 버튼 */
        .tab-btn { transition: all 0.3s ease; border-bottom: 2px solid transparent; }
        .tab-btn.active { border-color: #38bdf8; background-color: rgba(56, 189, 248, 0.15); color: #38bdf8; text-shadow: 0 0 10px rgba(56, 189, 248, 0.3); }
        
        .fade-in { animation: fadeIn 0.5s ease-in-out; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

        /* --- 3D CUBE SYSTEM (순수 CSS 입체 표현) --- */
        .cube-wrapper { perspective: 800px; width: 80px; height: 80px; }
        .cube {
            width: 100%; height: 100%; position: relative;
            transform-style: preserve-3d;
            transform: rotateX(-20deg) rotateY(-30deg);
            transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .cube-wrapper:hover .cube { transform: rotateX(-10deg) rotateY(-20deg) scale(1.1); }
        .cube-face {
            position: absolute; width: 80px; height: 80px;
            border: 2px solid rgba(255,255,255,0.1);
            background: rgba(15, 23, 42, 0.9);
            display: flex; align-items: center; justify-content: center;
            box-shadow: inset 0 0 15px rgba(0,0,0,0.5);
        }
        .cube-front  { transform: rotateY(  0deg) translateZ(40px); border-color: rgba(255,255,255,0.3); }
        .cube-right  { transform: rotateY( 90deg) translateZ(40px); background: rgba(30, 41, 59, 0.9); }
        .cube-back   { transform: rotateY(180deg) translateZ(40px); }
        .cube-left   { transform: rotateY(-90deg) translateZ(40px); }
        .cube-top    { transform: rotateX( 90deg) translateZ(40px); background: rgba(51, 65, 85, 0.9); }
        .cube-bottom { transform: rotateX(-90deg) translateZ(40px); }

        /* --- 큐브 내부 2D 심볼 그래픽 (CSS Drawing) --- */
        .symbol-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; width: 50%; height: 50%; gap: 2px; }
        .symbol-grid div { border: 1px solid currentColor; opacity: 0.8; }
        .symbol-browser { width: 60%; height: 50%; border: 2px solid currentColor; border-radius: 2px; display: flex; flex-direction: column; }
        .symbol-browser-head { height: 6px; border-bottom: 1px solid currentColor; display: flex; align-items: center; gap: 2px; padding-left: 2px; }
        .symbol-dot { w: 2px; h: 2px; background: currentColor; border-radius: 50%; }
        .symbol-browser-body { flex: 1; display: flex; }
        .symbol-sidebar { width: 30%; border-right: 1px solid currentColor; }
        .symbol-small-cubes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 50%; }
        .small-cube { width: 100%; padding-bottom: 100%; border: 1px solid currentColor; position: relative; }
        .symbol-flow { width: 50%; height: 50%; border: 2px dashed currentColor; border-radius: 50%; position: relative; }
        .symbol-arrow { position: absolute; top: -4px; right: 40%; font-size: 10px; }
        .symbol-puzzle { display: flex; gap: 0; align-items: center; justify-content: center; }
        .puzzle-piece { width: 20px; height: 20px; border: 1px solid currentColor; margin: -2px; }
        .symbol-3d-inner { width: 30px; height: 30px; border: 1px solid currentColor; transform: rotate(45deg); position: relative; }
        .symbol-3d-inner::after { content: ''; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; border: 1px solid currentColor; transform: translate(-50%, -50%) rotate(-45deg); }
        .symbol-stress { font-size: 32px; font-weight: bold; }
        .symbol-deploy { width: 4px; height: 30px; background: currentColor; position: relative; }
        .symbol-deploy::before { content: ''; position: absolute; top: -8px; left: -6px; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 10px solid currentColor; }
        .symbol-box { width: 40px; height: 20px; border: 2px solid currentColor; position: absolute; bottom: 0; left: -18px; }

        /* --- MAGNETIC BLOCK STYLES (2D 라운드 박스) --- */
        .mag-container { display: flex; gap: 40px; align-items: center; justify-content: center; padding: 60px 0; }
        .mag-block {
            width: 140px; height: 160px;
            position: relative;
            background: linear-gradient(135deg, #0c4a6e 0%, #1e293b 100%);
            border: 1px solid rgba(56, 189, 248, 0.4);
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(56, 189, 248, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        .mag-block:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(56, 189, 248, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            border-color: rgba(56, 189, 248, 0.6);
        }
        .mag-face { display: none; }

        /* Block Front: Gradient Body */
        .mag-front {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #0c4a6e 0%, #1e293b 100%);
            display: flex;
            flex-direction: column;
        }
        .mag-right { display: none; }
        .mag-top {
            width: 100%;
            height: auto;
            background: #0ea5e9;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            color: #fff;
            font-weight: bold;
            font-family: monospace;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
            padding: 8px;
            border-bottom: 1px solid rgba(56, 189, 248, 0.3);
        }
        
        .mag-header-content { 
            height: 25%; display: flex; align-items: center; justify-content: center; 
            color: #38bdf8; font-weight: bold; font-size: 14px; font-family: monospace; letter-spacing: 1px; 
            border-bottom: 1px dashed #38bdf8;
        }
        .mag-body-content { 
            height: 75%; padding: 10px; 
            font-family: 'JetBrains Mono', monospace; font-size: 9px; color: #94a3b8; 
            overflow: hidden; white-space: pre; line-height: 1.4;
        }
        
        /* + 연결 기호 스타일 */
        .mag-plus {
            font-size: 2rem; color: #64748b; font-weight: bold;
            text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
        }

        /* --- BLUEPRINT STRUCTURE MAP (청사진 UI) --- */
        .bp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .bp-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.30);
            border-radius: 12px;
            padding: 0;
            overflow: hidden;
            font-family: 'JetBrains Mono', monospace;
        }
        .bp-header { 
            background: rgba(255, 255, 255, 0.05); 
            padding: 10px 14px; 
            border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
            display: flex; justify-content: space-between; align-items: center;
        }
        .bp-title { font-size: 13px; font-weight: bold; color: #e2e8f0; }
        .bp-tag { font-size: 10px; padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); color: #94a3b8; }
        .bp-body { padding: 14px; color: #94a3b8; font-size: 11px; line-height: 1.4; }
        
        /* Blueprint Header Zone */
        .header-zone { 
            border: 1px dashed rgba(99, 102, 241, 0.5); 
            background: rgba(99, 102, 241, 0.1); 
            padding: 10px; margin-bottom: 10px; border-radius: 8px; position: relative;
        }
        .header-label { 
            position: absolute; top: -8px; left: 10px; background: #050505; 
            padding: 0 4px; color: #818cf8; font-size: 9px; font-weight: bold;
        }
        
        /* Blueprint Body Zone */
        .body-zone { 
            border: 1px solid rgba(255, 255, 255, 0.1); 
            background: rgba(255, 255, 255, 0.02); 
            padding: 10px; border-radius: 8px; position: relative; min-height: 60px;
            display: flex; align-items: center; justify-content: center; color: #64748b;
        }
        .body-label { 
             position: absolute; top: -8px; left: 10px; background: #050505; 
            padding: 0 4px; color: #cbd5e1; font-size: 9px; font-weight: bold;
        }

        .ascii-art { white-space: pre; overflow-x: auto; color: #a5b4fc; font-size: 9px; line-height: 1.2; text-align: center; width: 100%; }

        /* 3D AI Model Cube Styles (Unified with remider.html) */
        .ai-cube-scene {
            perspective: 1000px;
            width: 260px;
            height: 260px;
            margin: 0 auto;
            cursor: grab;
        }
        .ai-cube-scene:active {
            cursor: grabbing;
        }
        .ai-cube {
            width: 100%;
            height: 100%;
            position: relative;
            transform-style: preserve-3d;
        }
        .ai-cube-face {
            position: absolute;
            width: 260px;
            height: 260px;
            border: 2px solid rgba(148, 163, 184, 0.2);
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
            color: #cbd5e1;
            font-family: 'JetBrains Mono', monospace;
            font-size: 10px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            backface-visibility: visible;
            overflow: hidden;
            border-radius: 4px;
            user-select: none;
            opacity: 0.95;
        }

        /* AI Model Face Transforms */
        .ai-face-front  { transform: rotateY(0deg) translateZ(130px); }
        .ai-face-back   { transform: rotateY(180deg) translateZ(130px); }
        .ai-face-right  { transform: rotateY(90deg) translateZ(130px); }
        .ai-face-left   { transform: rotateY(-90deg) translateZ(130px); }
        .ai-face-top    { transform: rotateX(90deg) translateZ(130px); }
        .ai-face-bottom { transform: rotateX(-90deg) translateZ(130px); }

        /* AI Model Face Colors - Transparent backgrounds with colored borders */
        .ai-face-front  { background: rgba(168, 85, 247, 0.15); border-color: rgba(168, 85, 247, 0.6); color: #e9d5ff; } /* Claude - Purple */
        .ai-face-back   { background: rgba(34, 197, 94, 0.15); border-color: rgba(34, 197, 94, 0.6); color: #bbf7d0; } /* Gemini - Green */
        .ai-face-right  { background: rgba(249, 115, 22, 0.15); border-color: rgba(249, 115, 22, 0.6); color: #fed7aa; } /* Grok - Orange */
        .ai-face-left   { background: rgba(59, 130, 246, 0.15); border-color: rgba(59, 130, 246, 0.6); color: #93c5fd; } /* Haiku - Blue */
        .ai-face-top    { background: rgba(236, 72, 153, 0.15); border-color: rgba(236, 72, 153, 0.6); color: #fbcfe8; } /* Codex - Pink */
        .ai-face-bottom { background: rgba(6, 182, 212, 0.15); border-color: rgba(6, 182, 212, 0.6); color: #67e8f9; } /* Sonnet - Cyan */