.structure-editor{--editor-ink:#584734;--editor-line:#d8c8ad;--editor-paper:#fff8ed;width:100%;min-width:0;height:100%;min-height:0;color:var(--editor-ink);background:#f4efe6;flex-direction:column;display:flex;overflow:hidden}.structure-editor *{box-sizing:border-box}.structure-editor .editor-header a,.structure-editor button{min-height:40px;color:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;padding:6px 12px}.structure-editor button:hover,.structure-editor button[aria-pressed=true]{background:#ead9bc}.structure-editor a:focus-visible,.structure-editor button:focus-visible{outline-offset:-2px;outline:2px solid #8d642a}.structure-editor button:disabled{opacity:.4;cursor:default}.structure-editor .primary{color:#fff9ee;background:#785a32}.structure-editor .primary:hover{background:#654921}.structure-editor .danger{color:#a63d35}.structure-editor .editor-icon{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;width:18px;height:18px}.structure-editor .editor-header{background:var(--editor-paper);border-bottom:1px solid var(--editor-line);flex:none;align-items:center;gap:8px;padding:6px 12px 6px 56px;display:flex}.structure-editor h1{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;margin:0;font-size:16px;overflow:hidden}.structure-editor .save-status{opacity:.7;font-size:12px}.structure-editor .editor-stage{flex:1 1 0;min-height:0;position:relative;overflow:hidden}.structure-editor .atlas-canvas,.structure-editor .atlas-canvas .canvas-viewport{border:0;border-radius:0;width:100%;height:100%;min-height:0}.structure-editor .canvas-controls{display:none}.structure-editor .editor-empty{place-content:center;height:100%;display:grid}.structure-editor .editor-dock{background:var(--editor-paper);border-top:1px solid var(--editor-line);min-height:0;max-height:44%;padding-bottom:env(safe-area-inset-bottom);flex-direction:column;flex:0 auto;display:flex}.structure-editor.expanded .editor-dock{max-height:65%}.structure-editor .editor-tools,.structure-editor .geometry-tools,.structure-editor .inspector-tabs{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.structure-editor .editor-tools{flex-shrink:0;padding:4px 12px}.structure-editor .settings-button{margin-left:auto}.structure-editor .editor-tools strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.structure-editor .close-panel{margin-left:auto;font-size:24px;line-height:1}.structure-editor .editor-inspector{overscroll-behavior:contain;min-height:0;padding:0 16px 12px;overflow:auto}.structure-editor .inspector-tabs{border-top:1px solid var(--editor-line);margin-bottom:8px;padding-top:4px}.structure-editor .inspector-tabs button{font-size:13px}.structure-editor .item-text-fields{grid-template-columns:minmax(180px,1fr) minmax(260px,3fr);gap:12px;display:grid}.structure-editor label{flex-direction:column;gap:4px;min-width:0;margin:0;font-size:12px;display:flex}.structure-editor input:not([type=checkbox]):not([type=color]),.structure-editor select,.structure-editor textarea{border:1px solid var(--editor-line);width:100%;color:var(--editor-ink);background:#fffdf9;border-radius:8px;min-height:40px;padding:8px 10px;font-size:16px}.structure-editor textarea{resize:none}.structure-editor .image-fields{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.structure-editor .image-fields>label:first-child{flex:180px}.structure-editor .description-field{flex:3 280px}.structure-editor .field-heading{justify-content:space-between;align-items:center;margin-top:-10px;margin-bottom:-6px;display:flex}.structure-editor .field-heading button{min-height:32px;padding:4px 8px}.structure-editor .child-draft small,.structure-editor .image-fields small{flex-basis:100%}.structure-editor .root-setting{flex-direction:row;align-items:center;min-height:40px}.structure-editor input[type=color]{border:1px solid var(--editor-line);border-radius:8px;width:56px;height:40px;padding:2px}.structure-editor .editor-help{opacity:.7;margin:0;padding:0 16px 8px;font-size:12px}.structure-editor .drawing-hint{border:1px solid var(--editor-line);background:var(--editor-paper);border-radius:12px;align-items:center;gap:8px;width:max-content;max-width:calc(100% - 16px);padding:6px 10px;font-size:13px;display:flex;position:absolute;bottom:8px;left:50%;transform:translate(-50%)}.structure-editor .drawing-hint span{flex:1}.structure-editor .preview-description{white-space:pre-wrap;margin:8px 0}.structure-editor .linked-images{flex-wrap:wrap;gap:8px;display:flex}.structure-editor .linked-image{border:1px solid var(--editor-line);border-radius:10px;align-items:center;gap:8px;max-width:100%;padding:4px 8px;display:flex}.structure-editor .linked-image img{-o-object-fit:cover;object-fit:cover;border-radius:6px;width:40px;height:40px}.structure-editor .linked-image span{overflow-wrap:anywhere}.structure-editor .linked-image a{min-width:40px;min-height:40px;color:inherit;place-items:center;display:grid}.structure-editor .child-draft,.structure-editor .link-search{flex-wrap:wrap;align-items:end;gap:8px;margin-top:8px;display:flex}.structure-editor .link-search label{flex:200px}.structure-editor .editor-inspector .inline-skill-selector{flex-wrap:wrap;gap:8px}.structure-editor .editor-inspector .suggestions-container{flex-direction:column;min-width:0}.structure-editor .editor-inspector .el-input-group{flex-wrap:wrap}.structure-editor .editor-inspector .suggestions-popup{min-width:0;max-height:200px;position:static;overflow:auto}@media (width<=600px){.structure-editor .editor-header{flex-wrap:wrap;gap:2px;padding:4px 8px 4px 44px}.structure-editor .editor-header h1{flex-basis:calc(100% - 50px)}.structure-editor .save-status{flex:1}.structure-editor .editor-help,.structure-editor .tool-text{display:none}.structure-editor .editor-tools{gap:0;padding:4px}.structure-editor .editor-tools button{padding:6px 8px;font-size:13px}.structure-editor .item-text-fields{grid-template-columns:1fr;gap:8px}.structure-editor .editor-inspector{padding:0 10px 10px}.structure-editor .drawing-hint{flex-wrap:wrap}.structure-editor .drawing-hint span,.structure-editor .image-fields .description-field{flex-basis:100%}.structure-editor .editor-dock{max-height:48%}}.structure-editor.preview .editor-dock{background:var(--atlas-panel);color:var(--atlas-text);border-color:var(--atlas-border)}.structure-editor.preview .editor-tools button:hover{background:var(--atlas-hover)}
