/* Compact, collapsible item editor. Component appearance uses shared theme tokens. */
.edu-item-editor{container-type:inline-size;border:1px solid var(--ev-border);border-radius:var(--ev-control-radius);margin:10px 0;background:var(--ev-surface);min-width:0}.edu-item-editor__summary{display:flex;align-items:center;gap:12px;padding:10px 12px;cursor:pointer;list-style:none;min-width:0}.edu-item-editor__summary::-webkit-details-marker{display:none}.edu-item-editor__summary::after{content:'⌄';margin-left:auto;flex:none;font-size:20px;color:var(--ev-muted)}.edu-item-editor[open]>.edu-item-editor__summary::after{content:'⌃'}.edu-item-editor__summary:focus-visible{outline:2px solid var(--ev-accent);outline-offset:2px}.edu-item-editor__summary .app-icon{width:36px;height:36px;flex:0 0 36px;margin:0;padding:0}.edu-item-editor__heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px;min-width:0}.edu-item-editor__heading strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}.edu-item-editor__heading small{font-size:12px;color:var(--ev-muted)}.edu-item-editor__body{padding:0 12px 12px;border-top:1px solid var(--ev-border)}.edu-item-editor__fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end;margin-top:12px}.edu-item-editor__actions{margin-top:12px}.edu-item-editor__fields>label{min-width:0}@container(max-width:850px){.edu-item-editor__fields{grid-template-columns:repeat(2,minmax(0,1fr))}.edu-item-editor__fields>label:nth-child(3){grid-column:1/-1}}@container(max-width:480px){.edu-item-editor__fields{grid-template-columns:1fr}.edu-item-editor__fields>label:nth-child(3){grid-column:auto}}


/* At most two columns; each item keeps enough room for its form fields. */
.edu-item-editor-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,max(520px,calc(50% - 6px))),1fr));gap:12px;align-items:start}.edu-item-editor-list>.edu-item-editor{margin:0}

.edu-item-editor__drag{touch-action:none;cursor:grab;flex:none;border:0;background:transparent;color:var(--ev-muted);padding:6px;font:20px/1 system-ui}.edu-item-editor__drag:active{cursor:grabbing}.edu-item-editor.is-sorting{opacity:.55}.edu-item-editor.drop-before{box-shadow:inset 0 3px var(--ev-accent)}.edu-item-editor.drop-after{box-shadow:inset 0 -3px var(--ev-accent)}

.edu-item-editor__fields>.edu-item-editor__wide{grid-column:1/-1}
