/* New editors keep native, full-width controls regardless of the selected material. */
#modal .ws-editor{width:100%;min-width:0}#modal .ws-editor label{display:flex;flex-direction:column;gap:6px;min-width:0}#modal .ws-editor textarea{box-sizing:border-box;width:100%;min-height:300px;height:40dvh;resize:vertical;line-height:1.65;font-size:16px;clip-path:none;border-image:none;background:var(--panel,var(--bg));padding:14px;border:1px solid var(--line,#999)}#modal .ws-editor input,#modal .ws-editor select{width:100%;min-width:0;font-size:16px;box-sizing:border-box}#modal .ws-editor .ws-check{display:flex;flex-direction:row;align-items:center}#modal .ws-editor input[type=checkbox]{width:20px;height:20px;flex:0 0 20px}#modal .ws-row{display:flex;flex-direction:column;gap:10px;margin:12px 0}#modal .ws-row small{overflow-wrap:anywhere}.ws-row-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ws-confirm-row{display:flex;flex-direction:column;gap:8px;padding:14px 0;border-bottom:1px solid var(--line,#999)}.ws-warning,.ws-error{color:var(--accent);overflow-wrap:anywhere}.ws-error:empty{display:none}@media(min-width:1100px){.ws-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}@media(max-height:480px){#modal .ws-editor textarea{min-height:180px}}
