/* SVG Editor Styles */
.editor-layout { display: grid; grid-template-columns: 60px 1fr 240px; height: calc(100vh - 60px); gap: 0; }
.toolbar { display: flex; flex-direction: column; padding: 0.5rem; gap: 0.25rem; border-radius: 0; overflow-y: auto; }
.tool-group { display: flex; flex-direction: column; gap: 0.2rem; margin-bottom: 0.5rem; }
.tool-label { font-size: 0.6rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; padding: 0.2rem 0; text-align: center; }
.tool-btn { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: transparent; color: var(--text); cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: all var(--transition-fast); }
.tool-btn:hover { border-color: var(--accent); background: var(--bg-surface); }
.tool-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.canvas-area { position: relative; overflow: hidden; background: var(--bg-base); display: flex; flex-direction: column; }
.canvas-container { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; cursor: crosshair; }
#svgCanvas { border: 1px solid var(--border); background: #ffffff; box-shadow: var(--shadow-lg); }
[data-theme="dark"] #svgCanvas { background: #1e1e2e; }
.canvas-info { display: flex; justify-content: space-between; padding: 0.3rem 0.75rem; font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-mono, monospace); background: var(--bg-surface); border-top: 1px solid var(--border); }
.properties-panel { border-radius: 0; padding: 0.75rem; overflow-y: auto; }
.properties-panel h3 { font-size: 0.9rem; margin-bottom: 0.75rem; }
.prop-section { margin-bottom: 0.75rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.prop-section input[type="color"] { width: 100%; height: 32px; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; margin-top: 0.25rem; }
.prop-row { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.3rem; }
.prop-row label { font-size: 0.7rem; color: var(--text-muted); min-width: 50px; }
.prop-row input[type="range"] { flex: 1; }
.prop-row span { font-size: 0.7rem; min-width: 30px; text-align: right; font-family: var(--font-mono, monospace); }
.prop-section label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; margin-top: 0.3rem; cursor: pointer; }
#propFields input[type="number"] { width: 100%; margin-bottom: 0.3rem; }
#propFields .prop-field-row { display: grid; grid-template-columns: 40px 1fr; gap: 0.3rem; align-items: center; font-size: 0.8rem; margin-bottom: 0.25rem; }
#propFields .prop-field-row label { color: var(--text-muted); font-size: 0.7rem; }
.svg-element-selected { outline: 2px dashed #6366f1; outline-offset: 2px; }
@media (max-width: 768px) {
    .editor-layout { grid-template-columns: 1fr; grid-template-rows: 50px 1fr auto; }
    .toolbar { flex-direction: row; overflow-x: auto; }
    .tool-group { flex-direction: row; }
    .properties-panel { max-height: 200px; }
}
