.app-shell{min-height:100vh;display:flex;flex-direction:column;background:#f9fafb}.app-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:1rem 2rem;background:#ffffffe6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid rgba(226,232,240,.8)}.app-header h1{margin:0;font-size:1.2rem;color:#111827}.app-header nav{display:flex;gap:1rem}.text-link{color:#475569;font-weight:500}.text-link.active{color:#4f46e5}.app-main{flex:1;display:flex;padding:1.5rem 2rem 2rem}.workspace{display:flex;gap:2rem;width:100%;position:relative}.sidebar-overlay{display:none}.sidebar{width:260px;background:#fff;border-radius:1.5rem;padding:1.5rem;box-shadow:0 15px 40px #0f172a0d;display:flex;flex-direction:column;gap:1.5rem;transition:width .25s ease,padding .25s ease,opacity .2s ease;overflow:hidden}.sidebar.collapsed{padding:0;width:0!important;opacity:0;box-shadow:none;pointer-events:none}.sidebar-header h2{margin:0}.sidebar .primary.full{width:100%;margin-top:.75rem}.usage-guide-sidebar{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fbbf24;border-radius:10px;padding:.65rem .85rem;margin-bottom:1rem}.guide-sidebar-header{display:flex;align-items:center;gap:.5rem;color:#78350f;font-size:.8rem}.guide-sidebar-header svg{color:#f59e0b;flex-shrink:0}.guide-sidebar-header strong{flex:1;color:#92400e}.ghost-icon-mini{border:1px solid #fbbf24;background:#ffffff80;border-radius:4px;padding:.1rem .35rem;font-size:.9rem;color:#92400e;cursor:pointer;transition:all .15s ease;flex-shrink:0;line-height:1}.ghost-icon-mini:hover{background:#fffc}.guide-sidebar-steps{display:flex;flex-direction:column;gap:.4rem;margin-top:.6rem;padding-top:.6rem;border-top:1px dashed rgba(251,191,36,.5)}.guide-sidebar-step{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:#78350f}.guide-sidebar-step .step-num{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-weight:700;font-size:.7rem;flex-shrink:0}.sidebar-section{flex:1;overflow-y:auto}.sidebar-footer{border-top:1px solid #e2e8f0;padding-top:1rem;font-size:.85rem}.canvas{flex:1;min-height:calc(100vh - 120px);background:transparent;display:flex;flex-direction:column;gap:1rem}.canvas.full{margin-left:0}.canvas-header{display:flex;gap:1rem;align-items:center;padding-bottom:.5rem}.canvas-header .breadcrumbs{flex:1}.canvas-actions{display:flex;gap:.75rem;align-items:center}.canvas-actions input[type=search]{padding:.5rem .75rem;border-radius:.75rem;border:1px solid #e5e7eb;min-width:160px;font-size:.9rem}.canvas-body{flex:1;background:#fff;border-radius:1.5rem;padding:1.25rem;box-shadow:0 20px 50px #0f172a0d;margin-bottom:120px}.usage-guide-compact{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fbbf24;border-radius:10px;padding:.65rem 1rem;margin-bottom:.75rem;gap:1rem}.guide-compact-content{display:flex;align-items:center;gap:.5rem;flex:1}.guide-compact-content svg{color:#f59e0b;flex-shrink:0}.guide-compact-content span{font-size:.85rem;color:#78350f;line-height:1.4}.guide-compact-content strong{color:#92400e}.ghost-icon-small{border:1px solid #fbbf24;background:#ffffff80;border-radius:6px;padding:.2rem .5rem;font-size:1rem;color:#92400e;cursor:pointer;transition:all .15s ease;flex-shrink:0}.ghost-icon-small:hover{background:#fffc}.usage-guide-expanded{background:linear-gradient(135deg,#fef9e7,#fef3c7);border:1px solid #fbbf24;border-radius:10px;padding:1rem;margin-bottom:.75rem;animation:slideIn .2s ease}.guide-steps-horizontal{display:flex;align-items:center;gap:.75rem;overflow-x:auto;padding:.25rem 0}.guide-steps-horizontal::-webkit-scrollbar{height:4px}.guide-steps-horizontal::-webkit-scrollbar-track{background:#fbbf241a;border-radius:2px}.guide-steps-horizontal::-webkit-scrollbar-thumb{background:#fbbf24;border-radius:2px}.guide-step-compact{display:flex;align-items:center;gap:.5rem;min-width:160px;flex-shrink:0}.step-number-small{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-weight:700;font-size:.75rem;flex-shrink:0;box-shadow:0 2px 6px #f59e0b40}.step-text{display:flex;flex-direction:column;gap:.15rem}.step-text strong{color:#78350f;font-size:.8rem}.step-text span{color:#92400e;font-size:.7rem;line-height:1.3}.step-arrow-small{color:#d97706;flex-shrink:0}.usage-guide{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fbbf24;border-radius:16px;padding:1.5rem;margin-bottom:1.5rem}.guide-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1.25rem}.guide-header svg{color:#f59e0b;flex-shrink:0}.guide-header h3{margin:0;font-size:1.1rem;color:#78350f;flex:1}.guide-header .ghost-icon{border-color:#fbbf24;background:#ffffff80;color:#92400e}.guide-header .ghost-icon:hover{background:#fffc}.guide-steps{display:flex;align-items:center;gap:1rem;overflow-x:auto;padding-bottom:.5rem}.guide-steps::-webkit-scrollbar{height:4px}.guide-steps::-webkit-scrollbar-track{background:#fbbf2433;border-radius:2px}.guide-steps::-webkit-scrollbar-thumb{background:#fbbf24;border-radius:2px}.guide-step{display:flex;align-items:flex-start;gap:.75rem;min-width:180px;flex-shrink:0}.step-number{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-weight:700;font-size:.9rem;flex-shrink:0;box-shadow:0 2px 8px #f59e0b4d}.step-content{flex:1}.step-content strong{display:block;color:#78350f;font-size:.9rem;margin-bottom:.25rem}.step-content p{margin:0;color:#92400e;font-size:.8rem;line-height:1.4}.step-arrow{color:#d97706;flex-shrink:0;margin-top:.35rem}.directory-context-card{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:12px;padding:1rem 1.25rem;margin-bottom:1rem;display:flex;gap:1.25rem;align-items:flex-start}.context-info{flex:1;min-width:0}.context-info h2{margin:0 0 .25rem;font-size:1.5rem;color:#0f172a}.context-desc{margin:0;color:#64748b;font-size:.9rem}.context-guide{display:flex;align-items:center;gap:.5rem;margin-top:.75rem;padding:.75rem 1rem;background:linear-gradient(135deg,#eef2ff,#e0f2fe);border-radius:10px;font-size:.85rem;color:#475569;border:1px solid #dbeafe}.context-guide svg{color:#4f46e5;flex-shrink:0}.prompt-panel{flex:0 0 400px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1rem;position:relative}.prompt-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.prompt-header-left{display:flex;align-items:center;gap:.5rem}.prompt-header span{font-weight:600;font-size:.85rem;color:#374151}.prompt-badge{display:inline-flex;align-items:center;padding:.15rem .5rem;border-radius:999px;font-size:.7rem;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;font-weight:600}.prompt-actions{display:flex;gap:.5rem}.prompt-actions .ghost-compact{display:flex;align-items:center;gap:.35rem}.copy-guide{display:flex;align-items:center;gap:.5rem;margin-top:.75rem;padding:.75rem 1rem;background:linear-gradient(135deg,#d1fae5,#a7f3d0);border-radius:8px;font-size:.85rem;color:#065f46;font-weight:500;animation:slideIn .3s ease}.guide-arrow{color:#059669;animation:bounce 1.5s ease-in-out infinite}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(4px)}}.prompt-body{max-height:150px;overflow:auto;border-radius:8px;background:#f8fafc;padding:.75rem;font-size:.85rem;color:#334155;line-height:1.6}.prompt-body pre{margin:0;white-space:pre-wrap;font-family:SF Mono,Monaco,Courier New,monospace;font-size:.8rem}.directory-context-compact{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:.85rem 1rem;margin-bottom:1rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}.compact-info{display:flex;align-items:center;gap:1rem}.compact-info h2{margin:0;font-size:1.25rem;color:#0f172a}.compact-actions{display:flex;gap:.5rem}.file-explorer{display:flex;flex-direction:column;gap:1rem}.explorer-toolbar{display:flex;justify-content:space-between;align-items:center}.search-result-hint{margin:0;color:#64748b;font-size:.9rem}.breadcrumbs{display:flex;flex-wrap:wrap;gap:.5rem}.crumb{border:1px solid transparent;background:transparent;padding:.35rem .75rem;border-radius:999px;color:#64748b;font-size:.9rem}.crumb:hover{background:#f1f5f9}.crumb.active{background:#e0f2fe;color:#0369a1;font-weight:500}.directory-chips-wrapper{display:block;overflow-x:auto;margin:0 -.25rem;padding:0 .25rem}.directory-chips-wrapper::-webkit-scrollbar{height:6px}.directory-chips-wrapper::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.directory-chips-wrapper::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.directory-chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.75rem;margin-bottom:1rem}.folder-chip{border:1px solid #e5e7eb;border-radius:14px;padding:14px 16px;text-align:left;background:linear-gradient(135deg,#fff,#fafafa);transition:all .2s ease;box-shadow:0 2px 8px #0f172a08}.folder-chip:hover{border-color:#c7d2fe;background:linear-gradient(135deg,#fafafa,#f5f3ff);box-shadow:0 8px 16px #4f46e51a;transform:translateY(-2px)}.folder-chip .chip-header{display:flex;justify-content:space-between;font-weight:600;font-size:.95rem;margin-bottom:.5rem}.chip-prompt{margin:.5rem 0 0;font-size:.8rem;color:#64748b;max-height:2.4em;overflow:hidden;text-overflow:ellipsis;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.chip-desc{margin:.35rem 0 0;font-size:.75rem;color:#94a3b8;font-style:italic}.view-toggle{display:inline-flex;background:#f1f5f9;border-radius:999px;padding:.2rem}.toggle{border:none;background:transparent;padding:.3rem .7rem;border-radius:999px;color:#64748b;font-size:.85rem}.toggle.active{background:#fff;box-shadow:0 2px 8px #0f172a14;color:#0f172a}.file-grid,.file-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.25rem}.file-list{grid-template-columns:1fr}.file-card{position:relative;border:1px solid #e5e7eb;border-radius:14px;background:#fff;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;box-shadow:0 2px 8px #0f172a08;-webkit-user-select:none;user-select:none}.user-guide-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999;pointer-events:none}.guide-highlight{position:absolute;border-radius:8px;box-shadow:0 0 0 9999px #00000080;transition:all .3s cubic-bezier(.25,.8,.25,1);pointer-events:none;z-index:9998;border:2px solid #f59e0b;animation:pulse-border 2s infinite}@keyframes pulse-border{0%{box-shadow:0 0 #f59e0b66,0 0 0 9999px #00000080}70%{box-shadow:0 0 0 10px #f59e0b00,0 0 0 9999px #00000080}to{box-shadow:0 0 #f59e0b00,0 0 0 9999px #00000080}}.guide-tooltip{position:absolute;background:#fff;border-radius:12px;padding:1.25rem;box-shadow:0 10px 40px #0003;pointer-events:auto;z-index:10000;transition:all .3s cubic-bezier(.25,.8,.25,1);animation:float-in .4s ease-out}@keyframes float-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.guide-close{position:absolute;top:10px;right:10px;background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s}.guide-close:hover{background:#f1f5f9;color:#64748b}.guide-content h3{margin:0 0 .75rem;font-size:1.1rem;color:#0f172a;display:flex;align-items:center;gap:.75rem}.step-badge{display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:#f59e0b;color:#fff;border-radius:50%;font-size:.8rem;font-weight:700}.guide-content p{margin:0 0 1.25rem;color:#475569;font-size:.95rem;line-height:1.6}.guide-footer{display:flex;justify-content:space-between;align-items:center}.guide-dots{display:flex;gap:6px}.guide-dots .dot{width:8px;height:8px;border-radius:50%;background:#e2e8f0;transition:all .2s}.guide-dots .dot.active{background:#f59e0b;width:16px;border-radius:4px}.guide-actions{display:flex;gap:.75rem}.btn-primary-sm{display:flex;align-items:center;gap:.25rem;background:#f59e0b;color:#fff;border:none;padding:.4rem .85rem;border-radius:6px;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-primary-sm:hover{background:#d97706}.btn-secondary-sm{display:flex;align-items:center;gap:.25rem;background:#f1f5f9;color:#64748b;border:none;padding:.4rem .85rem;border-radius:6px;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-secondary-sm:hover{background:#e2e8f0;color:#475569}.file-card:hover{transform:translateY(-2px);box-shadow:0 12px 24px #0f172a14;border-color:#c7d2fe}.file-card:active{transform:translateY(0)}.file-card.list{display:flex;align-items:center}.file-card.list .file-preview{flex:0 0 200px;height:140px}.file-preview{height:200px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);overflow:hidden;position:relative}.file-preview iframe{width:100%;height:100%;border:none;pointer-events:none}.file-preview-fallback{display:flex;align-items:center;justify-content:center;height:100%;color:#94a3b8;font-weight:600;letter-spacing:.2em;font-size:1rem}.file-meta{border-top:1px solid #f1f5f9;display:flex;justify-content:space-between;padding:.65rem .85rem;gap:.5rem;align-items:center}.file-name{display:flex;align-items:center;gap:.35rem;font-weight:600;font-size:.9rem;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-type-icon{flex-shrink:0}.file-menu-button{display:none}.file-menu-button-footer{border:1px solid #e5e7eb;background:#fff;color:#64748b;border-radius:6px;padding:.25rem .5rem;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .15s ease;flex-shrink:0;line-height:1}.file-menu-button-footer:hover{background:#f8fafc;color:#4f46e5;border-color:#c7d2fe}.highlight{background-color:#fef08a;font-weight:600}.tree,.tree ul{list-style:none;padding-left:1rem;margin:0}.tree-row{display:flex;align-items:center;gap:.5rem;margin:.15rem -1rem;padding:8px 12px;color:#475569;cursor:pointer;border-radius:6px;transition:background .1s ease}.tree-row:hover{background:#f1f5f9}.tree-row.active{background:#eff6ff;color:#2563eb;font-weight:600}.tree-icon{display:flex;align-items:center;opacity:.7;flex-shrink:0}.tree-folder{border:none;background:transparent;color:inherit;text-align:left;padding:0}.context-menu{position:fixed;background:#fff;border:1px solid rgba(226,232,240,.9);border-radius:12px;box-shadow:0 20px 50px #0f172a26;padding:.5rem;min-width:180px;z-index:40}.context-title{font-size:.75rem;color:#94a3b8;padding:.25rem .5rem .5rem}.context-menu button{width:100%;border:none;background:transparent;text-align:left;padding:.5rem .6rem;border-radius:8px;font-size:.9rem}.context-menu button:hover{background:#4f46e514}.primary,.secondary,button{cursor:pointer;font:inherit}.primary{background:#4f46e5;color:#fff;border:none;padding:.55rem 1rem;border-radius:.75rem;font-weight:500;font-size:.9rem;transition:all .2s ease}.primary:hover{background:#4338ca;box-shadow:0 4px 12px #4f46e540}.primary-compact{background:#4f46e5;color:#fff;border:none;padding:.35rem .75rem;border-radius:6px;font-size:.8rem;font-weight:500;transition:all .15s ease}.primary-compact:hover{background:#4338ca}.secondary{background:transparent;border:1px solid #d1d5db;padding:.5rem .9rem;border-radius:.75rem;font-size:.9rem;transition:all .15s ease}.secondary:hover{background:#f9fafb;border-color:#9ca3af}.ghost-compact{background:transparent;border:1px solid #e5e7eb;padding:.35rem .7rem;border-radius:6px;font-size:.8rem;color:#64748b;transition:all .15s ease}.ghost-compact:hover{background:#f9fafb;color:#374151}.ghost-compact:disabled{opacity:.5;cursor:not-allowed}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a66;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:50}.modal{background:#fff;border-radius:20px;width:min(560px,92%);max-height:90vh;overflow-y:auto;box-shadow:0 30px 80px #0f172a40}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #f1f5f9}.modal-header h3{margin:0;font-size:1.1rem}.modal-header button{border:none;background:transparent;font-size:1.1rem;color:#94a3b8;padding:.25rem}.modal-header button:hover{color:#475569}.modal-body{padding:1.5rem}.upload-form{display:flex;flex-direction:column;gap:1.25rem}.location-badge{display:flex;align-items:center;gap:.5rem;background:#f1f5f9;padding:.6rem 1rem;border-radius:10px;font-size:.9rem;color:#475569}.badge-icon{font-size:1rem}.badge-text{font-weight:500}.segmented-control{display:flex;background:#f1f5f9;border-radius:10px;padding:.25rem}.segment{flex:1;border:none;background:transparent;padding:.5rem 1rem;border-radius:8px;font-size:.9rem;color:#64748b;transition:all .15s ease}.segment.active{background:#fff;color:#0f172a;font-weight:500;box-shadow:0 2px 8px #0000000f}.code-editor-wrapper{position:relative}.paste-hint{position:absolute;top:.75rem;right:.75rem;background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46;padding:.5rem .75rem;border-radius:8px;font-size:.8rem;font-weight:500;z-index:10;box-shadow:0 4px 12px #05966933;animation:slideIn .3s ease;pointer-events:none}.code-editor{width:100%;font-family:SF Mono,Monaco,Menlo,Courier New,monospace;background:#1e293b;color:#e2e8f0;border:none;border-radius:12px;padding:1rem 1.25rem;line-height:1.6;font-size:.85rem;resize:vertical;min-height:200px}.code-editor::placeholder{color:#64748b}.code-editor:focus{outline:none;box-shadow:0 0 0 2px #4f46e54d}.token-section{border-top:1px dashed #e5e7eb;padding-top:1rem}.submit-btn{margin-top:.5rem}.auto-fill-hint{color:#059669;font-size:.8rem;animation:fadeIn .3s ease}.highlight-pulse{animation:pulse .5s ease}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.01)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.form-grid{display:grid;gap:1rem}.input-group{display:flex;flex-direction:column;gap:.35rem}.input-group label{font-size:.85rem;font-weight:500;color:#374151}input,textarea,select{border:1px solid #e5e7eb;border-radius:10px;padding:.6rem .75rem;font-size:.9rem;transition:border-color .15s ease,box-shadow .15s ease}input:focus,textarea:focus,select:focus{outline:none;border-color:#a5b4fc;box-shadow:0 0 0 3px #a5b4fc33}textarea{resize:vertical}.status-success{color:#059669;font-size:.9rem}.status-error{color:#dc2626;font-size:.9rem}.muted{color:#64748b;font-size:.85rem}.section-title{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;margin-bottom:.5rem}.open-link{display:none;color:#4f46e5;font-weight:500;font-size:.85rem}.empty-placeholder{border:2px dashed #e5e7eb;border-radius:12px;padding:2rem 1rem;grid-column:1/-1;text-align:center;color:#64748b}.empty-placeholder p{margin:.25rem 0}.ticket-card{border:1px solid #e2e8f0;border-radius:1rem;padding:1rem 1.25rem;margin-top:1rem;background:#f8fafc;display:flex;flex-direction:column;gap:.75rem}.ticket-card.compact{flex-direction:row;align-items:center;gap:1rem;padding:.75rem 1rem;margin-top:.5rem}.ticket-meta{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.ticket-actions{display:flex;justify-content:flex-end;gap:.75rem;flex-wrap:wrap}.status-pill{display:inline-flex;align-items:center;padding:.1rem .75rem;border-radius:999px;font-size:.8rem;background:#e2e8f0;color:#475569;font-weight:600}.status-pill.success{background:#d1fae5;color:#065f46}.ticket-hint{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.65rem 1rem;border-radius:.85rem;background:#eef2ff;margin-bottom:.75rem}.ticket-hint p{margin:0;font-size:.9rem}.admin-page{display:flex;flex-direction:column;gap:1.5rem}.admin-manager{margin-top:.5rem}.admin-manager-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}.admin-manager-actions{display:flex;gap:.75rem;align-items:center}.admin-manager-actions input[type=search]{padding:.45rem .75rem;border-radius:.75rem;border:1px solid #e2e8f0}.admin-manager-breadcrumbs{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}.resizer{width:6px;cursor:col-resize;border-radius:999px;margin-left:-1rem;margin-right:-1rem;position:relative}.resizer:after{content:"";position:absolute;top:0;bottom:0;left:50%;width:2px;background:#94a3b84d;transform:translate(-50%)}.ghost-icon{border:1px solid #e5e7eb;background:#fff;border-radius:8px;padding:.35rem .6rem;margin-right:.5rem;font-size:1rem}.ghost-icon:hover{background:#f9fafb}.ai-dock-wrapper{position:fixed;bottom:0;left:0;right:0;z-index:30;display:flex;flex-direction:column;align-items:center;padding:.75rem 2rem 1rem;background:linear-gradient(180deg,transparent 0%,rgba(255,255,255,.95) 15%,rgba(255,255,255,.98) 100%);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none}.ai-dock-hint{display:flex;align-items:center;gap:.5rem;font-size:.8rem;color:#64748b;margin-bottom:.5rem;pointer-events:auto}.dock-hint-prompt{color:#059669;font-weight:500}.ai-dock{display:flex;gap:.6rem;background:#fffffff2;border:1px solid rgba(226,232,240,.8);border-radius:16px;padding:.6rem .85rem;box-shadow:0 12px 32px #0f172a1f;pointer-events:auto;overflow-x:auto;max-width:100%}.ai-dock::-webkit-scrollbar{height:4px}.ai-dock::-webkit-scrollbar-track{background:transparent}.ai-dock::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.dock-item{display:flex;flex-direction:column;align-items:center;gap:.3rem;border:none;background:transparent;padding:.45rem .65rem;border-radius:10px;cursor:pointer;transition:all .2s ease;min-width:65px;flex-shrink:0}.dock-item:hover{background:var(--dock-color, #4f46e5);transform:translateY(-4px) scale(1.05);box-shadow:0 8px 24px #4f46e540}.dock-item:hover .dock-icon{color:#fff;transform:scale(1.1)}.dock-item:hover .dock-label{color:#fff;font-weight:600}.dock-icon{display:flex;align-items:center;justify-content:center;color:var(--dock-color, #4f46e5);transition:all .2s ease}.dock-label{font-size:.7rem;color:#475569;font-weight:500;transition:all .2s ease;white-space:nowrap}@media (max-width: 1024px){.directory-context-card{flex-direction:column}.prompt-panel{flex:1;width:100%}}@media (max-width: 768px){.app-main{padding:1rem}.workspace{gap:0;position:relative}.sidebar-overlay{display:block;position:fixed;top:0;left:0;right:0;bottom:0;background:#0f172a80;z-index:99;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.sidebar{position:fixed;top:0;left:0;bottom:0;width:280px!important;z-index:100;transform:translate(-100%);transition:transform .3s ease;border-radius:0;box-shadow:none}.sidebar:not(.collapsed){transform:translate(0);box-shadow:20px 0 50px #0f172a40}.resizer{display:none}.canvas{width:100%;margin-left:0!important}.canvas.full{margin-left:0}.canvas-body{margin-bottom:140px;padding:1rem}.usage-guide-compact{padding:.6rem .85rem;gap:.75rem}.guide-compact-content span{font-size:.8rem}.usage-guide-expanded{padding:.85rem}.guide-steps-horizontal{flex-direction:column;align-items:stretch;gap:.5rem}.guide-step-compact{min-width:100%}.step-arrow-small{display:none}.canvas-header{flex-wrap:wrap;gap:.75rem}.breadcrumbs{width:100%;order:-1}.canvas-actions{width:100%;gap:.5rem}.canvas-actions input[type=search]{flex:1;min-width:100px}.canvas-actions button{flex-shrink:0}.usage-guide{padding:1rem}.guide-header h3{font-size:1rem}.guide-steps{flex-direction:column;align-items:stretch}.guide-step{min-width:100%}.step-arrow{display:none}.directory-context-card{flex-direction:column;padding:1rem}.prompt-panel{flex:1;width:100%}.directory-context-compact{flex-direction:column;align-items:flex-start;gap:.75rem;padding:1rem}.compact-info{flex-direction:column;align-items:flex-start;gap:.25rem}.directory-chips{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:.5rem}.folder-chip{min-width:200px;flex-shrink:0}.file-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem}.file-preview{height:150px}.file-menu-button-footer{padding:.3rem .6rem;font-size:1rem}.modal{width:100%;max-width:100%;height:100vh;max-height:100vh;border-radius:0;margin:0}.modal-body{max-height:calc(100vh - 80px);overflow-y:auto}.code-editor{font-size:.8rem;min-height:250px}.ai-dock-wrapper{padding:.6rem .85rem .85rem}.ai-dock-hint{font-size:.75rem;margin-bottom:.4rem}.ai-dock{padding:.5rem .65rem;gap:.45rem;border-radius:12px}.dock-item{min-width:58px;padding:.35rem .5rem;gap:.25rem}.dock-icon svg{width:20px;height:20px}.dock-label{font-size:.65rem}.context-menu{position:fixed!important;bottom:0!important;left:0!important;right:0!important;top:auto!important;transform:none!important;border-radius:20px 20px 0 0;min-width:100%;padding:1rem}.context-menu button{padding:.75rem 1rem;font-size:1rem}}@media (max-width: 480px){.file-grid{grid-template-columns:1fr}.usage-guide-compact{padding:.5rem .75rem}.guide-compact-content span{font-size:.75rem}.usage-guide-expanded{padding:.75rem}.step-text strong{font-size:.75rem}.step-text span{font-size:.65rem}.usage-guide{padding:.75rem}.guide-header h3{font-size:.95rem}.canvas-actions button{font-size:.85rem;padding:.45rem .75rem}.ai-dock{gap:.35rem}.dock-item{min-width:52px;padding:.3rem .4rem}.dock-icon svg{width:18px;height:18px}.dock-label{font-size:.6rem}}.file-info-group{display:flex;flex-direction:column;gap:.25rem;flex:1;min-width:0}.file-visits{font-size:.75rem;color:#64748b;display:flex;align-items:center;gap:.25rem}:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#0f172a;background-color:#f5f6fb}body{margin:0;min-height:100vh;background-color:#f5f6fb}*{box-sizing:border-box}a{color:#2563eb;text-decoration:none}a:hover{text-decoration:underline}button{cursor:pointer}
