/* Controles compartidos: ningún control de acción depende del aspecto nativo. */
:where(button, input[type=submit], input[type=button], input[type=reset]){appearance:none;-webkit-appearance:none;background:#f3efdf;color:#2115ef;border:1px solid #2115ef;border-radius:0;padding:.7rem 1rem;font:12px/1.4 monospace;cursor:pointer;transition:background-color .18s,color .18s,border-color .18s}
:where(button, input[type=submit], input[type=button]):disabled{opacity:.5;cursor:not-allowed}
:where(button, input[type=submit], input[type=button], select, input[type=file]):focus-visible{outline:3px solid #dd8046;outline-offset:4px}
input[type=file]:not(.pared-archivo){display:block;width:100%;max-width:100%;padding:10px;border:1px dashed #9890cd;background:#f7f4e9;color:#5c566d;font:12px/1.5 monospace;border-radius:0;cursor:pointer;overflow:hidden;text-overflow:ellipsis}
input[type=file]::file-selector-button{appearance:none;border:1px solid #2115ef;border-radius:0;background:#2115ef;color:#f3efdf;padding:12px 16px;margin-right:14px;font:11px/1.4 monospace;letter-spacing:.02em;cursor:pointer;transition:background-color .18s}
input[type=file]::file-selector-button:hover{background:#3e33ed;border-color:#3e33ed}
input[type=file]:disabled{opacity:.5;cursor:not-allowed}
.boton-texto{appearance:none;border:1px solid #2115ef;background:transparent;color:#2115ef;padding:12px 16px;font:11px/1.4 monospace;cursor:pointer}
.boton-texto:hover{background:#2115ef;color:#f3efdf}
.pared-editor .pared-subir:hover,.pared-editor .pared-secundario:hover{background:#e9e4d3;border-color:#2115ef;color:#2115ef}
.pared-editor .pared-guardar:hover{background:#3e33ed}.pared-editor .pared-cerrar:hover{background:#e9e4d3}
.pared-editor .pared-subir{transition:background-color .18s,border-color .18s}
@media(prefers-reduced-motion:reduce){:where(button,input[type=submit],input[type=button]),input[type=file]::file-selector-button,.pared-editor .pared-subir{transition:none}}
@media(max-width:520px){input[type=file]::file-selector-button{padding:11px 10px;margin-right:8px;font-size:10px}input[type=file]:not(.pared-archivo){font-size:11px}}
