.ed-editor{border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);padding:0;width:min(960px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);box-shadow:0 20px 70px #0005}.ed-editor::backdrop{background:#0008}.ed-form{display:flex;flex-direction:column;max-height:calc(100dvh - 26px);margin:0}.ed-form header,.ed-form footer{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;gap:12px;flex-shrink:0}.ed-form header{border-bottom:1px solid var(--line)}.ed-form header h2{font-size:20px;margin:0}.ed-form footer{border-top:1px solid var(--line);justify-content:flex-end;flex-wrap:wrap}.ed-corpo{overflow:auto;padding:20px;min-height:0}.ed-corpo label{display:block;font-weight:650;margin:20px 0 8px}.ed-texto{display:block;width:100%;box-sizing:border-box;min-height:180px;resize:vertical;border:1px solid var(--line-field);border-radius:8px;padding:12px;background:var(--bg);color:var(--ink);font:15px/1.6 ui-monospace,monospace}#ed-md{min-height:48vh}.ed-erro{white-space:pre-wrap;color:var(--bad)}#ed-previa{border-top:1px solid var(--line);margin-top:20px;padding-top:16px;overflow-wrap:anywhere}.ed-editor :focus-visible{outline:3px solid var(--gold);outline-offset:2px}.ed-atalhos{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
@media(max-width:600px){.ed-editor{width:calc(100% - 12px);max-height:calc(100dvh - 12px);border-radius:12px}.ed-form{max-height:calc(100dvh - 14px)}.ed-corpo{padding:14px}.ed-form header,.ed-form footer{padding:12px}.ed-texto{font-size:16px}.ed-form footer .btn{flex:1;min-width:110px}}

.q-card>.ed-atalhos{padding:0 24px}

.ed-importar{border:1px solid var(--line);border-radius:12px;padding:16px;margin:16px 0 24px;background:var(--surface-2)}.ed-importar h3{margin:0 0 8px;font-size:17px}.ed-importar .ed-texto{min-height:150px}#ed-importacao-status{white-space:pre-wrap;overflow-wrap:anywhere}
