.curation{flex-direction:column;gap:10px;display:flex}.curation-wrap{max-width:100%;overflow-x:auto}.curation-table{border-collapse:collapse;width:100%;font-size:14px}.curation-table th,.curation-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;padding:8px 10px}.curation-table thead th{background:var(--surface);letter-spacing:.03em;color:var(--muted);z-index:1;font-size:12px;position:sticky;top:0}.curation-table tbody tr:hover>td{background:var(--surface-hover)}.curation-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.curation-toolbar>input{border:1px solid var(--border);min-width:180px;font:inherit;background:var(--surface);color:inherit;border-radius:8px;flex:220px;padding:8px 12px}.curation-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.curation-hint{color:var(--muted);font-size:13px}.sync-badge{white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:600}.sync-badge.sync-saving{color:#a35b00;background:#fff3e0}.sync-badge.sync-saved{color:#1a7f42;background:#e6f7ec}.sync-badge.sync-offline{background:var(--surface-2);color:var(--tx-2)}.curation-btn{border:1px solid var(--border);background:var(--surface);color:inherit;font:inherit;cursor:pointer;border-radius:8px;padding:7px 12px}.curation-btn:hover:not(:disabled){background:var(--surface-hover)}.curation-btn.primary{background:var(--accent,#1f6feb);color:#fff;border-color:#0000}.curation-btn:disabled{opacity:.5;cursor:not-allowed}.curation-table .curation-ctl-col{white-space:nowrap;width:1%}.rowctl{align-items:center;gap:2px;display:flex}.rowctl button{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:5px;width:21px;height:21px;padding:0;font-size:12px;line-height:1}.rowctl button:hover:not(:disabled){background:var(--surface-hover)}.rowctl button:disabled{opacity:.35;cursor:not-allowed}.drag-handle{cursor:grab;color:var(--muted);-webkit-user-select:none;user-select:none;padding:0 2px;font-size:15.5px}.curation-row[draggable=true] .drag-handle:active{cursor:grabbing}.level-chip{letter-spacing:.02em;white-space:nowrap;border-radius:999px;padding:1px 5px;font-size:11px;font-weight:600}.drag-handle{font-size:13px}.level-chip.level-cha{background:var(--surface-2);color:#1f4fb0}.level-chip.level-con{background:var(--surface-2);color:var(--tx-2)}.curation-row.dragging{opacity:.5}.curation-row.dragover{outline:2px dashed var(--accent,#1f6feb);outline-offset:-2px}.rowctl .ctl-save{background:var(--accent,#1f6feb);color:#fff;border-color:#0000;width:auto;padding:0 10px}.rowctl .ctl-del:hover:not(:disabled){background:#fdecec}.tag-chip{letter-spacing:.03em;border-radius:999px;padding:2px 6px;font-size:11px;font-weight:700}.tag-new{color:#1a7f42;background:#e6f7ec}.tag-edited{color:#a35b00;background:#fff3e0}.curation-row.is-added>td{background:#1a7f420d}.curation-row.is-edited>td{background:#a35b000d}.cell-input{box-sizing:border-box;width:100%;font:inherit;border:1px solid var(--accent,#1f6feb);background:var(--surface);color:inherit;border-radius:6px;padding:5px 8px}.import-label{cursor:pointer;align-items:center;display:inline-flex}.curation-hidden{border:1px dashed var(--border);border-radius:8px;margin-top:12px;padding:10px 12px}.curation-hidden h4{color:var(--muted);margin:0 0 8px;font-size:14px}.curation-hidden ul{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.curation-hidden li{justify-content:space-between;align-items:center;gap:12px;display:flex}.curation-hidden .hidden-label{color:var(--muted);font-size:14px;text-decoration:line-through}.curation :focus-visible{outline:2px solid var(--accent,#1f6feb);outline-offset:2px}.tree-curation{flex-direction:column;gap:4px;display:flex}.tree-toolbar{flex-wrap:wrap;align-items:center;gap:4px;margin-bottom:6px;display:flex}.tree-toolbar .curation-btn{padding:4px 8px;font-size:13px}.tree-node{border:1px solid #0000;border-radius:8px;align-items:center;gap:4px;padding:2px 4px;display:flex}.tree-node.active{background:var(--surface-hover)}.tree-node.dragging{opacity:.5}.tree-node.dragover{outline:2px dashed var(--accent,#1f6feb);outline-offset:-2px}.tree-node.is-added{background:#1a7f420f}.tree-node.is-edited{background:#a35b000f}.tree-select{font:inherit;color:inherit;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:6px;flex:auto;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:4px 6px;display:flex}.tree-select:hover{background:var(--surface-hover)}.tree-select .tree-label{text-overflow:ellipsis;align-items:center;gap:6px;min-width:0;display:inline-flex;overflow:hidden}.tree-select>b{font-variant-numeric:tabular-nums;color:var(--muted);flex:none}.tree-rowctl{flex:none}.tree-rowctl button{width:22px;height:22px;font-size:13px}.tree-edit{align-items:center;gap:4px;width:100%;display:flex}.tree-edit .cell-input{flex:auto}.curation-table .group-chip{background:var(--surface-2);color:#2a5c8a;white-space:nowrap;border-radius:6px;padding:1px 7px;font-size:12px;display:inline-block}
