.folder-tree{border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden}.folder-tree__toolbar{background:var(--paper-raised);justify-content:flex-end;align-items:center;gap:.75rem;padding:.65rem .75rem;display:flex}.folder-tree__toolbar>span{color:var(--ink-faint);letter-spacing:.04em;text-transform:uppercase;margin-right:auto;font-size:.64rem;font-weight:700}.folder-tree__roots>.folder-tree__folder{border-top:1px solid var(--line)}.folder-tree__folder .folder-tree__folder{border:1px solid var(--line);border-radius:var(--radius-md);margin-top:.55rem;overflow:hidden}.folder-tree__summary{cursor:pointer;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.6rem;min-height:3rem;padding:.5rem .65rem;list-style:none;display:grid}.folder-tree__summary::-webkit-details-marker{display:none}.folder-tree__summary:hover{background:var(--paper-soft)}.folder-tree__summary[draggable=true]{cursor:grab}.folder-tree .is-drop-target{background:var(--paper-soft);box-shadow:inset 0 0 0 2px var(--action-fill)}.folder-tree__root-drop{border:1px dashed var(--line-strong);border-radius:var(--radius-sm);flex:1;align-items:center;gap:.4rem;padding:.6rem;font-size:.75rem;display:flex}.folder-tree__identity{align-items:center;gap:.42rem;min-width:0;display:flex}.folder-tree__identity strong,.folder-tree__identity>button{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.folder-tree__identity>button{border-radius:var(--radius-sm);color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;padding:.35rem .4rem;font-weight:700}.folder-tree__identity>button:hover,.folder-tree__identity>button.is-selected{background:var(--paper-soft)}.folder-tree__identity>button.is-selected{box-shadow:inset 0 0 0 1px var(--line-strong,var(--line))}.folder-tree__chevron{transition:transform var(--motion-fast);flex:none}.folder-tree__folder[open]>.folder-tree__summary .folder-tree__chevron{transform:rotate(90deg)}.folder-tree__editor-heading{color:var(--ink-muted);margin:0 0 .6rem;font-size:.75rem;font-weight:700}.folder-tree__empty-folder{color:var(--ink-faint);margin:0;padding:.3rem .45rem;font-size:.75rem}.folder-tree__summary>small{color:var(--ink-faint);font-size:.6rem}.folder-tree__actions{align-items:center;gap:.15rem;display:inline-flex}.folder-tree__actions button{border-radius:var(--radius-sm);color:var(--ink-faint);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;min-width:2.25rem;min-height:2.25rem;padding:.35rem;display:inline-flex}.folder-tree__actions button:hover{background:var(--paper-soft);color:var(--ink)}.folder-tree__actions-entry:hover{background:var(--action-fill);color:var(--action-ink)}.folder-tree__body{border-top:1px solid var(--line);padding:.65rem}.folder-tree__children{margin-left:.9rem}.folder-tree__editor{background:var(--paper-soft);border:1px solid var(--line);border-radius:var(--radius-md);margin-bottom:.65rem;padding:.7rem}.folder-tree>.folder-tree__editor{border-left:0;border-right:0;border-radius:0;margin:0}.folder-tree__editor-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.6rem;display:grid}.folder-tree__editor-actions{justify-content:flex-end;gap:.4rem;margin-top:.55rem;display:flex}.folder-tree__status{background:var(--paper-soft);border-top:1px solid var(--line);align-items:center;gap:.4rem;padding:.5rem .7rem;font-size:.64rem;display:flex}.folder-tree__status--warning{justify-content:space-between;align-items:flex-start}.folder-tree__status--warning button{color:var(--ink-muted);cursor:pointer;font:inherit;background:0 0;border:0;flex:none;padding:.25rem .35rem;font-weight:700}.folder-tree__status--warning button:hover{color:var(--ink)}.folder-tree__empty{border-top:1px solid var(--line);color:var(--ink-faint);flex-wrap:wrap;align-items:center;gap:.45rem;padding:.8rem;display:flex}.folder-tree__empty small{flex-basis:100%;padding-left:1.45rem;font-size:.6rem}.folder-tree__empty .ui-button{margin-left:auto}.folder-tree--compact{background:var(--paper-raised);max-height:19rem;overflow:auto}.folder-tree--compact .folder-tree__toolbar{z-index:1;position:sticky;top:0}.folder-tree--compact .folder-tree__body{padding:.45rem}.folder-tree--compact .folder-tree__folder .folder-tree__folder{margin-top:.35rem}@media (width<=720px){.folder-tree__summary{grid-template-columns:minmax(0,1fr) auto}.folder-tree__actions{grid-column:1/-1}.folder-tree__children{margin-left:.35rem}.folder-tree__editor-fields{grid-template-columns:1fr}}
