.editor-section-nav{display:flex;gap:.5rem;flex-wrap:wrap;position:sticky;top:var(--editor-header-offset,0);z-index:3;padding:.5rem;background:var(--surface,#fff);border:1px solid var(--line,#ccc);border-radius:.6rem}
.editor-section-button{font:inherit;padding:.45rem .65rem;min-height:2.75rem;border:1px solid currentColor;border-radius:.4rem;background:transparent;color:inherit;cursor:pointer}
.editor-section-heading{scroll-margin-block-start:calc(var(--editor-header-offset,0px) + 7rem);cursor:pointer;font-weight:700;padding:.35rem 0}
.editor-section-title{margin-inline-end:1rem}.editor-section-values{display:none;font-weight:400;white-space:pre-wrap;overflow-wrap:anywhere;max-height:6rem;overflow:auto;margin-top:.5rem}
.editor-section:not([open])>.editor-section-heading>.editor-section-values{display:block}
.editor-section>h2[hidden]{display:none}.editor-section>.actions{margin-top:1rem}
.editor-text-tools{display:flex;flex-wrap:wrap;gap:.3rem;grid-column:1/-1;margin:.3rem 0 .6rem}
.editor-text-preview{grid-column:1/-1;white-space:pre-wrap;overflow-wrap:anywhere;border-inline-start:3px solid currentColor;padding:.7rem;margin-bottom:.6rem}
.editor-text-preview[hidden]{display:none}
.item-row:focus-within{outline:2px solid var(--accent,#735b17);outline-offset:3px;background-color:color-mix(in srgb,var(--accent,#bfa25a) 7%,transparent)}
.item-row.editor-description-wide>label:has(textarea[name=description]),.item-row.editor-description-wide>.entry-field:has(textarea[name=description]),.item-row.editor-description-wide>.editor-feedback-field:has(textarea[name=description]){grid-column:1/-1}
.item-row textarea[name=description]{min-height:5rem;resize:vertical;width:100%;scroll-margin-block:8rem}
.item-row.editor-description-wide textarea[name=description]{min-height:12rem}
.editor-text-dialog{box-sizing:border-box;width:min(70rem,96vw);height:92dvh;max-height:96dvh;border:1px solid var(--line,#aaa);border-radius:.7rem;background:var(--surface,#fff);color:var(--text,#222);padding:1rem}
.editor-text-dialog[open]{display:flex;flex-direction:column;gap:.6rem}.editor-text-dialog::backdrop{background:#0008}.editor-text-dialog h2{margin:0}
.editor-text-draft{flex:1;min-height:4rem;width:100%;resize:none;font:inherit}.editor-text-actions{display:flex;justify-content:flex-end;gap:.5rem}.editor-text-conflict:empty{display:none}
@media(max-width:700px){.editor-text-dialog{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;border-radius:0;margin:0}.editor-section-nav{position:static}.editor-section-heading{scroll-margin-block-start:5rem}}
@media(max-height:500px) and (orientation:landscape){.editor-section-nav{padding:.15rem;gap:.2rem}.editor-section-button{min-height:2rem;padding:.25rem .4rem}.editor-text-dialog h2{font-size:1rem}.editor-text-dialog{padding:.5rem}}
