.modal-backdrop[data-v-1f899e52]{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:grid;place-items:center;z-index:100}.modal-dialog[data-v-1f899e52]{background:#fff;border-radius:20px;padding:28px 32px;width:min(400px,90vw);box-shadow:0 24px 60px #141e502e}.modal-title[data-v-1f899e52]{margin:0 0 8px;font-size:1.1rem;color:#111827}.modal-body[data-v-1f899e52]{margin:0 0 24px;color:#6b7280;font-size:.95rem}.modal-actions[data-v-1f899e52]{display:flex;justify-content:flex-end;gap:10px}.modal-cancel[data-v-1f899e52]{padding:10px 20px;border:1px solid #d1d5db;border-radius:12px;background:#fff;color:#374151;cursor:pointer;font-weight:600}.modal-cancel[data-v-1f899e52]:hover{background:#f9fafb}.modal-confirm[data-v-1f899e52]{padding:10px 20px;border:none;border-radius:12px;background:#ef4444;color:#fff;cursor:pointer;font-weight:600}.modal-confirm[data-v-1f899e52]:hover{background:#dc2626}.saved-badge[data-v-1f899e52]{margin:0;padding:8px 14px;background:#f0fdf4;color:#15803d;border-radius:10px;font-size:.875rem;font-weight:600;text-align:center}.saved-fade-enter-active[data-v-1f899e52]{transition:opacity .2s ease}.saved-fade-leave-active[data-v-1f899e52]{transition:opacity .5s ease}.saved-fade-enter-from[data-v-1f899e52],.saved-fade-leave-to[data-v-1f899e52]{opacity:0}.modal-backdrop[data-v-6e87b2ac]{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:grid;place-items:center;z-index:100}.modal-dialog[data-v-6e87b2ac]{background:#fff;border-radius:20px;padding:28px 32px;width:min(440px,92vw);box-shadow:0 24px 60px #141e502e}.modal-title[data-v-6e87b2ac]{margin:0 0 20px;font-size:1.15rem;color:#111827}form[data-v-6e87b2ac]{display:flex;flex-direction:column;gap:14px}.field-group[data-v-6e87b2ac]{display:flex;flex-direction:column;gap:6px}.field-group label[data-v-6e87b2ac]{font-size:.875rem;color:#4b5563;font-weight:500}.field-group input[data-v-6e87b2ac],.field-group select[data-v-6e87b2ac]{padding:10px 12px;border:1px solid #d1d5db;border-radius:12px;font:inherit;font-size:.95rem;outline:none}.field-group input[data-v-6e87b2ac]:focus,.field-group select[data-v-6e87b2ac]:focus{border-color:#7d6fa2;box-shadow:0 0 0 3px #7d6fa226}.divider[data-v-6e87b2ac]{border:none;border-top:1px solid #e5e7eb;margin:4px 0}.section-label[data-v-6e87b2ac]{margin:0;font-weight:600;font-size:.9rem;color:#374151}.optional[data-v-6e87b2ac]{font-weight:400;color:#9ca3af}.feedback[data-v-6e87b2ac]{margin:0;padding:10px 14px;border-radius:10px;font-size:.9rem}.error[data-v-6e87b2ac]{background:#fef2f2;color:#b91c1c}.success[data-v-6e87b2ac]{background:#f0fdf4;color:#15803d}.modal-actions[data-v-6e87b2ac]{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.btn-cancel[data-v-6e87b2ac]{padding:10px 20px;border:1px solid #d1d5db;border-radius:12px;background:#fff;color:#374151;cursor:pointer;font-weight:600;font:inherit}.btn-cancel[data-v-6e87b2ac]:hover{background:#f9fafb}.btn-save[data-v-6e87b2ac]{padding:10px 20px;border:none;border-radius:12px;background:#7d6fa2;color:#fff;cursor:pointer;font-weight:600;font:inherit}.btn-save[data-v-6e87b2ac]:hover:not(:disabled){background:#6a5d8e}.btn-save[data-v-6e87b2ac]:disabled{opacity:.6;cursor:not-allowed}.modal-backdrop[data-v-97f9ab9b]{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:grid;place-items:center;z-index:100}.modal-dialog[data-v-97f9ab9b]{background:#fff;border-radius:20px;padding:28px 32px;width:min(640px,95vw);max-height:90vh;overflow-y:auto;box-shadow:0 24px 60px #141e502e;display:flex;flex-direction:column;gap:16px}.modal-header[data-v-97f9ab9b]{display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-title[data-v-97f9ab9b]{margin:0;font-size:1.15rem;color:#111827}.btn-add[data-v-97f9ab9b]{padding:8px 16px;border:none;border-radius:10px;background:#7d6fa2;color:#fff;font:inherit;font-size:.875rem;font-weight:600;cursor:pointer;white-space:nowrap}.btn-add[data-v-97f9ab9b]:hover{background:#6a5d8e}.state-msg[data-v-97f9ab9b]{color:#9ca3af;text-align:center;padding:24px 0}.user-table[data-v-97f9ab9b]{width:100%;border-collapse:collapse;font-size:.9rem}.user-table th[data-v-97f9ab9b]{text-align:left;padding:8px 10px;color:#6b7280;font-weight:600;border-bottom:1px solid #e5e7eb;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em}.user-table td[data-v-97f9ab9b]{padding:10px;border-bottom:1px solid #f3f4f6;color:#111827;vertical-align:middle}.email-cell[data-v-97f9ab9b]{color:#6b7280}.role-badge[data-v-97f9ab9b]{display:inline-block;padding:2px 10px;border-radius:99px;font-size:.78rem;font-weight:600}.role-admin[data-v-97f9ab9b]{background:#ede9f7;color:#6d4ab0}.role-user[data-v-97f9ab9b]{background:#f0fdf4;color:#15803d}.actions-cell[data-v-97f9ab9b]{display:flex;gap:6px}.btn-icon[data-v-97f9ab9b]{width:30px;height:30px;border-radius:8px;border:none;cursor:pointer;font-size:1rem;display:flex;align-items:center;justify-content:center;transition:background .15s}.btn-edit[data-v-97f9ab9b]{background:#f3f4f6;color:#374151}.btn-edit[data-v-97f9ab9b]:hover{background:#e5e7eb}.btn-delete[data-v-97f9ab9b]{background:#fef2f2;color:#ef4444}.btn-delete[data-v-97f9ab9b]:hover:not(:disabled){background:#fee2e2}.btn-delete[data-v-97f9ab9b]:disabled{opacity:.3;cursor:not-allowed}form[data-v-97f9ab9b]{display:flex;flex-direction:column;gap:14px}.field-group[data-v-97f9ab9b]{display:flex;flex-direction:column;gap:5px}.field-group label[data-v-97f9ab9b]{font-size:.875rem;color:#4b5563;font-weight:500}.field-group input[data-v-97f9ab9b],.field-group select[data-v-97f9ab9b]{padding:10px 12px;border:1px solid #d1d5db;border-radius:12px;font:inherit;font-size:.95rem;outline:none}.field-group input[data-v-97f9ab9b]:focus,.field-group select[data-v-97f9ab9b]:focus{border-color:#7d6fa2;box-shadow:0 0 0 3px #7d6fa226}.field-hint[data-v-97f9ab9b]{font-size:.8rem;color:#9ca3af}.feedback.error[data-v-97f9ab9b]{margin:0;padding:10px 14px;border-radius:10px;background:#fef2f2;color:#b91c1c;font-size:.9rem}.delete-msg[data-v-97f9ab9b]{margin:0;color:#374151}.modal-footer[data-v-97f9ab9b]{display:flex;justify-content:flex-end}.modal-actions[data-v-97f9ab9b]{display:flex;justify-content:flex-end;gap:10px}.btn-cancel[data-v-97f9ab9b]{padding:10px 20px;border:1px solid #d1d5db;border-radius:12px;background:#fff;color:#374151;cursor:pointer;font-weight:600;font:inherit}.btn-cancel[data-v-97f9ab9b]:hover{background:#f9fafb}.btn-save[data-v-97f9ab9b]{padding:10px 20px;border:none;border-radius:12px;background:#7d6fa2;color:#fff;cursor:pointer;font-weight:600;font:inherit}.btn-save[data-v-97f9ab9b]:hover:not(:disabled){background:#6a5d8e}.btn-save[data-v-97f9ab9b]:disabled,.btn-danger[data-v-97f9ab9b]:disabled{opacity:.6;cursor:not-allowed}.btn-danger[data-v-97f9ab9b]{padding:10px 20px;border:none;border-radius:12px;background:#ef4444;color:#fff;cursor:pointer;font-weight:600;font:inherit}.btn-danger[data-v-97f9ab9b]:hover:not(:disabled){background:#dc2626}:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f4eff8;color:#202533;--accent: #c9b9d4;--accent-dark: #7d6fa2;--accent-light: #efe4f2;--accent-strong: #8f78b0;--accent-foreground: #43355d;--surface: #ffffff;--border: #d1d5db;--muted: #6b7280}*{box-sizing:border-box}body,html{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}.app-shell{min-height:100vh}.login-screen{display:grid;place-items:center;min-height:100vh;background:linear-gradient(180deg,#f8f0fb,#ede7f3)}.login-card{width:min(450px,90vw);background:#fff;border-radius:24px;box-shadow:0 24px 60px #141e501f;padding:32px}.login-card h1{margin:0 0 24px;font-size:1.75rem}.login-card label{display:block;margin-top:16px;color:#4b5563}.login-card input,.login-card textarea,.login-card select{width:100%;padding:12px 14px;border:1px solid #d1d5db;border-radius:12px;margin-top:8px}.login-card button{width:100%;margin-top:24px;background:var(--accent-dark);border:none;color:#fff;padding:14px 16px;border-radius:12px;cursor:pointer;font-weight:600}.login-card .hint{margin-top:16px;color:#6b7280}.login-card .error{margin-top:12px;color:#b91c1c}.layout{height:100vh;display:flex;flex-direction:column;overflow:hidden}.header-bar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:20px 28px;background:#fff;border-bottom:1px solid #e5e7eb;flex-shrink:0;z-index:10}.title-area{display:flex;align-items:center;gap:12px;color:#111827;font-size:1rem;font-weight:700}.logo{height:42px;width:auto}.app-title{display:none;font-size:1rem}.current-question{justify-self:center;font-size:1.1rem;font-weight:600;color:var(--accent-dark)}.user-area{position:relative}.user-button{border:1px solid var(--border);background:var(--accent-light);color:var(--accent-foreground);border-radius:14px;padding:10px 14px;cursor:pointer;font-weight:600}.user-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:180px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 14px 40px #0f172a1f;border-radius:16px;padding:8px 0;display:flex;flex-direction:column;gap:4px;z-index:20}.menu-item{width:100%;border:none;background:transparent;padding:12px 16px;text-align:left;cursor:pointer;color:#1f2937;font-size:.95rem;font-weight:600}.menu-item:hover{background:var(--accent-light)}.content-grid{display:grid;grid-template-columns:320px minmax(0,1fr) 360px;column-gap:18px;flex:1;min-height:0;overflow:hidden}.sidebar-panel,.right-panel{background:#fff;border-radius:0;box-shadow:none;padding:18px;overflow-y:auto;min-height:0}.main-panel{display:flex;flex-direction:column;gap:18px;overflow-y:auto;min-height:0;padding:18px 0}.breadcrumb-item{color:#716877;text-decoration:none;font-weight:600}.breadcrumb-item:hover{text-decoration:underline}.add-question-field{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:18px;border-radius:18px;border:1px solid var(--accent);background:var(--accent-light);color:var(--accent-foreground);font-weight:700;cursor:pointer}.add-icon{display:inline-grid;width:36px;height:36px;place-items:center;border-radius:999px;background:#e8dff4;color:var(--accent-dark);font-size:1.6rem;line-height:1}.sidebar{display:flex;flex-direction:column;gap:14px;height:100%;min-height:0}.sidebar-header{display:flex;flex-direction:column;gap:10px}.sidebar-header h2{margin:0}.sidebar-header input{width:100%}.search-bar{width:100%;padding:12px 14px;border-radius:14px;border:1px solid #d1d5db}.tree-list{overflow-y:auto;flex:1;min-height:0}.tree-node{display:flex;flex-direction:column;gap:4px}.node-row{display:flex;align-items:center;gap:6px}.toggle-button{width:28px;height:28px;border:none;background:transparent;padding:0;display:grid;place-items:center;cursor:pointer;color:var(--accent-dark)}.toggle-icon{display:inline-block;transform:rotate(0);transition:transform .2s ease}.toggle-icon.open{transform:rotate(90deg)}.node-button{width:100%;text-align:left;border:none;background:transparent;padding:10px 12px;border-radius:12px;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.tree-node.active>.node-row>.node-button{background:var(--accent-light)}.tree-node.active>.node-row>.node-button .node-label{color:var(--accent-dark)}.node-main{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}.node-label{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.node-cost{font-size:.78rem;color:var(--accent-dark);font-weight:500}.node-right{display:flex;align-items:center;gap:4px;flex-shrink:0}.node-img-icon{font-size:.85rem;opacity:.6}.node-disabled-icon{font-size:.85rem;color:#ef4444;opacity:.8}.tree-node--dragging>.node-row{opacity:.35}.tree-node--drag-over>.node-row{background:#6366f11a;border-radius:8px;outline:2px solid var(--accent);outline-offset:-2px}.tree-node--disabled>.node-row .node-label{opacity:.45;text-decoration:line-through}.node-count{color:#6b7280;font-size:.9rem}.empty-state{color:#6b7280;padding:24px;text-align:center}.breadcrumb-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:14px 16px;border-radius:18px}.breadcrumb-item{font-size:.95rem;color:#374151}.breadcrumb-separator{color:#9ca3af}.picture-panel-preview{width:100%;border-radius:14px;overflow:hidden;border:1px solid #e5e7eb;background:#f3f4f6;aspect-ratio:16 / 9}.picture-panel-preview img{width:100%;height:100%;object-fit:cover;display:block}.node-type-hint{margin:0;padding:8px 12px;background:#f0fdf4;color:#15803d;border-radius:10px;font-size:.875rem}.preview-grid{display:flex;flex-direction:column;gap:14px}.preview-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.preview-card{position:relative;border:1px solid #e5e7eb;border-radius:20px;background:#fafbff;padding:0;text-align:left;cursor:pointer;transition:transform .2s ease;display:flex;flex-direction:column;overflow:hidden}.preview-card:hover{transform:translateY(-2px)}.preview-image{width:100%;height:140px;background-size:cover;background-position:center;background-color:#f3f4f6;margin-bottom:0}.preview-title{font-weight:700;margin-bottom:4px;padding:12px 12px 0}.preview-subtitle{color:#6b7280;margin-bottom:10px;padding:0 12px}.preview-meta{color:var(--accent-dark);font-weight:600;padding:0 12px 12px}.preview-card--picture{position:relative;min-height:160px}.picture-fill{position:absolute;top:0;right:0;bottom:0;left:0;background-size:cover;background-position:center;border-radius:20px}.picture-placeholder{flex:1;display:flex;align-items:center;justify-content:center;background:#f3f4f6;min-height:120px}.picture-icon{font-size:2.5rem;opacity:.4}.picture-label{position:absolute;bottom:0;left:0;right:0;padding:8px 12px;background:linear-gradient(to top,rgba(0,0,0,.55) 0%,transparent 100%);color:#fff;font-weight:700;font-size:.9rem;border-radius:0 0 20px 20px;text-shadow:0 1px 3px rgba(0,0,0,.4)}.preview-card--dragging{opacity:.35;cursor:grabbing}.preview-card--drag-over{outline:2px solid var(--accent-dark);outline-offset:2px}.preview-card--disabled{opacity:.5;filter:grayscale(60%)}.disabled-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:2.2rem;color:#ef4444;opacity:.7;pointer-events:none}.preview-card[draggable=true]{cursor:grab}.preview-card--add{border:2px dashed var(--accent);background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:120px;color:var(--accent-dark);transition:background .15s,border-color .15s}.preview-card--add:hover{background:var(--accent-light);border-color:var(--accent-dark);transform:none}.preview-card--add-picture{border-color:#c7d4f5;color:#4a6fa5}.preview-card--add-picture:hover{background:#eef3ff;border-color:#4a6fa5}.add-card-icon{font-size:1.8rem;line-height:1}.add-card-label{font-weight:700;font-size:.9rem}.properties-panel{display:flex;flex-direction:column;gap:16px}.properties-panel h2{margin:0}.properties-panel form{display:grid;gap:14px}.properties-panel label{display:block;color:#4b5563}.properties-panel input,.properties-panel textarea,.properties-panel select{width:100%;padding:12px 14px;border-radius:14px;border:1px solid #d1d5db}.properties-panel .row{display:flex;align-items:center}.checkbox-field{display:flex;flex-direction:row;gap:8px}.properties-panel button{padding:12px 16px;border:none;border-radius:14px;background:var(--accent-dark);color:#fff;cursor:pointer}.properties-actions{display:flex;justify-content:space-between;gap:12px}.delete-button{background:#ef4444!important}.delete-button:disabled{background:#d1d5db!important;cursor:not-allowed;color:#6b7280}.empty-panel{color:#6b7280;padding:24px}.file-input{display:none}.image-upload-area{display:flex;flex-direction:column;gap:12px}.upload-button{padding:12px 14px;border:1px solid var(--accent);background:var(--accent-light);color:var(--accent-dark);border-radius:12px;cursor:pointer;font-weight:600}.upload-button:hover{background:#d8cfe3}.image-preview{width:100%;border-radius:14px;overflow:hidden;border:1px solid #e5e7eb;max-height:240px;background:#f3f4f6;display:flex;align-items:center;justify-content:center}.image-preview img{width:100%;height:100%;object-fit:cover;display:block}.image-preview img{width:100%;height:auto;display:block}@media (max-width: 1080px){.content-grid{grid-template-columns:1fr}}
