*{margin:0;padding:0;box-sizing:border-box}:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.5;font-weight:400;color:#213547;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh}#root{width:100%;min-height:100vh}.furniture-item{position:absolute;border:none;background-color:#4a90e233;box-shadow:inset 0 0 0 1px #4a90e280;cursor:move;display:flex;flex-direction:column;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;transition:background-color .2s}.furniture-item:hover{background-color:#4a90e24d}.furniture-item.selected{background-color:#2ecc7133;box-shadow:inset 0 0 0 1px #4a90e280}.furniture-item.selected:hover{background-color:#2ecc714d}.furniture-item.locked{background-color:#8080804d!important;box-shadow:inset 0 0 0 1px #4a90e280!important;cursor:not-allowed}.furniture-item.locked:hover{background-color:#80808066!important}.furniture-item.locked.selected{background-color:#80808066!important;box-shadow:inset 0 0 0 1px #4a90e280!important}.furniture-label{font-weight:700;color:#333;margin-bottom:2px;text-align:center;padding:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.furniture-size{color:#666;text-align:center;padding:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.furniture-swap-button{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border:none;border-radius:50%;background-color:#4a90e2;color:#fff;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0003;transition:all .2s;z-index:10}.furniture-swap-button:hover{background-color:#357abd}.room-canvas-container{display:flex;flex-direction:column;align-items:center;padding:8px;background-color:#f5f5f5;position:relative}.canvas-controls{display:flex;align-items:center;gap:8px;margin-bottom:4px}.zoom-controls{display:flex;align-items:center;gap:4px;padding:4px 8px;background-color:#fff;border-radius:4px;box-shadow:0 2px 4px #0000001a}.export-button{width:32px;height:32px;border:1px solid #ddd;background-color:#fff;border-radius:4px;cursor:pointer;font-size:16px;display:flex;align-items:center;justify-content:center;transition:all .2s;color:#333;box-shadow:0 2px 4px #0000001a}.export-button:hover{background-color:#f0f0f0;border-color:#4a90e2}.zoom-controls button{width:24px;height:24px;border:1px solid #ddd;background-color:#fff;border-radius:3px;cursor:pointer;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;transition:all .2s;color:#333}.zoom-controls button:hover{background-color:#f0f0f0;border-color:#4a90e2}.zoom-controls button:active{background-color:#e0e0e0}.zoom-level{min-width:40px;text-align:center;font-size:12px;font-weight:500;color:#555}.room-canvas-wrapper{overflow:auto;width:100%;height:100%;display:flex;justify-content:flex-start;align-items:flex-start;padding:20px;min-width:0;min-height:0;scroll-behavior:smooth}.room-canvas-container-inner{position:relative;display:inline-block}.room-canvas{position:relative;background-color:#fff;border:none;box-shadow:0 2px 8px #0000001a;background-image:linear-gradient(rgba(0,0,0,.05) 3px,transparent 3px),linear-gradient(90deg,rgba(0,0,0,.05) 3px,transparent 3px);background-size:100px 100px;transition:transform .1s ease-out}.furniture-intersection{position:absolute;background-color:#f009;pointer-events:none;z-index:5}.measurement-point{position:absolute;width:8px;height:8px;border-radius:50%;background-color:#4a90e2;border:2px solid #fff;box-shadow:0 0 0 2px #4a90e2;pointer-events:none;z-index:10}.measurement-line{position:absolute;pointer-events:none;z-index:9}.measurement-label{position:absolute;background-color:#4a90e2e6;color:#fff;padding:2px 6px;border-radius:3px;font-size:11px;font-weight:700;white-space:nowrap;pointer-events:none;z-index:11;box-shadow:0 1px 3px #0003}.furniture-list{padding:12px;background-color:#fff;flex:1;display:flex;flex-direction:column;overflow:hidden;min-height:0}.furniture-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.furniture-list h3{margin:0;color:#333;font-size:14px;font-weight:600}.add-furniture-button{padding:4px 8px;background-color:#4a90e2;color:#fff;border:none;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;transition:background-color .2s}.add-furniture-button:hover{background-color:#357abd}.furniture-list-empty{display:flex;align-items:center;justify-content:center;min-height:60px}.furniture-list-empty p{color:#999;font-style:italic;font-size:12px}.furniture-list ul{list-style:none;padding:0;margin:0;overflow-y:auto;flex:1}.furniture-list li{display:flex;justify-content:space-between;align-items:center;padding:6px 8px;margin-bottom:4px;border:1px solid #e0e0e0;border-radius:4px;cursor:pointer;transition:all .2s}.furniture-list li:hover{background-color:#f5f5f5;border-color:#4a90e2}.furniture-list li.selected{background-color:#4a90e21a;border-color:#4a90e2}.furniture-info{flex:1}.furniture-name{font-weight:500;color:#333;margin-bottom:2px;font-size:13px}.furniture-dimensions{font-size:11px;color:#666}.furniture-actions{display:flex;gap:4px}.furniture-actions button{background:none;border:none;cursor:pointer;font-size:14px;padding:2px 4px;border-radius:3px;transition:background-color .2s}.furniture-actions button:hover{background-color:#0000000d}.modal-content{background-color:#fff;border-radius:6px;padding:20px;max-width:320px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 4px 20px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.modal-header h3{margin:0;color:#333;font-size:16px;font-weight:600}.modal-close{background:none;border:none;font-size:20px;color:#999;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:3px;transition:all .2s}.modal-content form{padding:8px 12px}.modal-content .form-group{margin-bottom:14px}.modal-content .form-group-row{display:flex;align-items:flex-end;gap:8px;margin-bottom:14px}.modal-content .form-group-row .form-group{flex:1;margin-bottom:0}.modal-content .form-group label{display:block;margin-bottom:6px;color:#555;font-size:13px;font-weight:500}.modal-content .form-group input{width:100%;padding:10px 14px;border:1px solid #ddd;border-radius:4px;font-size:14px;box-sizing:border-box}.modal-content .form-group input:focus{outline:none;border-color:#4a90e2;box-shadow:0 0 0 2px #4a90e233}.modal-content .swap-button{width:100%;padding:6px 10px;border:1px solid #4a90e2;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;background-color:#fff;color:#4a90e2;transition:all .2s}.modal-content .swap-button:hover{background-color:#4a90e2;color:#fff}.modal-content .swap-button-inline{width:32px;height:32px;padding:0;border:1px solid #4a90e2;border-radius:4px;font-size:16px;cursor:pointer;background-color:#fff;color:#4a90e2;transition:all .2s;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-bottom:0}.modal-content .swap-button-inline:hover{background-color:#4a90e2;color:#fff}.modal-content .form-actions{display:flex;gap:8px;margin-top:20px}.modal-content .form-actions button{flex:1;padding:8px 16px;border:none;border-radius:4px;font-size:13px;font-weight:500;cursor:pointer;transition:background-color .2s}.modal-content .form-actions button[type=submit]{background-color:#4a90e2;color:#fff}.modal-content .form-actions button[type=submit]:hover{background-color:#357abd}.modal-content .form-actions button[type=button]{background-color:#e0e0e0;color:#333}.modal-content .form-actions button[type=button]:hover{background-color:#d0d0d0}.toggle-label{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:8px 0}.toggle-label-text{font-size:13px;color:#555;font-weight:500}.toggle-switch{position:relative;width:44px;height:24px;flex-shrink:0}.toggle-input{position:absolute;opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;inset:0;background-color:#ccc;transition:.3s;border-radius:24px}.toggle-slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;transition:.3s;border-radius:50%;box-shadow:0 2px 4px #0003}.toggle-input:checked+.toggle-slider{background-color:#4a90e2}.toggle-input:checked+.toggle-slider:before{transform:translate(20px)}.toggle-input:focus+.toggle-slider{box-shadow:0 0 0 2px #4a90e233}.plan-list{padding:12px;background-color:#fff;border-radius:8px;margin-top:12px;display:flex;flex-direction:column}.plan-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.plan-header-actions{display:flex;gap:6px;align-items:center}.plan-list h3{margin:0;color:#333;font-size:14px;font-weight:600}.save-plan-button{padding:4px 8px;background-color:#4a90e2;color:#fff;border:none;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;transition:background-color .2s}.update-plan-button{padding:4px 8px;background-color:#2ecc71;color:#fff;border:none;border-radius:4px;font-size:11px;font-weight:500;cursor:pointer;transition:background-color .2s}.update-plan-button:hover{background-color:#27ae60}.save-plan-button:hover{background-color:#357abd}.storage-info{margin-bottom:10px;padding:6px 8px;background-color:#f5f5f5;border-radius:4px}.storage-bar{width:100%;height:6px;background-color:#e0e0e0;border-radius:3px;overflow:hidden;margin-bottom:3px}.storage-bar-fill{height:100%;background-color:#4a90e2;transition:width .3s}.storage-text{font-size:10px;color:#666;text-align:center}.storage-warning{font-size:10px;color:#e74c3c;text-align:center;margin-top:3px;font-weight:500}.plan-list-empty{display:flex;align-items:center;justify-content:center;min-height:60px}.plan-list-empty p{color:#999;font-style:italic;font-size:12px}.plan-list ul{list-style:none;padding:0;margin:0}.plan-list li{display:flex;justify-content:space-between;align-items:center;padding:6px 8px;margin-bottom:4px;border:1px solid #e0e0e0;border-radius:4px;transition:all .2s}.plan-list li:hover{background-color:#f5f5f5;border-color:#4a90e2}.plan-list li.active{background-color:#2ecc711a;border-color:#2ecc71;font-weight:500}.plan-list li.active:hover{background-color:#2ecc7126}.plan-info{flex:1}.plan-name{font-weight:500;color:#333;margin-bottom:2px;font-size:13px;cursor:pointer;padding:2px 4px;border-radius:3px;transition:background-color .2s}.plan-name:hover{background-color:#0000000d}.plan-name-input{width:100%;padding:4px 6px;border:1px solid #4a90e2;border-radius:3px;font-size:13px;font-weight:500;color:#333;margin-bottom:2px;box-sizing:border-box}.plan-name-input:focus{outline:none;border-color:#4a90e2;box-shadow:0 0 0 2px #4a90e233}.plan-date{font-size:10px;color:#999;margin-bottom:1px}.plan-stats{font-size:10px;color:#666}.plan-actions{display:flex;gap:4px;align-items:center}.plan-order-buttons{display:flex;flex-direction:column;gap:2px;margin-right:4px}.plan-order-buttons .order-button{background:none;border:none;cursor:pointer;font-size:12px;padding:1px 3px;border-radius:2px;transition:background-color .2s;line-height:1;color:#666}.plan-order-buttons .order-button:hover:not(:disabled){background-color:#0000000d;color:#333}.plan-order-buttons .order-button:disabled{opacity:.3;cursor:not-allowed}.plan-actions button{background:none;border:none;cursor:pointer;font-size:14px;padding:2px 4px;border-radius:3px;transition:background-color .2s}.plan-actions button:hover{background-color:#0000000d}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background-color:#fff;border-radius:6px;padding:20px;max-width:400px;width:90%;box-shadow:0 4px 20px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.modal-header h2{margin:0;color:#333;font-size:18px;font-weight:600}.modal-close{background:none;border:none;font-size:24px;color:#999;cursor:pointer;padding:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:3px;transition:all .2s}.modal-close:hover{background-color:#f0f0f0;color:#333}.modal-body{margin-bottom:16px}.modal-body label{display:block;margin-bottom:8px;color:#555;font-size:14px;font-weight:500}.modal-body input{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;box-sizing:border-box}.modal-body input:focus{outline:none;border-color:#4a90e2;box-shadow:0 0 0 2px #4a90e233}.error-message{margin-top:8px;padding:8px 12px;background-color:#fee;border:1px solid #fcc;border-radius:4px;color:#c33;font-size:13px}.modal-footer{display:flex;gap:8px;justify-content:flex-end}.modal-footer button{padding:8px 16px;border:none;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s}.modal-footer button[type=submit]{background-color:#4a90e2;color:#fff}.modal-footer button[type=submit]:hover{background-color:#357abd}.modal-footer button[type=button]{background-color:#e0e0e0;color:#333}.modal-footer button[type=button]:hover{background-color:#d0d0d0}.info-modal-content{max-width:600px}.info-modal-body{padding:20px}.info-section{margin-bottom:24px}.info-section:last-child{margin-bottom:0}.info-section h3{margin:0 0 12px;color:#333;font-size:18px;font-weight:600}.info-section p{margin:0;color:#555;line-height:1.6;font-size:14px}.info-section ul{margin:0;padding-left:20px;color:#555;line-height:1.8;font-size:14px}.info-section ul li{margin-bottom:8px}.info-author{text-align:center;padding-top:16px;border-top:1px solid #eee;font-size:14px;color:#666}.info-author strong{color:#333;font-weight:600}.free-badge{background-color:#e8f5e9;border:2px solid #4caf50;border-radius:8px;padding:12px 16px;margin-top:16px!important;text-align:center;font-weight:600;color:#2e7d32;font-size:15px}*{box-sizing:border-box}.app{min-height:100vh;display:flex;flex-direction:column;background-color:#f5f5f5}.app-header{background-color:#fff;padding:20px;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px}.header-controls{display:flex;gap:30px;align-items:center;flex-wrap:wrap}.language-selector{display:flex;align-items:center;gap:8px}.language-selector label{font-size:14px;color:#555;font-weight:500}.language-selector select{padding:6px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;background-color:#fff;cursor:pointer}.language-selector select:focus{outline:none;border-color:#4a90e2;box-shadow:0 0 0 2px #4a90e233}.unit-selector{display:flex;align-items:center;gap:8px}.unit-selector label{font-size:14px;color:#555;font-weight:500}.unit-selector select{padding:6px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;background-color:#fff;cursor:pointer}.unit-selector select:focus{outline:none;border-color:#4a90e2;box-shadow:0 0 0 2px #4a90e233}.app-title-container{display:flex;align-items:center;gap:12px}.info-button{background:none;border:none;font-size:20px;cursor:pointer;padding:4px 8px;border-radius:4px;transition:background-color .2s;display:flex;align-items:center;justify-content:center;width:32px;height:32px}.info-button:hover{background-color:#f0f0f0}.app-logo{height:32px;width:auto;object-fit:contain}.app-header h1{margin:0;color:#333;font-size:24px}.room-size-control{display:flex;gap:20px;align-items:center}.room-size-control label{display:flex;align-items:center;gap:8px;font-size:14px;color:#555}.room-size-control input{width:80px;padding:6px 10px;border:1px solid #ddd;border-radius:4px;font-size:14px}.room-size-control input:focus{outline:none;border-color:#4a90e2;box-shadow:0 0 0 2px #4a90e233}.app-content{flex:1;display:flex;gap:20px;overflow:hidden}.app-sidebar{width:320px;display:flex;flex-direction:column;gap:20px;overflow:hidden;height:100%}.app-main{flex:1;overflow:auto}.small-screen-warning{position:fixed;inset:0;background-color:#000000b3;display:flex;align-items:center;justify-content:center;z-index:10000;padding:20px}.small-screen-warning-content{background-color:#fff;border-radius:8px;padding:30px;max-width:500px;text-align:center;box-shadow:0 4px 20px #0000004d}.small-screen-warning-content h2{margin:0 0 16px;color:#d32f2f;font-size:24px}.small-screen-warning-content p{margin:0 0 12px;color:#555;font-size:16px;line-height:1.5}.small-screen-warning-size{font-weight:600;color:#333;margin-top:16px!important}@media(max-width:768px){.app-content{flex-direction:column}.app-sidebar{width:100%}.app-header{flex-direction:column;align-items:flex-start}}
