/* 影像編輯器專用樣式 */
.editor-shell { display: grid; grid-template-columns: 170px 1fr 250px; gap: 0; min-height: calc(100vh - 71px); max-width: 1280px; margin: 0 auto; }
@media (max-width: 1000px) { .editor-shell { grid-template-columns: 1fr; } .editor-tools { flex-direction: row !important; overflow-x: auto; } .editor-props { display: none; } }
.editor-tools { background: var(--card); border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 14px; }
.tools-group { display: grid; gap: 4px; }
.tools-group + .tools-group { border-top: 1px solid var(--line); padding-top: 12px; }
.tool-btn { border: 0; background: transparent; color: var(--muted); text-align: left; padding: 9px 10px; border-radius: 9px; cursor: pointer; font-size: 13px; font-weight: 700; }
.tool-btn:hover { background: var(--paper); color: var(--ink); }
.tool-btn.active { background: var(--accent-soft); color: var(--accent); }
.editor-main { background: var(--paper); min-height: calc(100vh - 71px); position: relative; overflow: hidden; }
.tui-container { width: 100%; height: calc(100vh - 71px); }
.drop-hint { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 15px; z-index: 5; pointer-events: none; text-align: center; }
.drop-hint.hidden { display: none; }
.editor-props { background: var(--card); border-left: 1px solid var(--line); padding: 14px; }
.props-title { font-weight: 800; margin-bottom: 12px; font-size: 14px; }
.editor-props .field { margin-bottom: 12px; }
.editor-props .row { gap: 8px; margin-top: 8px; }
.filter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.filter-btn { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 8px 6px; cursor: pointer; font-size: 12px; font-weight: 700; color: var(--muted); }
.filter-btn.active { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.color-row { display: flex; align-items: center; gap: 8px; }
.color-row label { font-size: 12px; color: var(--muted); width: 56px; }
.color-row input[type=color] { width: 40px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: transparent; }
.color-row input[type=range] { flex: 1; accent-color: var(--accent); }
.color-row .val { width: 38px; text-align: right; font-size: 12px; color: var(--muted); }
.small-input { padding: 6px 8px !important; font-size: 13px; }