:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}:root{--pr-purple-10: #f3e5f5;--pr-purple-20: #e1bee7;--pr-purple-40: #ba68c8;--pr-purple-60: #9c27b0;--pr-purple-70: #8e24aa;--pr-purple-80: #7b1fa2;--pr-purple-90: #6a1b9a;--pr-gray-10: #f4f4f4;--pr-gray-20: #e0e0e0;--pr-gray-30: #c6c6c6;--pr-gray-70: #525252;--pr-gray-90: #262626;--pr-gray-100: #161616;--bg-primary: #ffffff;--bg-secondary: var(--pr-gray-10);--topbar-bg: #ffffff;--panel-bg: var(--pr-gray-10);--card-bg: #ffffff;--border-color: var(--pr-gray-20);--text-primary: var(--pr-gray-100);--text-secondary: var(--pr-gray-70);--accent-primary: var(--pr-purple-60);--accent-hover: var(--pr-purple-70);--accent-active: var(--pr-purple-80);--accent-subtle-bg: var(--pr-purple-10)}.theme-dark{--bg-primary: var(--pr-gray-100);--bg-secondary: var(--pr-gray-90);--topbar-bg: var(--pr-gray-90);--panel-bg: var(--pr-gray-90);--card-bg: #2b2b2b;--border-color: #393939;--text-primary: var(--pr-gray-10);--text-secondary: var(--pr-gray-30);--accent-primary: var(--pr-purple-20);--accent-hover: var(--pr-purple-40);--accent-active: var(--pr-purple-60);--accent-subtle-bg: var(--pr-purple-90)}*{margin:0;padding:0;box-sizing:border-box}.margin10{margin:10px}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f8f9fa;color:#2d3748;overflow:hidden}.app-root{display:flex;min-height:100vh;width:100vw;max-height:100vh;max-width:100vw}.sidebar{width:200px;background:linear-gradient(180deg,#fff,#f7f9fc);border-right:1px solid #e2e8f0;padding:20px 12px;display:flex;flex-direction:column;gap:28px;box-shadow:2px 0 8px #0000000a;transition:width .3s ease;position:relative}.sidebar.collapsed{width:60px;padding:20px 8px}.sidebar-logo{display:flex;align-items:center;gap:10px;padding:8px}.logo-dot{width:8px;height:8px;background:#a020f0;border-radius:50%;box-shadow:0 0 10px #a020f066;flex-shrink:0}.sidebar-logo span{font-size:16px;font-weight:700;background:linear-gradient(135deg,#a020f0,#6366f1);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;white-space:nowrap}.sidebar-nav{display:flex;flex-direction:column;gap:6px}.nav-item{display:flex;align-items:center;gap:10px;padding:10px;border-radius:6px;border:1px solid transparent;background:none;color:#718096;cursor:pointer;font-weight:500;font-size:14px;transition:all .2s ease;white-space:nowrap}.nav-item:hover{background:#a020f00f;border-color:#a020f026;color:#2d3748}.nav-item-active{background:#a020f01f;border-color:#a020f0;color:#a020f0}.nav-dot{width:5px;height:5px;background:#a020f0;border-radius:50%;opacity:.6;flex-shrink:0}.nav-item-active .nav-dot{opacity:1;box-shadow:0 0 6px #a020f0}.sidebar-footer{margin-top:auto}.user-pill{display:flex;align-items:center;gap:10px;padding:10px;background:#a020f00f;border-radius:8px;border:1px solid rgba(160,32,240,.15)}.user-avatar{width:32px;height:32px;background:linear-gradient(135deg,#a020f0,#6366f1);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;font-size:13px;flex-shrink:0}.user-avatar-collapsed{width:36px;height:36px;background:linear-gradient(135deg,#a020f0,#6366f1);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;font-size:14px;margin:0 auto}.user-name{font-weight:600;color:#2d3748;font-size:14px}.user-role{font-size:12px;color:#718096}.sidebar-toggle{position:absolute;bottom:14px;right:-10px;width:20px;height:20px;background:#a020f026;border:1px solid rgba(160,32,240,.3);border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#a020f0;font-size:10px;transition:all .2s ease}.sidebar-toggle:hover{background:#a020f040;box-shadow:0 0 10px #a020f04d}.main{flex:1;display:flex;flex-direction:column;overflow:hidden;background:#fff}.topbar{display:flex;justify-content:space-between;align-items:flex-start;padding:16px 28px;border-bottom:1px solid #e2e8f0;background:#fff;min-height:72px}.topbar-title{font-size:24px;font-weight:700;background:linear-gradient(135deg,#a020f0,#6366f1);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:2px}.topbar-subtitle{color:#718096;font-size:14px}.topbar-actions{display:flex;align-items:center;gap:12px}.stat-tag{display:flex;align-items:center;gap:6px;padding:6px 10px;background:#a020f014;border:1px solid rgba(160,32,240,.2);border-radius:6px}.stat-icon{font-size:14px}.stat-value{font-size:16px;font-weight:700;color:#a020f0}.stat-label{font-size:11px;color:#718096;white-space:nowrap}.level-card{background:#a020f014;border:1px solid rgba(160,32,240,.2);border-radius:8px;padding:12px 16px;min-width:140px;text-align:center}.level-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.level-label{font-size:12px;color:#718096}.level-value{font-size:20px;font-weight:700;background:linear-gradient(135deg,#a020f0,#6366f1);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.xp-bar{height:4px;background:#a020f026;border-radius:3px;overflow:hidden;margin-bottom:6px}.xp-bar-fill{height:100%;background:linear-gradient(90deg,#a020f0,#6366f1);border-radius:3px;transition:width .3s ease}.xp-text{font-size:11px;color:#718096}.primary-btn{background:linear-gradient(135deg,#a020f0,#6366f1);border:none;padding:10px 20px;border-radius:6px;color:#fff;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 10px #a020f040}.primary-btn:hover{transform:translateY(-1px);box-shadow:0 4px 15px #a020f059}.content-main{flex:1;display:flex;flex-direction:column;gap:24px;padding:24px;overflow-y:auto}.kanban-wrapper{display:flex;flex-direction:column;background:#f8f9fa;border-radius:8px;padding:20px;border:1px solid #e2e8f0}.kanban-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.kanban-header h2{font-size:20px;font-weight:600;color:#2d3748}.kanban{display:flex;gap:20px;overflow-x:auto;padding-bottom:12px}.kanban-column{min-width:280px;flex:1;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:16px;transition:border-color .2s ease}.kanban-column:hover{border-color:#a020f04d}.kanban-column-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:10px;border-bottom:1px solid #e2e8f0}.kanban-column-header span:first-child{font-size:16px;font-weight:600;color:#a020f0}.column-count{background:#a020f01f;color:#a020f0;padding:2px 8px;border-radius:4px;font-size:12px;font-weight:600}.kanban-column-body{display:flex;flex-direction:column;gap:12px;min-height:100px}.empty-column{color:#a0aec0;text-align:center;padding:32px 16px;font-style:italic;font-size:14px}.task-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:16px;transition:all .2s ease;cursor:grab;box-shadow:0 1px 3px #0000000d;position:relative}.task-card:hover{border-color:#a020f066;box-shadow:0 4px 12px #a020f01f;transform:translateY(-2px)}.task-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px;gap:8px}.task-title{font-weight:600;font-size:15px;flex:1;color:#2d3748}.task-details{color:#718096;font-size:13px;line-height:1.4;margin-bottom:12px}.task-footer{display:flex;justify-content:space-between;align-items:center;gap:8px}.task-meta{font-size:12px;color:#a0aec0}.pill{background:#a020f01f;color:#a020f0;padding:3px 10px;border-radius:4px;font-size:12px;font-weight:600}.pill-soft{background:#6366f11a;color:#6366f1}.pill-btn{background:#a020f01a;color:#a020f0;border:1px solid rgba(160,32,240,.25);padding:4px 10px;border-radius:4px;font-size:11px;font-weight:600;cursor:pointer;transition:all .2s}.pill-btn:hover{background:#a020f0;color:#fff}.pill-btn:disabled{opacity:.5;cursor:not-allowed}.learning-path-summary{display:flex;flex-direction:column;gap:6px;align-items:flex-end;max-width:360px}.learning-path-steps,.learning-path-next{display:flex;flex-direction:column;align-items:flex-end}.learning-path-label{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#a0aec0}.learning-path-sequence{font-size:13px;color:#4a5568}.learning-path-recommended{font-size:13px;font-weight:600;color:#a020f0}.task-card.task-locked{cursor:not-allowed;opacity:.6;border-style:dashed}.task-actions{display:flex;align-items:center;gap:6px}.task-lock-pill{font-size:10px;text-transform:uppercase;letter-spacing:.5px;padding:2px 6px;border-radius:999px;background:#94a3b840;color:#4b5563}.task-next-pill{font-size:10px;text-transform:uppercase;letter-spacing:.5px;padding:2px 6px;border-radius:999px;background:#34d39929;color:#16a34a;border:1px solid rgba(34,197,94,.5)}.task-card.task-recommended{border-color:#22c55eb3;box-shadow:0 0 0 1px #22c55e80,0 4px 16px #22c55e40}.logic-simulator{background:#f8f9fa;border:1px solid #e2e8f0;border-radius:8px;padding:24px;display:flex;flex-direction:column;gap:20px}.logic-header h3{font-size:20px;font-weight:600;color:#2d3748;margin-bottom:6px}.logic-header p{font-size:14px;color:#718096}.logic-formula{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:16px;font-family:Courier New,monospace}.formula-label{font-size:12px;color:#a020f0;margin-bottom:8px;font-weight:600}.formula-text{font-size:16px;color:#2d3748;margin-bottom:12px;font-weight:600}.formula-notes{display:flex;flex-direction:column;gap:4px;font-size:11px;color:#718096}.logic-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}.control-group{display:flex;flex-direction:column;gap:8px}.control-label{font-size:11px;font-weight:600;color:#718096;text-transform:uppercase;letter-spacing:.5px;font-family:Courier New,monospace}.control-slider{width:100%;height:6px;border-radius:3px;outline:none;-webkit-appearance:none;appearance:none}.impact-slider{background:linear-gradient(to right,#e2e8f0,#a020f0)}.impact-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;border-radius:50%;background:#a020f0;cursor:pointer;box-shadow:0 2px 6px #a020f066}.urgency-slider{background:linear-gradient(to right,#e2e8f0,#6366f1)}.urgency-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;border-radius:50%;background:#6366f1;cursor:pointer;box-shadow:0 2px 6px #6366f166}.effort-slider{background:linear-gradient(to right,#e2e8f0,#ef4444)}.effort-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;border-radius:50%;background:#ef4444;cursor:pointer;box-shadow:0 2px 6px #ef444466}.control-info{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#a0aec0}.control-value{font-weight:700;color:#2d3748;font-size:13px}.logic-results{display:flex;gap:20px;align-items:center;padding-top:20px;border-top:1px solid #e2e8f0}.result-score{text-align:center;min-width:120px}.result-score-label{font-size:10px;font-weight:600;color:#718096;text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px;font-family:Courier New,monospace}.result-score-value{font-size:36px;font-weight:700;color:#2d3748}.result-recommendation{flex:1}.result-recommendation-label{font-size:10px;font-weight:600;color:#718096;text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px;font-family:Courier New,monospace}.result-recommendation-text{font-size:18px;color:#a020f0;font-weight:600;margin-bottom:8px}.result-bar{width:100%;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.result-bar-fill{height:100%;background:linear-gradient(90deg,#6366f1,#a020f0);border-radius:4px;transition:width .3s ease}.modal-backdrop{position:fixed;inset:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal{background:#fff;border:1px solid #e2e8f0;border-radius:8px;width:90vw;max-width:480px;max-height:90vh;overflow-y:auto;padding:28px;box-shadow:0 20px 60px #00000026}.modal-title{font-size:22px;font-weight:700;color:#a020f0;margin-bottom:20px}.modal-body{display:flex;flex-direction:column}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.field span{font-size:13px;font-weight:600;color:#4a5568}.field input,.field select,.field textarea{padding:10px 14px;border:1px solid #cbd5e0;border-radius:6px;background:#fff;color:#2d3748;font-size:14px;transition:all .2s ease}.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:#a020f0;box-shadow:0 0 0 3px #a020f01a}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-footer{display:flex;gap:12px;justify-content:flex-end;margin-top:20px;padding-top:20px;border-top:1px solid #e2e8f0}.ghost-btn{background:transparent;border:1px solid #cbd5e0;color:#718096;padding:10px 20px;border-radius:6px;cursor:pointer;font-weight:600;font-size:14px;transition:all .2s ease}.ghost-btn:hover{border-color:#a020f0;color:#a020f0}.task-detail-modal{max-width:700px}.task-instructions p{font-size:14px;color:#718096;margin-bottom:16px}.code-editor{width:100%;min-height:200px;font-family:Courier New,monospace;font-size:13px;background:#0f1220;color:#e5e7eb;border:1px solid rgba(255,255,255,.15);border-radius:6px;padding:12px;resize:vertical}.content-main::-webkit-scrollbar,.kanban::-webkit-scrollbar{width:4px;height:4px}.content-main::-webkit-scrollbar-track,.kanban::-webkit-scrollbar-track{background:transparent}.content-main::-webkit-scrollbar-thumb,.kanban::-webkit-scrollbar-thumb{background:#a020f026;border-radius:2px}.content-main::-webkit-scrollbar-thumb:hover,.kanban::-webkit-scrollbar-thumb:hover{background:#a020f04d}@media(max-width:768px){.sidebar{width:60px;padding:20px 8px}.sidebar-logo span,.user-pill{display:none}.topbar{flex-direction:column;gap:12px}.topbar-actions{flex-wrap:wrap;width:100%}.logic-controls{grid-template-columns:1fr}.logic-results{flex-direction:column;align-items:flex-start}.learning-path-summary{align-items:flex-start}}.theme-dark,.theme-dark body{background:#0f1220;color:#e5e7eb}.theme-dark .sidebar{background:linear-gradient(180deg,#121528,#0e1020);border-right:1px solid rgba(255,255,255,.08);box-shadow:2px 0 12px #0009}.theme-dark .sidebar-logo span{background:linear-gradient(135deg,#a020f0,#6366f1);-webkit-text-fill-color:transparent}.theme-dark .nav-item{color:#9ca3af}.theme-dark .nav-item:hover{background:#a020f026;border-color:#a020f059;color:#e5e7eb}.theme-dark .nav-item-active{background:#a020f040;border-color:#a020f0;color:#c084fc}.theme-dark .user-pill{background:#a020f026;border-color:#a020f059}.theme-dark .user-name{color:#e5e7eb}.theme-dark .user-role{color:#9ca3af}.theme-dark .sidebar-toggle{background:#a020f040;border-color:#a020f080}.theme-dark .main{background:#0f1220}.theme-dark .topbar{background:#121528;border-bottom:1px solid rgba(255,255,255,.08)}.theme-dark .topbar-subtitle{color:#9ca3af}.theme-dark .kanban-wrapper,.theme-dark .logic-simulator{background:#121528;border-color:#ffffff14}.theme-dark .kanban-column,.theme-dark .task-card,.theme-dark .logic-formula,.theme-dark .modal{background:#0e1020;border-color:#ffffff14}.theme-dark .kanban-column:hover,.theme-dark .task-card:hover{border-color:#a020f099;box-shadow:0 8px 24px #0009}.theme-dark h1,.theme-dark h2,.theme-dark h3,.theme-dark .task-title,.theme-dark .logic-header h3,.theme-dark .result-score-value{color:#e5e7eb}.theme-dark .task-details,.theme-dark .logic-header p,.theme-dark .xp-text,.theme-dark .control-info{color:#9ca3af}.theme-dark .pill,.theme-dark .column-count,.theme-dark .stat-tag{background:#a020f040;color:#c084fc;border-color:#a020f066}.theme-dark .primary-btn{box-shadow:0 4px 18px #a020f080}.theme-dark .ghost-btn{border-color:#ffffff26;color:#9ca3af}.theme-dark .ghost-btn:hover{border-color:#a020f0;color:#c084fc}.theme-dark .field input,.theme-dark .field select,.theme-dark .field textarea{background:#0f1220;border-color:#ffffff1f;color:#e5e7eb}.theme-dark .field span{color:#9ca3af}.theme-dark .field input:focus,.theme-dark .field select:focus,.theme-dark .field textarea:focus{border-color:#a020f0;box-shadow:0 0 0 3px #a020f04d}.theme-dark .impact-slider,.theme-dark .urgency-slider,.theme-dark .effort-slider{background:linear-gradient(to right,#1f2933,#a020f0)}.theme-dark .result-bar{background:#ffffff1f}.theme-dark .modal-backdrop{background:#000000bf}.theme-dark .content-main::-webkit-scrollbar-thumb,.theme-dark .kanban::-webkit-scrollbar-thumb{background:#a020f059}.settings-modal{max-width:520px}.settings-section{margin-bottom:28px;padding-bottom:28px;border-bottom:1px solid #e2e8f0}.settings-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.settings-section-title{font-size:16px;font-weight:600;color:#2d3748;margin-bottom:16px}.theme-toggle-container{display:flex;justify-content:space-between;align-items:center;gap:20px}.theme-toggle-label span{font-size:15px;font-weight:600;color:#2d3748;display:block;margin-bottom:4px}.theme-toggle-description{font-size:13px;color:#718096;margin:0}.theme-toggle{position:relative;width:56px;height:28px;background:#e2e8f0;border-radius:14px;border:none;cursor:pointer;transition:background .3s ease;flex-shrink:0}.theme-toggle.active{background:#a020f0}.theme-toggle-slider{position:absolute;top:3px;left:3px;width:22px;height:22px;background:#fff;border-radius:50%;transition:transform .3s ease;box-shadow:0 2px 4px #0003}.theme-toggle.active .theme-toggle-slider{transform:translate(28px)}.danger-btn{background:transparent;border:1px solid #ef4444;color:#ef4444;padding:10px 20px;border-radius:6px;cursor:pointer;font-weight:600;font-size:14px;transition:all .2s ease}.danger-btn:hover{background:#ef4444;color:#fff}.theme-dark .settings-section-title,.theme-dark .theme-toggle-label span{color:#e5e7eb}.theme-dark .theme-toggle-description{color:#9ca3af}.theme-dark .theme-toggle{background:#ffffff1f}.theme-dark .danger-btn{border-color:#ef4444;color:#ef4444}.theme-dark .danger-btn:hover{background:#ef4444;color:#fff}.workspace-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:20px;background:var(--bg-primary);color:var(--text-primary)}.task-workspace{display:flex;flex-direction:column;min-height:100vh;background:var(--bg-primary);color:var(--text-primary)}.workspace-header{display:flex;align-items:center;justify-content:space-between;padding:20px 32px;background:var(--topbar-bg);gap:50px;flex-shrink:0;height:80px;border-bottom:1px solid var(--border-color)}.workspace-back-btn{background:transparent;border:1px solid var(--border-color);color:var(--text-secondary);padding:8px 16px;border-radius:6px;cursor:pointer;font-weight:600;font-size:14px;transition:all .2s ease;white-space:nowrap}.workspace-back-btn:hover{border-color:var(--accent-primary);color:var(--accent-primary);background:var(--accent-subtle-bg)}.workspace-back-btn:focus-visible,.workspace-notes-editor:focus-visible{outline:2px solid var(--accent-primary);outline-offset:2px}.workspace-header-info{flex:1}.workspace-title{font-size:22px;font-weight:700;color:var(--text-primary);margin-bottom:8px}.workspace-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.workspace-meta-text{font-size:13px;color:var(--text-secondary)}.workspace-header-actions{display:flex;align-items:center;gap:16px}.workspace-save-status{font-size:13px;color:var(--text-secondary);font-style:italic}.workspace-content{gap:0;overflow:hidden;flex:1;display:grid;grid-template-columns:260px 1fr 260px;min-height:0}.workspace-sidebar{background:var(--panel-bg);border-right:1px solid var(--border-color);padding:24px;overflow-y:auto}.workspace-section{margin-bottom:28px}.workspace-section-title{font-size:16px;font-weight:600;color:var(--text-primary);margin-bottom:12px}.workspace-instructions{font-size:14px;line-height:1.6;color:var(--text-secondary)}.workspace-hints{list-style:none;padding:0;font-size:14px;color:var(--text-secondary)}.workspace-hints li{padding:8px 0 8px 20px;position:relative}.workspace-hints li:before{content:"→";position:absolute;left:0;color:var(--accent-primary)}.workspace-editor-area{height:100%;position:relative;display:flex;flex-direction:column;background:var(--bg-secondary);padding:34px;overflow:hidden;min-height:0}.workspace-editor-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:16px}.workspace-language-badge{background:var(--accent-subtle-bg);color:var(--accent-primary);border:1px solid var(--accent-primary);padding:4px 12px;border-radius:4px;font-size:12px;font-weight:700;text-transform:uppercase}.workspace-editor{flex:1;min-height:500px}.workspace-editor textarea{outline:none!important;color:var(--text-primary)!important;caret-color:var(--accent-primary)!important}.workspace-notes-area{background:var(--panel-bg);border-left:1px solid var(--border-color);padding:24px;overflow-y:auto;display:flex;flex-direction:column;gap:24px}.workspace-notes-editor{width:100%!important;height:300px!important;min-height:300px!important;display:block!important;box-sizing:border-box!important;padding:12px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#2d3748;font-size:14px;font-family:inherit;resize:vertical;transition:all .2s ease}.workspace-notes-editor:focus{outline:none;border-color:#a020f0;box-shadow:0 0 0 3px #a020f01a}.workspace-progress-info{font-size:14px;line-height:1.8;color:var(--text-secondary)}.workspace-progress-info strong{color:var(--text-primary);font-weight:700}.workspace-notes-area .workspace-section{display:block;flex:none}.theme-dark .workspace-notes-editor{background:#0e1020;border-color:#ffffff14;color:#e5e7eb}.theme-dark .workspace-notes-editor:focus{border-color:#a020f0;box-shadow:0 0 0 3px #a020f04d}.task-card{cursor:pointer}.task-card:hover .task-title{color:#a020f0}.task-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.task-actions button{pointer-events:auto}.task-lock-pill,.task-next-pill{font-size:11px;font-weight:600;padding:3px 8px;border-radius:4px;white-space:nowrap}.task-lock-pill{background:#ef444426;color:#ef4444}.task-next-pill{background:#22c55e26;color:#22c55e}.task-prioritize-btn{background:#6366f11a;color:#6366f1;border-color:#6366f140}@media(max-width:1200px){.workspace-content{grid-template-columns:1fr;overflow-y:auto}.workspace-sidebar,.workspace-notes-area{border:none;border-top:1px solid var(--border-color);overflow-y:auto;min-height:0;padding:16px}}.workspace-toast{position:fixed;top:24px;left:50%;transform:translate(-50%);background:var(--pr-gray-100);color:#fff;padding:12px 24px;border-radius:8px;z-index:9999;animation:toast-fade-in .3s ease;border-left:4px solid var(--accent-primary);box-shadow:0 8px 24px #a020f059;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;font-weight:600;z-index:2000;min-width:320px;animation:slideInUp .3s ease,fadeOut .3s ease 4.7s}@keyframes toast-fade-in{0%{opacity:0;transform:translate(-50%,-20px)}to{opacity:1;transform:translate(-50%)}}.task-workspace{height:100vh;display:flex;flex-direction:column}.logic-simulator:focus-within{border-color:var(--accent-primary);box-shadow:0 0 0 2px var(--accent-subtle-bg)}.task-prioritize-btn:hover{background:#6366f1;color:#fff}@keyframes slideInUp{0%{transform:translateY(100px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.toast-content{display:flex;align-items:center;gap:12px;flex:1}.toast-icon{font-size:18px;background:#fff3;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.toast-message{flex:1}.toast-action-btn{background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff;padding:6px 14px;border-radius:5px;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap;flex-shrink:0}.toast-action-btn:hover{background:#ffffff4d;border-color:#ffffff80;transform:translateY(-1px)}.toast-action-btn:active{transform:translateY(0)}.workspace-content{display:grid;grid-template-columns:33% 33% 33%;height:calc(100vh - 80px)}.workspace-editor-area{overflow:hidden;display:flex;flex-direction:column;min-height:0}.workspace-scroll{flex:1;overflow-y:auto;min-height:0;padding-right:16px}.workspace-center-scroll{height:100%;overflow-y:auto;padding-right:8px}.editor-wrapper{height:400px;flex-shrink:0;border-radius:8px;overflow:hidden}.solution-editor{height:280px}css .solution-content{display:flex;flex-direction:column;gap:12px}.solution-editor-wrapper{height:280px;border-radius:6px;overflow:hidden;border:1px solid var(--border-color)}.solution-notes{font-size:13px;line-height:1.6;color:var(--text-secondary);padding:12px;background:var(--accent-subtle-bg);border-radius:6px;border:1px solid var(--border-color);margin:0}.theme-dark .solution-notes{background:#a020f01a;border-color:#a020f033}.run-button{background:linear-gradient(135deg,#22c55e,#16a34a);border:none;padding:8px 16px;border-radius:6px;color:#fff;font-weight:600;font-size:13px;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px #22c55e40;display:flex;align-items:center;gap:6px}.run-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #22c55e59}.run-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.results-panel{background:#0f1220;border:1px solid rgba(255,255,255,.1);border-radius:6px;padding:16px;min-height:200px;max-height:400px;overflow-y:auto;font-family:Courier New,monospace;font-size:13px;margin-bottom:20px}.results-output{margin:0;color:#e5e7eb;white-space:pre-wrap;word-wrap:break-word;line-height:1.6}.results-empty{color:#9ca3af;font-style:italic;text-align:center;padding:40px 20px;margin:0}.results-panel::-webkit-scrollbar{width:6px}.results-panel::-webkit-scrollbar-track{background:#ffffff0d;border-radius:3px}.results-panel::-webkit-scrollbar-thumb{background:#a020f04d;border-radius:3px}.results-panel::-webkit-scrollbar-thumb:hover{background:#a020f080}.theme-dark .run-button{box-shadow:0 2px 8px #22c55e66}.theme-dark .run-button:hover:not(:disabled){box-shadow:0 4px 12px #22c55e80}.theme-dark .results-panel{background:#0a0d14;border-color:#ffffff14}body:not(.theme-dark) .results-panel{background:#fff;border:1px solid #e2e8f0}body:not(.theme-dark) .results-output{color:#2d3748}body:not(.theme-dark) .results-empty{color:#718096}body:not(.theme-dark) .results-panel::-webkit-scrollbar-track{background:#f8f9fa}body:not(.theme-dark) .results-panel::-webkit-scrollbar-thumb{background:#a020f033}body:not(.theme-dark) .results-panel::-webkit-scrollbar-thumb:hover{background:#a020f059}.task-progress-line{position:absolute;bottom:0;left:0;height:2px;width:100%;opacity:.4;pointer-events:none;background:linear-gradient(90deg,#a020f0,#22c55e);box-shadow:0 0 8px #a020f099}.task-progress-to-do{background:linear-gradient(90deg,#a020f066,#a020f01a)}.task-progress-in-progress{background:linear-gradient(90deg,#22c55ee6 50%,#22c55e33 50%);box-shadow:0 0 8px #22c55e99}.task-progress-done{background:linear-gradient(90deg,#a020f0,#22c55e);box-shadow:0 0 12px #a020f0cc;opacity:1}.task-card.next-task{animation:nextTaskPulse 2.5s ease-in-out infinite}@keyframes nextTaskPulse{0%{box-shadow:0 0 #a020f000}50%{box-shadow:0 0 14px #a020f099}to{box-shadow:0 0 #a020f000}}.debug-toggle-btn{background:#ef44441a;border:1px solid rgba(239,68,68,.3);color:#ef4444;padding:6px 12px;border-radius:5px;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap}.debug-toggle-btn:hover{background:#ef444433;border-color:#ef4444}.debug-toggle-btn.active{background:#ef4444;color:#fff;border-color:#ef4444;box-shadow:0 0 10px #ef444466}.debug-panel{display:flex;flex-direction:column;gap:16px;background:#0f1220;border:1px solid rgba(255,255,255,.1);border-radius:6px;padding:16px;font-family:Courier New,monospace;font-size:12px;max-height:400px;overflow-y:auto}.debug-section{display:flex;flex-direction:column;gap:8px}.debug-section h4{font-size:11px;font-weight:700;color:#ef4444;text-transform:uppercase;letter-spacing:.5px;margin:0;padding-bottom:8px;border-bottom:1px solid rgba(239,68,68,.3)}.variables-list{display:flex;flex-direction:column;gap:6px}.variable-item{display:flex;justify-content:space-between;align-items:center;padding:6px 10px;background:#a020f01a;border:1px solid rgba(160,32,240,.2);border-radius:4px}.var-name{color:#c084fc;font-weight:600}.var-value{color:#e5e7eb;font-style:italic}.debug-output{display:flex;flex-direction:column;gap:4px}.debug-line{padding:4px 8px;background:#6366f11a;border-left:2px solid #6366f1;color:#e5e7eb;font-size:11px;line-height:1.4}.debug-empty{color:#9ca3af;font-style:italic;font-size:12px;text-align:center;padding:12px;margin:0}.assistant-toggle-btn{width:70%;background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;padding:10px 12px;border-radius:6px;color:#fff;font-weight:600;font-size:13px;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px #6366f14d}.assistant-toggle-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #6366f166}.ai-assistant-dock{position:absolute;top:0;right:0;width:320px;height:100%;background:#0f1220f2;border-left:1px solid rgba(255,255,255,.1);padding:12px;display:flex;flex-direction:column;gap:8px;resize:horizontal;overflow:auto}.assistant-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.assistant-header h4{font-size:16px;font-weight:700;color:#6366f1;margin:0}.assistant-close{background:transparent;border:none;font-size:24px;color:#718096;cursor:pointer;padding:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.assistant-close:hover{background:#ef44441a;color:#ef4444}.assistant-input-area{display:flex;flex-direction:column;gap:10px}.assistant-input{width:100%;padding:12px;background:#fff;border:1px solid #cbd5e0;border-radius:6px;color:#2d3748;font-size:13px;font-family:inherit;resize:vertical;transition:all .2s ease}.assistant-input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.assistant-ask-btn{background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;padding:10px 20px;border-radius:6px;color:#fff;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px #6366f140;align-self:flex-end}.assistant-ask-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #6366f159}.assistant-ask-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.assistant-response{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:16px;max-height:300px;overflow-y:auto}.assistant-response pre{margin:0;color:#2d3748;font-size:13px;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;font-family:inherit}.theme-dark .debug-panel{background:#0a0d14;border-color:#ffffff14}.theme-dark .ai-assistant-panel{background:#121528;border-color:#6366f1;box-shadow:0 4px 12px #6366f14d}.theme-dark .assistant-input{background:#0e1020;border-color:#ffffff1f;color:#e5e7eb}.theme-dark .assistant-input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f14d}.theme-dark .assistant-response{background:#0e1020;border-color:#ffffff14}.theme-dark .assistant-response pre{color:#e5e7eb}.theme-dark .assistant-header{border-bottom-color:#ffffff14}@media(max-width:1200px){.ai-assistant-panel{margin-top:12px}.debug-panel{max-height:250px}.assistant-response{max-height:200px}}.ai-assistant-dock{position:absolute;top:0;right:0;height:100%;width:340px;background:#0f1220;border-left:1px solid rgba(160,32,240,.4);z-index:20;display:flex;flex-direction:column;animation:slideIn .25s ease-out}@keyframes slideIn{0%{transform:translate(100%);opacity:.8}to{transform:translate(0);opacity:1}}
