*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;padding:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#0f172a}#root{width:100%;min-height:100%}button{border:1px solid #cbd5e1;background:#fff;color:#0f172a;padding:.45rem .8rem;border-radius:8px;cursor:pointer}button:hover{background:#f1f5f9}button.active{background:#dbeafe;border-color:#93c5fd}button:disabled{opacity:.65;cursor:not-allowed}.center-screen{min-height:100vh;width:100%;display:flex;justify-content:center;align-items:center;padding:1.5rem;box-sizing:border-box}.loading-screen,.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;color:#64748b;font-size:.9375rem}.loading-screen{min-height:100vh;width:100%;padding:1.5rem;box-sizing:border-box}.loading-state{padding:2rem 1.5rem;min-height:8rem}.loading-spinner{width:40px;height:40px;border:3px solid #e2e8f0;border-top-color:#0f172a;border-radius:50%;animation:loading-spin .7s linear infinite}.loading-screen .loading-spinner,.loading-state .loading-spinner{flex-shrink:0}.loading-screen .loading-message,.loading-state .loading-message{margin:0;font-weight:500}@keyframes loading-spin{to{transform:rotate(360deg)}}.loading-skeleton{border-radius:8px;background:linear-gradient(90deg,#f1f5f9,#e2e8f0,#f1f5f9);background-size:200% 100%;animation:loading-skeleton 1.2s ease-in-out infinite}@keyframes loading-skeleton{to{background-position:200% 0}}.loading-list-skeletons{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.75rem}.loading-list-skeletons .skeleton-item{height:88px;border-radius:10px;background:linear-gradient(90deg,#f1f5f9,#e2e8f0,#f1f5f9);background-size:200% 100%;animation:loading-skeleton 1.2s ease-in-out infinite}.error-text{color:#b91c1c}.success-text{color:#16a34a}.empty-state{color:#475569}.danger{color:#b91c1c}.app-shell{height:100vh;display:flex;flex-direction:column;overflow:hidden}.page-content{flex:1;min-height:0;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto}.navbar{display:flex;align-items:center;justify-content:space-between;padding:.25rem 1.5rem;border-bottom:1px solid #e2e8f0;background:#fff;box-shadow:0 1px 3px #0f172a0f;position:sticky;top:0;z-index:100;flex-shrink:0}.navbar-brand a{color:#0f172a;text-decoration:none;font-weight:600;font-size:1.35rem;line-height:1;display:flex;align-items:center;gap:.5rem;letter-spacing:-.025em;transition:color .2s ease}.navbar-brand a:hover{color:#475569}.navbar-brand{display:flex;align-items:center;gap:.5rem;min-width:0;flex:1}.navbar-brand>a{min-width:0}.navbar-brand-icon{display:block;flex-shrink:0;width:20px;height:20px;object-fit:contain}.navbar-editor-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;border:1px solid #e2e8f0;background:#fff;border-radius:8px;color:#0f172a;transition:background .2s ease,border-color .2s ease;cursor:pointer;text-decoration:none}.navbar-editor-btn:hover{background:#f8fafc;border-color:#cbd5e1;color:#0f172a}.navbar-editor-title{font-size:1.125rem;font-weight:600;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;cursor:text}.navbar-editor-title-input{font-size:1.125rem;font-weight:600;color:#0f172a;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:.25rem .5rem;margin:0;min-width:120px;max-width:280px;font-family:inherit}.navbar-editor-title-input:focus{outline:none;border-color:#64748b;box-shadow:0 0 0 2px #64748b33}.navbar-brand .navbar-save-state{flex-shrink:0;margin-left:.5rem;padding-left:.5rem;border-left:1px solid #e2e8f0}.navbar-right{display:flex;align-items:center;gap:1rem}.navbar-save-state{font-size:.8125rem;color:#64748b}.navbar-save-state.saved{color:#16a34a}.navbar-save-state.error{color:#dc2626}.dropdown-item-icon{display:inline-flex;flex-shrink:0;opacity:.9}.navbar-user-container{position:relative}.user-profile-btn{background:none;border:none;cursor:pointer;padding:.25rem;border-radius:50%;transition:background .2s ease;display:flex;align-items:center;justify-content:center}.user-profile-btn:hover{background:#f1f5f9}.user-avatar{width:40px;height:40px;border-radius:50%;border:2px solid #e2e8f0;object-fit:cover;transition:border-color .2s ease}.user-profile-btn:hover .user-avatar{border-color:#cbd5e1}.user-dropdown{position:absolute;top:calc(100% + .5rem);right:0;background:#fff;border-radius:10px;border:1px solid #e2e8f0;box-shadow:0 10px 40px #0f172a1f;min-width:260px;overflow:hidden;animation:slideDown .2s ease-out;z-index:1000}@keyframes slideDown{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.dropdown-header{padding:1rem;display:flex;align-items:center;gap:.75rem;background:#f8fafc;border-bottom:1px solid #e2e8f0}.dropdown-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid #e2e8f0}.dropdown-info{display:flex;flex-direction:column;gap:.2rem;min-width:0}.dropdown-name{font-weight:600;font-size:.9375rem;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dropdown-email{font-size:.8125rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dropdown-divider{height:1px;background:#e2e8f0}.dropdown-item{width:100%;padding:.75rem 1rem;background:none;border:none;text-align:left;cursor:pointer;color:#0f172a;font-weight:500;font-size:.9375rem;display:flex;align-items:center;gap:.75rem;transition:background .2s ease}.dropdown-item:hover{background:#f8fafc}.dropdown-item:active{background:#f1f5f9}.dropdown-item span{font-size:1.1rem}.logout-item{color:#dc2626}.logout-item:hover{background:#fef2f2}.swal-container{z-index:10000}.swal-popup{border-radius:12px;box-shadow:0 20px 50px #0f172a26;background:#fff;border:1px solid #e2e8f0}.swal-container .swal2-icon{width:2.5rem!important;height:2.5rem!important;margin:1.25rem auto .75rem!important;border:none!important;background:transparent!important;display:flex!important;align-items:center!important;justify-content:center!important}body .swal-container .swal2-popup .swal2-icon .swal2-icon-content,body .swal-container .swal2-popup .swal2-icon .swal2-success-ring,body .swal-container .swal2-popup .swal2-icon .swal2-success-fix,body .swal-container .swal2-popup .swal2-icon [class^=swal2-success-line]{display:none!important;visibility:hidden!important;width:0!important;height:0!important;overflow:hidden!important;position:absolute!important;opacity:0!important;pointer-events:none!important}body .swal-container .swal2-icon:not(:has(.swal2-lucide-icon)){display:none!important}.swal-container .swal2-lucide-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important}.swal-container .swal2-icon.swal2-warning .swal2-lucide-icon{color:#f59e0b}.swal-container .swal2-icon.swal2-success .swal2-lucide-icon{color:#22c55e}.swal-container .swal2-icon.swal2-error .swal2-lucide-icon{color:#dc2626}.swal-title{font-size:1.25rem;font-weight:600;color:#0f172a;margin-bottom:.5rem}.swal-text{font-size:.9375rem;color:#64748b;line-height:1.6;margin:.75rem 0}.swal-confirm-btn,.swal-cancel-btn{padding:.625rem 1.25rem;border-radius:8px;font-weight:500;font-size:.9375rem;border:none;cursor:pointer;transition:background .2s ease;text-transform:none}.swal-confirm-btn{background:#0f172a;color:#fff}.swal-confirm-btn:hover{background:#1e293b}.swal-cancel-btn{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.swal-cancel-btn:hover{background:#e2e8f0}.swal-delete-btn{background:#dc2626;color:#fff}.swal-delete-btn:hover{background:#b91c1c}.swal-input{padding:.625rem .75rem;font-size:.9375rem;border:1px solid #e2e8f0;border-radius:8px;font-family:inherit}.swal-input:focus{border-color:#64748b;outline:none;box-shadow:0 0 0 2px #64748b33}.login-page{background:#f1f5f9;position:relative;overflow:auto}.login-card{width:min(460px,92vw);background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:0;box-shadow:0 4px 24px #0f172a14;animation:slideUp .5s ease-out;position:relative;z-index:1}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.login-header{text-align:center;padding:2.75rem 2.5rem 2rem;background:#0f172a;border-radius:16px 16px 0 0;color:#fff}.logo-icon{display:block;margin:0 auto 1rem;opacity:.95;filter:brightness(0) invert(1)}.login-header h1{font-size:1.75rem;margin:0 0 .5rem;font-weight:600;letter-spacing:-.025em;color:#fff}.login-subtitle{margin:0;color:#94a3b8;font-size:.9375rem;font-weight:400}.login-content{padding:2.25rem 2.5rem}.login-description{text-align:center;color:#64748b;margin:0 0 1.75rem;font-size:.9375rem;line-height:1.6}.error-banner{display:flex;align-items:flex-start;gap:.75rem;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:1rem;margin-bottom:1.5rem;animation:shake .4s ease-in-out}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-4px)}75%{transform:translate(4px)}}.error-icon{display:inline-flex;flex-shrink:0;color:#b91c1c}.error-banner .error-text{margin:0;flex:1;font-size:.875rem;line-height:1.5;color:#b91c1c}.google-signin-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:.75rem;background:#fff;border:1px solid #e2e8f0;color:#0f172a;padding:.875rem 1.25rem;font-size:.9375rem;font-weight:500;border-radius:10px;cursor:pointer;transition:background .2s ease,border-color .2s ease,box-shadow .2s ease;box-shadow:0 1px 2px #0f172a0d}.google-signin-btn:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1;box-shadow:0 2px 8px #0f172a0f}.google-signin-btn:active:not(:disabled){background:#f1f5f9}.google-signin-btn:disabled{opacity:.6;cursor:not-allowed}.google-icon{flex-shrink:0}.login-features{display:flex;flex-direction:column;gap:.75rem;padding-top:1.5rem;border-top:1px solid #e2e8f0}.feature-item{display:flex;align-items:center;gap:.75rem;color:#64748b;font-size:.875rem}.feature-icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:#0f172a;color:#fff;border-radius:6px;font-size:.7rem;font-weight:600;flex-shrink:0}@media(max-width:480px){.login-header{padding:2rem 1.5rem 1.5rem}.login-header h1{font-size:1.5rem}.login-content{padding:1.75rem 1.5rem}.logo-icon{width:2.75rem;height:2.75rem}}.dashboard{flex:1;min-height:0;background:#f1f5f9;padding:2rem 1.5rem;overflow:auto}.dashboard-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.75rem;max-width:1200px;margin-left:auto;margin-right:auto}.dashboard h1{color:#0f172a;font-size:1.5rem;font-weight:600;margin:0;letter-spacing:-.025em}.dashboard-head button.btn-new-plan{display:inline-flex;align-items:center;gap:.5rem}.dashboard-head button{padding:.625rem 1.25rem;background:#0f172a;color:#fff;border:none;border-radius:10px;font-weight:500;font-size:.9375rem;cursor:pointer;transition:background .2s ease,box-shadow .2s ease;box-shadow:0 1px 2px #0f172a1a}.plan-actions .btn-icon,.dashboard-head .btn-icon{display:inline-flex;flex-shrink:0}.dashboard-head button:hover:not(:disabled){background:#1e293b;box-shadow:0 2px 8px #0f172a26}.dashboard-head button:active:not(:disabled){background:#334155}.dashboard-head button:disabled{opacity:.6;cursor:not-allowed}.plan-list{list-style:none;margin:0 auto;padding:0;display:grid;gap:1rem;max-width:1200px;grid-template-columns:repeat(auto-fill,minmax(360px,1fr))}.plan-item{padding:0;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0f172a0f;transition:box-shadow .2s ease,border-color .2s ease}.plan-item:hover{border-color:#cbd5e1;box-shadow:0 4px 12px #0f172a14}.plan-item-clickable{display:flex;flex-direction:column;align-items:stretch;cursor:pointer;text-align:left;border:none;width:100%;background:transparent;color:inherit;padding:0}.plan-thumbnail-wrap{width:100%;aspect-ratio:360 / 160;overflow:hidden;border-radius:12px 12px 0 0;background:#f8fafc;flex-shrink:0}.plan-thumbnail{display:block;width:100%;height:100%;object-fit:cover;background:#f1f5f9}.plan-item-bottom{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.25rem}.plan-item-clickable:hover{outline:none}.plan-item-clickable:focus-visible{outline:2px solid #0f172a;outline-offset:-2px;border-radius:12px}.plan-item-actions{position:relative;flex-shrink:0}.plan-menu-trigger{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:none;border-radius:8px;background:transparent;color:#64748b;cursor:pointer;transition:background .2s,color .2s}.plan-menu-trigger:hover{background:#f1f5f9;color:#0f172a}.plan-menu-trigger:focus-visible{outline:2px solid #0f172a;outline-offset:2px}.plan-dropdown{position:absolute;top:100%;right:0;margin-top:4px;min-width:160px;padding:.25rem;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 10px 25px #0f172a26;z-index:10}.plan-dropdown-item{display:flex;align-items:center;gap:.5rem;width:100%;padding:.5rem .75rem;border:none;border-radius:6px;background:transparent;color:#334155;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .2s;text-align:left}.plan-dropdown-item:hover{background:#f1f5f9}.plan-dropdown-item-danger{color:#dc2626}.plan-dropdown-item-danger:hover{background:#fef2f2}.plan-role-badge{display:inline-block;margin-top:.25rem;padding:.125rem .5rem;font-size:.75rem;font-weight:500;color:#64748b;background:#f1f5f9;border-radius:6px;width:fit-content}.plan-item h3{margin:0;color:#0f172a;font-size:1.0625rem;font-weight:600}.plan-info{display:flex;flex-direction:column;gap:.25rem;flex:1;min-width:0}.plan-creator{font-size:.875rem;color:#64748b;font-weight:400;display:flex;align-items:center;gap:.375rem}.dashboard .error-text{max-width:1200px;margin:0 auto 1.5rem;padding:.875rem 1rem;background:#fef2f2;color:#b91c1c;border:1px solid #fecaca;border-radius:10px;font-size:.875rem}.dashboard .empty-state{max-width:1200px;margin:2rem auto;padding:2rem;display:flex;flex-direction:column;align-items:center;gap:1rem;text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;color:#64748b;font-size:.9375rem;box-shadow:0 1px 3px #0f172a0f}.empty-state-icon{display:flex;color:#cbd5e1}.empty-state p{margin:0}.share-modal-overlay{position:fixed;inset:0;background:#0f172a66;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.share-modal{background:#fff;border-radius:12px;box-shadow:0 20px 40px #0f172a33;max-width:440px;width:100%;max-height:90vh;overflow:auto}.share-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid #e2e8f0}.share-modal-header h2{margin:0;font-size:1.125rem;font-weight:600;color:#0f172a}.share-modal-close{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:none;border-radius:8px;background:transparent;color:#64748b;cursor:pointer;transition:background .2s,color .2s}.share-modal-close:hover{background:#f1f5f9;color:#0f172a}.share-modal-body{padding:1.5rem}.share-modal-section{margin-bottom:1.25rem}.share-modal-section:last-child{margin-bottom:0}.share-modal-section-title{margin:0 0 .5rem;font-size:.8125rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.03em}.share-collab-list{list-style:none;margin:0;padding:0}.share-collab-item{display:flex;align-items:center;gap:.75rem;padding:.5rem 0;border-bottom:1px solid #f1f5f9;font-size:.9375rem}.share-collab-item:last-child{border-bottom:none}.share-collab-email{flex:1;color:#0f172a;font-weight:500}.share-collab-role{color:#64748b;font-size:.8125rem}.share-owner .share-collab-role{font-weight:600;color:#0f172a}.share-remove-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:none;border-radius:6px;background:transparent;color:#64748b;cursor:pointer;transition:background .2s,color .2s}.share-remove-btn:hover:not(:disabled){background:#fef2f2;color:#dc2626}.share-modal-error{margin:0 0 .5rem;font-size:.875rem;color:#dc2626}.share-link-row{display:flex;gap:.5rem;align-items:center}.share-link-input{flex:1;min-width:0;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.8125rem;color:#64748b;background:#f8fafc;font-family:inherit}.share-copy-btn{display:inline-flex;align-items:center;gap:.375rem;flex-shrink:0;padding:.5rem 1rem;border:none;border-radius:8px;background:#0f172a;color:#fff;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .2s}.share-copy-btn:hover:not(:disabled){background:#1e293b}.share-copy-btn:disabled{opacity:.6;cursor:not-allowed}.share-modal-form .share-form-row{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.share-email-input{flex:1;min-width:140px;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9375rem;color:#0f172a;background:#fff}.share-email-input:focus{outline:none;border-color:#0f172a;box-shadow:0 0 0 2px #0f172a1a}.share-role-select{padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9375rem;color:#0f172a;background:#fff;min-width:100px}.share-add-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.5rem 1rem;border:none;border-radius:8px;background:#0f172a;color:#fff;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .2s}.share-add-btn:hover:not(:disabled){background:#1e293b}.editor-page{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.editor-wrap{flex:1 1 0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.editor-readonly-banner{flex-shrink:0;padding:.5rem 1rem;background:#fef3c7;color:#92400e;font-size:.875rem;font-weight:500;text-align:center;border-bottom:1px solid #fcd34d}.sidebar-open-tab{position:absolute;left:0;top:50%;transform:translateY(-50%);z-index:5;width:32px;height:56px;border:none;border-radius:0 8px 8px 0;background:#fff;border:1px solid #e2e8f0;border-left:none;box-shadow:2px 0 8px #0f172a14;cursor:pointer;font-size:1.375rem;display:flex;align-items:center;justify-content:center;transition:background .2s ease}.sidebar-open-tab:hover{background:#f8fafc}.sidebar-open-tab{color:#0f172a}.sidebar-open-tab svg{width:20px;height:20px;flex-shrink:0}.editor-main{flex:1 1 0;min-height:0;display:flex;flex-direction:row;align-items:stretch;overflow:hidden;position:relative;overflow-x:hidden}.editor-sidebar{width:220px;min-width:220px;flex-shrink:0;min-height:0;align-self:stretch;background:#fff;border-right:1px solid #e2e8f0;overflow-y:auto;overflow-x:hidden;transition:transform .3s ease,width .3s ease,min-width .3s ease}.editor-sidebar.closed{width:0;min-width:0;overflow:hidden;transform:translate(-100%);pointer-events:none;border-right-width:0}.editor-sidebar-header,.objects-sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:0 0 .5rem;margin-bottom:.25rem;border-bottom:1px solid #e2e8f0}.editor-sidebar-header .toolbar-label,.objects-sidebar-header .toolbar-label{margin:0;padding:0}.editor-sidebar-header .sidebar-header-close-btn,.objects-sidebar-header .sidebar-header-close-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border-radius:6px;color:#0f172a;background:#fff;border:1px solid #e2e8f0;font-size:inherit;gap:0;text-align:center}.editor-sidebar-header .sidebar-header-close-btn:hover,.objects-sidebar-header .sidebar-header-close-btn:hover{background:#f8fafc;color:#0f172a;border-color:#e2e8f0}.editor-sidebar-header .sidebar-header-close-btn svg,.objects-sidebar-header .sidebar-header-close-btn svg{width:20px;height:20px}.editor-sidebar-right{flex-shrink:0;min-height:0;align-self:stretch;background:#fff;border-left:1px solid #e2e8f0;overflow-y:auto;overflow-x:hidden;transition:width .2s ease,min-width .2s ease;position:relative}.editor-sidebar-right.resizing{transition:none}.editor-sidebar-right.closed{overflow:visible;border-left-width:0;transform:none;pointer-events:auto}.sidebar-open-tab-right{right:0;left:auto;border-radius:8px 0 0 8px;border-left:1px solid #e2e8f0;border-right:none;box-shadow:-2px 0 8px #0f172a14}.sidebar-resize-handle{position:absolute;top:0;bottom:0;width:6px;cursor:col-resize;z-index:1;background:transparent}.sidebar-resize-handle:hover,.sidebar-resize-handle:active{background:#0f172a0f}.sidebar-resize-handle-left{left:0}.editor-sidebar-right .objects-sidebar-inner{padding-left:calc(.75rem + 6px)}.objects-sidebar-inner{display:flex;flex-direction:column;gap:.75rem;padding:.75rem}.objects-list{margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.objects-group{display:flex;flex-direction:column;gap:.25rem}.objects-group-header{display:flex;align-items:center;gap:.35rem;padding:.35rem .4rem;margin:0;border:none;border-radius:6px;background:transparent;color:#0f172a;font-size:.8125rem;font-weight:600;cursor:pointer;text-align:left;transition:background .15s ease}.objects-group-header:hover{background:#f1f5f9}.objects-group-header svg:first-child{flex-shrink:0;color:#64748b}.objects-group-label{flex:1;min-width:0}.objects-group-count{flex-shrink:0;padding:.1rem .4rem;border-radius:4px;background:#e2e8f0;color:#475569;font-size:.75rem;font-weight:500}.objects-group-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.25rem;overflow:hidden;transition:opacity .15s ease}.objects-group-list.collapsed{opacity:0;max-height:0;padding:0;margin:0;visibility:hidden}.objects-group-list.expanded{opacity:1;visibility:visible}.object-list-item{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:.35rem .4rem;border-radius:6px;border:1px solid transparent;transition:background .15s ease,border-color .15s ease}.object-list-item-row{display:flex;align-items:center;gap:.35rem}.object-list-item-properties{margin-top:.5rem;padding-top:.5rem;border-top:1px solid #e2e8f0;border-bottom:none;padding-bottom:0}.object-list-item:hover{background:#f8fafc;border-color:#e2e8f0}.object-list-item.selected{background:#f1f5f9;border-color:#0f172a}.object-list-item.hidden{opacity:.6}.object-list-item-main{flex:1;min-width:0;display:flex;align-items:center;gap:.35rem;cursor:pointer}.object-list-icon{flex-shrink:0;display:inline-flex;color:#64748b}.object-list-name{font-size:.8125rem;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.object-list-name-input{flex:1;min-width:0;padding:.2rem .35rem;font-size:.8125rem;border:1px solid #0f172a;border-radius:4px}.object-list-actions{display:flex;align-items:center;gap:.15rem;flex-shrink:0}.object-list-btn{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;background:transparent;color:#64748b;border-radius:4px;cursor:pointer;transition:background .15s ease,color .15s ease}.object-list-btn:hover{background:#e2e8f0;color:#0f172a}.object-list-btn-remove:hover{background:#fef2f2;color:#b91c1c}.objects-list-empty{margin:0;font-size:.8125rem;color:#94a3b8}.toolbar{display:flex;flex-direction:column;gap:.75rem;padding:.75rem}.toolbar-footer{padding-top:.75rem;margin-top:.25rem}.editor-sidebar .toolbar .tool-btn-link{background:transparent;border-color:transparent;color:#64748b;font-size:.8125rem}.editor-sidebar .toolbar .tool-btn-link:hover{background:#f1f5f9;color:#0f172a;border-color:#e2e8f0}.toolbar-group{display:flex;flex-direction:column;gap:.35rem;border-bottom:1px solid #e2e8f0;padding-bottom:.75rem}.toolbar-group.toolbar-group-grid{display:grid;grid-template-columns:1fr 1fr;gap:.35rem}.toolbar-group.toolbar-group-grid .toolbar-label{grid-column:1 / -1}.toolbar-group:last-child{border-bottom:none;padding-bottom:0}.toolbar-import-input{position:absolute;width:0;height:0;opacity:0;pointer-events:none}.toolbar-label{font-size:.6875rem;font-weight:600;text-transform:uppercase;color:#94a3b8;letter-spacing:.04em;padding:.2rem 0}.toolbar-group-properties .toolbar-field{display:flex;flex-direction:column;gap:.25rem;padding:.25rem 0}.toolbar-group-properties .toolbar-field span{font-size:.75rem;color:#64748b}.toolbar-group-properties .toolbar-field input{width:100%;padding:.4rem .5rem;font-size:.8125rem;border:1px solid #e2e8f0;border-radius:6px;background:#fff}.toolbar-group-properties .toolbar-field input:focus{outline:none;border-color:#0f172a}.tool-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .6rem;border:1px solid #e2e8f0;background:#fff;border-radius:6px;cursor:pointer;font-size:.8125rem;transition:background .15s ease,border-color .15s ease;text-align:left}.tool-btn-icon{display:inline-flex;flex-shrink:0}.tool-btn-icon svg{width:16px;height:16px}.editor-sidebar .toolbar .tool-btn-save,.editor-sidebar .toolbar button.tool-btn-save{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .6rem;font-size:.8125rem;font-weight:500;font-family:inherit;text-align:left;border:1px solid #0f172a;border-radius:6px;background:#0f172a;color:#fff;cursor:pointer;transition:background .15s ease,border-color .15s ease}.editor-sidebar .toolbar .tool-btn-save:hover,.editor-sidebar .toolbar button.tool-btn-save:hover{background:#1e293b;border-color:#1e293b;color:#fff}.editor-sidebar .toolbar .tool-btn-save:active,.editor-sidebar .toolbar button.tool-btn-save:active{background:#334155;border-color:#334155;color:#fff}.editor-sidebar .toolbar .tool-btn-save:disabled,.editor-sidebar .toolbar button.tool-btn-save:disabled{opacity:.6;cursor:not-allowed;background:#64748b;border-color:#64748b}.tool-btn:hover{background:#f8fafc;border-color:#cbd5e1}.tool-btn.active{background:#0f172a;color:#fff;border-color:#0f172a}.toolbar button{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .6rem;border:1px solid #e2e8f0;background:#fff;border-radius:6px;cursor:pointer;font-size:.8125rem;transition:background .15s ease,border-color .15s ease;text-align:left}.toolbar button:hover{background:#f8fafc;border-color:#cbd5e1}.toolbar button.active{background:#0f172a;color:#fff;border-color:#0f172a}.canvas-area{flex:1 1 0;min-width:0;min-height:0;align-self:stretch;display:flex;flex-direction:column;overflow:hidden}.canvas-meta{display:flex;justify-content:space-between;align-items:center;padding:.4rem 1rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;color:#475569;gap:1rem;flex-wrap:wrap}.canvas-meta .hint{color:#2563eb;font-style:italic}.canvas-legend{display:flex;gap:1.5rem;margin-left:auto;align-items:center;flex-wrap:wrap}.legend-item{display:flex;align-items:center;gap:.5rem;font-size:.85rem;font-weight:500;color:#334155}.legend-item input[type=color]{-webkit-appearance:none;appearance:none;width:18px;height:18px;padding:0;border-radius:3px;border:1px solid #cbd5e1;background:none;cursor:pointer}.legend-item input[type=color]::-webkit-color-swatch{border-radius:2px;border:none}.legend-item input[type=color]::-moz-color-swatch{border-radius:2px;border:none}.canvas-rulers-wrap{flex:1;min-height:0;display:grid;grid-template-columns:1fr 34px;grid-template-rows:1fr 28px;overflow:hidden}.canvas-rulers-wrap.rulers-hidden{grid-template-columns:1fr;grid-template-rows:1fr}.canvas-container{grid-column:1;grid-row:1;min-height:0;overflow:hidden;display:flex}.ruler{display:block;flex-shrink:0;background:#f8fafc}.ruler-bottom{grid-column:1;grid-row:2;width:100%;height:28px;border-top:1px solid #e2e8f0}.ruler-right{grid-column:2;grid-row:1;width:28px;height:100%;padding-right:6px;box-sizing:content-box;border-left:1px solid #e2e8f0;background:#f8fafc}.canvas-container canvas{width:100%;height:100%;min-width:0;min-height:0;display:block;background:#fff;touch-action:none;-webkit-user-select:none;user-select:none}.modal-overlay{position:fixed;inset:0;background:#0f172a66;display:flex;align-items:center;justify-content:center;padding:1.5rem;z-index:1000;animation:shortcuts-fade-in .2s ease}.modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 40px #00000026;max-width:420px;width:100%;max-height:calc(100vh - 3rem);display:flex;flex-direction:column;animation:shortcuts-scale-in .2s ease}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid #e2e8f0;flex-shrink:0}.modal-header h2{margin:0;font-size:1.125rem;font-weight:600;color:#0f172a}.modal-close-btn{display:inline-flex;align-items:center;justify-content:center;padding:.35rem;border:none;background:transparent;color:#64748b;border-radius:6px;cursor:pointer;transition:background .15s ease,color .15s ease}.modal-close-btn:hover{background:#f1f5f9;color:#0f172a}.custom-tool-modal .custom-tool-list{display:flex;flex-wrap:wrap;gap:.5rem;padding:1rem 1.25rem}.custom-tool-option{display:flex;flex-direction:column;align-items:center;gap:.35rem;width:7.5rem;min-width:7.5rem;padding:.6rem .85rem;border:1px solid #e2e8f0;border-radius:8px;background:#fff;cursor:pointer;font-size:.875rem;text-align:center;transition:background .15s ease,border-color .15s ease}.custom-tool-option .custom-tool-icon{display:flex;align-items:center;justify-content:center;color:#64748b}.custom-tool-option:hover{background:#f8fafc;border-color:#cbd5e1}.custom-tool-option .custom-tool-label{font-weight:500;color:#0f172a}.custom-tool-size{font-size:.75rem;color:#64748b}.shortcuts-modal-overlay{position:fixed;inset:0;background:#0f172a66;display:flex;align-items:center;justify-content:center;padding:1.5rem;z-index:1000;animation:shortcuts-fade-in .2s ease}@keyframes shortcuts-fade-in{0%{opacity:0}to{opacity:1}}.shortcuts-modal{background:#fff;border-radius:12px;box-shadow:0 20px 40px #00000026;max-width:420px;width:100%;max-height:calc(100vh - 3rem);display:flex;flex-direction:column;animation:shortcuts-scale-in .2s ease}@keyframes shortcuts-scale-in{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.shortcuts-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid #e2e8f0;flex-shrink:0}.shortcuts-modal-header h2{margin:0;font-size:1.125rem;font-weight:600;color:#0f172a}.shortcuts-modal-close{display:inline-flex;align-items:center;justify-content:center;padding:.35rem;border:none;background:transparent;color:#64748b;border-radius:6px;cursor:pointer;transition:background .15s ease,color .15s ease}.shortcuts-modal-close:hover{background:#f1f5f9;color:#0f172a}.shortcuts-modal-body{padding:1.25rem;overflow-y:auto}.shortcuts-list{margin:0;display:flex;flex-direction:column;gap:.5rem}.shortcuts-list .shortcuts-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:1rem}.shortcuts-list dt{margin:0;font-size:.875rem;color:#334155;font-weight:500}.shortcuts-list dd{margin:0;font-size:.8125rem;display:flex;flex-wrap:wrap;align-items:center;gap:.25rem}.shortcuts-modal-body kbd{display:inline-block;padding:.2em .5em;font-size:.75rem;font-family:inherit;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;color:#0f172a;box-shadow:0 1px #e2e8f0}.shortcuts-note{margin:1rem 0 0;padding-top:1rem;border-top:1px solid #e2e8f0;font-size:.8125rem;color:#64748b}@media(max-width:768px){.editor-sidebar{position:absolute;height:100%;box-shadow:2px 0 8px #0000001a}.editor-sidebar.closed{transform:translate(-100%)}.canvas-legend{display:none}}.viewer-3d-page{flex:1;display:flex;flex-direction:column;min-height:0;min-width:0;background:#1e293b}.viewer-3d-canvas-wrap{flex:1;min-height:0;min-width:0;position:relative}.viewer-3d-canvas-wrap>div:not(.viewer-3d-axes-corner){width:100%;height:100%;min-height:300px}.viewer-3d-canvas-wrap canvas{display:block;width:100%!important;height:100%!important;touch-action:none}.viewer-3d-axes-corner{position:absolute;bottom:12px;left:12px;width:72px;height:72px;border-radius:8px;overflow:hidden;background:#0f172ad9;border:1px solid rgba(51,65,85,.8);pointer-events:none;box-shadow:0 2px 8px #0000004d}.viewer-3d-axes-corner canvas{width:100%!important;height:100%!important;display:block}.viewer-3d-loading{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;color:#94a3b8;font-size:.9375rem}.viewer-3d-placeholder{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem}.viewer-3d-placeholder h1{margin:0 0 .5rem;font-size:1.5rem;color:#e2e8f0}.viewer-3d-placeholder p{margin:.5rem 0;color:#94a3b8;font-size:.9375rem}.viewer-3d-error{color:#f87171}.viewer-3d-coming{margin-top:1rem!important;font-style:italic}.viewer-3d-back-btn{margin-top:1.5rem;padding:.5rem 1.25rem;border:none;border-radius:8px;background:#0f172a;color:#fff;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .2s}.viewer-3d-back-btn:hover{background:#334155}
